<?php /* Smarty version Smarty-3.1.12, created on 2017-04-16 18:36:53
         compiled from "D:\WWW\youkeSY\themes\default\home\category.html" */ ?>
<?php /*%%SmartyHeaderCode:1600258f1c1f2891308-46917458%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a2133457e8194d23f6139531e587b6dac1f14730' => 
    array (
      0 => 'D:\\WWW\\youkeSY\\themes\\default\\home\\category.html',
      1 => 1492339007,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1600258f1c1f2891308-46917458',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_58f1c1f29121a7_93689762',
  'variables' => 
  array (
    'site_title' => 0,
    'site_keywords' => 0,
    'site_description' => 0,
    'c' => 0,
    'sc' => 0,
    'cfg' => 0,
    'new' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58f1c1f29121a7_93689762')) {function content_58f1c1f29121a7_93689762($_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="allcate">
            	<?php  $_smarty_tpl->tpl_vars['c'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['c']->_loop = false;
 $_from = get_categories(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['c']->key => $_smarty_tpl->tpl_vars['c']->value){
$_smarty_tpl->tpl_vars['c']->_loop = true;
?>
            	<div class="clearfix catebox">
					<h3><a href="<?php echo $_smarty_tpl->tpl_vars['c']->value['cate_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['c']->value['cate_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['c']->value['cate_name'];?>
</a><em>(<?php echo $_smarty_tpl->tpl_vars['c']->value['cate_postcount'];?>
)</em></h3>
					<ul>
						<?php  $_smarty_tpl->tpl_vars['sc'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sc']->_loop = false;
 $_from = get_categories($_smarty_tpl->tpl_vars['c']->value['cate_id']); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['sc']->key => $_smarty_tpl->tpl_vars['sc']->value){
$_smarty_tpl->tpl_vars['sc']->_loop = true;
?>
						<li><a href="<?php echo $_smarty_tpl->tpl_vars['sc']->value['cate_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['sc']->value['cate_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['sc']->value['cate_name'];?>
</a></li>
						<?php } ?>
					</ul>
            	</div>
            	<?php } ?>
    		</div>
    	</div>
    	<div class="mainbox-right">
			<div style="height: 250px;"><?php echo get_adcode(17);?>
</div>
			<div class="blank10"></div>
    		<div class="newbox">
            	<div class="newbox-title">最新收录</div>
            	<ul class="newbox-list">
					<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['cfg']->value['home_new'];?>
<?php $_tmp1=ob_get_clean();?><?php  $_smarty_tpl->tpl_vars['new'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['new']->_loop = false;
 $_from = get_websites(0,$_tmp1); 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><span><?php echo $_smarty_tpl->tpl_vars['new']->value['web_ctime'];?>
</span><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_name'];?>
</a></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 }} ?>