Location: PHPKode > projects > PBBoard > PBBoard_v2.1.4/Upload/look/styles/forum/main/templates/today_reply.tpl
 {template}address_bar_part1{/template}
 {$lang['latest_reply']}
{template}address_bar_part2{/template}
<table border="0" cellspacing="1" class="border" width="98%" align="center">
	<tr>
		<td width="40%" class="tcat small_text" colspan="2">
			{$lang['Subject']} / {$lang['sort_writer']}
		</td>
		<td width="15%" class="tcat small_text" align="center">
       {$lang['write_date']}
		</td>
		<td width="4%" class="tcat small_text" align="center">
       {$lang['reply_num']}
		</td>
		<td width="4%" class="tcat small_text" align="center">
       {$lang['subject_visitor']}
		</td>
			<td width="15%" class="tcat small_text" align="center">
			 {$lang['forum']}
		</td>
	</tr>
	 {if {$reply_today_nm} == 0}
 <tr>
 		<td width="97%" class="row1" align="center" colspan="6">
{$lang['no_replies_today']}
		</td>
			</tr>
		{else}
	{Des::while}{LastSubject}
	<tr>
		<td width="3%" class="row2" align="center">
			<img src="{$LastSubject['icon']}" alt="" />
		</td>
		<td width="40%" class="row1">
<?php $PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title'] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title'],'html'); ?>
<?php $PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['title']); ?>

			<a href="index.php?page=topic&amp;show=1&amp;id={$LastSubject['subject_id']}{$password}{$LastSubject['id']}">
				{$LastSubject['title']}
			</a>
			<br />
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['writer']);?>
		</td>
		<td width="15%" class="row1" align="center">
					<a href="index.php?page=profile&amp;show=1&amp;username={$LastSubject['last_replier']}">
		 {if {$LastSubject['last_replier']}}
		<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['last_replier']);?>
	   {else}
		<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['writer']);?>
		 {/if}<br />
<span class="smallfont">
			{$LastSubject['reply_date']}
			</span>
		</td>
		<td width="4%" class="row1" align="center">
			{$LastSubject['reply_number']}
		</td>
		<td width="4%" class="row1" align="center">
			{$LastSubject['visitor']}
		</td>
		<td width="15%" class="row1" align="center">
<?php

      	$section_id = $PowerBB->_CONF['template']['while']['LastSubject'][$this->x_loop]['section'];
        $GetForum = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['section'] . " WHERE id = '$section_id'");
        $Forum = @mysql_fetch_array($GetForum);
        $Forum_title = $Forum['title'];
        $Forum_id = $Forum['id'];
?>
			{if {$_CONF['info_row']['rewriterule']} == '1'}
					<a href="f<?php echo $Forum_id; ?>.html"><?php echo $Forum_title; ?></a>
					{else}
						<a href="index.php?page=forum&amp;show=1&amp;id=<?php echo $Forum_id; ?>"><?php echo $Forum_title; ?></a>
					{/if}
		</td>
	</tr>
{/Des::while}
</table>
	<table border="0" width="98%" border="0" style="border-collapse: collapse" align="center">
	<tr>
		<td align="center">
{$pagerLastSubject}
</td>
	</tr>
	{/if}
</table>
<br />
{template}jump_forums_list{/template}
<br />
<br />
<br />
Return current item: PBBoard