<?php /* Smarty version Smarty-3.1.12, created on 2017-04-17 20:45:07
         compiled from "D:\WWW\youkeSY\themes\default\home\article.html" */ ?>
<?php /*%%SmartyHeaderCode:231758f0dcf4e2c569-58083171%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '5b05b9ed072120822b3ffdb8d95e83dffdbbde42' => 
    array (
      0 => 'D:\\WWW\\youkeSY\\themes\\default\\home\\article.html',
      1 => 1492333552,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '231758f0dcf4e2c569-58083171',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_58f0dcf4ee0096_83383075',
  'variables' => 
  array (
    'site_title' => 0,
    'site_keywords' => 0,
    'site_description' => 0,
    'categories' => 0,
    'sub' => 0,
    'cate_name' => 0,
    'articles' => 0,
    'a' => 0,
    'artstr' => 0,
    'showpage' => 0,
    'k' => 0,
    'art' => 0,
    'hot' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58f0dcf4ee0096_83383075')) {function content_58f0dcf4ee0096_83383075($_smarty_tpl) {?><!DOCTYPE HTML>
<html>
<head>
<title><?php echo $_smarty_tpl->tpl_vars['site_title']->value;?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<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;?>
" />
<?php echo $_smarty_tpl->getSubTemplate ("base.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</head>

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

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

<div class="wrapper">

    <div class="mainbox" class="clearfix">
    	<div class="mainbox-left">
	
        	<div class="subcate" class="clearfix">
            	<h3>分类</h3>
                <ul class="scatbox-list">
                	<?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']!='webdir'){?>
                    <li><a href="<?php echo $_smarty_tpl->tpl_vars['sub']->value['cate_link'];?>
"><?php echo $_smarty_tpl->tpl_vars['sub']->value['cate_name'];?>
<em>(<?php echo $_smarty_tpl->tpl_vars['sub']->value['cate_postcount'];?>
)</em></a></li>
                    <?php }?>
                    <?php } ?>
                </ul>
            </div>
<div class="blank10"></div>
<!-- 广告开始 930*90-->
<?php echo get_adcode(7);?>

<!-- 广告结束  930*90-->
            <div class="blank10"></div>
            <div class="listbox" class="clearfix">
            	<h2><?php echo $_smarty_tpl->tpl_vars['cate_name']->value;?>
</h2>

            	<ul class="artlist">
					<?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;
?>
					 
                	<li> 
					<?php if (get_img($_smarty_tpl->tpl_vars['a']->value['art_content'])){?><div class="article-cover">
					    <img src="<?php echo get_img($_smarty_tpl->tpl_vars['a']->value['art_content']);?>
" style="width:250px;height:160px"></div>
						<?php }?>
					<div class="article-right" <?php if (!get_img($_smarty_tpl->tpl_vars['a']->value['art_content'])){?> style="width:99%;float:none" <?php }?> ><h3><a href="<?php echo $_smarty_tpl->tpl_vars['a']->value['art_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['a']->value['art_title'];?>
"><?php echo $_smarty_tpl->tpl_vars['a']->value['art_title'];?>
</a>

                        <?php if ($_smarty_tpl->tpl_vars['a']->value['art_istop']==1){?>
                            <span class="top" title="置顶"><i class="fa fa-long-arrow-up" aria-hidden="true"></i> 顶</span>
                        <?php }?> 
                        <?php if ($_smarty_tpl->tpl_vars['a']->value['art_isbest']==1){?>
                         <span class="recommend" title="推荐">
                         <i class="fa fa-thumbs-o-up" aria-hidden="true"></i> 推</span>
                         <?php }?>

                          <?php if ($_smarty_tpl->tpl_vars['a']->value['art_ispay']==1){?>
                         <span class="fasttrial" title="快审">
                         <i class="fa fa-rmb" aria-hidden="true"></i> 快审</span>
                         <?php }?>


                    </h3>
					<?php $_smarty_tpl->tpl_vars['artstr'] = new Smarty_variable(get_str($_smarty_tpl->tpl_vars['a']->value['art_content']), null, 0);?>
					<p><?php echo mb_substr($_smarty_tpl->tpl_vars['artstr']->value,0,100);?>
</p>
					<div class="art-bottom"><span class="cate-cname"><?php echo $_smarty_tpl->tpl_vars['a']->value['cate_name'];?>
</span><span><?php echo show_time($_smarty_tpl->tpl_vars['a']->value['art_ctime']);?>
</span></div></div></li>
                	<?php }
if (!$_smarty_tpl->tpl_vars['a']->_loop) {
?>
                	<li>暂无内容！</li>
                	<?php } ?>
				</ul>
            	<div class="showpage"><?php echo $_smarty_tpl->tpl_vars['showpage']->value;?>
</div>
            </div>
        </div>
        <div class="mainbox-right">

            <div class="blank10"></div>
            <div class="bestart">
            	<h3>推荐资讯</h3>
                <ul class="artlist_b">
                	<?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = get_articles(0,10); 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;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['art']->key;
?>
                	<li>
					<span <?php if ($_smarty_tpl->tpl_vars['k']->value+1>4){?>style="background:#ccc"<?php }?>><?php echo $_smarty_tpl->tpl_vars['k']->value+1;?>
</span><a href="<?php echo $_smarty_tpl->tpl_vars['art']->value['art_link'];?>
" class="best-art-title"><?php echo $_smarty_tpl->tpl_vars['art']->value['art_title'];?>
</a></li>
                    <?php } ?>
                </ul>
            </div>
            <div class="blank10"></div>
            <!-- 广告开始 250x200-->
           <div class="ad250x200">
           <?php echo get_adcode(8);?>

           </div>
          <!-- 广告结束 250x200-->
            <div class="blank10"></div>
            <div class="art-hot" class="mag">
            	<h3>热门资讯</h3>
                <ul class="art-hot-b">
                   	<?php  $_smarty_tpl->tpl_vars['hot'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['hot']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = get_articles(0,5,false,'views'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['hot']->key => $_smarty_tpl->tpl_vars['hot']->value){
$_smarty_tpl->tpl_vars['hot']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['hot']->key;
?>
				
                   	<li><span <?php if ($_smarty_tpl->tpl_vars['k']->value+1>4){?>style="background:#ccc"<?php }?>><?php echo $_smarty_tpl->tpl_vars['k']->value+1;?>
</span><a href="<?php echo $_smarty_tpl->tpl_vars['hot']->value['art_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['hot']->value['art_title'];?>
"><?php echo $_smarty_tpl->tpl_vars['hot']->value['art_title'];?>
</a></li>
                   	<?php } ?>
               	</ul>
            </div>
          <div class="blank10"></div>
           <div class="ad250x200"><?php echo get_adcode(9);?>
</div>
            <div class="blank10"></div>
        </div>
    </div>
 
</div>
   <?php echo $_smarty_tpl->getSubTemplate ("footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

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