<?php /* Smarty version Smarty-3.0.6, created on 2011-02-06 17:07:16
         compiled from "W:/home/dcms_seven/www/sys/themes/pda_blue/tpl/design.menu.tpl" */ ?>
<?php /*%%SmartyHeaderCode:283864d4eab14c80e43-32456020%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '061b6f281106e981b659f9714f278de6c9ed95d7' => 
    array (
      0 => 'W:/home/dcms_seven/www/sys/themes/pda_blue/tpl/design.menu.tpl',
      1 => 1287734518,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '283864d4eab14c80e43-32456020',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="main_menu">
<?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('menu')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
?>
<?php if ($_smarty_tpl->getVariable('menu')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['razdel']){?>
<div class="menu_razd"><?php echo $_smarty_tpl->getVariable('menu')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'];?>
</div>
<?php }else{ ?>
<a href="<?php echo $_smarty_tpl->getVariable('menu')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['url'];?>
"><?php if ($_smarty_tpl->getVariable('menu')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['icon']){?><img src="<?php echo $_smarty_tpl->getVariable('menu')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['icon'];?>
" alt="" /> <?php }?><?php echo $_smarty_tpl->getVariable('menu')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'];?>
<?php if ($_smarty_tpl->getVariable('menu')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['counter']){?> <span class="counter">+<?php echo $_smarty_tpl->getVariable('menu')->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['counter'];?>
</span><?php }?></a>
<?php }?>
<?php endfor; endif; ?>
</div>
