<!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="zh-cn" http-equiv="Content-Language" />
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
		<meta name="renderer" content="webkit"/>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0,  user-scalable=no"/>
		<title>{%$lngpack.sitename%}</title>
		<meta name="keywords" content="{%$lngpack.keyword%}" />
		<meta name="description" content="{%$lngpack.description%}" />
		<link rel="icon" type="image/png" href="{%$icon_16%}" sizes="16x16"/>
		<link rel="icon" type="image/png" href="{%$icon_32%}" sizes="32x32"/>
		<link rel="icon" type="image/png" href="{%$icon_64%}" sizes="64x64"/>
		<link href="{%$rootpath%}css/bootstrap.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcmsp8_font.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/swiper.min.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcmsp8_all.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcms_p8_public.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/jquery.min.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/bootstrap.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/swiper.min.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_base.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_dialog.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_formvalidation.js"></script>
	</head>

	<body>
		{%link file="public/head.html"%}
		<section class="bann_container">
			<div class="container page_bann_title">
				<h2>{%$type.typename%}</h2>
				<p>{%$type.content%}</p>
			</div>
		</section>

		<section class="container espcms_page_book">
			<div class="row">
				<div class="col-xs-12 col-sm-12 col-md-3">
					<div class="panel panel-info">
						{%get name=bbstype class=isside:1,btid:$type.btid%}
						<div class="panel-heading espcms_page_navigation_title"><h4>留言版块</h4></div>
						<div class="panel-body">
							<ul class="list-group espcms_page_navigation">
								{%forlist from=$array key=i%}
								{%if $array[i].selected=='selected'%}
								<li class="list-group-item active">{%$array[i].typename%}</li>
								{%else%}
								<li class="list-group-item"><a href="{%$array[i].link%}" class="link_4242" title="{%$array[i].typename%}">{%$array[i].typename%}</a></li>
								{%/if%}
								{%/forlist%}
							</ul>
						</div>
						{%/get%}
					</div>

					{%link file="public/left.html"%}
				</div>
				<div class="col-xs-12 col-sm-12 col-md-9">
					{%list name=path class=type:bbs,id:$type.btid%}

					<div class="panel panel-info mt20">
						<div class="panel-heading espcms_read_title">
							主题：{%$read.title%}
							<div class="bbs_goback"><a href="javascript:;" onClick="javascript :history.back(-1);" title="返回列表"><i class="glyphicon glyphicon-share"></i></a></div>
						</div>
						<div class="panel-body">
							{%$read.content%}
							<div class="espcms_bbs_info"><span class="espcms_bbs_auto">{%$read.addname%}</span><span class="espcms_bbs_time">留言时间：{%$read.addtime|espcms_timeformat(3)%}&nbsp;&nbsp; 阅读:{%$read.click%}</div>
						</div>
						<div class="panel-body">
							<div class="section-divider mb40"><span>回复列表</span></div>
							{%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">{%if $array[i].adminid>0 %}管理员回复{%else%}{%$array[i].addname%}{%/if%}</span>  <span class="espcms_bbs_time">留言时间：{%$array[i].addtime|espcms_timeformat(3)%}</span>
										</div>
										<div class="content">{%$array[i].content%}</div>
									</div>
								</li>
								{%/forlist%}
							</ul>
							<div class="espcms_info_pager text-center">
								<span class="btn btn-default">共{%$page_read.db_num%}条/共有{%$page_read.page_num%}页</span> {%$pagebotton%}
							</div>
							{%else%}
							<div class="espcms_info_list text-center">
								暂无回复
							</div>
							{%/if%}
						</div>

						{%list name=bbssend class=btid:$type.btid,bid:$read.bid,title:$read.title|urlencode%}
					</div>
				</div>
			</div>
		</section>

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