<?php /* Smarty version Smarty-3.1.12, created on 2017-04-17 20:33:17
         compiled from "D:\WWW\youkeSY\themes\default\home\webdir.html" */ ?>
<?php /*%%SmartyHeaderCode:1014858f0dcf10353e9-77736803%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '43f9c268eb1686be59cd04e904882a3801aa1566' => 
    array (
      0 => 'D:\\WWW\\youkeSY\\themes\\default\\home\\webdir.html',
      1 => 1492398726,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1014858f0dcf10353e9-77736803',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_58f0dcf10cd986_75506026',
  'variables' => 
  array (
    'site_title' => 0,
    'site_keywords' => 0,
    'site_description' => 0,
    'child_category' => 0,
    'item' => 0,
    'category_id' => 0,
    'categories' => 0,
    'sub' => 0,
    'websites' => 0,
    'w' => 0,
    'showpage' => 0,
    'best' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58f0dcf10cd986_75506026')) {function content_58f0dcf10cd986_75506026($_smarty_tpl) {?><!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title><?php echo $_smarty_tpl->tpl_vars['site_title']->value;?>
</title>
<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 www.youke365.com" />
<?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">
    	<div class="mainbox-left">
            <div class="scatbox">
				<h3 class="scatbox-title">站点分类</h3>
				<ul class="clearfix scatbox-list">
               		<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['child_category']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?>
            		<li<?php if ($_smarty_tpl->tpl_vars['item']->value['cate_id']==$_smarty_tpl->tpl_vars['category_id']->value){?> class="highlight"<?php }?>><a href="<?php echo $_smarty_tpl->tpl_vars['item']->value['cate_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['cate_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['cate_name'];?>
 (<?php echo $_smarty_tpl->tpl_vars['item']->value['cate_postcount'];?>
)</a></li>
                   	<?php } ?>

                	<?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'){?>
                    <li><a href="<?php echo $_smarty_tpl->tpl_vars['sub']->value['cate_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['cate_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['sub']->value['cate_name'];?>
 (<?php echo $_smarty_tpl->tpl_vars['sub']->value['cate_postcount'];?>
)</a></li>
                    <?php }?>
                    <?php } ?>

				</ul>
			</div>
            <div class="blank10"></div>
            <!-- 广告 开始 930*90-->
            <div class="ad930x90"><?php echo get_adcode(15);?>
</div>
            <!-- 广告 结束 930*90-->


			<div class="blank10"></div>
			<div class="clearfix listbox">
				<h3 class="listbox-title">网站大全</h3>
				<ul class="sitelist">
					<?php  $_smarty_tpl->tpl_vars['w'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['w']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['websites']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['w']->key => $_smarty_tpl->tpl_vars['w']->value){
$_smarty_tpl->tpl_vars['w']->_loop = true;
?>
			

                	<li><a href="<?php echo $_smarty_tpl->tpl_vars['w']->value['web_link'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['w']->value['web_pic'];?>
" width="120" height="95" alt="<?php echo $_smarty_tpl->tpl_vars['w']->value['web_name'];?>
" class="thumb" /></a>
                	<div class="info"><h3><a href="<?php echo $_smarty_tpl->tpl_vars['w']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['w']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['w']->value['web_name'];?>
</a> 

        
                	<?php if ($_smarty_tpl->tpl_vars['w']->value['web_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['w']->value['web_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['w']->value['web_ispay']==1){?>
                	 <span class="fasttrial" title="快审">
                	 <i class="fa fa-rmb" aria-hidden="true"></i> 快审</span>
                	 <?php }?>
 </h3>

                	 <p><?php echo $_smarty_tpl->tpl_vars['w']->value['web_intro'];?>
</p><cite><a href="<?php echo $_smarty_tpl->tpl_vars['w']->value['web_furl'];?>
" target="_blank" class="visit" onClick="clickout(<?php echo $_smarty_tpl->tpl_vars['w']->value['web_id'];?>
)"><?php echo $_smarty_tpl->tpl_vars['w']->value['web_url'];?>
</a> - <?php echo $_smarty_tpl->tpl_vars['w']->value['web_ctime'];?>
</cite></div></li>
                	<?php }
if (!$_smarty_tpl->tpl_vars['w']->_loop) {
?>
                	<li>该目录下无任何内容！</li>
                	<?php } ?>
				</ul>
				<div class="clearfix showpage"><?php echo $_smarty_tpl->tpl_vars['showpage']->value;?>
</div>
			</div>
		</div>
		<div class="mainbox-right">
			<div class="webbox">
				<div class="webbox-title">推荐站点</div>
				<ul class="webbox-list">
                   	<?php  $_smarty_tpl->tpl_vars['best'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['best']->_loop = false;
 $_from = get_websites(0,5,true); 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><h3><a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
</a></h3><p><?php echo $_smarty_tpl->tpl_vars['best']->value['web_intro'];?>
</p><cite><a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_furl'];?>
" target="_blank" class="visit" onclick="clickout(<?php echo $_smarty_tpl->tpl_vars['best']->value['web_id'];?>
)"><?php echo $_smarty_tpl->tpl_vars['best']->value['web_url'];?>
</a></cite></li>
                   	<?php } ?>
				</ul>
			</div>
            <div class="blank10"></div>
            <!-- 广告 开始 250*200-->
            <div class="ad250x200"><?php echo get_adcode(16);?>
</div>
            <!-- 广告 结束 250*200-->
		</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 }} ?>