<?php /* Smarty version 2.6.12, created on 2011-01-18 14:26:21
         compiled from reservation_reserve_regist_reserve_time.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'reservation_reserve_regist_reserve_time.html', 4, false),array('modifier', 'substr', 'reservation_reserve_regist_reserve_time.html', 20, false),array('modifier', 'intval', 'reservation_reserve_regist_reserve_time.html', 20, false),array('modifier', 'sprintf', 'reservation_reserve_regist_reserve_time.html', 21, false),array('modifier', 'string_format', 'reservation_reserve_regist_reserve_time.html', 22, false),)), $this); ?>
<?php echo '<th scope="row" class="nowrap"><label for="reserve_date';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  echo $this->_tpl_vars['lang']['reservation_reserve_time'];  echo '</lable></th><td class="nowrap"><input id="reserve_date';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" name="reserve_date" class="reservation_reserve_time" type="text" value="';  echo ((is_array($_tmp=$this->_tpl_vars['reserve']['input_start_date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" size="13" maxlength="10" /><label for="allday_flag';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"><input id="allday_flag';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" type="checkbox" name="allday_flag" value="';  echo ((is_array($_tmp=@_ON)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"';  if (( ((is_array($_tmp=$this->_tpl_vars['reserve']['allday_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON )):  echo ' checked="checked"';  endif;  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 '"].switchAllday(this.form);\' />';  echo $this->_tpl_vars['lang']['reservation_allday_flag'];  echo '</label><br /><select name="start_hour"';  if (( ((is_array($_tmp=$this->_tpl_vars['reserve']['allday_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON )):  echo ' disabled="disabled"';  endif;  echo '>';  unset($this->_sections['hour']);
$this->_sections['hour']['name'] = 'hour';
$this->_sections['hour']['loop'] = is_array($_loop=24) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['hour']['start'] = (int)0;
$this->_sections['hour']['step'] = ((int)1) == 0 ? 1 : (int)1;
$this->_sections['hour']['show'] = true;
$this->_sections['hour']['max'] = $this->_sections['hour']['loop'];
if ($this->_sections['hour']['start'] < 0)
    $this->_sections['hour']['start'] = max($this->_sections['hour']['step'] > 0 ? 0 : -1, $this->_sections['hour']['loop'] + $this->_sections['hour']['start']);
else
    $this->_sections['hour']['start'] = min($this->_sections['hour']['start'], $this->_sections['hour']['step'] > 0 ? $this->_sections['hour']['loop'] : $this->_sections['hour']['loop']-1);
if ($this->_sections['hour']['show']) {
    $this->_sections['hour']['total'] = min(ceil(($this->_sections['hour']['step'] > 0 ? $this->_sections['hour']['loop'] - $this->_sections['hour']['start'] : $this->_sections['hour']['start']+1)/abs($this->_sections['hour']['step'])), $this->_sections['hour']['max']);
    if ($this->_sections['hour']['total'] == 0)
        $this->_sections['hour']['show'] = false;
} else
    $this->_sections['hour']['total'] = 0;
if ($this->_sections['hour']['show']):

            for ($this->_sections['hour']['index'] = $this->_sections['hour']['start'], $this->_sections['hour']['iteration'] = 1;
                 $this->_sections['hour']['iteration'] <= $this->_sections['hour']['total'];
                 $this->_sections['hour']['index'] += $this->_sections['hour']['step'], $this->_sections['hour']['iteration']++):
$this->_sections['hour']['rownum'] = $this->_sections['hour']['iteration'];
$this->_sections['hour']['index_prev'] = $this->_sections['hour']['index'] - $this->_sections['hour']['step'];
$this->_sections['hour']['index_next'] = $this->_sections['hour']['index'] + $this->_sections['hour']['step'];
$this->_sections['hour']['first']      = ($this->_sections['hour']['iteration'] == 1);
$this->_sections['hour']['last']       = ($this->_sections['hour']['iteration'] == $this->_sections['hour']['total']);
 echo '';  $this->assign('hour', ((is_array($_tmp=$this->_sections['hour']['index'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '';  $this->assign('reserve_hour', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['reserve']['start_time_view'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('substr', true, $_tmp, 0, 2) : substr($_tmp, 0, 2)))) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)));  echo '<option value="';  echo ((is_array($_tmp="%02d")) ? $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 '"';  if (( ((is_array($_tmp=$this->_tpl_vars['hour'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['reserve_hour'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo ' selected="selected"';  endif;  echo '>';  echo ((is_array($_tmp=$this->_tpl_vars['hour'])) ? $this->_run_mod_handler('string_format', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['reservation_hour_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : smarty_modifier_string_format($_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['reservation_hour_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '</option>';  endfor; endif;  echo '</select>&nbsp;<select name="start_minute"';  if (( ((is_array($_tmp=$this->_tpl_vars['reserve']['allday_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON )):  echo ' disabled="disabled"';  endif;  echo '>';  unset($this->_sections['minute']);
$this->_sections['minute']['name'] = 'minute';
$this->_sections['minute']['loop'] = is_array($_loop=60) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['minute']['start'] = (int)0;
$this->_sections['minute']['step'] = ((int)5) == 0 ? 1 : (int)5;
$this->_sections['minute']['show'] = true;
$this->_sections['minute']['max'] = $this->_sections['minute']['loop'];
if ($this->_sections['minute']['start'] < 0)
    $this->_sections['minute']['start'] = max($this->_sections['minute']['step'] > 0 ? 0 : -1, $this->_sections['minute']['loop'] + $this->_sections['minute']['start']);
else
    $this->_sections['minute']['start'] = min($this->_sections['minute']['start'], $this->_sections['minute']['step'] > 0 ? $this->_sections['minute']['loop'] : $this->_sections['minute']['loop']-1);
if ($this->_sections['minute']['show']) {
    $this->_sections['minute']['total'] = min(ceil(($this->_sections['minute']['step'] > 0 ? $this->_sections['minute']['loop'] - $this->_sections['minute']['start'] : $this->_sections['minute']['start']+1)/abs($this->_sections['minute']['step'])), $this->_sections['minute']['max']);
    if ($this->_sections['minute']['total'] == 0)
        $this->_sections['minute']['show'] = false;
} else
    $this->_sections['minute']['total'] = 0;
if ($this->_sections['minute']['show']):

            for ($this->_sections['minute']['index'] = $this->_sections['minute']['start'], $this->_sections['minute']['iteration'] = 1;
                 $this->_sections['minute']['iteration'] <= $this->_sections['minute']['total'];
                 $this->_sections['minute']['index'] += $this->_sections['minute']['step'], $this->_sections['minute']['iteration']++):
$this->_sections['minute']['rownum'] = $this->_sections['minute']['iteration'];
$this->_sections['minute']['index_prev'] = $this->_sections['minute']['index'] - $this->_sections['minute']['step'];
$this->_sections['minute']['index_next'] = $this->_sections['minute']['index'] + $this->_sections['minute']['step'];
$this->_sections['minute']['first']      = ($this->_sections['minute']['iteration'] == 1);
$this->_sections['minute']['last']       = ($this->_sections['minute']['iteration'] == $this->_sections['minute']['total']);
 echo '';  $this->assign('minute', ((is_array($_tmp=$this->_sections['minute']['index'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '';  $this->assign('reserve_minute', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['reserve']['start_time_view'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('substr', true, $_tmp, 2, 2) : substr($_tmp, 2, 2)))) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)));  echo '<option value="';  echo ((is_array($_tmp="%02d")) ? $this->_run_mod_handler('sprintf', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['minute'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['minute'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '"';  if (( ((is_array($_tmp=$this->_tpl_vars['minute'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['reserve_minute'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo ' selected="selected"';  endif;  echo '>';  echo ((is_array($_tmp=$this->_tpl_vars['minute'])) ? $this->_run_mod_handler('string_format', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['reservation_minute_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : smarty_modifier_string_format($_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['reservation_minute_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '</option>';  endfor; endif;  echo '</select>';  echo $this->_tpl_vars['lang']['reservation_time_pause'];  echo '<select name="end_hour"';  if (( ((is_array($_tmp=$this->_tpl_vars['reserve']['allday_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON )):  echo ' disabled="disabled"';  endif;  echo ' onchange=\'reservationCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].switchTime24Reserve(this.form);\'>';  unset($this->_sections['hour']);
$this->_sections['hour']['name'] = 'hour';
$this->_sections['hour']['loop'] = is_array($_loop=25) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['hour']['start'] = (int)0;
$this->_sections['hour']['step'] = ((int)1) == 0 ? 1 : (int)1;
$this->_sections['hour']['show'] = true;
$this->_sections['hour']['max'] = $this->_sections['hour']['loop'];
if ($this->_sections['hour']['start'] < 0)
    $this->_sections['hour']['start'] = max($this->_sections['hour']['step'] > 0 ? 0 : -1, $this->_sections['hour']['loop'] + $this->_sections['hour']['start']);
else
    $this->_sections['hour']['start'] = min($this->_sections['hour']['start'], $this->_sections['hour']['step'] > 0 ? $this->_sections['hour']['loop'] : $this->_sections['hour']['loop']-1);
if ($this->_sections['hour']['show']) {
    $this->_sections['hour']['total'] = min(ceil(($this->_sections['hour']['step'] > 0 ? $this->_sections['hour']['loop'] - $this->_sections['hour']['start'] : $this->_sections['hour']['start']+1)/abs($this->_sections['hour']['step'])), $this->_sections['hour']['max']);
    if ($this->_sections['hour']['total'] == 0)
        $this->_sections['hour']['show'] = false;
} else
    $this->_sections['hour']['total'] = 0;
if ($this->_sections['hour']['show']):

            for ($this->_sections['hour']['index'] = $this->_sections['hour']['start'], $this->_sections['hour']['iteration'] = 1;
                 $this->_sections['hour']['iteration'] <= $this->_sections['hour']['total'];
                 $this->_sections['hour']['index'] += $this->_sections['hour']['step'], $this->_sections['hour']['iteration']++):
$this->_sections['hour']['rownum'] = $this->_sections['hour']['iteration'];
$this->_sections['hour']['index_prev'] = $this->_sections['hour']['index'] - $this->_sections['hour']['step'];
$this->_sections['hour']['index_next'] = $this->_sections['hour']['index'] + $this->_sections['hour']['step'];
$this->_sections['hour']['first']      = ($this->_sections['hour']['iteration'] == 1);
$this->_sections['hour']['last']       = ($this->_sections['hour']['iteration'] == $this->_sections['hour']['total']);
 echo '';  $this->assign('hour', ((is_array($_tmp=$this->_sections['hour']['index'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '';  $this->assign('reserve_hour', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['reserve']['end_time_view'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('substr', true, $_tmp, 0, 2) : substr($_tmp, 0, 2)))) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)));  echo '<option value="';  echo ((is_array($_tmp="%02d")) ? $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 '"';  if (( ((is_array($_tmp=$this->_tpl_vars['hour'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['reserve_hour'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo ' selected="selected"';  endif;  echo '>';  echo ((is_array($_tmp=$this->_tpl_vars['hour'])) ? $this->_run_mod_handler('string_format', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['reservation_hour_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : smarty_modifier_string_format($_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['reservation_hour_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '</option>';  endfor; endif;  echo '</select>&nbsp;<select name="end_minute"';  if (( ((is_array($_tmp=$this->_tpl_vars['reserve']['allday_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON )):  echo ' disabled="disabled"';  endif;  echo '>';  unset($this->_sections['minute']);
$this->_sections['minute']['name'] = 'minute';
$this->_sections['minute']['loop'] = is_array($_loop=60) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['minute']['start'] = (int)0;
$this->_sections['minute']['step'] = ((int)5) == 0 ? 1 : (int)5;
$this->_sections['minute']['show'] = true;
$this->_sections['minute']['max'] = $this->_sections['minute']['loop'];
if ($this->_sections['minute']['start'] < 0)
    $this->_sections['minute']['start'] = max($this->_sections['minute']['step'] > 0 ? 0 : -1, $this->_sections['minute']['loop'] + $this->_sections['minute']['start']);
else
    $this->_sections['minute']['start'] = min($this->_sections['minute']['start'], $this->_sections['minute']['step'] > 0 ? $this->_sections['minute']['loop'] : $this->_sections['minute']['loop']-1);
if ($this->_sections['minute']['show']) {
    $this->_sections['minute']['total'] = min(ceil(($this->_sections['minute']['step'] > 0 ? $this->_sections['minute']['loop'] - $this->_sections['minute']['start'] : $this->_sections['minute']['start']+1)/abs($this->_sections['minute']['step'])), $this->_sections['minute']['max']);
    if ($this->_sections['minute']['total'] == 0)
        $this->_sections['minute']['show'] = false;
} else
    $this->_sections['minute']['total'] = 0;
if ($this->_sections['minute']['show']):

            for ($this->_sections['minute']['index'] = $this->_sections['minute']['start'], $this->_sections['minute']['iteration'] = 1;
                 $this->_sections['minute']['iteration'] <= $this->_sections['minute']['total'];
                 $this->_sections['minute']['index'] += $this->_sections['minute']['step'], $this->_sections['minute']['iteration']++):
$this->_sections['minute']['rownum'] = $this->_sections['minute']['iteration'];
$this->_sections['minute']['index_prev'] = $this->_sections['minute']['index'] - $this->_sections['minute']['step'];
$this->_sections['minute']['index_next'] = $this->_sections['minute']['index'] + $this->_sections['minute']['step'];
$this->_sections['minute']['first']      = ($this->_sections['minute']['iteration'] == 1);
$this->_sections['minute']['last']       = ($this->_sections['minute']['iteration'] == $this->_sections['minute']['total']);
 echo '';  $this->assign('minute', ((is_array($_tmp=$this->_sections['minute']['index'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '';  $this->assign('reserve_minute', ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['reserve']['end_time_view'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('substr', true, $_tmp, 2, 2) : substr($_tmp, 2, 2)))) ? $this->_run_mod_handler('intval', true, $_tmp) : intval($_tmp)));  echo '<option value="';  echo ((is_array($_tmp="%02d")) ? $this->_run_mod_handler('sprintf', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['minute'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['minute'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '"';  if (( ((is_array($_tmp=$this->_tpl_vars['minute'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['reserve_minute'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo ' selected="selected"';  endif;  echo '>';  echo ((is_array($_tmp=$this->_tpl_vars['minute'])) ? $this->_run_mod_handler('string_format', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['reservation_minute_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : smarty_modifier_string_format($_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['reservation_minute_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '</option>';  endfor; endif;  echo '</select>';  if (( ((is_array($_tmp=$_SESSION['_timezone_offset'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != ((is_array($_tmp=$this->_tpl_vars['reserve']['timezone_offset'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo '<br />';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "reservation_view_timezone.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '';  endif;  echo '</td>'; ?>

