📄 latest_post.tpl
字号:
<table><tr><td height=2></td></tr></table>
<table width=700 border=0 cellspacing=0 cellpadding=0 align=center>
<tr>
<td bgcolor=#eeeeee>
<table width=100% border=0 cellspacing=1 cellpadding=5>
<tr>
<td bgcolor="#0099cc" width="5%" align=center><font color=#ffffff>表情</font></td>
<td bgcolor="#0099cc" width="55%" align=center><font color=#ffffff>留言摘要</font></td>
<td bgcolor="#0099cc" width="10%" align=center><font color=#ffffff>姓名</font></td>
<td bgcolor="#0099cc" width="20%" align=center><font color=#ffffff>留言时间</font></td>
<td bgcolor="#0099cc" width="10%" align=center><font color=#ffffff>用户名</font></td>
</tr>
{section name=loopnum loop=$latest_posts}
<tr>
<td bgcolor=#FFFFFF width="5%" align=center>
<img src=./tpl/3/images/emotion/{$latest_posts[loopnum].emotion}.gif height=18 width=18 align=ABSCENTER>
</td>
<td bgcolor=#FFFFFF width="60%">
<a href=./?act=view&userid={$latest_posts[loopnum].userid}&id={$latest_posts[loopnum].id}>
<font color="{$latest_posts[loopnum].color}">
{$latest_posts[loopnum].body|strip_tags|truncate:60}
</font>
</a>
</td>
<td bgcolor=#FFFFFF width="15%" align=center>{$latest_posts[loopnum].name}</td>
<td bgcolor=#FFFFFF width="20%" align=center>{$latest_posts[loopnum].time}</td>
<td bgcolor=#FFFFFF width="20%" align=center><a href="./?act=post_list&userid={$latest_posts[loopnum].userid}" target="_blank">
{$latest_posts[loopnum].username}
</a>
</td>
</tr>
{/section}
</table>
</td>
</tr>
</table>
<table><tr><td height=2></td></tr></table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -