<!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="{%$type.purview_link%}"></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|htmlcode(2)%}</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=typelist class=utid:$type.topid,tid:$type.tid%}
						<div class="panel-heading espcms_page_navigation_title"><h4>{%$uptypeview.typename%}</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:doc,id:$read.tid%}

					<div class="espcms_info_content">
						<div class="info_title"><h1>{%$read.title%}</h1></div>
						<div class="info_append">
							{%if $read.source%}{%$read.source%}&nbsp;{%/if%}
							{%if $read.source%}{%$read.author%}&nbsp;{%/if%}
							{%$read.addtime|espcms_timeformat(3)%}&nbsp;
							点击：<script type="text/javascript" src="{%$read.click_link%}"></script>
						</div>
						<div class="info_content">{%$read.content%}</div>

						{%if $read.votelink!=''%}
						<div class="info_book">
							{%list name=vote class=vote_id:$read.votelink%}
						</div>
						{%/if%}

						{% if espcms_count($page)>0 %}
						<div class="text-center mt15">
							{%if $read.plink!=''%}
							<a class="btn btn-default" href="{%$read.plink%}">上一页</a>
							{%else%}
							<span class="btn btn-default active">上一页</span>
							{%/if%}
							{%forlist from=$page key=i%}
							{%if $page[i].n==1%}
							<span class="btn btn-default active">{%$page[i].num%}</span>
							{%else%}
							<a class="btn btn-default" href="{%$page[i].link%}">{%$page[i].num%}</a>
							{%/if%}
							{%/forlist%}
							{%if $read.nlink!=''%}
							<a class="btn btn-default"href="{%$read.nlink%}">下一页</a>
							{%else%}
							<span class="btn btn-default active">下一页</span>
							{%/if%}
						</div>
						{%/if%}

						<nav aria-label="espcms_info_pager" class="espcms_info_pager">
							<ul class="pager">
								{%get name=plist class=did:$read.did%}
								<li class="previous">{%if $read.title!=''%}<a title="{%$read.title%}" href="{%$read.link%}">上一篇：{%$read.title%}</a>{%/if%}</li>
								{%/get%}
								{%get name=plist class=did:$read.did,class:1%}
								<li class="next">{%if $read.title!=''%}<a title="{%$read.title%}" href="{%$read.link%}">下一篇：{%$read.title%}</a>{%/if%}</li>
								{%/get%}
							</ul>
						</nav>

						{%if espcms_count($tag)>0%}
						<div class="info_key">
							关键词：
							{%forlist from=$tag key=i%}
							<a target="_blank" class="espcms_key keyword{%key=>i%}" title="{%$tag[i].title%}" href="{%$tag[i].link%}">{%$tag[i].title%}</a>
							{%/forlist%}
						</div>
						{%/if%}
					</div>
					{%if $read.linkdid!=''%}
					<div class="panel panel-default">
						<div class="panel-heading espcms_page_navigation_title"><h5>相关消息</h5></div>
						<div class="panel-body">
							<ul class="list-group espcms_page_infolist">
								{%get name=list class=linkdid:$read.linkdid,max:6%}
								{%forlist from=$array key=i%}
								<li class="col-xs-12 col-sm-12 col-md-6"><a class="link_4242_der" title="{%$array[i].title%}" href="{%$array[i].link%}">{%$array[i].title|espcms_cutstr(30,'...')%}</a></li>
								{%/forlist%}
								{%/get%}
							</ul>
						</div>
					</div>
					{%/if%}
					{%if $read.ismess%}
					{%list name=messlist class=did:$read.did,btid:2,max:5,title:$read.title|urlencode,link:$read.link|urlencode%}
					{%/if%}
				</div>
			</div>
		</section>

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