<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<base href="{{$DIRCMS['site_url']}}" />
<link href="template/{{$DIRCMS['tpl_name']}}/css/share.css" rel="stylesheet" type="text/css" />
<link href="template/{{$DIRCMS['tpl_name']}}/css/guestbook.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="images/js/jquery.min.js" type="text/javascript"></script>
<title>查看投票</title>
</head>

<body>
<!-- 头部 -->
	{{tlp head}}
<!-- 正文 -->
	<div class="ads_960"><script language="javascript" src="{{$DIRCMS[site_url]}}ads.js.php?id=8"></script></div>
	<div class="position">{{$dir_postion}}</div>
	<div class="guestbook_content">
		<input type="button" value="写留言" onclick="window.open('{{$DIRCMS['site_url']}}guestbook/index.php?action=post');" class="yl_btn" /><br /><br />
		<strong>留言列表</strong>：
		<br /><br />
		{{loop $data $r}}
		<div style="border-bottom:#ccc 1px solid; margin:5px auto; height:auto; overflow:auto; padding:5px; line-height:2em">
		<strong>留言标题</strong>：{{$r['title']}}<br />
		<strong>留言内容</strong>：<span style="font-size:12px">{{if $r['hidden']}}********留言内容已隐藏********{{else}}{{$r['content']}}{{endif}}</span><br />
		<strong>留言日期</strong>：<span style="font-size:12px; color:#316029">{{date('Y-m-d',$r['addtime'])}}</span><br /><br />
		{{if $r['reply']&&!$r['hidden']}}
		<hr />
		<strong>回复</strong>：<br />
		
		{{$r['reply']}} （回复时间{{date('Y-m-d',$r['replytime'])}}：）
		<br />
		{{end if}}
		</div>
		{{end loop}}
		<br />
		{{$pages}}
	</div>
<!-- 底部 -->
	{{tlp footer}}
</body>
</html>