<?php /* Smarty version 2.6.12, created on 2011-01-18 14:26:24
         compiled from reservation_view_main_init_monthly.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date', 'reservation_view_main_init_monthly.html', 3, false),array('modifier', 'escape', 'reservation_view_main_init_monthly.html', 9, false),array('modifier', 'sprintf', 'reservation_view_main_init_monthly.html', 36, false),array('modifier', 'substr', 'reservation_view_main_init_monthly.html', 39, false),array('function', 'counter', 'reservation_view_main_init_monthly.html', 27, false),)), $this); ?>
<?php echo '';  $this->assign('lang_year', ((is_array($_tmp=$this->_tpl_vars['lang']['reservation_monthly_year_format'])) ? $this->_run_mod_handler('date', true, $_tmp, ($this->_tpl_vars['action']['current_timestamp'])) : date($_tmp, ($this->_tpl_vars['action']['current_timestamp']))));  echo '';  $this->assign('lang_month', ((is_array($_tmp=$this->_tpl_vars['lang']['reservation_monthly_month_format'])) ? $this->_run_mod_handler('date', true, $_tmp, ($this->_tpl_vars['action']['current_timestamp'])) : date($_tmp, ($this->_tpl_vars['action']['current_timestamp']))));  echo '<div class="reservation_monthly">';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "reservation_main_header_monthly.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '<table id="reservation_monthly';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" class="outer reservation_body" summary="';  echo $this->_tpl_vars['lang']['reservation_summary'];  echo '"><tr><td>&nbsp;</td>';  unset($this->_sections['wday']);
$this->_sections['wday']['name'] = 'wday';
$this->_sections['wday']['loop'] = is_array($_loop=((is_array($_tmp=$this->_tpl_vars['action']['week_list'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['wday']['show'] = true;
$this->_sections['wday']['max'] = $this->_sections['wday']['loop'];
$this->_sections['wday']['step'] = 1;
$this->_sections['wday']['start'] = $this->_sections['wday']['step'] > 0 ? 0 : $this->_sections['wday']['loop']-1;
if ($this->_sections['wday']['show']) {
    $this->_sections['wday']['total'] = $this->_sections['wday']['loop'];
    if ($this->_sections['wday']['total'] == 0)
        $this->_sections['wday']['show'] = false;
} else
    $this->_sections['wday']['total'] = 0;
if ($this->_sections['wday']['show']):

            for ($this->_sections['wday']['index'] = $this->_sections['wday']['start'], $this->_sections['wday']['iteration'] = 1;
                 $this->_sections['wday']['iteration'] <= $this->_sections['wday']['total'];
                 $this->_sections['wday']['index'] += $this->_sections['wday']['step'], $this->_sections['wday']['iteration']++):
$this->_sections['wday']['rownum'] = $this->_sections['wday']['iteration'];
$this->_sections['wday']['index_prev'] = $this->_sections['wday']['index'] - $this->_sections['wday']['step'];
$this->_sections['wday']['index_next'] = $this->_sections['wday']['index'] + $this->_sections['wday']['step'];
$this->_sections['wday']['first']      = ($this->_sections['wday']['iteration'] == 1);
$this->_sections['wday']['last']       = ($this->_sections['wday']['iteration'] == $this->_sections['wday']['total']);
 echo '';  $this->assign('index', ((is_array($_tmp=$this->_sections['wday']['iteration']-1)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['index'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) % 7 == 0 )):  echo '';  $this->assign('day_class', 'reservation_sunday');  echo '';  elseif (( ((is_array($_tmp=$this->_tpl_vars['index'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) % 7 == 6 )):  echo '';  $this->assign('day_class', 'reservation_saturday');  echo '';  else:  echo '';  $this->assign('day_class', 'reservation_weekday');  echo '';  endif;  echo '<td class="reservation_date_head ';  echo ((is_array($_tmp=$this->_tpl_vars['day_class'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  echo ((is_array($_tmp=$this->_tpl_vars['action']['week_list'][$this->_sections['wday']['index']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</td>';  endfor; endif;  echo '</tr>';  echo smarty_function_counter(array('name' => 'weeknum','start' => '0','print' => false,'assign' => 'weeknum'), $this); echo '';  unset($this->_sections['timestamp']);
$this->_sections['timestamp']['name'] = 'timestamp';
$this->_sections['timestamp']['loop'] = is_array($_loop=((is_array($_tmp=$this->_tpl_vars['action']['end_timestamp'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['timestamp']['start'] = (int)((is_array($_tmp=$this->_tpl_vars['action']['start_timestamp'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));
$this->_sections['timestamp']['step'] = ((int)86400) == 0 ? 1 : (int)86400;
$this->_sections['timestamp']['show'] = true;
$this->_sections['timestamp']['max'] = $this->_sections['timestamp']['loop'];
if ($this->_sections['timestamp']['start'] < 0)
    $this->_sections['timestamp']['start'] = max($this->_sections['timestamp']['step'] > 0 ? 0 : -1, $this->_sections['timestamp']['loop'] + $this->_sections['timestamp']['start']);
else
    $this->_sections['timestamp']['start'] = min($this->_sections['timestamp']['start'], $this->_sections['timestamp']['step'] > 0 ? $this->_sections['timestamp']['loop'] : $this->_sections['timestamp']['loop']-1);
if ($this->_sections['timestamp']['show']) {
    $this->_sections['timestamp']['total'] = min(ceil(($this->_sections['timestamp']['step'] > 0 ? $this->_sections['timestamp']['loop'] - $this->_sections['timestamp']['start'] : $this->_sections['timestamp']['start']+1)/abs($this->_sections['timestamp']['step'])), $this->_sections['timestamp']['max']);
    if ($this->_sections['timestamp']['total'] == 0)
        $this->_sections['timestamp']['show'] = false;
} else
    $this->_sections['timestamp']['total'] = 0;
if ($this->_sections['timestamp']['show']):

            for ($this->_sections['timestamp']['index'] = $this->_sections['timestamp']['start'], $this->_sections['timestamp']['iteration'] = 1;
                 $this->_sections['timestamp']['iteration'] <= $this->_sections['timestamp']['total'];
                 $this->_sections['timestamp']['index'] += $this->_sections['timestamp']['step'], $this->_sections['timestamp']['iteration']++):
$this->_sections['timestamp']['rownum'] = $this->_sections['timestamp']['iteration'];
$this->_sections['timestamp']['index_prev'] = $this->_sections['timestamp']['index'] - $this->_sections['timestamp']['step'];
$this->_sections['timestamp']['index_next'] = $this->_sections['timestamp']['index'] + $this->_sections['timestamp']['step'];
$this->_sections['timestamp']['first']      = ($this->_sections['timestamp']['iteration'] == 1);
$this->_sections['timestamp']['last']       = ($this->_sections['timestamp']['iteration'] == $this->_sections['timestamp']['total']);
 echo '';  $this->assign('timestamp', ((is_array($_tmp=$this->_sections['timestamp']['index'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '';  $this->assign('date', ((is_array($_tmp='Ymd')) ? $this->_run_mod_handler('date', true, $_tmp, ((is_array($_tmp=$this->_sections['timestamp']['index'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : date($_tmp, ((is_array($_tmp=$this->_sections['timestamp']['index'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))));  echo '';  $this->assign('index', ((is_array($_tmp=$this->_sections['timestamp']['iteration']-1)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '';  $this->assign('wday', ((is_array($_tmp='w')) ? $this->_run_mod_handler('date', true, $_tmp, ($this->_tpl_vars['timestamp'])) : date($_tmp, ($this->_tpl_vars['timestamp']))));  echo '';  $this->assign('wday_data', ((is_array($_tmp=$this->_tpl_vars['action']['week_list'][$this->_tpl_vars['wday']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '';  $this->assign('lang_wday', ((is_array($_tmp=$this->_tpl_vars['lang']['reservation_wday_format'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, ($this->_tpl_vars['wday_data']['name'])) : sprintf($_tmp, ($this->_tpl_vars['wday_data']['name']))));  echo '';  $this->assign('lang_day', ((is_array($_tmp=$this->_tpl_vars['lang']['reservation_weekly_format'])) ? $this->_run_mod_handler('date', true, $_tmp, ($this->_tpl_vars['timestamp'])) : date($_tmp, ($this->_tpl_vars['timestamp']))));  echo '';  if (( ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('substr', true, $_tmp, 0, 6) : substr($_tmp, 0, 6)) != ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['action']['view_date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('substr', true, $_tmp, 0, 6) : substr($_tmp, 0, 6)) )):  echo '';  $this->assign('day_class', 'reservation_outside');  echo '';  else:  echo '';  ob_start();
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "reservation_main_set_day_class.html", 'smarty_include_vars' => array('view_date' => ((is_array($_tmp=$this->_tpl_vars['action']['view_date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')),'set_date' => ((is_array($_tmp=$this->_tpl_vars['date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')),'wday' => ((is_array($_tmp=$this->_tpl_vars['wday'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
$this->assign('day_class', ob_get_contents()); ob_end_clean();
  echo '';  endif;  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['index'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) % 7 == 0 )):  echo '<tr>';  if (( ((is_array($_tmp=$this->_tpl_vars['weeknum'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 0 )):  echo '';  $this->assign('week_date', ((is_array($_tmp=$this->_tpl_vars['action']['this_month'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '';  else:  echo '';  $this->assign('week_date', ((is_array($_tmp=$this->_tpl_vars['date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '';  endif;  echo '';  echo smarty_function_counter(array('name' => 'weeknum','print' => false), $this); echo '<th class="head reservation_weeknum" scope="row"><a class="link" href="#" title="';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['reservation_weeknum_title'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['lang_year'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')), ((is_array($_tmp=$this->_tpl_vars['lang_month'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')), ((is_array($_tmp=$this->_tpl_vars['weeknum'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['lang_year'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')), ((is_array($_tmp=$this->_tpl_vars['lang_month'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')), ((is_array($_tmp=$this->_tpl_vars['weeknum'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '" onclick=\'reservationCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].changeReservation("';  echo ((is_array($_tmp=$this->_tpl_vars['week_date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '", "';  echo ((is_array($_tmp=@RESERVATION_DEF_WEEKLY)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"); return false;\'>';  if (( ((is_array($_tmp=$this->_tpl_vars['weeknum'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 1 )):  echo '';  echo $this->_tpl_vars['lang']['reservation_first_week'];  echo '';  elseif (( ((is_array($_tmp=$this->_tpl_vars['weeknum'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 2 )):  echo '';  echo $this->_tpl_vars['lang']['reservation_second_week'];  echo '';  elseif (( ((is_array($_tmp=$this->_tpl_vars['weeknum'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 3 )):  echo '';  echo $this->_tpl_vars['lang']['reservation_third_week'];  echo '';  elseif (( ((is_array($_tmp=$this->_tpl_vars['weeknum'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 4 )):  echo '';  echo $this->_tpl_vars['lang']['reservation_fourth_week'];  echo '';  elseif (( ((is_array($_tmp=$this->_tpl_vars['weeknum'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 5 )):  echo '';  echo $this->_tpl_vars['lang']['reservation_fifth_week'];  echo '';  elseif (( ((is_array($_tmp=$this->_tpl_vars['weeknum'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == 6 )):  echo '';  echo $this->_tpl_vars['lang']['reservation_sixth_week'];  echo '';  else:  echo '';  echo $this->_tpl_vars['weeknum'];  echo '';  endif;  echo '</a></th>';  endif;  echo '<td class="reservation_date';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['reserve_data'][$this->_tpl_vars['date']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) && ((is_array($_tmp=$this->_tpl_vars['date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != ((is_array($_tmp=$this->_tpl_vars['action']['today'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo ' reservation_reserve';  endif;  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['action']['today'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo ' reservation_today';  endif;  echo '"><div class="reservation_date_num"><a class="';  echo ((is_array($_tmp=$this->_tpl_vars['day_class'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ' hover_highlight" href="#" title="';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['reservation_ref_title_ymd'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['lang_year'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')), ((is_array($_tmp=$this->_tpl_vars['lang_month'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')), ((is_array($_tmp=$this->_tpl_vars['lang_day'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')), ((is_array($_tmp=$this->_tpl_vars['lang_wday'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['lang_year'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')), ((is_array($_tmp=$this->_tpl_vars['lang_month'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')), ((is_array($_tmp=$this->_tpl_vars['lang_day'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')), ((is_array($_tmp=$this->_tpl_vars['lang_wday'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '" onclick=\'reservationCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].changeReservation("';  echo ((is_array($_tmp=$this->_tpl_vars['date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '", "';  echo ((is_array($_tmp=@RESERVATION_DEF_LOCATION)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"); return false;\'>';  echo ((is_array($_tmp='j')) ? $this->_run_mod_handler('date', true, $_tmp, ($this->_tpl_vars['timestamp'])) : date($_tmp, ($this->_tpl_vars['timestamp'])));  echo '</a></div><div class="reservation_addreserve">';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "reservation_main_addreserve.html", 'smarty_include_vars' => array('view_date' => ((is_array($_tmp=$this->_tpl_vars['date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')),'hour' => "")));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '</div>';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['holiday_list'][$this->_tpl_vars['date']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo '<div class="';  echo ((is_array($_tmp=$this->_tpl_vars['day_class'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ' reservation_lang_holiday float-clear">';  echo ((is_array($_tmp=$this->_tpl_vars['action']['holiday_list'][$this->_tpl_vars['date']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</div>';  endif;  echo '<br class="float-clear" /><div class="reservation_reserve_list">';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "reservation_view_main_list_monthly.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '</div></td>';  if (( ((is_array($_tmp=$this->_tpl_vars['index'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) % 7 == 6 )):  echo '</tr>';  endif;  echo '';  endfor; endif;  echo '<tr><td colspan="8">';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "reservation_main_swicth_display_type.html", 'smarty_include_vars' => array('display_type' => ((is_array($_tmp=@RESERVATION_DEF_MONTHLY)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '</td></tr></table></div>';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../reservation_script.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '<script class="nc_script" type="text/javascript">reservationCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].disp_type = "';  echo ((is_array($_tmp=@RESERVATION_DEF_MONTHLY)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '";reservationCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].view_date = "';  echo ((is_array($_tmp=$this->_tpl_vars['action']['this_month'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '";reservationCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].category_id = "';  echo ((is_array($_tmp=$this->_tpl_vars['action']['reserve_block']['category_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '";reservationCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].location_id = "';  echo ((is_array($_tmp=$this->_tpl_vars['action']['reserve_block']['location_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '";reservationCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].today = "';  echo ((is_array($_tmp=$this->_tpl_vars['action']['today'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '";';  if (( ((is_array($_tmp=$_SESSION['reservation']['popup_move']['_id'][$this->_tpl_vars['block_id']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo 'if(reservationCls["';  echo ((is_array($_tmp=$_SESSION['reservation']['popup_move']['_id'][$this->_tpl_vars['block_id']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"]) {reservationCls["';  echo ((is_array($_tmp=$_SESSION['reservation']['popup_move']['_id'][$this->_tpl_vars['block_id']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].setMoveDate("';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '", "';  echo ((is_array($_tmp=$this->_tpl_vars['action']['input_date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '");}';  endif;  echo '</script>'; ?>