<?php /* Smarty version Smarty-3.1.7, created on 2012-03-10 14:50:48
         compiled from "E:/myweb/www.u660.com/themes/default\category.html" */ ?>
<?php /*%%SmartyHeaderCode:268814f5af9c8d351e8-21722836%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7b4867728b3707468647f58bcc3f544d2b26ee0a' => 
    array (
      0 => 'E:/myweb/www.u660.com/themes/default\\category.html',
      1 => 1329735399,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '268814f5af9c8d351e8-21722836',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'categories' => 0,
    'c' => 0,
    'sc' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.7',
  'unifunc' => 'content_4f5af9c8e82d0',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4f5af9c8e82d0')) {function content_4f5af9c8e82d0($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 9999, null, array(), 0);?>


    <div id="mainbox" class="clearfix">
    	<div id="mainbox-left">
            <div id="category">
            	<?php  $_smarty_tpl->tpl_vars['c'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['c']->_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['c']->key => $_smarty_tpl->tpl_vars['c']->value){
$_smarty_tpl->tpl_vars['c']->_loop = true;
?>
            	<?php if ($_smarty_tpl->tpl_vars['c']->value['root_id']==0){?>
            	<div id="catebox" class="clearfix">
            		<h2><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></h2>
               		<ul>
                    	<?php  $_smarty_tpl->tpl_vars['sc'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sc']->_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['sc']->key => $_smarty_tpl->tpl_vars['sc']->value){
$_smarty_tpl->tpl_vars['sc']->_loop = true;
?>
                        <?php if ($_smarty_tpl->tpl_vars['sc']->value['root_id']==$_smarty_tpl->tpl_vars['c']->value['cate_id']){?>
                       	<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> <em>(<?php echo $_smarty_tpl->tpl_vars['sc']->value['cate_postcount'];?>
)</em></li>
                        <?php }?>
                        <?php } ?>
                    </ul>
                </div>
                <?php }?>
            	<?php } ?> 
            </div>
        </div>
        <div id="mainbox-right">
			<div style="height: 600px;">
			<?php echo get_adcode(5);?>

			</div>	
        </div>
    </div>

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