Cutting off my website

Soldato
Joined
29 Dec 2004
Posts
5,653
Location
Chatham, Kent
I posted an article on my website here - http://www.eteknix.com/reviews/thermaltake-v9-black-edition-gaming-case-video-review/

Problem is, and its only on that page, but the sidebars are missing and part of the bottom of the page, so im guessing that it is something in the article itself as it's in HTML, i've checked in Dreamweaver and it seems that all of the tags are closed so not sure.

Here's the code:

Code:
<h2>Introduction</h2>
Thermaltake have always been known for making some of the wackiest cases, with some of the best airflow features known to man. They always try to do things bigger and better than anyone else, usually creating some very unique and easily identified cases in the process. Generally speaking, you will not find another product on the market similar, but then the V9 Black Edition gaming case landed with us. At first glance however, I have to admit that the V9 looks strangely like the Antec Nine Hundred.
<p align="center"><img src="http://www.eteknix.com/wp-content/uploads/2009/06/logo2.jpg" alt="" /></p>

<strong>About Thermaltake</strong>

Started from the passion for the <strong>DIY</strong> (Do It Yourself) concepts and the desires to realize the goal of “<strong>Ideas are originated from humanity; Realizing ideas is our belief.</strong>” Thermaltake Technology was established in January, 1999 and has been market to the world with “<strong>Thermaltake</strong>” brand name ever since.

The brand personality of Unique, Aggressive, Vivid, and Stylish makes Thermaltake an expert in creating <strong>Exciting</strong> things and <strong>Fascinating</strong> environment for gamers and enthusiasts, also <strong>Keep</strong> them <strong>Constantly High</strong> physically and mentally. Excellent technical expertise and integration ability, plus dare to experiment on the new possibilities give Thermaltake the source of authority in the market. Moreover, Thermaltake get close to consumers and observe lead users’ behavior and requirement, to design aesthetic and high quality products which will greatly improve system performance and bring the user to the up most potential. With innovative design and unique style, Thermaltake products spread rapidly among the enthusiasts in DIY market and soon become the number one choice for PC DIY enthusiast worldwide.
<p align="center"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/4t6bU4ZfPSI&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/4t6bU4ZfPSI&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object>
<h2>Images</h2>
<p align="center"><a href="http://www.eteknix.com/wp-content/uploads/2009/06/11.jpg"><img class="size-medium wp-image-1687" title="1" src="http://www.eteknix.com/wp-content/uploads/2009/06/11-300x274.jpg" alt="1" width="300" height="274" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/21.jpg"><img class="size-medium wp-image-1688" title="2" src="http://www.eteknix.com/wp-content/uploads/2009/06/21-300x283.jpg" alt="2" width="300" height="283" /></a></p>
<p align="center"><a href="http://www.eteknix.com/wp-content/uploads/2009/06/21.jpg"> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/31.jpg"><img class="size-medium wp-image-1689" title="3" src="http://www.eteknix.com/wp-content/uploads/2009/06/31-150x300.jpg" alt="3" width="150" height="300" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/41.jpg"><img class="size-medium wp-image-1690" title="4" src="http://www.eteknix.com/wp-content/uploads/2009/06/41-151x300.jpg" alt="4" width="151" height="300" /></a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/6.jpg"> <img class="size-medium wp-image-1692" title="6" src="http://www.eteknix.com/wp-content/uploads/2009/06/6-131x300.jpg" alt="6" width="131" height="300" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/41.jpg"> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/7.jpg"><img class="size-medium wp-image-1693" title="7" src="http://www.eteknix.com/wp-content/uploads/2009/06/7-138x300.jpg" alt="7" width="138" height="300" /></a></p>
<p align="center"><a href="http://www.eteknix.com/wp-content/uploads/2009/06/7.jpg"> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/51.jpg"><img class="size-medium wp-image-1691" title="5" src="http://www.eteknix.com/wp-content/uploads/2009/06/51-300x245.jpg" alt="5" width="300" height="245" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/6.jpg"> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/7.jpg"> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/8.jpg"><img class="size-medium wp-image-1694" title="8" src="http://www.eteknix.com/wp-content/uploads/2009/06/8-300x249.jpg" alt="8" width="300" height="249" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/9.jpg"><img class="size-medium wp-image-1695" title="9" src="http://www.eteknix.com/wp-content/uploads/2009/06/9-300x249.jpg" alt="9" width="300" height="249" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/10.jpg"></a></p>
<p align="center"><a href="http://www.eteknix.com/wp-content/uploads/2009/06/10.jpg"><img class="size-medium wp-image-1696" title="10" src="http://www.eteknix.com/wp-content/uploads/2009/06/10-300x53.jpg" alt="10" width="300" height="53" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/20.jpg"><img class="size-medium wp-image-1706" title="20" src="http://www.eteknix.com/wp-content/uploads/2009/06/20-300x126.jpg" alt="20" width="300" height="126" /></a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/111.jpg"> <img class="size-medium wp-image-1697" title="11" src="http://www.eteknix.com/wp-content/uploads/2009/06/111-300x105.jpg" alt="11" width="300" height="105" /></a></p>
<p align="center"><a href="http://www.eteknix.com/wp-content/uploads/2009/06/111.jpg"> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/12.jpg"><img class="size-medium wp-image-1698" title="12" src="http://www.eteknix.com/wp-content/uploads/2009/06/12-279x300.jpg" alt="12" width="279" height="300" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/13.jpg"> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/14.jpg"><img class="size-medium wp-image-1700" title="14" src="http://www.eteknix.com/wp-content/uploads/2009/06/14-300x287.jpg" alt="14" width="300" height="287" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/15.jpg"><img class="size-medium wp-image-1701" title="15" src="http://www.eteknix.com/wp-content/uploads/2009/06/15-198x300.jpg" alt="15" width="198" height="300" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/16.jpg"> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/211.jpg"><img class="size-medium wp-image-1707" title="21" src="http://www.eteknix.com/wp-content/uploads/2009/06/211-276x300.jpg" alt="21" width="276" height="300" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/17.jpg"> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/25.jpg"><img class="size-medium wp-image-1711" title="25" src="http://www.eteknix.com/wp-content/uploads/2009/06/25-300x277.jpg" alt="25" width="300" height="277" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/16.jpg"><img class="size-medium wp-image-1702" title="16" src="http://www.eteknix.com/wp-content/uploads/2009/06/16-300x269.jpg" alt="16" width="300" height="269" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/13.jpg"> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/19.jpg"><img class="size-medium wp-image-1705" title="19" src="http://www.eteknix.com/wp-content/uploads/2009/06/19-300x285.jpg" alt="19" width="300" height="285" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/17.jpg"><img class="size-medium wp-image-1703" title="17" src="http://www.eteknix.com/wp-content/uploads/2009/06/17-300x276.jpg" alt="17" width="300" height="276" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/13.jpg"><img class="size-medium wp-image-1699" title="13" src="http://www.eteknix.com/wp-content/uploads/2009/06/13-300x243.jpg" alt="13" width="300" height="243" /></a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/22.jpg"> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/28.jpg"><img class="size-medium wp-image-1714" title="28" src="http://www.eteknix.com/wp-content/uploads/2009/06/28-300x217.jpg" alt="28" width="300" height="217" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/311.jpg"><img class="size-medium wp-image-1717" title="31" src="http://www.eteknix.com/wp-content/uploads/2009/06/311-300x204.jpg" alt="31" width="300" height="204" /></a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/23.jpg"> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/24.jpg"><img class="size-medium wp-image-1710" title="24" src="http://www.eteknix.com/wp-content/uploads/2009/06/24-300x190.jpg" alt="24" width="300" height="190" /></a></p>
<p align="center"><a href="http://www.eteknix.com/wp-content/uploads/2009/06/24.jpg"> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/25.jpg"> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/26.jpg"><img class="size-medium wp-image-1712" title="26" src="http://www.eteknix.com/wp-content/uploads/2009/06/26-291x300.jpg" alt="26" width="291" height="300" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/27.jpg"><img class="size-medium wp-image-1713" title="27" src="http://www.eteknix.com/wp-content/uploads/2009/06/27-244x300.jpg" alt="27" width="244" height="300" /></a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/28.jpg"> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/29.jpg"><img class="size-medium wp-image-1715" title="29" src="http://www.eteknix.com/wp-content/uploads/2009/06/29-300x279.jpg" alt="29" width="300" height="279" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/32.jpg"><img class="size-medium wp-image-1718" title="32" src="http://www.eteknix.com/wp-content/uploads/2009/06/32-242x300.jpg" alt="32" width="242" height="300" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/29.jpg"> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/33.jpg"><img class="size-medium wp-image-1719" title="33" src="http://www.eteknix.com/wp-content/uploads/2009/06/33-271x300.jpg" alt="33" width="271" height="300" /></a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/22.jpg"></a></p>
<p align="center"><a href="http://www.eteknix.com/wp-content/uploads/2009/06/22.jpg"><img class="size-medium wp-image-1708" title="22" src="http://www.eteknix.com/wp-content/uploads/2009/06/22-300x128.jpg" alt="22" width="300" height="128" /> </a><a href="http://www.eteknix.com/wp-content/uploads/2009/06/30.jpg"><img class="size-medium wp-image-1716" title="30" src="http://www.eteknix.com/wp-content/uploads/2009/06/30-300x154.jpg" alt="30" width="300" height="154" /> </a></p>
<p align="center"></p>

<h2>eTeknix Rating</h2>
<strong>Pros</strong>
<ul>
    <li>From a brand you can trust</li>
    <li>Excellent packaging</li>
    <li>Fantastic Cooling</li>
    <li>Good warranty period</li>
    <li>Value for money</li>
</ul>
<strong>Cons</strong>
<ul>
    <li>No Removable Motherboard Tray</li>
    <li>Made from steel</li>
</ul>
<h2>eTeknix Rating</h2>
<p align="center"><img src="http://www.eteknix.com/wp-content/uploads/2009/06/5.jpg" alt="" />
<strong>We have rated this 5 out of 5 due to us not being able to find any major fault with the case.</strong>
 
Perhaps missing </p> at the end?

It has to be a un terminated tag though.
 
you really should look at coding that site so it validates! You have a menu above the body tag! Strange way of coding. Everything viewable should in the body tag!
 
you really should look at coding that site so it validates! You have a menu above the body tag! Strange way of coding. Everything viewable should in the body tag!

What about the <title/> tag? :p

However, I agree about validation.
 
For a start, move that first menu to be below the body tag. That will fix your first 3 errors.
The fourth error (and all the ones like it with urls) are caused by unencoded ampersands. Just encode them to &amp;
Also, make sure your images are closed and have alt tags. <img src="..." alt="" />

Fix those and you won't have much left after that.
 
Anyone want to offer to help me clean it up?

I'm a bit of a novice at coding :(

Andy

Have a read through all the validation errors. But first I recommend reading how to make a simple xHTML valid page first. w3schools.com is a good place to start.

Quite a lot of those errors are down to basic things like not using ampersands, using capital letters and not closing your basic tags properly.
 
Last edited:
Ok, i cleaned up a lot of things but the ones that are left i'm completely stuck on, and that same article has cut the sides off again :(

Any ideas?

Andy
 
Found out that it's a bit of code that was implemented about a week ago where my wordpress site uses vbulletin as it's comment handler.

Any posts in vbulletin get outputted as comments on the main site.

Here's the code that is effecting it:

Code:
<?php 
$oddcomment = 'alt';
#### Vbridge Replacement code for comments
if (function_exists('Comment_Handler')) {

    $vbridge = Comment_Handler($post->ID);

    global $vbulletin; 
}

if ($vbridge[id] > 0) {
?>
<div class="comments">
<?php
    if(is_single()) {
        if (is_array($vbridge[replies])) {
?>
<br />
<ol id="commentlist" class="clearfix"><span class="styleL"><center><a href=<?php echo get_option('vbb_VBURL') ?>/newreply.php?do=newreply&noquote=1&t=<?php echo $vbridge[id] ?>>Add your comments</a> | <a href=<?php echo get_option('vbb_VBURL') ?>/showthread.php?t=<?php echo $vbridge[id] ?>>(<?php echo intval($vbridge[count]) ?>) comments</a></center></span></ol>
<h4 class="module-title">Comments:</h4>
<ol id="commentlist" class="clearfix">
<?php
            foreach ($vbridge[replies] as $reply) { 
?>

<li class="<?php echo $oddcomment; ?>" id="comment-<?php echo $reply['postid'] ?>">
<div class="singlecomment" id="div-comment-<?php echo $reply['postid'] ?>">
<div class="comment-author vcard">
<img src="<?php echo get_option('vbb_VBURL') ?>/image.php?u=<?php echo $reply['userid'] ?>&amp;dateline=<?php echo TIMENOW ?>" alt="<?php echo $reply['username'] ?>'s Avatar" class="avatar avatar-32 photo avatar-default" width="32" height="32">

        <a href=<?php echo get_option('vbb_VBURL') ?>/member.php?u=<?php echo $reply['userid'] ?>><?php echo $reply['username'] ?></a>

        <span class="says">says:</span>
        </div>

        <div class="comment-meta commentmetadata"><a href="<?php echo get_option('vbb_VBURL') ?>/showthread.php?p=<?php echo $reply['postid'] ?>"><?php echo vbdate($vbulletin->options['dateformat'],$reply['dateline']) . ' ' . vbdate($vbulletin->options['timeformat'],$reply['dateline']) ?></a></div>

        <p style=""><?php echo $vbridge[vb_parser]->do_parse($reply[pagetext], false, true); ?></p>

        </div>
<p>
<a href="<?php echo get_option('vbb_VBURL') ?>/newreply.php?do=newreply&p=<?php echo $reply['postid'] ?>"><img alt="Quote Comment" src="http://www.eteknix.com/forums/cb/buttons/quote.gif" style="float: right" /></p>
</li>

<?php
}
 /* Changes every other comment to a different class */    
    if ('alt' == $oddcomment){
     $oddcomment = 'standard';
    }
     else {
     $oddcomment = 'alt';
    }
   ?>
</ol>
</div>
<br />
<h4 class="module-title2"><center><span class="styleL"><a href=<?php echo get_option('vbb_VBURL') ?>/newreply.php?do=newreply&noquote=1&t=<?php echo $vbridge[id] ?>>Add your comments</a> | <a href=<?php echo get_option('vbb_VBURL') ?>/showthread.php?t=<?php echo $vbridge[id] ?>>(<?php echo intval($vbridge[count]) ?>) comments</a></span></center></h4>

<?php
            
        }
    }
}
##End Vbridge Replacement
?>

<?php if ( have_comments() and ($vbridge[id] == '')) : ?>
    <?php if ( !empty($comments_by_type['comment']) ) : ?>  
    <h4 class="module-title"><?php comments_number( __('No Comments', 'arras'), __('1 Comment', 'arras'), __ngettext('% Comment', '% Comments', get_comments_number(), 'arras') ); ?></h4>
        <ol id="commentlist" class="clearfix">
            <?php wp_list_comments('type=comment&callback=arras_list_comments'); ?>
        </ol>
        <div class="comments-navigation clearfix">
            <div class="floatleft"><?php previous_comments_link() ?></div>
            <div class="floatright"><?php next_comments_link() ?></div>
        </div>
    <?php endif; ?>
    
    <?php if ( !empty($comments_by_type['pings']) ) : ?>
    <h4 class="module-title"><?php _e('Trackbacks / Pings', 'arras') ?></h4>
    <ol class="pingbacks"><?php wp_list_comments('type=pings&callback=arras_list_trackbacks'); ?></ol>
    <?php endif; ?>
    
<?php else: ?>
        <?php if ('open' == $post->comment_status and ($vbridge[id] == '')) : ?>
        <h4 class="module-title"><?php _e('No Comments', 'arras') ?></h4>
        <p class="nocomments"><?php _e('Start the ball rolling by posting a comment on this article!', 'arras') ?></p>
        <?php endif ?>
<?php endif; ?>

Can anyone see anything wrong with it?

Andy
 
There are more errors now - 170 errors and 28 warning :)

Heh, ignore that.

I found the code that is being the culprit.

Can anyone see anything wrong with it?

Code:
[B]<?php
[U]if[/U] ( ![U]empty[/U]($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']) )
	[U]die[/U]( __('Please [U]do[/U] not load [U]this[/U] page directly. Thanks!', 'arras') );
[U]if[/U] ( post_password_required() ) {
	_e('[B]<p [U]class[/U]="nocomments">[/B]This post is password [U]protected[/U]. Enter the password to view comments.[B]</p>[/B]', 'arras');
	[U]return[/U];
}
?>[/B]
[B]<?php 
$oddcomment = 'alt';
[I]#### Vbridge Replacement code [U]for[/U] comments[/I]
[U]if[/U] (function_exists('Comment_Handler')) {

	$vbridge = Comment_Handler($post->ID);

	[U]global[/U] $vbulletin; 
}

[U]if[/U] ($vbridge[id] > 0) {
?>[/B]
[B]<div [U]class[/U]="comments">[/B]
[B]<?php
	[U]if[/U](is_single()) {
		[U]if[/U] (is_array($vbridge[replies])) {
?>[/B]
[B]<br />[/B]
[B]<ol id="commentlist" [U]class[/U]="clearfix">[/B][B]<span [U]class[/U]="styleL">[/B][B]<center>[/B]<a href=[B]<?php [U]echo[/U] get_option('vbb_VBURL') ?>[/B]/newreply.php?[U]do[/U]=newreply&noquote=1&t=[B]<?php [U]echo[/U] $vbridge[id] ?>[/B]>Add your comments[B]</a>[/B] | <a href=[B]<?php [U]echo[/U] get_option('vbb_VBURL') ?>[/B]/showthread.php?t=[B]<?php [U]echo[/U] $vbridge[id] ?>[/B]>([B]<?php [U]echo[/U] intval($vbridge[count]) ?>[/B]) comments[B]</a>[/B][B]</center>[/B][B]</span>[/B][B]</ol>[/B]
[B]<h4 [U]class[/U]="module-title">[/B]Comments:[B]</h4>[/B]
[B]<ol id="commentlist" [U]class[/U]="clearfix">[/B]
[B]<?php
			[U]foreach[/U] ($vbridge[replies] [U]as[/U] $reply) { 
?>[/B]

<li [U]class[/U]="[B]<?php [U]echo[/U] $oddcomment; ?>[/B]" id="comment-[B]<?php [U]echo[/U] $reply['postid'] ?>[/B]">
<div [U]class[/U]="singlecomment" id="div-comment-[B]<?php [U]echo[/U] $reply['postid'] ?>[/B]">
[B]<div [U]class[/U]="comment-author vcard">[/B]
<img src="[B]<?php [U]echo[/U] get_option('vbb_VBURL') ?>[/B]/image.php?u=[B]<?php [U]echo[/U] $reply['userid'] ?>[/B]&amp;dateline=[B]<?php [U]echo[/U] TIMENOW ?>[/B]" alt="[B]<?php [U]echo[/U] $reply['username'] ?>[/B]'s Avatar" [U]class[/U]="avatar avatar-32 photo avatar-[U]default[/U]" width="32" height="32">

		<a href=[B]<?php [U]echo[/U] get_option('vbb_VBURL') ?>[/B]/member.php?u=[B]<?php [U]echo[/U] $reply['userid'] ?>[/B]>[B]<?php [U]echo[/U] $reply['username'] ?>[/B][B]</a>[/B]

		[B]<span [U]class[/U]="says">[/B]says:[B]</span>[/B]
		[B]</div>[/B]

		[B]<div [U]class[/U]="comment-meta commentmetadata">[/B]<a href="[B]<?php [U]echo[/U] get_option('vbb_VBURL') ?>[/B]/showthread.php?p=[B]<?php [U]echo[/U] $reply['postid'] ?>[/B]">[B]<?php [U]echo[/U] vbdate($vbulletin->options['dateformat'],$reply['dateline']) . ' ' . vbdate($vbulletin->options['timeformat'],$reply['dateline']) ?>[/B][B]</a>[/B][B]</div>[/B]

		[B]<p style="">[/B][B]<?php [U]echo[/U] $vbridge[vb_parser]->do_parse($reply[pagetext], [U]false[/U], [U]true[/U]); ?>[/B][B]</p>[/B]

		[B]</div>[/B]
[B]<p>[/B]
<a href="[B]<?php [U]echo[/U] get_option('vbb_VBURL') ?>[/B]/newreply.php?[U]do[/U]=newreply&p=[B]<?php [U]echo[/U] $reply['postid'] ?>[/B]">[B]<img alt="Quote Comment" src="http://www.eteknix.com/forums/cb/buttons/quote.gif" style="float: right" />[/B][B]</p>[/B]
[B]</li>[/B]

[B]<?php
}
 [I]/* Changes every other comment to a different [U]class[/U] */[/I]	
    [U]if[/U] ('alt' == $oddcomment){
     $oddcomment = 'standard';
    }
     [U]else[/U] {
     $oddcomment = 'alt';
    }
   ?>[/B]
[B]</ol>[/B]
[B]</div>[/B]
[B]<br />[/B]
[B]<h4 [U]class[/U]="module-title2">[/B][B]<center>[/B][B]<span [U]class[/U]="styleL">[/B]<a href=[B]<?php [U]echo[/U] get_option('vbb_VBURL') ?>[/B]/newreply.php?[U]do[/U]=newreply&noquote=1&t=[B]<?php [U]echo[/U] $vbridge[id] ?>[/B]>Add your comments[B]</a>[/B] | <a href=[B]<?php [U]echo[/U] get_option('vbb_VBURL') ?>[/B]/showthread.php?t=[B]<?php [U]echo[/U] $vbridge[id] ?>[/B]>([B]<?php [U]echo[/U] intval($vbridge[count]) ?>[/B]) comments[B]</a>[/B][B]</span>[/B][B]</center>[/B][B]</h4>[/B]

[B]<?php
			
		}
	}
}
[I]##End Vbridge Replacement[/I]
?>[/B]

[B]<?php [U]if[/U] ( have_comments() [U]and[/U] ($vbridge[id] == '')) : ?>[/B]
	[B]<?php [U]if[/U] ( ![U]empty[/U]($comments_by_type['comment']) ) : ?>[/B]  
	[B]<h4 [U]class[/U]="module-title">[/B][B]<?php comments_number( __('No Comments', 'arras'), __('1 Comment', 'arras'), __ngettext('% Comment', '% Comments', get_comments_number(), 'arras') ); ?>[/B][B]</h4>[/B]
		[B]<ol id="commentlist" [U]class[/U]="clearfix">[/B]
			[B]<?php wp_list_comments('type=comment&callback=arras_list_comments'); ?>[/B]
		[B]</ol>[/B]
		[B]<div [U]class[/U]="comments-navigation clearfix">[/B]
			[B]<div [U]class[/U]="floatleft">[/B][B]<?php previous_comments_link() ?>[/B][B]</div>[/B]
		    [B]<div [U]class[/U]="floatright">[/B][B]<?php next_comments_link() ?>[/B][B]</div>[/B]
		[B]</div>[/B]
	[B]<?php [U]endif[/U]; ?>[/B]
	
	[B]<?php [U]if[/U] ( ![U]empty[/U]($comments_by_type['pings']) ) : ?>[/B]
	[B]<h4 [U]class[/U]="module-title">[/B][B]<?php _e('Trackbacks / Pings', 'arras') ?>[/B][B]</h4>[/B]
	[B]<ol [U]class[/U]="pingbacks">[/B][B]<?php wp_list_comments('type=pings&callback=arras_list_trackbacks'); ?>[/B][B]</ol>[/B]
	[B]<?php [U]endif[/U]; ?>[/B]
	
[B]<?php [U]else[/U]: ?>[/B]
		[B]<?php [U]if[/U] ('open' == $post->comment_status [U]and[/U] ($vbridge[id] == '')) : ?>[/B]
		[B]<h4 [U]class[/U]="module-title">[/B][B]<?php _e('No Comments', 'arras') ?>[/B][B]</h4>[/B]
		[B]<p [U]class[/U]="nocomments">[/B][B]<?php _e('Start the ball rolling by posting a comment on [U]this[/U] article!', 'arras') ?>[/B][B]</p>[/B]
		[B]<?php [U]endif[/U] ?>[/B]
[B]<?php [U]endif[/U]; ?>
[/B]

Thanks,

Andy
 
Back
Top Bottom