<?php /* Smarty version 2.6.12, created on 2011-01-18 14:26:17
         compiled from reservation_main_addreserve.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'reservation_main_addreserve.html', 3, false),array('modifier', 'get_themes_image', 'reservation_main_addreserve.html', 6, false),array('modifier', 'sprintf', 'reservation_main_addreserve.html', 13, false),)), $this); ?>
<?php echo '';  if (( ((is_array($_tmp=$_SESSION['_user_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) && ((is_array($_tmp=$_SESSION['_user_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != '0' )):  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['location_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != 0 )):  echo '<a class="icon hover_highlight" href="#" onclick=\'reservationCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].showEasyAddReserve(event,"';  echo ((is_array($_tmp=$this->_tpl_vars['view_date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '",null,"';  echo ((is_array($_tmp=$this->_tpl_vars['location_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"); return false;\'><img src="';  echo ((is_array($_tmp="edit_light.gif")) ? $this->_run_mod_handler('get_themes_image', true, $_tmp) : get_themes_image($_tmp));  echo '" class="icon" alt="';  echo $this->_tpl_vars['lang']['reservation_easy_addreserve'];  echo '" title="';  echo $this->_tpl_vars['lang']['reservation_easy_addreserve'];  echo '" /></a>';  elseif (( ((is_array($_tmp=$this->_tpl_vars['hour'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) === "" )):  echo '<a class="icon hover_highlight" href="#" onclick=\'reservationCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].showEasyAddReserve(event,"';  echo ((is_array($_tmp=$this->_tpl_vars['view_date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"); return false;\'><img src="';  echo ((is_array($_tmp="edit_light.gif")) ? $this->_run_mod_handler('get_themes_image', true, $_tmp) : get_themes_image($_tmp));  echo '" class="icon" alt="';  echo $this->_tpl_vars['lang']['reservation_easy_addreserve'];  echo '" title="';  echo $this->_tpl_vars['lang']['reservation_easy_addreserve'];  echo '" /></a>';  else:  echo '<a class="icon hover_highlight" href="#" onclick=\'reservationCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].showEasyAddReserve(event,"';  echo ((is_array($_tmp=$this->_tpl_vars['view_date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '","';  echo ((is_array($_tmp="%02d00")) ? $this->_run_mod_handler('sprintf', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['hour'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['hour'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '"); return false;\'><img src="';  echo ((is_array($_tmp="edit_light.gif")) ? $this->_run_mod_handler('get_themes_image', true, $_tmp) : get_themes_image($_tmp));  echo '" class="icon" alt="';  echo $this->_tpl_vars['lang']['reservation_easy_addreserve'];  echo '" title="';  echo $this->_tpl_vars['lang']['reservation_easy_addreserve'];  echo '" /></a>';  endif;  echo '';  else:  echo '&nbsp;';  endif;  echo ''; ?>