<!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>Message classification</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">Message List</div>
						{%if $out=='bbspage'%}
							<div class="panel-body">
								{%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">Message Time:{%$array[i].addtime|espcms_timeformat(3)%}</span>
											</div>
											<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">ADMIN</span>   <span class="espcms_bbs_time">Message Time:{%$array[i].list[ii].addtime|espcms_timeformat(3)%}</span></div>
													<div class="content">{%$array[i].list[ii].content%}</div>
												</div>
												{%/forlist%}
												{%/if%}
											</div>
										</div>
									</li>
									{%/forlist%}
								</ul>
								<div class="espcms_info_pager text-center">
									{%$pagebotton%}
								</div>
								{%else%}
								<div class="espcms_info_list text-center">
									No records
								</div>
								{%/if%}
							</div>
						{%elseif $out=='bbslist'%}
							{%if count($array) > 0%}
							<ul class="list-group">
								{%forlist from=$array key=i%}
								<li class="list-group-item espcms_bbs_list_center">
									<a href="{%$array[i].link%}" title="{%$array[i].title%}">{%$array[i].title%}</a>
									<span class="badge">{%$array[i].click%}/{%$array[i].replynum%}</span>
									<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_info_pager text-center">
								{%$pagebotton%}
							</div>
							{%else%}
							<div class="espcms_info_list text-center">
								No records
							</div>
							{%/if%}
						{%/if%}
						{%list name=bbssend class=btid:$type.btid%}
					</div>
				</div>
			</div>
		</section>

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