Thread: [HTML] BBCode Test!

Results 1 to 3 of 3
  1. #1 [HTML] BBCode Test! 
    Testing HTML BBcode....

    HTML Code:
    !--[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:'hover'});}); 
    Cufon.replace('#top_light4 h2, #top_light4 h3');
    </script>
    <script src="/mint/?js" type="text/javascript"></script>
    Reply With Quote  
     

  2. #2  
    Testing PHP BBcode...

    PHP Code:
    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)) 
    Reply With Quote  
     

  3. #3  
    Testing CODE BBCode...

    Code:
    .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;
    }
    Reply With Quote  
     

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks
Bookmarks
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •