<p class="stats"><?php if (function_exists('cp_ad_views_today')) { cp_ad_views_today($post->ID, '', __('total views','cp'), __('so far today','cp'), 0, 'show'); } ?></p>
<tr class="even">
<td class="text-right"><?php echo $i; ?>.</td>
<td><h3>
<?php if ($post->post_status == 'pending' || $post->post_status == 'draft' || $poststatus == 'ended' || $poststatus == 'offline') { ?>
<?php the_title(); ?>
<?php } else { ?>
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
<?php } ?>
</h3>
<div class="meta"><?php the_category(', ') ?> | <?php the_time(get_option('date_format'))?></div>
</td>
<td class="text-center"><span style="color:<?php echo $fontcolor ?>;"><?php echo ucfirst($poststatus) ?></span></td>
<td class="text-center">
There are currently 1 users browsing this thread. (0 members and 1 guests)