thread.tpl
来自「用php编写的一个BBS 小程序」· TPL 代码 · 共 40 行
TPL
40 行
<{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"> </td>
</tr>
</table>
<table id="tuple" class="table1" width="95%">
<tr bgcolor="#3980d2">
<td class="td1" width="20%" style="padding:5px;color:#d9e1f6" onmouseover="this.style.background='#4891e6'" onmouseout="this.style.background='#3980d2'">作者</td>
<td id="heading" class="td1" colspan="3" width="80%" style="padding:5px;color:#d9e1f6" onmouseover="this.style.background='#4891e6'" onmouseout="this.style.background='#3980d2'">标题:</td>
</tr>
<tr align="center" bgcolor="#eef2fd">
<td class="td1" colspan="4" 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/s_lang.png" width="16" height="16" alt="回贴统计" /></td>
<td id="totalrows" width="150" style="padding-bottom:1px"> </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="updatePostList(-1, this.rows.value, <{$thread}>)">每页 <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"> </td>
</tr>
</table>
<table class="table2" width="95%" height="23">
<tr valign="bottom">
<td id="judge" align="center"> </td>
</tr>
</table>
<script src="<{$jsDir}>thread.js"></script>
<script language="JavaScript" type="text/javascript" defer>
updatePostList(<{$curPage}>, <{$rows}>, <{$thread}>);
</script>
</td>
</tr>
<{include file="footer.tpl"}>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?