<?php /* Smarty version Smarty-3.1.12, created on 2017-04-13 06:22:35
         compiled from "D:\WWW\youkeSY\themes\default\webdir.html" */ ?>
<?php /*%%SmartyHeaderCode:930958e4578c192d88-23793062%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '37306fb3453a5b46dda3710e53fde698a8cc3624' => 
    array (
      0 => 'D:\\WWW\\youkeSY\\themes\\default\\webdir.html',
      1 => 1491984628,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '930958e4578c192d88-23793062',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_58e4578c3197d3_55340129',
  '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,
    'site_root' => 0,
    'showpage' => 0,
    'best' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58e4578c3197d3_55340129')) {function content_58e4578c3197d3_55340129($_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>
			<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_ispay']==1){?>
                	<img src="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
public/images/attr/audit.gif" border="0"><?php }?>
                	<?php if ($_smarty_tpl->tpl_vars['w']->value['web_istop']==1){?>
                 <span class="top" title="顶置">顶</span><?php }?> <?php if ($_smarty_tpl->tpl_vars['w']->value['web_isbest']==1){?>
                	 <span class="top" title="推荐">推</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,false,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>
	</div>
</div>
<?php echo $_smarty_tpl->getSubTemplate ("footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

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