{include file='header.htm' title='留言列表'}
<div id="maindiv">
<img src=images/head.jpg>
<input onclick="location.href='lst.php'" type="button" class="spt2" value="返回首页">
<input onclick="location.href='post.php'" type="button" class="spt2" value="发表留言">
<input onclick="location.href='admin.php'" type="button" class="spt2" value="登陆管理">
<input onclick="location.href='admin.php?action=lut'" type="button" class="spt2" value="退出管理">
{section name=list loop=$read}
<div id="msginfo">
	<div id="msgpost"><span class="fhui"># {$read[list].id} <B>时间：</B>{$read[list].msgdate}</span>{if $usrname!=""},<b>来自：</b><span class="fgreen">{$read[list].userip|convertip}</span> ({$read[list].userip}){/if}
	{if $usrname!=""}<a href=edit.php?action=huifu&id={$read[list].id}>审核回复</a>  - <a href=edit.php?action=del&id={$read[list].id}>删除</a>{/if}</div>
	{if $read[list].rstate==0}
	<div id="msgpost"><span class="fblue"><b>信息审核中...</b></span></div>
	{elseif $read[list].rqiao==0}
	<div id="msgpost">
	<div class="mpic"><img height=100 src=images/face/no.gif><br><span class="fred"><B>****</B> (未知)</span></div>
	<div class="mcont">
			<div class="ppost"><img src=images/wen.gif> <span class="fred"><B>.......This is Secret.......^_^</B> <br><b>这是悄悄话...</b></span></div>
		</div>
	</div>
	{else}
	<div id="msgpost">
		<div class="mpic"><img height=100 src={$read[list].npic}><br><span class="fred"><B>{$read[list].name}</B> ({$read[list].nsex})</span></div>
		<div class="mcont">
			<div class="ppost"><img src=images/wen.gif> <B><a href=read.php?id={$read[list].id}>{$read[list].ntitle|ClearHtml}</a></B> ({$read[list].hits}) <br>{$read[list].msgcontent|truncate:80:"..."|ClearHtml}</div>
			{if $read[list].recont!=""}<div class="huifu"><span class="fblue"><img src=images/da.gif> {$read[list].recont|ClearHtml|truncate:30:"..."}</span><br><span class="fhui"><B>时间：</B>[{$read[list].retime}]</span></div>
			{/if}
		</div>
	</div>
	{/if}
</div>
{sectionelse}
对不起，没有任何对应数据！
{/section}
<div id="msgpost">{$PageUrl}</div>
{include file='footer.htm'}
