<?php /* Smarty version Smarty-3.1.10, created on 2016-12-13 00:17:32
         compiled from "/home/wwwroot/changming/public_html/themes/default/bom.html" */ ?>
<?php /*%%SmartyHeaderCode:1897785498584bac7bc71399-40647722%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '94ffb631762590777e2cf1c26d25ea3f35173d9a' => 
    array (
      0 => '/home/wwwroot/changming/public_html/themes/default/bom.html',
      1 => 1481559449,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1897785498584bac7bc71399-40647722',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.10',
  'unifunc' => 'content_584bac7bceeae5_18014138',
  'variables' => 
  array (
    'cate' => 0,
    'cool' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_584bac7bceeae5_18014138')) {function content_584bac7bceeae5_18014138($_smarty_tpl) {?> <div class="kuku">
<?php  $_smarty_tpl->tpl_vars['cate'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cate']->_loop = false;
 $_from = get_best_categories(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['csite']['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['cate']->key => $_smarty_tpl->tpl_vars['cate']->value){
$_smarty_tpl->tpl_vars['cate']->_loop = true;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['csite']['iteration']++;
?>
<ul>
                	<div class="tou"><a href="<?php echo $_smarty_tpl->tpl_vars['cate']->value['cate_link'];?>
"><strong><?php echo $_smarty_tpl->tpl_vars['cate']->value['cate_name'];?>
</strong></a></div>
					<?php  $_smarty_tpl->tpl_vars['cool'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cool']->_loop = false;
 $_from = get_websites($_smarty_tpl->tpl_vars['cate']->value['cate_id'],12); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cool']->key => $_smarty_tpl->tpl_vars['cool']->value){
$_smarty_tpl->tpl_vars['cool']->_loop = true;
?>
					<li><a href="<?php echo $_smarty_tpl->tpl_vars['cool']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['cool']->value['web_name'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['cool']->value['web_name'];?>
</a></li>
					<?php } ?>
 <li><a href="<?php echo $_smarty_tpl->tpl_vars['cate']->value['cate_link'];?>
" class="more">更多>></a></li>
                    <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['csite']['iteration']%7==0&&$_smarty_tpl->getVariable('smarty')->value['foreach']['csite']['iteration']!=20){?>

                   

                    <?php }?>
 <div class="clear"></div></ul>

                	<?php } ?>


</div>

	</div>
	
	<script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';        
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script><?php }} ?>