Location: PHPKode > projects > PBBoard > PBBoard_v2.1.4/Upload/look/styles/forum/main/templates/search_results_username_subject.tpl
{template}address_bar_part1{/template}
{$lang['Search_Results']}
{template}address_bar_part2{/template}
<br />
<table border="0" cellspacing="1" class="border" width="98%" align="center">
	<tr>
		<td width="100%" class="tcat small_text" align="center" colspan="5">
 <div class="r-right">{$lang['Search_results_for_all_subject_user']}
     {$keyword}</div>
			{if {$username_nm}}
			<div class="l-left"> {$lang['Number_of_results']}
			({$username_nm})
			 {$lang['result']}</div>
			{/if}

			{if {$nm}}
			<div class="l-left"> {$lang['Number_of_results']}
			({$nm})
			  {$lang['result']}</div>
			{/if}

		</td>
	</tr>
	    <tr>
       <td width="30%" class="thead" align="center" colspan="2">
          {$lang['subject_title']}
       </td>
{if !{$search_username_subjects} }
       <td width="20%" class="thead" align="center">
          {$lang['subject_writer']}
       </td>
{/if}
       <td width="10%" class="thead" align="center">
          {$lang['reply_num']}
       </td>
       <td width="10%" class="thead" align="center">
          {$lang['subject_visitor']}
       </td>
       <td width="28%" class="thead" align="center">
{$lang['date']}
       </td>
    </tr>
	{Des::while}{SubjectList}
	<tr>
		<td width="3%" class="row1" align="center">
			<img src="{$_CONF['ReplyList_row']['icon_path']}{$SubjectList['icon']}" alt="" />
		</td>
		<td width="30%" class="row2">
		<?php $PowerBB->_CONF['template']['while']['SubjectList'][$this->x_loop]['title'] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['while']['SubjectList'][$this->x_loop]['title'],'html'); ?>
<?php $PowerBB->_CONF['template']['while']['SubjectList'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['SubjectList'][$this->x_loop]['title']); ?>

			<a href="index.php?page=topic&amp;show=1&amp;id={$SubjectList['id']}{$password}">
				{$SubjectList['title']}
			</a>
			{if {$SubjectList['close']}}
			{$lang['subject_close']}
			{/if}
			<br />
			<font class="small">{$SubjectList['subject_describe']}</font>
		</td>
{if !{$search_username_subjects} }
       <td width="20%" class="row1" align="center">
          <a href="index.php?page=profile&amp;show=1&amp;username={$SubjectList['writer']}">{$SubjectList['writer']}</a>       </td>
	</td>
{/if}
		<td width="10%" class="row2" align="center">
			{if {$SubjectList['reply_number']} <= 0}
			{$lang['no_replys']}
			{else}
			{$SubjectList['reply_number']}
			{/if}
		</td>
		<td width="10%" class="row1" align="center">
			{$SubjectList['visitor']}
		</td>
		<td width="28%" class="row2" align="center">
			{$SubjectList['reply_date']}
		</td>
	</tr>
{/Des::while}

	{Des::while}{SubjectTitleList}
	<tr>
		<td width="3%" class="row1" align="center">
			<img src="{$_CONF['ReplyList_row']['icon_path']}{$SubjectTitleList['icon']}" alt="" />
		</td>
		<td width="30%" class="row2">
		<?php $PowerBB->_CONF['template']['while']['SubjectTitleList'][$this->x_loop]['title'] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['while']['SubjectTitleList'][$this->x_loop]['title'],'html'); ?>
<?php $PowerBB->_CONF['template']['while']['SubjectTitleList'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['SubjectTitleList'][$this->x_loop]['title']); ?>

			<a href="index.php?page=topic&amp;show=1&amp;id={$SubjectTitleList['id']}{$password}">
				{$SubjectTitleList['title']}
			</a>
			{if {$SubjectTitleList['close']}}
			{$lang['subject_close']}
			{/if}
			<br />
			<font class="small">{$SubjectTitleList['subject_describe']}</font>
		</td>
{if !{$search_username_subjects} }
       <td width="20%" class="row1" align="center">
          <a href="index.php?page=profile&amp;show=1&amp;username={$SubjectTitleList['writer']}">{$SubjectTitleList['writer']}</a><br />
          {$SubjectTitleList['write_date']}
       </td>
{/if}
		<td width="10%" class="row2" align="center">
			{if {$SubjectTitleList['reply_number']} <= 0}
			{$lang['no_replys']}
			{else}
			{$SubjectTitleList['reply_number']}
			{/if}
			</td>
		<td width="10%" class="row1" align="center">
			{$SubjectTitleList['visitor']}
		</td>
		<td width="28%" class="row2" align="center">
			{$SubjectTitleList['reply_date']}
		</td>
	</tr>
{/Des::while}
{Des::while}{MembersListSubject}
	<tr>
		<td width="3%" class="row1" align="center">
			<img src="{$_CONF['ReplyList_row']['icon_path']}{$MembersListSubject['icon']}" alt="" />
		</td>
		<td width="30%" class="row2">
		<?php $PowerBB->_CONF['template']['while']['MembersListSubject'][$this->x_loop]['title'] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['while']['MembersListSubject'][$this->x_loop]['title'],'html'); ?>
<?php $PowerBB->_CONF['template']['while']['MembersListSubject'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['MembersListSubject'][$this->x_loop]['title']); ?>

			<a href="index.php?page=topic&amp;show=1&amp;id={$MembersListSubject['id']}{$password}">
				{$MembersListSubject['title']}
			</a>
			{if {$MembersListSubject['close']}}
			{$lang['subject_close']}
			{/if}
			<br />
			<font class="small">{$MembersListSubject['subject_describe']}</font>
		</td>
{if !{$search_username_subjects}}
       <td width="20%" class="row1" align="center">
          <a href="index.php?page=profile&amp;show=1&amp;username={$MembersListSubject['writer']}">{$MembersListSubject['writer']}</a><br />
          {$MembersListSubject['write_date']}
       </td>
{/if}
		<td width="8%" class="row2" align="center">
			{if {$MembersListSubject['reply_number']} <= 0}
			{$lang['no_replys']}
			{else}
			{$MembersListSubject['reply_number']}
			{/if}
		</td>
		<td width="8%" class="row1" align="center">
			{$MembersListSubject['visitor']}
		</td>
		<td width="28%" class="row2" align="center">
			{$MembersListSubject['reply_date']}
		</td>
	</tr>
{/Des::while}
</table>
<br />
<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
    <tr>


        <td width="2%" align="right">
        {if {$pager}}
<table width="6%" border="0" cellpadding="1" class="pager" align="left">
    <tr align="center">
      <td width="2%" class="pager">
 <a href="javascript:switchMenuNone('pager_top')">
<img border="0" src="{$image_path}/menu_open.gif"
 title="{$lang['Jump_between_pages']}" /></a>
<div style="display:none;position: absolute; z-index: 10" id="pager_top">
        <table width="120" border="0" cellspacing="1" class="border">
           <tr align="center">
             <td class="tbar">
           {$lang['Go_to_the_page']}
             </td>
           </tr>
           <tr align="center">
             <td class="menu_popup">
              <a href="javascript:switchMenuNone('pager_top')">
             <form name="misc" method="post" action="index.php?page=misc&pagenav_search=1">
             <input name="location" type="hidden" value="{$PagerLocation}">
             <input class="bginput" name="count" style="font-size: 11px;" size="4" type="text">
             <input class="button" type="submit" value="{$lang['Go']}" name="page_button">
             </form>
             </a>
             </td>
           </tr>
           </table>
        </div>
        </td>
      <td align="left">{$pager}</td>
    </tr>
</table>
{/if}
        </td>
        </tr>
      </table>
<br />
<br />
Return current item: PBBoard