PDA

View Full Version : [HTML] BBCode Test!



VBStyles
05-03-2010, 04:50 PM
Testing HTML BBcode....


!--[if IE 7]><link rel="stylesheet" href="css/ie7.css" type="text/css" ><![endif]-->
<!--[if IE 6]><link rel="stylesheet" href="css/ie6.css" type="text/css" ><![endif]-->
<script src="js/cufon-yui.js" type="text/javascript"></script>
<script src="js/font.js" type="text/javascript"></script>
<script src="js/jquery.tools.min.js" type="text/javascript"></script>
<script src="js/mousewheel.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){$("div.scrollable").scrollable({size:2,items:'#thumbs',hoverClass:'h over'});});
Cufon.replace('#top_light4 h2, #top_light4 h3');
</script>
<script src="/mint/?js" type="text/javascript"></script>

VBStyles
05-03-2010, 04:56 PM
Testing PHP BBcode...


if ($_POST['ajax'])
{
require_once(DIR . '/includes/class_xml.php');
$xml = new vB_AJAX_XML_Builder($vbulletin, 'text/xml');

// Still undecided about this
// $userinfo = verify_id('user', $vbulletin->GPC['userid'], 1, 1);
$userinfo = $vbulletin->userinfo;

if ($_POST['do'] == 'loadnode')
{
$vbulletin->input->clean_array_gpc('p', array(
'parentid' => TYPE_UINT,
));

$xml->add_group('categories');

$categories = $db->query_read_slave("
SELECT categoryid, title
FROM " . TABLE_PREFIX . "attachmentcategory
WHERE
userid = {$userinfo['userid']}
AND
parentid = {$vbulletin->GPC['parentid']}
ORDER BY displayorder
");
while ($category = $db->fetch_array($categories))

VBStyles
05-03-2010, 04:57 PM
Testing CODE BBCode...


.bbcode_container div.bbcode_quote {
background:none repeat-x scroll 0 0 #eff4fe !important;
border:1px solid #b5cfff !important;
}

.bbcode_container div.bbcode_code.code, .bbcode_container pre.bbcode_code.code {
background:none repeat scroll 0 0 #fdf2ff !important;
border:1px solid #f3caf9 !important;
overflow:auto;
}

.bbcode_container div.bbcode_code.html, .bbcode_container pre.bbcode_code.html {
background:none repeat-x scroll 0 0 #f6ffdf !important;
border:1px solid #d2e69b !important;
overflow:auto;
}

.bbcode_container div.bbcode_code.php, .bbcode_container pre.bbcode_code.php {
background:none repeat-x scroll 0 0 #ffefdb !important;
border:1px solid #ffb759 !important;
overflow:auto;
}