<?php /* Smarty version 2.6.12, created on 2006-11-24 13:14:42
         compiled from db:system_notification_list.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'db:system_notification_list.html', 20, false),)), $this); ?>
<h4><?php echo $this->_tpl_vars['lang_activenotifications']; ?>
</h4>
<form name="notificationlist" action="notifications.php" method="post">
<table class="outer">
  <tr>
    <th><input name="allbox" id="allbox" onclick="xoopsCheckAll('notificationlist', 'allbox');" type="checkbox" value="<?php echo $this->_tpl_vars['lang_checkall']; ?>
" /></th>
    <th><?php echo $this->_tpl_vars['lang_event']; ?>
</th>
    <th><?php echo $this->_tpl_vars['lang_category']; ?>
</th>
    <th><?php echo $this->_tpl_vars['lang_itemid']; ?>
</th>
    <th><?php echo $this->_tpl_vars['lang_itemname']; ?>
</th>
  </tr>
  <?php $_from = $this->_tpl_vars['modules']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['module']):
?>
  <tr>
    <td class="head"><input name="del_mod[<?php echo $this->_tpl_vars['module']['id']; ?>
]" id="del_mod[<?php echo $this->_tpl_vars['module']['id']; ?>
]" onclick="xoopsCheckGroup('notificationlist', 'del_mod[<?php echo $this->_tpl_vars['module']['id']; ?>
]', 'del_not[<?php echo $this->_tpl_vars['module']['id']; ?>
][]');" type="checkbox" value="<?php echo $this->_tpl_vars['module']['id']; ?>
" /></td>
    <td class="head" colspan="4"><?php echo $this->_tpl_vars['lang_module']; ?>
: <?php echo $this->_tpl_vars['module']['name']; ?>
</td>
  </tr>
  <?php $_from = $this->_tpl_vars['module']['categories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['category']):
?>
  <?php $_from = $this->_tpl_vars['category']['items']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item']):
?>
  <?php $_from = $this->_tpl_vars['item']['notifications']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['notification']):
?>
  <tr>
    <?php echo smarty_function_cycle(array('values' => "odd,even",'assign' => 'class'), $this);?>

    <td class="<?php echo $this->_tpl_vars['class']; ?>
"><input type="checkbox" name="del_not[<?php echo $this->_tpl_vars['module']['id']; ?>
][]" id="del_not[<?php echo $this->_tpl_vars['module']['id']; ?>
][]" value="<?php echo $this->_tpl_vars['notification']['id']; ?>
" /></td>
    <td class="<?php echo $this->_tpl_vars['class']; ?>
"><?php echo $this->_tpl_vars['notification']['event_title']; ?>
</td>
    <td class="<?php echo $this->_tpl_vars['class']; ?>
"><?php echo $this->_tpl_vars['notification']['category_title']; ?>
</td>
    <td class="<?php echo $this->_tpl_vars['class']; ?>
"><?php if ($this->_tpl_vars['item']['id'] != 0):  echo $this->_tpl_vars['item']['id'];  endif; ?></td>
    <td class="<?php echo $this->_tpl_vars['class']; ?>
"><?php if ($this->_tpl_vars['item']['id'] != 0):  if ($this->_tpl_vars['item']['url'] != ''): ?><a href="<?php echo $this->_tpl_vars['item']['url']; ?>
"><?php endif;  echo $this->_tpl_vars['item']['name'];  if ($this->_tpl_vars['item']['url'] != ''): ?></a><?php endif;  endif; ?></td>
  </tr>
  <?php endforeach; endif; unset($_from); ?>
  <?php endforeach; endif; unset($_from); ?>
  <?php endforeach; endif; unset($_from); ?>
  <?php endforeach; endif; unset($_from); ?>
  <tr>
    <td class="foot" colspan="5">
      <input type="submit" name="delete_cancel" value="<?php echo $this->_tpl_vars['lang_cancel']; ?>
" />
      <input type="reset" name="delete_reset" value="<?php echo $this->_tpl_vars['lang_clear']; ?>
" />
      <input type="submit" name="delete" value="<?php echo $this->_tpl_vars['lang_delete']; ?>
" />
    </td>
  </tr>
</table>
</form>