<?php /* Smarty version 2.6.25, created on 2012-06-26 07:55:47
         compiled from main.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cat', 'main.tpl', 15, false),array('modifier', 'escape', 'main.tpl', 71, false),array('modifier', 'wordwrap', 'main.tpl', 71, false),)), $this); ?>
<?php ob_start(); ?>
   <?php if (count ( $this->_tpl_vars['path'] ) > 1): ?>&nbsp;- <?php endif; ?>
   <?php $_from = $this->_tpl_vars['path']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['path'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['path']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['ctg']):
        $this->_foreach['path']['iteration']++;
?>
      <?php if ($this->_foreach['path']['iteration'] > 2): ?>
         &gt;
      <?php endif; ?>
      <?php if (! ($this->_foreach['path']['iteration'] <= 1)): ?>
         <?php echo $this->_tpl_vars['ctg']['TITLE']; ?>

      <?php endif; ?>
   <?php endforeach; endif; unset($_from); ?>
<?php $this->_smarty_vars['capture']['title'] = ob_get_contents(); ob_end_clean(); ?>
<?php echo ''; ?><?php if ($this->_tpl_vars['title_prefix']): ?><?php echo ''; ?><?php $this->assign('in_page_title', ((is_array($_tmp=$this->_tpl_vars['title_prefix'])) ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['category']['TITLE']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['category']['TITLE']))); ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php $this->assign('in_page_title', $this->_tpl_vars['category']['TITLE']); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php $this->assign('description', $this->_tpl_vars['category']['DESCRIPTION']); ?><?php echo ''; ?><?php $this->assign('tdescription', $this->_tpl_vars['category']['TDESCRIPTION']); ?><?php echo ''; ?><?php $this->assign('catcontent', $this->_tpl_vars['category']['CATCONTENT']); ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('article' => $this->_tpl_vars['article'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "top_bar.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php if (! empty ( $this->_tpl_vars['category']['ID'] ) && ( ! empty ( $this->_tpl_vars['category']['DESCRIPTION'] ) || ! empty ( $this->_tpl_vars['category']['TITLE'] ) )): ?><?php echo '<h3>父类: <span id="main_title">'; ?><?php echo $this->_tpl_vars['category']['TITLE']; ?><?php echo '</span></h3><div style="float: right">'; ?><?php if ($this->_tpl_vars['rights']['delCat'] == 1): ?><?php echo '<a href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/admin/dir_categs_edit.php?action=E:'; ?><?php echo $this->_tpl_vars['category']['ID']; ?><?php echo '" target="blank" title="Edit Category">Edit Category</a>&nbsp;<a href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/admin/dir_links.php?r=1" target="blank" title="View Links">View Links</a>&nbsp;<a href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/inplace_editcat.php?ID='; ?><?php echo $this->_tpl_vars['category']['ID']; ?><?php echo '&mode=del&detail=1&TB_iframe=true&height=100&width=250" class="thickbox" onclick="'; ?><?php echo 'question = confirm(\'Are you sure you want to delete this category?\');if (question !=\'0\'){return showThickbox(this);} else return false;'; ?><?php echo '"><img src="'; ?><?php echo @DOC_ROOT; ?><?php echo '/templates/'; ?><?php echo @USE_TEMPLATE; ?><?php echo '/images/delete.gif" width="14" height="14" style="border: none;" alt="delete link"/></a>'; ?><?php if (( $this->_tpl_vars['category']['STATUS'] < 2 ) && $this->_tpl_vars['rights']['editCat'] == 1): ?><?php echo '<a href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/inplace_editcat.php?ID='; ?><?php echo $this->_tpl_vars['category']['ID']; ?><?php echo '&mode=active&detail=1&TB_iframe=true&height=100&width=250" class="thickbox" onclick="'; ?><?php echo 'question = confirm(\'Are you sure you want to make this category active?\');if (question !=\'0\'){return showThickbox(this);} else return false;'; ?><?php echo '"><img src="'; ?><?php echo @DOC_ROOT; ?><?php echo '/templates/'; ?><?php echo @USE_TEMPLATE; ?><?php echo '/images/active.gif" width="14" height="14" style="border: none;" alt="category is inactive" class="float_tiny"/></a>'; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo '</div><div align="center" id="main_desc">'; ?><?php echo $this->_tpl_vars['category']['DESCRIPTION']; ?><?php echo '</div>'; ?><?php endif; ?><?php echo ''; ?><?php echo ''; ?><?php 
      $this->assign('cats_per_col', ceil(count($this->get_template_vars('categs')) / CATS_PER_ROW));
    ?><?php echo ''; ?><?php if ($this->_tpl_vars['cats_per_col'] > 15): ?><?php echo ''; ?><?php 
      $this->assign('cats_per_col', ceil(count($this->get_template_vars('categs')) / (CATS_PER_ROW + 1)));
    ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php echo ''; ?><?php if ($this->_tpl_vars['search_category']): ?><?php echo ''; ?><?php echo $this->_tpl_vars['search_category']; ?><?php echo '<br />'; ?><?php endif; ?><?php echo ''; ?><?php if (isset ( $this->_tpl_vars['have_search_results'] ) && $this->_tpl_vars['have_search_results'] == 0): ?><?php echo '<div class="noResults"><p>抱歉，未找到数据匹配您的关键字: "'; ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['search'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('wordwrap', true, $_tmp, 200, "\n", true) : smarty_modifier_wordwrap($_tmp, 200, "\n", true)); ?><?php echo '"</p><p>建议:</p><p><ul><li>请确认所有文字输入正确.</li><li>请尝试不同的关键字.</li><li>请尝试一般关键字.</li></ul></p></div>'; ?><?php endif; ?><?php echo '<div>'; ?><?php if (! $this->_tpl_vars['uid'] & ! $this->_tpl_vars['search'] & empty ( $this->_tpl_vars['category']['ID'] ) & ! $this->_tpl_vars['list'] & $this->_tpl_vars['scriptname'] == 'index'): ?><?php echo ''; ?><?php echo $this->_tpl_vars['maincontent']; ?><?php echo ''; ?><?php elseif (! empty ( $this->_tpl_vars['category']['ID'] ) && ! empty ( $this->_tpl_vars['catcontent'] )): ?><?php echo ''; ?><?php echo $this->_tpl_vars['catcontent']; ?><?php echo ''; ?><?php endif; ?><?php echo '</div>'; ?><?php echo ''; ?><?php if (! empty ( $this->_tpl_vars['categs'] )): ?><?php echo ''; ?><?php if (! empty ( $this->_tpl_vars['category']['ID'] )): ?><?php echo '<h3>分类</h3>'; ?><?php endif; ?><?php echo '<table border="0" cellpadding="0" cellspacing="2" id="categories"><tr>'; ?><?php $_from = $this->_tpl_vars['categs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['categs'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['categs']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['cat']):
        $this->_foreach['categs']['iteration']++;
?><?php echo ''; ?><?php if (( $this->_foreach['categs']['iteration'] % $this->_tpl_vars['cats_per_col'] == 1 && $this->_tpl_vars['cats_per_col'] > 1 ) || ($this->_foreach['categs']['iteration'] <= 1)): ?><?php echo '<td>'; ?><?php endif; ?><?php echo '<h2><a href="'; ?><?php if (! empty ( $this->_tpl_vars['cat']['URL'] )): ?><?php echo ''; ?><?php echo $this->_tpl_vars['cat']['URL']; ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php echo @DOC_ROOT; ?><?php echo '/'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['cat']['CACHE_URL'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo ''; ?><?php endif; ?><?php echo '" '; ?><?php if ($this->_tpl_vars['cat']['NEW_WINDOW'] == 1): ?><?php echo 'target="blank"'; ?><?php endif; ?><?php echo '  title="'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['cat']['TITLE'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo '">'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['cat']['TITLE'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo '</a>'; ?><?php if (@CATS_COUNT): ?><?php echo ''; ?><?php if (! empty ( $this->_tpl_vars['cat']['URL'] )): ?><?php echo ''; ?><?php else: ?><?php echo ' <span class="count">('; ?><?php echo $this->_tpl_vars['cat']['COUNT']; ?><?php echo ')</span>'; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo '</h2>'; ?><?php echo ''; ?><?php if (! empty ( $this->_tpl_vars['cat']['SUBCATS'] )): ?><?php echo '<p class="subcats">'; ?><?php $_from = $this->_tpl_vars['cat']['SUBCATS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['scategs'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['scategs']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['scat']):
        $this->_foreach['scategs']['iteration']++;
?><?php echo '<a href="'; ?><?php if (! empty ( $this->_tpl_vars['scat']['URL'] )): ?><?php echo ''; ?><?php echo $this->_tpl_vars['scat']['URL']; ?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php echo @DOC_ROOT; ?><?php echo '/'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['scat']['CACHE_URL'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo ''; ?><?php endif; ?><?php echo '" '; ?><?php if ($this->_tpl_vars['scat']['NEW_WINDOW'] == 1): ?><?php echo 'target="blank"'; ?><?php endif; ?><?php echo '  title="'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['scat']['TITLE'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo '">'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['scat']['TITLE'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo '</a>,&nbsp; '; ?><?php endforeach; endif; unset($_from); ?><?php echo ' ...</p>'; ?><?php endif; ?><?php echo ''; ?><?php if (( $this->_foreach['categs']['iteration'] % $this->_tpl_vars['cats_per_col'] == 0 && $this->_tpl_vars['cats_per_col'] > 1 ) || ($this->_foreach['categs']['iteration'] == $this->_foreach['categs']['total'])): ?><?php echo '</td>'; ?><?php endif; ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo '</tr></table>'; ?><?php endif; ?><?php echo ''; ?><?php if (! empty ( $this->_tpl_vars['feat_links'] )): ?><?php echo '<div class="titleBgmain"><h3>特殊链接</h3></div>'; ?><?php $_from = $this->_tpl_vars['feat_links']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['links'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['links']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['link']):
        $this->_foreach['links']['iteration']++;
?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "link.tpl", 'smarty_include_vars' => array('link' => $this->_tpl_vars['link'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php echo ''; ?><?php if (( $this->_tpl_vars['uid'] || $this->_tpl_vars['search'] || ! empty ( $this->_tpl_vars['category']['ID'] ) || $this->_tpl_vars['list'] ) && ! empty ( $this->_tpl_vars['links'] )): ?><?php echo '<div class="titleBgmain"><h3>链接 '; ?><?php if (! $this->_tpl_vars['list']): ?><?php echo '<span class="small" style="margin-left:50px;">排列:'; ?><?php if (@ENABLE_PAGERANK && @SHOW_PAGERANK): ?><?php echo ''; ?><?php if ($this->_tpl_vars['sort'] == 'P'): ?><?php echo '<span class="sort"> 网页排名</span>'; ?><?php else: ?><?php echo '<a href="'; ?><?php if (@ENABLE_REWRITE): ?><?php echo ''; ?><?php echo @DOC_ROOT; ?><?php echo '/'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['category']['CACHE_URL'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (@ENABLE_REWRITE && ! empty ( $this->_tpl_vars['p'] )): ?><?php echo 'page-'; ?><?php echo $this->_tpl_vars['lp']; ?><?php echo '.html'; ?><?php endif; ?><?php echo '?s=P'; ?><?php if (! @ENABLE_REWRITE): ?><?php echo '&amp;c='; ?><?php echo $this->_tpl_vars['category']['ID']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['search']): ?><?php echo '&amp;search='; ?><?php echo $this->_tpl_vars['search']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['uid']): ?><?php echo '&amp;uid='; ?><?php echo $this->_tpl_vars['uid']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (! empty ( $this->_tpl_vars['p'] ) && ! @ENABLE_REWRITE): ?><?php echo '&amp;p='; ?><?php echo $this->_tpl_vars['p']; ?><?php echo ''; ?><?php endif; ?><?php echo '"> 网页排名</a>'; ?><?php endif; ?><?php echo ' |'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['sort'] == 'H'): ?><?php echo ' <span class="sort">点击</span>'; ?><?php else: ?><?php echo ' <a href="'; ?><?php if (@ENABLE_REWRITE): ?><?php echo ''; ?><?php echo @DOC_ROOT; ?><?php echo '/'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['category']['CACHE_URL'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (@ENABLE_REWRITE && ! empty ( $this->_tpl_vars['p'] )): ?><?php echo 'page-'; ?><?php echo $this->_tpl_vars['lp']; ?><?php echo '.html'; ?><?php endif; ?><?php echo '?s=H'; ?><?php if (! @ENABLE_REWRITE): ?><?php echo '&amp;c='; ?><?php echo $this->_tpl_vars['category']['ID']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['search']): ?><?php echo '&amp;search='; ?><?php echo $this->_tpl_vars['search']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['uid']): ?><?php echo '&amp;uid='; ?><?php echo $this->_tpl_vars['uid']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (! empty ( $this->_tpl_vars['p'] ) && ! @ENABLE_REWRITE): ?><?php echo '&amp;p='; ?><?php echo $this->_tpl_vars['p']; ?><?php echo ''; ?><?php endif; ?><?php echo '">点击</a>'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['sort'] == 'A'): ?><?php echo ' | <span class="sort">按字母顺序</span>'; ?><?php else: ?><?php echo ' | <a href="'; ?><?php if (@ENABLE_REWRITE): ?><?php echo ''; ?><?php echo @DOC_ROOT; ?><?php echo '/'; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['category']['CACHE_URL'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (@ENABLE_REWRITE && ! empty ( $this->_tpl_vars['p'] )): ?><?php echo 'page-'; ?><?php echo $this->_tpl_vars['lp']; ?><?php echo '.html'; ?><?php endif; ?><?php echo '?s=A'; ?><?php if (! @ENABLE_REWRITE): ?><?php echo '&amp;c='; ?><?php echo $this->_tpl_vars['category']['ID']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['search']): ?><?php echo '&amp;search='; ?><?php echo $this->_tpl_vars['search']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['uid']): ?><?php echo '&amp;uid='; ?><?php echo $this->_tpl_vars['uid']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php if (! empty ( $this->_tpl_vars['p'] ) && ! @ENABLE_REWRITE): ?><?php echo '&amp;p='; ?><?php echo $this->_tpl_vars['p']; ?><?php echo ''; ?><?php endif; ?><?php echo '">按字母顺序</a>'; ?><?php endif; ?><?php echo '</span>'; ?><?php endif; ?><?php echo '</h3></div><div id="links">'; ?><?php $_from = $this->_tpl_vars['links']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['links'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['links']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['link']):
        $this->_foreach['links']['iteration']++;
?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "link.tpl", 'smarty_include_vars' => array('link' => $this->_tpl_vars['link'],'item' => ($this->_foreach['links']['iteration']-1))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo '</div>'; ?><?php endif; ?><?php echo ''; ?><?php echo ''; ?><?php if (! empty ( $this->_tpl_vars['feeds'] )): ?><?php echo '<h3>'; ?><?php echo $this->_tpl_vars['category']['TITLE']; ?><?php echo ' news</h3>'; ?><?php endif; ?><?php echo '<div id="links">'; ?><?php $_from = $this->_tpl_vars['feeds']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['feed']):
?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "feed.tpl", 'smarty_include_vars' => array('feed' => $this->_tpl_vars['feed'],'item' => ($this->_foreach['feeds']['iteration']-1))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo '</div>'; ?><?php if (empty ( $this->_tpl_vars['feeds'] ) && $this->_tpl_vars['category']['ID'] > 0): ?><?php echo '<div align="center">此分类没有新闻</div>'; ?><?php endif; ?><?php echo ''; ?><?php if (empty ( $this->_tpl_vars['links'] ) && $this->_tpl_vars['category']['ID'] > 0 && empty ( $this->_tpl_vars['feat_links'] ) && $this->_tpl_vars['MainPaging']['page_total'] <= 1): ?><?php echo ' <div align="center">  此分类没有连接<a href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/submit.php'; ?><?php if (! empty ( $this->_tpl_vars['category']['ID'] ) && $this->_tpl_vars['category']['ID'] > 0): ?><?php echo '?c='; ?><?php echo $this->_tpl_vars['category']['ID']; ?><?php echo ''; ?><?php endif; ?><?php echo '"> 添加一个“今日”连接.</a></div>'; ?><?php endif; ?><?php echo ''; ?><?php echo ''; ?><?php if (empty ( $this->_tpl_vars['articles'] ) && $this->_tpl_vars['category']['ID'] > 0 && $this->_tpl_vars['MainPaging']['page_total'] <= 1): ?><?php echo ' <div align="center"> <span style="color:blue;"> 此分类没有文章</span><a href="'; ?><?php echo @DOC_ROOT; ?><?php echo '/submit_article.php?id='; ?><?php echo $this->_tpl_vars['category']['ID']; ?><?php echo '"> 添加一个“今日”文章.</a></div>'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['search_news']): ?><?php echo ''; ?><?php echo $this->_tpl_vars['search_news']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php echo ''; ?><?php if ($this->_tpl_vars['search_article']): ?><?php echo ''; ?><?php echo $this->_tpl_vars['search_article']; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php echo ''; ?><?php if (! empty ( $this->_tpl_vars['articles'] ) && ! $this->_tpl_vars['search']): ?><?php echo '<div class="titleBgmain"><h3>文章</h3></div>'; ?><?php if ($this->_tpl_vars['uLevel'] == '1'): ?><?php echo '<div id="edit_container">'; ?><?php endif; ?><?php echo '<div id="articles"><table>'; ?><?php $_from = $this->_tpl_vars['articles']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['name'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['name']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['article']):
        $this->_foreach['name']['iteration']++;
?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "articlelink.tpl", 'smarty_include_vars' => array('link' => $this->_tpl_vars['article'],'item' => ($this->_foreach['name']['iteration']-1))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo '</table></div>'; ?><?php if ($this->_tpl_vars['uLevel'] == '1'): ?><?php echo '</div>'; ?><?php endif; ?><?php echo ''; ?><?php endif; ?><?php echo ''; ?><?php echo ''; ?><?php if ($this->_tpl_vars['StopLinkHits'] == 0): ?><?php echo '<script type="text/javascript">/* <![CDATA[ */var root = \''; ?><?php echo @DOC_ROOT; ?><?php echo '\';'; ?><?php echo '
      var a = document.getElementsByTagName("a");
      for(i = 0; i< a.length; i++)
         if(a[i].id != \'\')
            a[i].onclick = count_link;
      function count_link() {
         i = new Image();
         i.src= root+\'/cl.php?id=\'+this.id;
         return true;
      }
      '; ?><?php echo '/* ]]> */</script>'; ?><?php endif; ?><?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo ''; ?>