<{uqcms m="article" v="data" c="get_all:cid=smarty.get.cid&page=smarty.get.page&page_size=smarty.get.page_size"}>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><{if $data.cname}><{$data.cname}><{else}>资讯文章<{/if}>- <{$UQCMS.site_name}></title>
<link rel="stylesheet" type="text/css" href="<{$__PUBLIC__}>css/common_uqcms.css"> 
<link rel="stylesheet" type="text/css" href="<{$__APP__}>public/css/public.css"> 
<link rel="stylesheet" type="text/css" href="<{$__APP__}>public/css/article.css">  
</head>  
<body>
<{include file="default/header.html"}>
<div class="main_bar">
	<div class="main">
		<div class="left"> 
			<div class="acats">
				<{uqcms m="article" v="acats" c="category_plist:cid=smarty.get.cid"}>
				<a href="index.php?m=article&a=index"<{if $smarty.get.cid == ''}> class="ch"<{/if}>>全部</a>
				<{foreach item=i key=k from=$acats}>
					<a href="index.php?m=article&a=index&cid=<{$i.cid}>"<{if $i.cid == $smarty.get.cid}> class="ch"<{/if}>><{$i.name}></a>
				<{/foreach}>
			</div>
			<div class="alist"> 
				<{foreach item=i from=$data.list}>		
					<dl>
						<dt>
							<a href="?m=article&a=show&id=<{$i.id}>">
								<img data-original="<{if $i.simg}><{$__IMG__}><{$i.simg|img_size:160x120}><{else}><{$__PUBLIC__}>images/article_noimg.png<{/if}>" class="lazy">
							</a>
						</dt>
						<dd>
							<div class="ttl"><a href="?m=article&a=show&id=<{$i.id}>"><{$i.title}></a></div> 
							<div class="desc"><{$i.desc}></div>
							<div class="author"><span>时间：<{$i.addtime}></span></div>
						</dd>
					</dl>
				<{/foreach}>
			</div>	
			<div class="page"><{$data.page}></div>
		</div>
		
		<div class="right"> 
			<div class="hot_art"> 
				<div class="name"><span>热门排行</span></div>
				<div class="con"> 
					<ul>
						<{uqcms m="article" v="about_list" c="about_list"}>			
						<{foreach item=i key=k from=$about_list}>					
							<li><i<{if $k+1 <= 3}> class="hot"<{/if}>><{$k+1}></i><a href="<{$__URI__}>?m=article&a=show&id=<{$i.id}>"><{$i.title|truncate:17:""}></a></li>
						<{/foreach}> 
					</ul> 
				</div> 
			</div> 

		</div> 
	</div>
</div>
<{include file="default/footer.html"}>
<script type="text/javascript">
var PUBLIC_PATH	= '<{$__PUBLIC__}>';
var APP_PATH	= '<{$__APP__}>';
var IMG_HOST 	= '<{$__IMG__}>'; 
</script>
<script type="text/javascript" src="<{$__PUBLIC__}>js/jquery.min.js"></script>  
<script type="text/javascript" src="<{$__PUBLIC__}>js/common.js"></script>
<script type="text/javascript" src="<{$__APP__}>js/cart.js"></script> 
<script type="text/javascript">
$(function(){
	lazyload();
});
</script>