<?php /* Smarty version 2.6.12, created on 2011-01-18 14:25:59
         compiled from calendar_view_main_plan_list.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'explode', 'calendar_view_main_plan_list.html', 5, false),array('modifier', 'escape', 'calendar_view_main_plan_list.html', 5, false),array('modifier', 'date', 'calendar_view_main_plan_list.html', 6, false),array('modifier', 'sprintf', 'calendar_view_main_plan_list.html', 7, false),array('modifier', 'cat', 'calendar_view_main_plan_list.html', 21, false),array('modifier', 'get_image_url', 'calendar_view_main_plan_list.html', 51, false),array('modifier', 'get_themes_image', 'calendar_view_main_plan_list.html', 62, false),)), $this); ?>
<?php echo '<div class="outerdiv nowrap">';  $this->assign('weekArr', ((is_array($_tmp="|")) ? $this->_run_mod_handler('explode', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['calendar_week'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : explode($_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['calendar_week'])) ? $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['action']['current_timestamp'])) : date($_tmp, ($this->_tpl_vars['action']['current_timestamp']))));  echo '';  $this->assign('wday_string', ((is_array($_tmp=$this->_tpl_vars['lang']['calendar_wday_format'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, ($this->_tpl_vars['weekArr'][$this->_tpl_vars['wday']])) : sprintf($_tmp, ($this->_tpl_vars['weekArr'][$this->_tpl_vars['wday']]))));  echo '';  $this->assign('date', ((is_array($_tmp=$this->_tpl_vars['action']['date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['holidays'][$this->_tpl_vars['date']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo '';  $this->assign('day_class', 'calendar_holiday');  echo '';  elseif (( ((is_array($_tmp=$this->_tpl_vars['wday'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) % 7 == 0 )):  echo '';  $this->assign('day_class', 'calendar_sunday');  echo '';  elseif (( ((is_array($_tmp=$this->_tpl_vars['wday'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) % 7 == 6 )):  echo '';  $this->assign('day_class', 'calendar_saturday');  echo '';  else:  echo '';  $this->assign('day_class', 'calendar_weekday');  echo '';  endif;  echo '<div class="nowrap calendar_date"><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="#" onclick=\'calendarCls["';  echo ((is_array($_tmp=$_SESSION['calendar']['_id'][$this->_tpl_vars['block_id']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].changeCalendar("';  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=@CALENDAR_DAILY)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"); commonCls.removeBlock("';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"); return false;\'>';  echo ((is_array($_tmp=((is_array($_tmp=($this->_tpl_vars['lang']['calendar_date_format']))) ? $this->_run_mod_handler('date', true, $_tmp, ($this->_tpl_vars['action']['current_timestamp'])) : date($_tmp, ($this->_tpl_vars['action']['current_timestamp']))))) ? $this->_run_mod_handler('cat', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['wday_string'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : smarty_modifier_cat($_tmp, ((is_array($_tmp=$this->_tpl_vars['wday_string'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '</a><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 ' calendar_lang_holiday">';  echo ((is_array($_tmp=$this->_tpl_vars['action']['holidays'][$this->_tpl_vars['date']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</div></div><div class="hr"></div>';  unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=((is_array($_tmp=$this->_tpl_vars['action']['plan_data'][$this->_tpl_vars['date']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
 echo '';  $this->assign('plan_obj', ((is_array($_tmp=$this->_tpl_vars['action']['plan_data'][$this->_tpl_vars['date']][$this->_sections['i']['index']])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['plan_obj']['plan_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == CALENDAR_PLAN_PUBLIC )):  echo '';  $this->assign('plan_class', 'calendar_plan_public');  echo '';  elseif (( ((is_array($_tmp=$this->_tpl_vars['plan_obj']['plan_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == CALENDAR_PLAN_MEMBERS )):  echo '';  $this->assign('plan_class', 'calendar_plan_members');  echo '';  elseif (( ((is_array($_tmp=$this->_tpl_vars['plan_obj']['plan_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == CALENDAR_PLAN_GROUP )):  echo '';  $this->assign('plan_class', 'calendar_plan_group');  echo '';  elseif (( ((is_array($_tmp=$this->_tpl_vars['plan_obj']['plan_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == CALENDAR_PLAN_PRIVATE )):  echo '';  $this->assign('plan_class', 'calendar_plan_private');  echo '';  elseif (( ((is_array($_tmp=$this->_tpl_vars['plan_obj']['plan_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == CALENDAR_PLAN_PORTAL )):  echo '';  $this->assign('plan_class', 'calendar_plan_portal');  echo '';  endif;  echo '<div class="calendar_plan_popup calendar_plan">';  if (( ((is_array($_tmp=$this->_tpl_vars['plan_obj']['allday_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _OFF || ((is_array($_tmp=$this->_tpl_vars['plan_obj']['timezone_offset'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != ((is_array($_tmp=$_SESSION['_timezone_offset'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo '<div class="calendar_plan_time">';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['calendar_show_time_format'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['plan_obj']['start_time_str'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')), ((is_array($_tmp=$this->_tpl_vars['plan_obj']['end_time_str'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['plan_obj']['start_time_str'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')), ((is_array($_tmp=$this->_tpl_vars['plan_obj']['end_time_str'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '</div>';  endif;  echo '<a class="';  echo ((is_array($_tmp=$this->_tpl_vars['plan_class'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ' calendar_plan_title hover_highlight" href="#" title="';  echo $this->_tpl_vars['plan_obj']['title'];  echo '" onclick=\'calendarCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].showDetails(event, ';  echo ((is_array($_tmp=$this->_tpl_vars['plan_obj']['calendar_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ',';  echo ((is_array($_tmp=@_OFF)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '); return false;\'><img src="';  echo ((is_array($_tmp="")) ? $this->_run_mod_handler('get_image_url', true, $_tmp) : get_image_url($_tmp));  echo '/images/common/blank.gif" class="icon ';  echo ((is_array($_tmp=$this->_tpl_vars['plan_class'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ' calendar_plan_mark" alt="" title="" />';  if (((is_array($_tmp=$this->_tpl_vars['plan_obj']['title_icon'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != ""):  echo '<img class="icon" src="';  echo ((is_array($_tmp="")) ? $this->_run_mod_handler('get_image_url', true, $_tmp) : get_image_url($_tmp));  echo '/images/comp/textarea/';  echo ((is_array($_tmp=$this->_tpl_vars['plan_obj']['title_icon'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" alt="" />';  endif;  echo '';  echo $this->_tpl_vars['plan_obj']['title'];  echo '</a></div>';  endfor; endif;  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' && ((is_array($_tmp=$this->_tpl_vars['block_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != '0' )):  echo '<div class="calendar_easy_addplan print_preview_none"><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="" title="" /><a class="link" href="#" onclick=\'calendarCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].showAddPlan(event,"';  echo ((is_array($_tmp=$this->_tpl_vars['date'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '",null,';  echo ((is_array($_tmp=@_OFF)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '); return false;\'>';  echo $this->_tpl_vars['lang']['calendar_easy_addplan'];  echo '</a></div>';  endif;  echo '</div>';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../calendar_script.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo ''; ?>

