<!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 content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<title>{%$lngpack.sitename%}</title>
		<meta name="keywords" content="{%$lngpack.keyword%}" />
		<meta name="description" content="{%$lngpack.description%}" />
		<script type="text/javascript" src="{%$rootdir%}js/jquery.js"></script>
		<script type="text/javascript" src="{%$rootdir%}js/basicrun.js"></script>
		<script type="text/javascript" src="{%$rootdir%}js/jquery.Slide.js"></script>
		<link href="{%$rootpath%}css/espcms_public.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcms_v5div.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcms_page.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript">
			$(window).load(function () {
				$("#clickmenubotton li span").hover(function () {
					$(this).addClass("menuhover");
					$(this).parent().find("ul.subnav").slideDown('fast').show();
					$(this).parent().hover(function () {
					}, function () {
						$(this).parent().find("ul.subnav").fadeOut('fast');
						$(this).parent().find("span").removeClass("menuhover");
					});
				});
			});
		</script>
	</head>

	<body>
		{%link file="public/head.html"%}
		{%if $type.pic!=''%}
		<div class="espcms_page_bannpic"><img src="{%$rootdir%}{%$type.pic%}" alt="{%$type.typename%}"/></div>
		{%/if%}

		<div class="espcms_page">

			<div class="espcms_page_typename">{%$type.typename%}</div>
			<div class="espcms_page_location">您现在的位置：<a href="{%$homelink%}">首页</a> » <b>{%$type.typename%}</b></div>
			<div class="espcms_page_center_line"></div>

			<div class="espcms_page pb20 pt15">
				{%if $out=='bbspage'%}
					{%if count($array) > 0%}
					<ul class="espcms_bbs_list_all">
						{%forlist from=$array key=i%}
						<li>
							<div class="espcms_bbs_content_a_read_table">
								<div class="espcms_index">
									<span class="espcms_bbs_title">主题：{%$array[i].title%}</span>   <span class="espcms_bbs_auto">{%$array[i].addname%}</span>    <span class="espcms_bbs_time">留言时间：{%$array[i].addtime|espcms_timeformat(3)%}</span>
								</div>
								<b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
								<div class="content">
									{%$array[i].content%}

									{%if count( $array[i].list )>0 %}
									{%forlist from=$array[i].list key=ii%}
									<div class="espcms_bbs_content_b_read_table">
										<div class="espcms_index_re"><span class="espcms_bbs_title">管理员回复</span>   <span class="espcms_bbs_time">留言时间：{%$array[i].list[ii].addtime|espcms_timeformat(3)%}</span></div>
										<b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
										<div class="content">{%$array[i].list[ii].content%}</div>
										<b class="b5"></b><b class="b6"></b><b class="b7"></b><b class="b8"></b>
									</div>
									{%/forlist%}
									{%/if%}
								</div>
								<b class="b5"></b><b class="b6"></b><b class="b7"></b><b class="b8"></b>
							</div>
						</li>
						{%/forlist%}
					</ul>

					<div class="espcms_page_botton">
						<div id="pagelist">共有{%$page_read.db_num%}条记录 当前第{%$page_read.page_id%}页/共有{%$page_read.page_num%}页 每页显示{%$page_read.page_list_num%}条</div>
					</div>
					<div class="espcms_page_botton">
						<div id="pagination" class="pagination">
							{%$pagebotton%}
						</div>
					</div>
					{%else%}
					<div class="espcms_page_botton">
						<div id="pagination">暂无留言</div>
					</div>
					{%/if%}

				{%elseif $out=='bbslist'%}
					{%if count($array) > 0%}
					<ul class="espcms_bbs_list">
						{%forlist from=$array key=i%}
						<li>
							<div class="espcms_bbs_list_title"><a href="{%$array[i].link%}" title="{%$array[i].title%}" class="bbslistlink">{%$array[i].title%}</a> <span>（{%$array[i].click%}阅/{%$array[i].replynum%}回）</span></div>
							<div class="espcms_bbs_list_data"><span class="espcms_bbs_list_aoto">{%$array[i].addname%} 于</span> {%$array[i].addtime|espcms_timeformat(3)%}</div>
						</li>
						{%/forlist%}
					</ul>

					<div class="espcms_page_botton">
						<div id="pagelist">共有{%$page_read.db_num%}条记录 当前第{%$page_read.page_id%}页/共有{%$page_read.page_num%}页 每页显示{%$page_read.page_list_num%}条</div>
					</div>
					<div class="espcms_page_botton">
						<div id="pagination" class="pagination">
							{%$pagebotton%}
						</div>
					</div>
					{%else%}
					<div class="espcms_page_botton">
						<div id="pagination">暂无留言</div>
					</div>
					{%/if%}
				{%/if%}
				{%list name=bbssend class=btid:$type.btid%}
			</div>
		</div>

		{%link file="public/footer.html"%}
	</body>
</html>
