<?php /* Smarty version 2.6.31, created on 2024-05-15 15:44:57
         compiled from db:topics_archive.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'db:topics_archive.html', 41, false),)), $this); ?>
<?php echo ''; ?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "db:".($this->_tpl_vars['mydirname'])."_head.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><?php echo '<table class="outer" cellspacing="1"><tr><th colspan="13">'; ?><?php echo @_MD_NEWSARCHIVES; ?><?php echo '</th></tr>'; ?><?php $_from = $this->_tpl_vars['years']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['year']):
?><?php echo '<tr><td class="head">'; ?><?php echo $this->_tpl_vars['year']['string']; ?><?php echo '</td>'; ?><?php $_from = $this->_tpl_vars['year']['months']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['month']):
?><?php echo ''; ?><?php if ($this->_tpl_vars['month']['current']): ?><?php echo '<td class="even" align="center" style="background-color:#fcc;color:#0000ff;"><b>'; ?><?php echo $this->_tpl_vars['month']['string']; ?><?php echo '</b></td>'; ?><?php elseif ($this->_tpl_vars['month']['link']): ?><?php echo '<td class="even" align="center"><a href="'; ?><?php echo $this->_tpl_vars['mydirurl']; ?><?php echo '/index.php?page=archive&amp;year='; ?><?php echo $this->_tpl_vars['year']['number']; ?><?php echo '&month='; ?><?php echo $this->_tpl_vars['month']['number']; ?><?php echo '">'; ?><?php echo $this->_tpl_vars['month']['string']; ?><?php echo '</a></td>'; ?><?php else: ?><?php echo '<td class="odd" align="center">'; ?><?php echo $this->_tpl_vars['month']['string']; ?><?php echo '</td>'; ?><?php endif; ?><?php echo ''; ?><?php endforeach; endif; unset($_from); ?><?php echo '</tr>'; ?><?php endforeach; endif; unset($_from); ?><?php echo '</table><br />'; ?><?php if ($this->_tpl_vars['show_articles'] == true): ?><?php echo '<table class="outer" cellspacing="1"><tr><th>'; ?><?php echo @_MD_ARTICLES; ?><?php echo '</th>'; ?><?php if ($this->_tpl_vars['disp_print_icon'] || $this->_tpl_vars['disp_tell_icon']): ?><?php echo '<th align="center">'; ?><?php echo @_MD_ACTIONS; ?><?php echo '</th>'; ?><?php endif; ?><?php echo '<th align="center">'; ?><?php echo @_MD_VIEWS; ?><?php echo '</th><th align="center">'; ?><?php echo @_MD_DATE; ?><?php echo '</th></tr>'; ?><?php $_from = $this->_tpl_vars['stories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['story']):
?><?php echo '<tr class="'; ?><?php echo smarty_function_cycle(array('values' => "even, odd"), $this);?><?php echo '"><td><a href="'; ?><?php echo $this->_tpl_vars['mydirurl']; ?><?php echo '/index.php?storytopic='; ?><?php echo $this->_tpl_vars['story']['topicid']; ?><?php echo '">'; ?><?php echo $this->_tpl_vars['story']['topic']; ?><?php echo '</a> : <a href="'; ?><?php echo $this->_tpl_vars['mydirurl']; ?><?php echo '/index.php?page=article&amp;storyid='; ?><?php echo $this->_tpl_vars['story']['id']; ?><?php echo '">'; ?><?php echo $this->_tpl_vars['story']['title']; ?><?php echo '</a></td>'; ?><?php if ($this->_tpl_vars['disp_print_icon'] || $this->_tpl_vars['disp_tell_icon']): ?><?php echo '<td align="center">'; ?><?php if ($this->_tpl_vars['disp_print_icon']): ?><?php echo '<a href="'; ?><?php echo $this->_tpl_vars['story']['print_link']; ?><?php echo '"><img src="'; ?><?php echo $this->_tpl_vars['mydirurl']; ?><?php echo '/images/print.gif" alt="'; ?><?php echo @_MD_PRINTERFRIENDLY; ?><?php echo '" /></a>&nbsp;'; ?><?php endif; ?><?php echo ''; ?><?php if ($this->_tpl_vars['disp_tell_icon']): ?><?php echo '<a href="'; ?><?php echo $this->_tpl_vars['story']['mail_link']; ?><?php echo '" target="_top" /><img src="'; ?><?php echo $this->_tpl_vars['mydirurl']; ?><?php echo '/images/friend.gif" alt="'; ?><?php echo @_MD_SENDSTORY; ?><?php echo '" /></a>'; ?><?php endif; ?><?php echo '</td>'; ?><?php endif; ?><?php echo '<td align="center">'; ?><?php echo $this->_tpl_vars['story']['counter']; ?><?php echo '</td><td align="center">'; ?><?php echo $this->_tpl_vars['story']['date']; ?><?php echo '</td></tr>'; ?><?php endforeach; endif; unset($_from); ?><?php echo '</table><div>'; ?><?php echo $this->_tpl_vars['lang_storytotal']; ?><?php echo '</div>'; ?><?php endif; ?><?php echo ''; ?>