PHP tag working properly, anywho...
[php]<?
{echo '<tr><td class="cell">';
if($thread->closed == 1 || $fname->type == 'lock')
{echo '<img src="images/default/icons/forum/locked.gif" alt="Closed" border="0"> ';}
if($last_post->time > $_COOKIE['last_visit'])
{$b = "<b>»</b>";}else{$b = "";}
echo ''.$b.'<a href="?section=thread&tid='.$thread->tid.'">'.$thread->title.'</a>';
//THREAD PAGING
if($total_resultsTID > $forum_properties['thread_pp'])
{echo '<A BR>
<b>(Page ';paging_small($total_resultsTID, $forum_properties['thread_pp'], $thread->tid, thread);echo ')</b>';}
//END THREAD PAGING
//LAST PAGE
$numrows = mysql_num_rows(mysql_query("SELECT tid FROM $forumzDB.forumz_posts WHERE tid = '$last_post->tid'"));
if($numrows > $forum_properties['thread_pp'])
{$page = $numrows / $forum_properties['thread_pp'];
$pages = ceil($page);}
else
{$pages = '1';}
//LAST PAGE
echo '</td><td class="cell" align="center">';
echo user($thread->uid, 1);
echo '</td><td class="cell" align="center">';
$replies = $total_resultsTID - 1;
echo ''.$replies.'</td>
<td class="cell" align="center">'.$thread->noread.'</td>
<td class="cell" align="left">';
echo TimeDiffo($last_post->time);
echo '<A BR>';
echo user($last_post->uid, 1);
echo ' : <a href="?section=thread&tid=';
echo "$last_post->tid&page=$pages#$last_post->pid">Read</a></td></tr>";}}} ?>[/php]
:: My tabing got removed0red
[php]<?
{echo '<tr><td class="cell">';
if($thread->closed == 1 || $fname->type == 'lock')
{echo '<img src="images/default/icons/forum/locked.gif" alt="Closed" border="0"> ';}
if($last_post->time > $_COOKIE['last_visit'])
{$b = "<b>»</b>";}else{$b = "";}
echo ''.$b.'<a href="?section=thread&tid='.$thread->tid.'">'.$thread->title.'</a>';
//THREAD PAGING
if($total_resultsTID > $forum_properties['thread_pp'])
{echo '<A BR>
<b>(Page ';paging_small($total_resultsTID, $forum_properties['thread_pp'], $thread->tid, thread);echo ')</b>';}
//END THREAD PAGING
//LAST PAGE
$numrows = mysql_num_rows(mysql_query("SELECT tid FROM $forumzDB.forumz_posts WHERE tid = '$last_post->tid'"));
if($numrows > $forum_properties['thread_pp'])
{$page = $numrows / $forum_properties['thread_pp'];
$pages = ceil($page);}
else
{$pages = '1';}
//LAST PAGE
echo '</td><td class="cell" align="center">';
echo user($thread->uid, 1);
echo '</td><td class="cell" align="center">';
$replies = $total_resultsTID - 1;
echo ''.$replies.'</td>
<td class="cell" align="center">'.$thread->noread.'</td>
<td class="cell" align="left">';
echo TimeDiffo($last_post->time);
echo '<A BR>';
echo user($last_post->uid, 1);
echo ' : <a href="?section=thread&tid=';
echo "$last_post->tid&page=$pages#$last_post->pid">Read</a></td></tr>";}}} ?>[/php]
:: My tabing got removed0red

After all you put me through
You'd think I'd despise you
But in the end I wanna thank you
'Cause you made me that much stronger
You'd think I'd despise you
But in the end I wanna thank you
'Cause you made me that much stronger
# Location Bar:<
if ($parent['frm_id'] != 0) {<
$_VAR['link_title'] = $_VAR['parent_title'];<
$_VAR['link_id'] = '';<
<
# Get permissions:<
if (!$_PRM->get('forum_' . $parent['frm_id'], 'view') and !$_PRM->get('all', 'view')) { $error = true; }<
<
$_GBL['location'] = $_TPL->get('global', 'location_div') . $_TPL->get('global', 'location_link', $_VAR) . $_GBL['location'];<
$res = $_SQL->run('sql', 'SELECT frm_title, frm_parent, frm_id FROM ' . $_GBL['dbpfx'] . 'forums WHERE frm_id='' . $parent['frm_parent'] . '' LIMIT 1');<
while ($forum = $_SQL->fetch('sql', $res)) {<
# Get permissions:<
if (!$_PRM->get('forum_' . $parent['frm_id'], 'view') and !$_PRM->get('all', 'view')) { $error = true; }<
<
$_VAR['link_title'] = $_TXT->clean($forum['frm_title']);<
$_VAR['link_id'] = '?m=forumindex&parent=' . $forum['frm_id'];<
if ($forum['frm_id'] != 0) {<
$_GBL['location'] = $_TPL->get('global', 'location_div') . $_TPL->get('global', 'location_link', $_VAR) . $_GBL['location'];<
$res = $_SQL->run('sql', 'SELECT frm_title, frm_parent, frm_id FROM ' . $_GBL['dbpfx'] . 'forums WHERE frm_id='' . $forum['frm_parent'] . '' LIMIT 1');<
} else {<
$_GBL['location'] = $_TPL->get('global', 'location_link', $_VAR) . $_GBL['location'];<
}<
}<
} else {<
$_VAR['link_title'] = $_VAR['parent_title'];<
$_VAR['link_id'] = '';<
$_GBL['location'] = $_TPL->get('global', 'location_link', $_VAR);<
<
# Get permissions:<
if (!$_PRM->get('forum_' . $parent['frm_id'], 'view') and !$_PRM->get('all', 'view')) { $error = true; }<
}
:: Mooo!
:: Mine is the neatest!

Now playing: Frenzal Rhomb
Russel Crowe's Band (Is A Fucking Pile Of Shit)
Russel Crowe's Band (Is A Fucking Pile Of Shit)
The Wolf @ 12th Dec @ 11:09:03pm
yes, yes you should. and also! PLEASE LEARN HOW TO CHOOSE COLOURS! I don't think I could stand another person who uses red text on a blue background :/
Anyone who uses those two colours like that is clearly a sadist :P
+1 Postcount


)