<!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" class="loading">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="viewport" content="width=device-width, initial-scale=0.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="keywords" content="" />
<meta name="description" content="">
<meta name="author" content="" />
<link rel="stylesheet" type="text/css" href="public/style/style.css" />
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">
<link rel="apple-touch-icon-precomposed" href="http://www.lede.cc/images/favicon.ico">
<title><?=encode_output($seo['title'])?></title>
</head>

<body>
<?include tpl("header");?>
<div id="sort">
			<table width="100%" border="0" cellspacing="0">
				<tr>
					<td>
						<div class="sort_sort">
							<div class="sort_b"><a href="#" onclick="return false;"><div class="sort_b_inner"><i class="cate_sort"></i><span><?=$art_cat?></span><div class="clear"></div></div></a></div>
						</div>
					</td>
					
				</tr>
			</table>
		</div>
		<div id="content">	
			<div id="list_art">
				<ul>
<?php
foreach((array)$articles as $val){
?>
                    <li>
							<a class="alist" href="<?=$val['url']?>">
								<div class="list_info_art">
									<h4><span<? if ($val['is_pro']==1){?> class="fb red"<?}?>><?=$val['title']?></span></h4>
									<div class="list_info_i">
										<dl class="list_info_views">
											<dt></dt>
											<dd><?=$val['click']?></dd>
											<div class="clear"></div>
										</dl>
										<dl class="works_view">
											<dt></dt>
											<dd><?=$val['addtime']?></dd>
											<div class="clear"></div>
										</dl>
										<div class="clear"></div>
									</div>
								</div>
								<div class="clear"></div>
							</a>
					</li>
<?php
}
?>
				</ul>
				<?include tpl("page");?>
			</div>
			
		</div>
		
		<div class="push_msk"></div>
	</div>

	<div id="sort_content">
			
		<div class="asort">
			<div class="hd">
				<div class="wrap">
					<div class="fl"><span>选择分类</span><div class="clear"></div></div>
					<div class="fr"></div>
					<div class="clear"></div>
				</div>
			</div>
			<div class="ct">
				<div class="wrap">
					<ul class="choose_sort">
				<li>
                    <a href="article.php">
                    <i class="s"></i><span>所有分类</span><i class="<? if(empty($typeid)){?>es<?}else{?>e<?}?>"></i>
                    </a>
                    </li>
<?php
foreach((array)$type as $key=>$val){
?>
                    <li>
                    <a href="<?=$val['url']?>">
                    <i class="s"></i><span><?=$val['typename']?></span><i class="<? if($val['typeid']==$typeid){?>es<?}else{?>e<?}?>"></i>
                    </a>
                    </li>
<?php
}
?>
					</ul>
					<div class="clear"></div>
				</div>
			</div>
		</div>
		
	</div>
	
	
	<?include tpl("plus_share");?>
	
</body>
</html>