<?php /* Smarty version Smarty-3.1.10, created on 2012-12-13 20:54:59
         compiled from "D:\APMServ\www\htdocs\themes\default\category.html" */ ?>
<?php /*%%SmartyHeaderCode:3161750c9c0f08c0f45-31415936%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e65c513b97f1e53c9e6808361160e6d27221bd55' => 
    array (
      0 => 'D:\\APMServ\\www\\htdocs\\themes\\default\\category.html',
      1 => 1355402999,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3161750c9c0f08c0f45-31415936',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.10',
  'unifunc' => 'content_50c9c0f0a03c61_43458476',
  'variables' => 
  array (
    'categories' => 0,
    'c' => 0,
    'sc' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_50c9c0f0a03c61_43458476')) {function content_50c9c0f0a03c61_43458476($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, 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, null, null, array(), 0);?>
<?php }} ?>