{x2;include:header}
<body>
<div class="container-fluid">
	<div class="row-fluid">
		<div class="pages">
            {x2;include:nav}
			<div class="content">
				<div class="col-xs-9">
                    {x2;tree:$contents,contents,cid}
					<div class="content-box padding">
						<h2 class="title">
                            {x2;$catids[v:key]['catname']}
							<a href="index.php?content-app-category&catid={x2;$catids[v:key]['catid']}" class="badge pull-right">更多 <em class="glyphicon glyphicon-plus"></em> </a>
						</h2>
						<ul class="list-unstyled list-img">
                            {x2;tree:v:contents['data'],content,cid}
							<li class="border morepadding">
								<h4 class="shorttitle">
									<a href="index.php?content-app-content&contentid={x2;v:content['contentid']}">
									{x2;v:content['contenttitle']}
									</a>
								</h4>
								<div class="intro">
									<div class="col-xs-3 img">
										<a href="index.php?content-app-content&contentid={x2;v:content['contentid']}">
											<img src="{x2;v:content['contentthumb']}" />
										</a>
									</div>
									<div class="desc">
										<p>{x2;v:content['contentdescribe']}</p>
										<p class="toolbar">
                                            {x2;date:v:content['contentinputtime'],'Y-m-d'}
											【 {x2;$categories[v:content['contentcatid']]['catname']} 】
											<a href="index.php?content-app-content&contentid={x2;v:content['contentid']}" class="btn btn-info pull-right more">查看详情</a>
										</p>
									</div>
								</div>
							</li>
                            {x2;endtree}
						</ul>
					</div>
                    {x2;endtree}
				</div>
				<div class="col-xs-3 nopadding">
					<div class="content-box padding">
						<h2 class="title">热点新闻</h2>
						<ul class="list-unstyled list-txt">
                            {x2;tree:$topnews['data'],content,nid}
							<li class="striped">
								<a href="index.php?content-app-content&contentid={x2;v:content['pccontentid']}"> {x2;v:content['pctitle']}</a>
							</li>
                            {x2;endtree}
						</ul>
					</div>
				</div>
			</div>
            {x2;include:footer}
		</div>
	</div>
</div>
</body>
</html>