Location: PHPKode > projects > PBBoard > PBBoard_v2.1.4/Upload/look/styles/forum/main/templates/search_results_one.tpl
<title>{$lang['Search_Results']}
 - {$_CONF['info_row']['title']}</title>
{template}address_bar_part1{/template}
{$lang['Search_Results']}
{template}address_bar_part2{/template}
<br />
{if !{$ReplyListOne['id']}}
<table border="0" cellspacing="1" class="border" width="98%" align="center">
	<tr>
		<td width="100%" class="tcat small_text" align="center" colspan="6">
 <div class="r-right">{$lang['Search_results_for']}
  {$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>
		<td width="20%" class="thead" align="center">
			{$lang['subject_writer']}
		</td>
		<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}{SubjectListOne}
	<tr>
		<td width="3%" class="row1" align="center">
			<img src="{$_CONF['SubjectListOne_row']['icon_path']}{$SubjectListOne['icon']}" alt="" />
		</td>
		<td width="30%" class="row2">
			<a href="index.php?page=topic&amp;show=1&amp;highlight={$keyword}&amp;id={$SubjectListOne['id']}{$password}">
				{$SubjectListOne['title']}
			</a>
			{if {$SubjectListOne['close']}}
			{$lang['subject_close']}
			{/if}
			<br />
			<font class="small">{$SubjectListOne['subject_describe']}</font>
		</td>
		<td width="20%" class="row1" align="center">
			<a href="index.php?page=profile&amp;show=1&amp;username={$SubjectListOne['writer']}">{$SubjectListOne['writer']}</a>		</td>
		<td width="8%" class="row2" align="center">
			{$SubjectListOne['reply_number']}
		</td>
		<td width="8%" class="row1" align="center">
			{$SubjectListOne['visitor']}
		</td>
		<td width="28%" class="row2" align="center">
			{$SubjectListOne['reply_date']}
		</td>
	</tr>
{/Des::while}

	{Des::while}{SubjectTitleListOne}
	<tr>
		<td width="3%" class="row1" align="center">
			<img src="{$_CONF['SubjectTitleListOne_row']['icon_path']}{$SubjectTitleListOne['icon']}" alt="" />
		</td>
		<td width="30%" class="row2">
			<a href="index.php?page=topic&amp;show=1&amp;highlight={$keyword}&amp;id={$SubjectTitleListOne['id']}{$password}">
				{$SubjectTitleListOne['title']}
			</a>
			{if {$SubjectTitleListOne['close']}}
			{$lang['subject_close']}
			{/if}
			<br />
			<font class="small">{$SubjectTitleListOne['subject_describe']}</font>
		</td>
		<td width="20%" class="row1" align="center">
			<a href="index.php?page=profile&amp;show=1&amp;username={$SubjectTitleListOne['writer']}">{$SubjectTitleListOne['writer']}</a><br />
			{$SubjectTitleListOne['write_date']}
		</td>
		<td width="8%" class="row2" align="center">
			{$SubjectTitleListOne['reply_number']}
		</td>
		<td width="8%" class="row1" align="center">
			{$SubjectTitleListOne['visitor']}
		</td>
		<td width="28%" class="row2" align="center">
			{if {$SubjectTitleListOne['reply_number']} <= 0}
			{$lang['no_replys']}
			{else}
			{$SubjectTitleListOne['reply_date']}
			{/if}
		</td>
	</tr>
{/Des::while}
{Des::while}{MembersListSubjectOne}
	<tr>
		<td width="3%" class="row1" align="center">
			<img src="{$_CONF['MembersListSubjectOne_row']['icon_path']}{$MembersListSubjectOne['icon']}" alt="" />
		</td>
		<td width="30%" class="row2">
			<a href="index.php?page=topic&amp;show=1&amp;highlight={$keyword}&amp;id={$MembersListSubjectOne['id']}{$password}">
				{$MembersListSubjectOne['title']}
			</a>
			{if {$MembersListSubjectOne['close']}}
			{$lang['subject_close']}
			{/if}
			<br />
			<font class="small">{$MembersListSubjectOne['subject_describe']}</font>
		</td>
		<td width="20%" class="row1" align="center">
			<a href="index.php?page=profile&amp;show=1&amp;username={$MembersListSubjectOne['writer']}">{$MembersListSubjectOne['writer']}</a><br />
			{$MembersListSubjectOne['write_date']}
		</td>
		<td width="8%" class="row2" align="center">
			{$MembersListSubjectOne['reply_number']}
		</td>
		<td width="8%" class="row1" align="center">
			{$MembersListSubjectOne['visitor']}
		</td>
		<td width="28%" class="row2" align="center">
			{if {$MembersListSubjectOne['reply_number']} <= 0}
			{$lang['no_replys']}
			{else}
			{$MembersListSubjectOne['reply_date']}
			{/if}
		</td>
	</tr>
{/Des::while}
</table>
{else}
<br />
<table border="0" cellspacing="1" class="border" width="98%" align="center">
	<tr>
		<td width="100%" class="tcat small_text" align="center" colspan="4">
 <div class="r-right">{$lang['Search_results_for']}
  {$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="40%" class="thead" align="center" colspan="2">
			{$lang['subject_title']}
		</td>
		<td width="20%" class="thead" align="center">
			{$lang['subject_writer']}
		</td>
		<td width="10%" class="thead" align="center">
{$lang['date']}
		</td>
	</tr>
{Des::while}{ReplyListOne}
<tr>
		<td width="3%" class="row1" align="center">
		{if {$ReplyListOne['icon']} !=''}
		<img src="{$_CONF['ReplyListOne_row']['icon_path']}{$ReplyListOne['icon']}" alt="" />
		{else}
		 <img src="look/images/icons/i1.gif" alt="" />
		{/if}

		</td>
		<td width="40%" class="row2">
				{$lang['bY_reply']}
						<a href="index.php?page=topic&amp;show=1&amp;highlight={$keyword}&amp;id={$ReplyListOne['subject_id']}#{$ReplyListOne['id']}">
				{if {$ReplyListOne['title']} !=''}
				{$ReplyListOne['title']}
				{else}
			<?php echo substr($PowerBB->_CONF['template']['while']['ReplyListOne'][$this->x_loop]['text'],0,35); ?>
				{/if}
			</a>
			{if {$ReplyListOne['close']}}
			{$lang['subject_close']}
			{/if}
			<br />
			<font class="small">{$ReplyListOne['subject_describe']}</font>
		</td>
		<td width="20%" class="row1" align="center">
			<a href="index.php?page=profile&amp;show=1&amp;username={$ReplyListOne['writer']}">{$ReplyListOne['writer']}</a>
		</td>
		<td width="10%" class="row2" align="center">
         {$ReplyListOne['reply_date']}
		</td>
	</tr>
{/Des::while}
{/if}
<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