forum.tpl

来自「用php编写的一个BBS 小程序」· TPL 代码 · 共 38 行

TPL
38
字号
<{include file="header.tpl"}>
  <tr>
    <td align="center" valign="top" style="padding-top:5px">
      <table class="table2" width="95%" height="22">
        <tr>
          <td id="route" valign="top">&nbsp;</td>
        </tr>
      </table>
      <table id="tuple" class="table1" width="95%">
        <tr align="center" bgcolor="#3980d2">
          <td class="td1" width="50%" align="left" style="padding:5px" onmouseover="this.style.background='#4891e6'" onmouseout="this.style.background='#3980d2'"><font color="#d9e1f6">&nbsp;主题</font></td>
          <td class="td1" width="8%" style="padding:5px" onmouseover="this.style.background='#4891e6'" onmouseout="this.style.background='#3980d2'"><font color="#d9e1f6">点击</font></td>
          <td class="td1" width="8%" style="padding:5px" onmouseover="this.style.background='#4891e6'" onmouseout="this.style.background='#3980d2'"><font color="#d9e1f6">回复</font></td>
          <td class="td1" width="12%" style="padding:5px" onmouseover="this.style.background='#4891e6'" onmouseout="this.style.background='#3980d2'"><font color="#d9e1f6">作者</font></td>
          <td class="td1" width="22%" style="padding:5px" onmouseover="this.style.background='#4891e6'" onmouseout="this.style.background='#3980d2'"><font color="#d9e1f6">最后发表</font></td>
        </tr>
        <tr align="center" bgcolor="#eef2fd">
          <td class="td1" colspan="5" style="padding:5px" onmouseover="this.style.background='#f6f8ff'" onmouseout="this.style.background='#eef2fd'">请稍后,载入数据中...</td>
        </tr>
      </table>
      <table class="table2" width="95%" height="25">
        <tr valign="bottom">
          <td width="20" style="padding-bottom:2px"><img src="images/b_browse.png" width="16" height="16" alt="贴子统计" /></td>
          <td id="totalrows" width="150" style="padding-bottom:1px">&nbsp;</td>
          <td width="20" style="padding-bottom:2px"><img src="images/b_view.png" width="16" height="16" alt="分页显示" /></td>
          <td width="150">
            <form name='rippage' method='post' action="javascript:void(0)" onsubmit="updateThreadList(-1, this.rows.value, <{$forum}>)">每页 <input id="pagerows" class="input1" type="text" name="rows" maxlength="4" size="5" onfocus="this.select()" /> 行 <input class="input2" type="submit" value="显示" alt="分页显示,最小为1,最大为100。" /></form>
          </td>
          <td id="pageview" align="right" style="padding-bottom:1px">&nbsp;</td>
        </tr>
      </table>
      <script src="<{$jsDir}>forum.js"></script>
      <script language="JavaScript" type="text/javascript" defer>
        updateThreadList(<{$curPage}>, <{$rows}>, <{$forum}>);
      </script>
    </td>
  </tr>
<{include file="footer.tpl"}>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?