<form name="frmsearch" method="post" action="{?$jieqi_url?}/ptopiclist.php">
<table class="grid" width="100%" align="center">
    <tr>
      <td class="odd">
        <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="hide>
         <tr>
           <td width="65%">关键字：
            <input name="keyword" type="text" id="keyword" class="text" size="0" maxlength="50"> <input name="keytype" type="radio" class="radio" value="0" checked>
            会客室主人 
            <input type="radio" name="keytype" class="radio" value="1">
            发表人 &nbsp;&nbsp;
       <input type="submit" name="btnsearch" class="button" value="搜 索"></td>
           <td width="35%" align="right">[<a href="{?$jieqi_url?}/ptopiclist.php?type=all">全部主题</a>]&nbsp;&nbsp;[<a href="{?$jieqi_url?}/ptopiclist.php?type=good">精华主题</a>]&nbsp;</td>
         </tr>
       </table></td>
    </tr>
</table>
</form>
<br />
<table class="grid" width="100%" align="center">
  <tr align="center">
    <td width="46%" class="title">主题</td>
    <td width="12%" class="title">会客室主人</td>
    <td width="12%" class="title">回复/查看</td>
    <td width="12%" class="title">发表人</td>
    <td width="18%" class="title">发表时间</td>
  </tr>
  {?section name=i loop=$ptopicrows?}
  <tr>
    <td class="odd">{?if $ptopicrows[i].istop == 1?}<span class="hottext">[顶]</span>{?/if?}{?if $ptopicrows[i].isgood == 1?}<span class="hottext">[精]</span>{?/if?}<a href="{?$jieqi_url?}/ptopicshow.php?tid={?$ptopicrows[i].topicid?}">{?$ptopicrows[i].title?}</a></td>
    <td class="even"><a href="{?$jieqi_url?}/ptopics.php?oid={?$ptopicrows[i].ownerid?}" target="_blank">{?$ptopicrows[i].ownername?}</a></td>
    <td align="center" class="odd">{?$ptopicrows[i].replies?}/{?$ptopicrows[i].views?}</td>
    <td class="even"><a href="{?function jieqi_geturl:'system':'user':$ptopicrows[i].posterid?}" target="_blank">{?$ptopicrows[i].poster?}</a></td>
    <td align="center" class="odd">{?$ptopicrows[i].posttime|date:"Y-m-d H:i:s"?}</td>
  </tr>
  {?/section?}
</table>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="13%"><!--<input type="submit" name="Submit" value="批量删除" class="button">
      <input name="batchdel" type="hidden" value="1">--></td>
    <td width="87%" align="right">{?$url_jumppage?}</td>
  </tr>
</table>
