<?php /* Smarty version Smarty-3.1.10, created on 2017-01-21 00:38:05
         compiled from "E:\phpStudy\WWW\themes\default\article.html" */ ?>
<?php /*%%SmartyHeaderCode:10311586e49ec5e9436-90445071%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ae5e2bcfe4178d841259199849add770f8d7e183' => 
    array (
      0 => 'E:\\phpStudy\\WWW\\themes\\default\\article.html',
      1 => 1484930282,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '10311586e49ec5e9436-90445071',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.10',
  'unifunc' => 'content_586e49ecbb0117_73002091',
  'variables' => 
  array (
    'site_title' => 0,
    'site_url' => 0,
    'site_keywords' => 0,
    'site_description' => 0,
    'site_root' => 0,
    'site_path' => 0,
    'site_rss' => 0,
    'cate_name' => 0,
    'categories' => 0,
    'sub' => 0,
    'articles' => 0,
    'a' => 0,
    'showpage' => 0,
    'new' => 0,
    'best' => 0,
    'outstat' => 0,
    'art' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_586e49ecbb0117_73002091')) {function content_586e49ecbb0117_73002091($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include 'E:\\phpStudy\\WWW\\source\\extend\\smarty\\plugins\\modifier.truncate.php';
?><!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>
<title><?php echo $_smarty_tpl->tpl_vars['site_title']->value;?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-transform" />
<link rel="alternate" type="application/rss+xml" title="<?php echo $_smarty_tpl->tpl_vars['site_title']->value;?>
" href="<?php echo $_smarty_tpl->tpl_vars['site_url']->value;?>
rssfeed/article/" />
<meta name="Keywords" content="<?php echo $_smarty_tpl->tpl_vars['site_keywords']->value;?>
" />
<meta name="Description" content="<?php echo $_smarty_tpl->tpl_vars['site_description']->value;?>
" />
<meta name="Copyright" content="Powered By 60cms.com" />
<link href="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
themes/default/css/style.css" rel="StyleSheet" type="text/css" />

<script type="text/javascript">
  
var mobileAgent = new Array("iphone", "ipod", "ipad", "android", "mobile", "blackberry", "webos", "incognito", "webmate", "bada", "nokia", "lg", "ucweb", "skyfire");
  
var browser = navigator.userAgent.toLowerCase(); 
  
var isMobile = false; 
  
for (var i=0; i<mobileAgent.length; i++){ if (browser.indexOf(mobileAgent[i])!=-1){ isMobile = true; 
  
//alert(mobileAgent[i]); 
  
location.href = '/m/article/';
  
break; } } 
  
</script>
</head>

<body>
<?php echo $_smarty_tpl->getSubTemplate ("head.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>


<div class="main">
  <div class="left">
    
	 <div class="haozhan">
	    <div class="btinfo"><?php echo $_smarty_tpl->tpl_vars['site_path']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['site_rss']->value;?>

		</div>
				<div class="zhan" id="zhan">
		    <div class="box">
			  <div class="h3"><?php echo $_smarty_tpl->tpl_vars['cate_name']->value;?>
</div>
			  <div class="t2">
			<?php  $_smarty_tpl->tpl_vars['sub'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sub']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['categories']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['sub']->key => $_smarty_tpl->tpl_vars['sub']->value){
$_smarty_tpl->tpl_vars['sub']->_loop = true;
?>
                    <?php if ($_smarty_tpl->tpl_vars['sub']->value['cate_mod']=='article'){?>
                    <a href="<?php echo $_smarty_tpl->tpl_vars['sub']->value['cate_link'];?>
"><?php echo $_smarty_tpl->tpl_vars['sub']->value['cate_name'];?>
</a><em>(<?php echo $_smarty_tpl->tpl_vars['sub']->value['cate_postcount'];?>
)</em>
                    <?php }?>
                    <?php } ?>
			  </div>
			</div>
			
			<div class="listbox">
			 
			  <div class="sitelist">
			  <?php  $_smarty_tpl->tpl_vars['a'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['a']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['articles']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['a']->key => $_smarty_tpl->tpl_vars['a']->value){
$_smarty_tpl->tpl_vars['a']->_loop = true;
?>
                	
					 <div class="art">
				
				
				    <div class="btt"><a href="<?php echo $_smarty_tpl->tpl_vars['a']->value['art_link'];?>
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['a']->value['art_title'];?>
"> 【<?php echo $_smarty_tpl->tpl_vars['a']->value['cate_name'];?>
】<?php echo $_smarty_tpl->tpl_vars['a']->value['art_cate'];?>
<?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['a']->value['art_title'],"80");?>
</a> </div>
				  
				    <div class="surl">
					   <div class="sc">发布时间: <?php echo $_smarty_tpl->tpl_vars['a']->value['art_ctime'];?>
   文章来源: <?php echo $_smarty_tpl->tpl_vars['a']->value['copy_from'];?>
</div>
					  <div class="quan">浏览数量：<font color="#f30"><?php echo $_smarty_tpl->tpl_vars['a']->value['art_views'];?>
</font>次 </div>
                    </div>
				  <div class="clear"></div>
				 
				 </div>
                	<?php }
if (!$_smarty_tpl->tpl_vars['a']->_loop) {
?>
                	该目录下无任何内容！
                	<?php } ?>
					
			    

				 
			  </div>
			  
			</div>
		 <div class="page">
  <div class="page_box">
   <?php echo $_smarty_tpl->tpl_vars['showpage']->value;?>

  </div>
  </div>
         <div class="clear"></div>
		</div>
	 </div>
     
	
	
	

  </div>
  <div class="right">
     
    
	 <div class="ad2"><?php echo get_adcode(16);?>
</div>
	<div class="news">
	  <div class="bt">最新收录</div>
	  <div class="list">
	    <?php  $_smarty_tpl->tpl_vars['new'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['new']->_loop = false;
 $_from = get_websites(0,10,false,false,'ctime'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['new']->key => $_smarty_tpl->tpl_vars['new']->value){
$_smarty_tpl->tpl_vars['new']->_loop = true;
?>
                   	<li><a href="<?php echo $_smarty_tpl->tpl_vars['new']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['new']->value['web_name'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['new']->value['web_name'];?>
</a> - <em><a href="<?php echo $_smarty_tpl->tpl_vars['new']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['new']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['new']->value['web_url'];?>
</a></em></li>
                   	<?php } ?>
	   </div>
	</div>
	<div class="lian">
	  <div class="bt">入站排行</div>
	  <div class="list">
	  	<?php  $_smarty_tpl->tpl_vars['best'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['best']->_loop = false;
 $_from = get_websites(0,10,false,false,'instat'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['best']->key => $_smarty_tpl->tpl_vars['best']->value){
$_smarty_tpl->tpl_vars['best']->_loop = true;
?>
                   	  <li><a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
</a>- <em><a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['best']->value['web_url'];?>
</a></em></li>
                   	<?php } ?>
		
	   </div>
	</div>
		<div class="news">
	  <div class="bt">出站排行</div>
	  <div class="list">
	  <?php  $_smarty_tpl->tpl_vars['outstat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['outstat']->_loop = false;
 $_from = get_websites(0,10,false,false,'outstat'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['outstat']->key => $_smarty_tpl->tpl_vars['outstat']->value){
$_smarty_tpl->tpl_vars['outstat']->_loop = true;
?>
                   	  <li><a href="<?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_name'];?>
</a> - <em><a href="<?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_url'];?>
</a></em></li>
                   	<?php } ?>
		
	   </div>
	</div>
	<div class="news">
	  <div class="bt">投稿专栏</div>
	  <div class="list">
	   <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_articles(0,10,false); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['art']->key => $_smarty_tpl->tpl_vars['art']->value){
$_smarty_tpl->tpl_vars['art']->_loop = true;
?>




 <li><a href="<?php echo $_smarty_tpl->tpl_vars['art']->value['art_link'];?>
" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['art_title'],"20");?>
</a></li>

         <?php } ?>
	   
	    
	   </div>
	   </div>
	   
  </div>
  <div class="clear"></div>  
 <?php echo $_smarty_tpl->getSubTemplate ("bom.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>


</body>
</html>
<?php }} ?>