⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 all_list.tpl

📁 转载中国源码下载站 1) 基于PHP语言开发,MYSQL数据库驱动的多用户留言本 2) 采用PHP官方提供的编译模板引擎smarty 3) 代码、页面分离
💻 TPL
字号:
<table><tr><td height=2></td></tr></table>

<table width="700" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>

<table border="0" cellspacing="1" cellpadding="2" bgcolor="#000000" align="right">
<tr bgcolor="#F0F0F0"> 
<td width="100" align="center" height="18" bgcolor=#E0E0E0>
<a href=./?act=reply&userid={$userid}&id={$topic_id}><b>回复留言</b></a>
</td>
<td width="100" align="center" height="18">
<a href=./?act=delete&userid={$userid}&id={$topic_id}><b>删除留言</b></a>
</td>
</tr>
</table>

</td>
</tr>
</table>

<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="25%" align=center><font color=#ffffff>留言人信息</font></td>
<td bgcolor="#0099cc" width="75%" align=center><font color=#ffffff>留言内容</font></td>
</tr>


{* reply infomation *}

{section name=loopnum loop=$reply_list_info}
<tr> 
<td bgcolor=#FFFFFF width="5%" align=center valign="top">

{$reply_list_info[loopnum].name|default:"匿名"}
<br>
{if $reply_list_info[loopnum].sex eq "1"}
{elseif $reply_list_info[loopnum].sex eq "2"} 
{elseif $reply_list_info[loopnum].sex eq ""} 
保密
{/if}
<br>
{$reply_list_info[loopnum].address|default:"未知"}
<br>
<a href="mailto:{$reply_list_info[loopnum].email}">邮件</a>
<a href="{$reply_list_info[loopnum].homepage}">主页</a>
<br>
{$reply_list_info[loopnum].ip}


</td>
<td bgcolor=#FFFFFF width="60%" valign="top">
<img src=./tpl/3/images/emotion/{$reply_list_info[loopnum].emotion}.gif height=18 width=18 align=ABSCENTER>
{$reply_list_info[loopnum].time}
<br>
<font color="{$reply_list_info[loopnum].color}">{$reply_list_info[loopnum].body}</font>
</td>
</tr>
{/section}

{* topic infomation *}

{section name=loopnum loop=$topic_list_info}
<tr> 
<td bgcolor=#ffffff width="25%" align=center valign="top">
{$topic_list_info[loopnum].name}
<br>
{if $topic_list_info[loopnum].sex eq "1"} 男 {elseif $topic_list_info[loopnum].sex eq "2"} 女 {/if}
<br>
{$topic_list_info[loopnum].address|default:"未知"}
<br>
<a href="mailto:{$topic_list_info[loopnum].email}">邮件</a>
<a href="{$topic_list_info[loopnum].homepage}">主页</a>
<br>
{$topic_list_info[loopnum].ip}

</td>
<td bgcolor=#ffffff width="75%" valign="top">
<img src=./tpl/3/images/emotion/{$topic_list_info[loopnum].emotion}.gif height=18 width=18 align=ABSCENTER>
{$topic_list_info[loopnum].time}
<br>
<font color="{$topic_list_info[loopnum].color}">{$topic_list_info[loopnum].body}</font>
</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 + -