<?php /* Smarty version 2.6.18, created on 2007-05-13 13:50:14
         compiled from menu.tpl */ ?>
  <?php if ($this->_tpl_vars['menu']): ?>
  <div class="menu">
    <ul>
    <?php $_from = $this->_tpl_vars['menu']->items; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['menuItem']):
?>
      <?php if ($this->_tpl_vars['menuItem']->label == 'separator'): ?>
        <li style="visibility: hidden">&nbsp;</li>
      <?php else: ?>
        <li><a href="index.php<?php echo $this->_tpl_vars['menuItem']->urlParams; ?>
">
            <?php if ($this->_tpl_vars['menuItem']->bSelected): ?><span style="color: red"><?php endif; ?>
              <?php echo $this->_tpl_vars['menuItem']->label; ?>

            <?php if ($this->_tpl_vars['menuItem']->bSelected): ?></span><?php endif; ?>
            </a>
       <?php if ($this->_tpl_vars['menuItem']->bExpanded): ?>
          <ul>
          <?php $_from = $this->_tpl_vars['menuItem']->items; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['submenuItem']):
?>            
            <li><a href="index.php<?php echo $this->_tpl_vars['submenuItem']->urlParams; ?>
">
            <?php if ($this->_tpl_vars['submenuItem']->bSelected): ?><span style="color: red"><?php endif; ?>
              <?php echo $this->_tpl_vars['submenuItem']->label; ?>

            <?php if ($this->_tpl_vars['submenuItem']->bSelected): ?></span><?php endif; ?>
            </a></li>
          <?php endforeach; endif; unset($_from); ?>
          </ul>
        <?php endif; ?>
        </li>
      <?php endif; ?>
    <?php endforeach; endif; unset($_from); ?>    
    </ul>
  </div>
  <?php endif; ?>
