<?php /* Smarty version Smarty-3.1.7, created on 2012-06-03 16:24:27
         compiled from "E:/www/htdocs/themes/default\category.html" */ ?>
<?php /*%%SmartyHeaderCode:173514fcacea18496f7-72713040%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '9fe4d8fbd4c97ed16eaf023e8f2007be1c6d67ad' => 
    array (
      0 => 'E:/www/htdocs/themes/default\\category.html',
      1 => 1338709585,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '173514fcacea18496f7-72713040',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.7',
  'unifunc' => 'content_4fcacea1910d0',
  'variables' => 
  array (
    'pagename' => 0,
    'total' => 0,
    'categories' => 0,
    'c' => 0,
    'sc' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4fcacea1910d0')) {function content_4fcacea1910d0($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

	
    <h1 class="pagetitle"><?php echo $_smarty_tpl->tpl_vars['pagename']->value;?>
<span class="total">　/　共<strong><?php echo $_smarty_tpl->tpl_vars['total']->value;?>
</strong>个主题分类</span></h1>
	<div id="mainbox" class="mtop10">
        <div id="mainbox-left">
            <?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){?>
            <dl class="catebox">
            	<dt><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></dt>
                <dd>	
               		<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>
				</dd>
                <p class="clear"></p>
            </dl>
            <?php }?>
            <?php } ?>
        </div>
    	<div id="mainbox-right">
        	<div id="adbox">
<script type="text/javascript">/*120*600，分类目录category*/ var cpro_id = 'u922324';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
            </div>
        </div>
    </div>

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