Location: PHPKode > projects > PBBoard > PBBoard_v2.1.4/Upload/look/styles/forum/main/templates/last_subject_writer.tpl
{if {$_CONF['info_row']['show_list_last_5_posts_member']} == 1}
<div align="center">
<table width="90%" border="0" cellspacing="1">
<tr>
<td width="90%" align="center" class="tbar">
{$lang['Member_Topics']}
 {$Info['username']}
</td>
</tr>
{if {$LastSubjectWriter_nm} == 0}
<tr>
<td width="100%" align="center" class="tbar_writer_info">
{$lang['no_subject']}
</td>
</tr>
{else}
<tr>
<td width="90%" align="right" class="tbar_writer_info">
<MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=1 scrollDelay=0 direction=up height=70>
<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
{Des::while}{Writer_subjectList}
	<tr>
		<td width="15"><img src="{$image_path}/post.gif" border="0" title="{$Writer_subjectList['title']}"> </td>
		<td>
		{if {$_CONF['info_row']['rewriterule']} == '1'}
<a target="_blank" href="t{$Writer_subjectList['id']}.html">
{else}
 <a target="_blank" href="index.php?page=topic&amp;show=1&amp;id={$Writer_subjectList['id']}">
{/if}
<?php $PowerBB->_CONF['template']['while']['Writer_subjectList'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['Writer_subjectList'][$this->x_loop]['title']); ?>
<?php
$num ='25';
$start ='0';
$text = $PowerBB->_CONF['template']['while']['Writer_subjectList'][$this->x_loop]['title'];
echo $text = @preg_replace('#^(?:[\x00-\x7F]|[\xC0-\xFF][\x80-\xBF]+){0,'. $start .'}'.'((?:[\x00-\x7F]|[\xC0-\xFF][\x80-\xBF]+){0,'. $num .'}).*#s','$1', $text);
if (strlen($PowerBB->_CONF['template']['while']['Writer_subjectList'][$this->x_loop]['title']) > $num ) {
echo " ...";
}
?>
</a>
<br /></td>
	</tr>
{/Des::while}
</table>
</MARQUEE>
</td>
</tr>
{/if}
</table>
</div>
{/if}
Return current item: PBBoard