<?php /* Smarty version Smarty-3.0.6, created on 2012-01-13 13:27:44
         compiled from "C:\wamp\www\yun3/tpl\all_magazines.html" */ ?>
<?php /*%%SmartyHeaderCode:276354f0fc0d05f75c0-71523626%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2581e7032106e796e3c75a34bc46a4a22ddf3f08' => 
    array (
      0 => 'C:\\wamp\\www\\yun3/tpl\\all_magazines.html',
      1 => 1326432462,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '276354f0fc0d05f75c0-71523626',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_function_cycle')) include 'C:\wamp\www\yun3\init\Drivers\Smarty\plugins\function.cycle.php';
?>﻿<?php $_template = new Smarty_Internal_Template("require_header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('layout','yes'); echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>

<div class="channle">
<div class="htag">
  <div class="htag">
    <table width="900" cellpadding="0" class="hottab" cellspace="0">
      <thead>
        <tr >
          <th width="167" class="tag-hd">热门杂志</th>
          <th width="322" class="hot-hd">杂志热度</th>
          <th width="171" class="editor-hd">最新更新时间</th>
		  <th width="171" class="editor-hd">收集数量</th>
          <th width="228" class="editor-hd">贡献者博客</th>
         
        </tr>
      </thead>
      <tbody>
      
      <?php  $_smarty_tpl->tpl_vars['d'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars["j"] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('HotBoards')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['d']->key => $_smarty_tpl->tpl_vars['d']->value){
 $_smarty_tpl->tpl_vars["j"]->value = $_smarty_tpl->tpl_vars['d']->key;
?> 
      <tr class="tag-row <?php echo smarty_function_cycle(array('values'=>"odd,add"),$_smarty_tpl);?>
">
        <td class="tag"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'magazine','boid'=>$_smarty_tpl->getVariable('HotBoards')->value[$_smarty_tpl->getVariable('j')->value]['boid']),$_smarty_tpl);?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['d']->value['boardname'];?>
</a></td>
        <td class="hot"><div class="state" style="width:<?php echo checkHit(array('max'=>$_smarty_tpl->getVariable('hotMax')->value,'val'=>$_smarty_tpl->tpl_vars['d']->value['num']),$_smarty_tpl);?>
%"><?php echo $_smarty_tpl->getVariable('HotBoards')->value[$_smarty_tpl->getVariable('j')->value]['coins'];?>
</div> </td>
        <td class="editor"><?php echo dtktime(array('time'=>$_smarty_tpl->tpl_vars['d']->value['rtime']),$_smarty_tpl);?>
&nbsp;</td>
		<td class="editor"><?php echo $_smarty_tpl->tpl_vars['d']->value['collect_count'];?>
&nbsp;</td>
        <td class="editor">
        <a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/<?php echo $_smarty_tpl->tpl_vars['d']->value['user']['domain'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['d']->value['user']['username'];?>
" target="_blank"> <img src="<?php echo avatar(array('uid'=>$_smarty_tpl->tpl_vars['d']->value['user']['uid'],'size'=>'small'),$_smarty_tpl);?>
" alt="<?php echo $_smarty_tpl->tpl_vars['d']->value['user']['username'];?>
" align="absmiddle"/><?php echo $_smarty_tpl->tpl_vars['d']->value['user']['username'];?>
</a>
        </td>
       
      </tr>
      <?php }} ?>
      </tbody>
      
    </table>
  </div>
</div>
</div>

<?php $_template = new Smarty_Internal_Template("require_footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>