<?php /* Smarty version 2.6.12, created on 2011-01-18 14:26:19
         compiled from whatsnew_view_main_init.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'whatsnew_view_main_init.html', 4, false),array('modifier', 'string_format', 'whatsnew_view_main_init.html', 15, false),array('modifier', 'explode', 'whatsnew_view_main_init.html', 27, false),array('modifier', 'sprintf', 'whatsnew_view_main_init.html', 29, false),array('modifier', 'get_modules_image', 'whatsnew_view_main_init.html', 56, false),)), $this); ?>
<?php echo '<div class="nowrap">';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['whatsnew_obj']['allow_switch_days'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON )):  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['whatsnew_obj']['display_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _OFF )):  echo '<label for="whatsnew_display_days';  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']['whatsnew_days_prefix'];  echo '<select id="whatsnew_display_days';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" name="display_days" onchange=\'whatsnewCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].switchMain(null,this.value, ';  echo ((is_array($_tmp=@_OFF)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ');\'>';  unset($this->_sections['days']);
$this->_sections['days']['name'] = 'days';
$this->_sections['days']['loop'] = is_array($_loop=32) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['days']['start'] = (int)0;
$this->_sections['days']['step'] = ((int)1) == 0 ? 1 : (int)1;
$this->_sections['days']['show'] = true;
$this->_sections['days']['max'] = $this->_sections['days']['loop'];
if ($this->_sections['days']['start'] < 0)
    $this->_sections['days']['start'] = max($this->_sections['days']['step'] > 0 ? 0 : -1, $this->_sections['days']['loop'] + $this->_sections['days']['start']);
else
    $this->_sections['days']['start'] = min($this->_sections['days']['start'], $this->_sections['days']['step'] > 0 ? $this->_sections['days']['loop'] : $this->_sections['days']['loop']-1);
if ($this->_sections['days']['show']) {
    $this->_sections['days']['total'] = min(ceil(($this->_sections['days']['step'] > 0 ? $this->_sections['days']['loop'] - $this->_sections['days']['start'] : $this->_sections['days']['start']+1)/abs($this->_sections['days']['step'])), $this->_sections['days']['max']);
    if ($this->_sections['days']['total'] == 0)
        $this->_sections['days']['show'] = false;
} else
    $this->_sections['days']['total'] = 0;
if ($this->_sections['days']['show']):

            for ($this->_sections['days']['index'] = $this->_sections['days']['start'], $this->_sections['days']['iteration'] = 1;
                 $this->_sections['days']['iteration'] <= $this->_sections['days']['total'];
                 $this->_sections['days']['index'] += $this->_sections['days']['step'], $this->_sections['days']['iteration']++):
$this->_sections['days']['rownum'] = $this->_sections['days']['iteration'];
$this->_sections['days']['index_prev'] = $this->_sections['days']['index'] - $this->_sections['days']['step'];
$this->_sections['days']['index_next'] = $this->_sections['days']['index'] + $this->_sections['days']['step'];
$this->_sections['days']['first']      = ($this->_sections['days']['iteration'] == 1);
$this->_sections['days']['last']       = ($this->_sections['days']['iteration'] == $this->_sections['days']['total']);
 echo '';  $this->assign('days', ((is_array($_tmp=$this->_sections['days']['index'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')));  echo '<option value="';  echo ((is_array($_tmp=$this->_tpl_vars['days'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"';  if (( ((is_array($_tmp=$this->_tpl_vars['days'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['action']['whatsnew_obj']['display_days'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo ' selected="selected"';  endif;  echo '>';  if (( ((is_array($_tmp=$this->_tpl_vars['days'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == '0' )):  echo '';  echo $this->_tpl_vars['lang']['whatsnew_days_today'];  echo '';  else:  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['days'])) ? $this->_run_mod_handler('string_format', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['whatsnew_days_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']['whatsnew_days_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '';  endif;  echo '</option>';  endfor; endif;  echo '</select>';  echo $this->_tpl_vars['lang']['whatsnew_days_suffix'];  echo '</label>&nbsp;';  else:  echo '<label for="whatsnew_the_number_of_display';  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']['whatsnew_the_number_of_display'];  echo '&nbsp;<select id="whatsnew_the_number_of_display';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" name="display_number" onchange=\'whatsnewCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].switchMain(null,this.value, ';  echo ((is_array($_tmp=@_ON)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo ');\'>';  $this->assign('test', ((is_array($_tmp="|")) ? $this->_run_mod_handler('explode', true, $_tmp, ((is_array($_tmp=@WHATSNEW_THE_NUMBER_OF_DISPLAY)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : explode($_tmp, ((is_array($_tmp=@WHATSNEW_THE_NUMBER_OF_DISPLAY)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))));  echo '';  $_from = ((is_array($_tmp=$this->_tpl_vars['test'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['number'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['number']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['num']):
        $this->_foreach['number']['iteration']++;
 echo '<option value="';  echo ((is_array($_tmp=$this->_tpl_vars['num'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" ';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['whatsnew_obj']['display_number'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['num'])) ? $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['lang']['whatsnew_display_number'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, ($this->_tpl_vars['num'])) : sprintf($_tmp, ($this->_tpl_vars['num'])));  echo '</option>';  endforeach; endif; unset($_from);  echo '</select></label>&nbsp;';  endif;  echo '';  endif;  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['whatsnew_obj']['allow_switch_type'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON )):  echo '<label for="whatsnew_display_type';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"><select id="whatsnew_display_type';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" name="display_type" onchange=\'whatsnewCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].switchMain(this.value,null);\'><option value="';  echo ((is_array($_tmp=@WHATSNEW_DEF_FLAT)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['whatsnew_obj']['display_type'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == WHATSNEW_DEF_FLAT )):  echo ' selected="selected"';  endif;  echo ' />';  echo $this->_tpl_vars['lang']['whatsnew_display_type_flat'];  echo '</option><option value="';  echo ((is_array($_tmp=@WHATSNEW_DEF_MODULE)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['whatsnew_obj']['display_type'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == WHATSNEW_DEF_MODULE )):  echo ' selected="selected"';  endif;  echo ' />';  echo $this->_tpl_vars['lang']['whatsnew_display_type_module'];  echo '</option><option value="';  echo ((is_array($_tmp=@WHATSNEW_DEF_ROOM)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['whatsnew_obj']['display_type'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == WHATSNEW_DEF_ROOM )):  echo ' selected="selected"';  endif;  echo ' />';  echo $this->_tpl_vars['lang']['whatsnew_display_type_room'];  echo '</option></select></label>&nbsp;';  endif;  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['whatsnew_obj']['allow_rss_feed'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON )):  echo '<a id="whatsnew_rss';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" href="';  echo ((is_array($_tmp=@BASE_URL)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  echo ((is_array($_tmp=@INDEX_FILE_NAME)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '?action=whatsnew_view_main_rss&amp;page_id=';  echo ((is_array($_tmp=$this->_tpl_vars['page_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '&amp;block_id=';  echo ((is_array($_tmp=$this->_tpl_vars['block_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '&amp;';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['whatsnew_obj']['display_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _OFF )):  echo 'display_days=';  echo ((is_array($_tmp=$this->_tpl_vars['action']['whatsnew_obj']['display_days'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  else:  echo 'display_number=';  echo ((is_array($_tmp=$this->_tpl_vars['action']['whatsnew_obj']['display_number'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  endif;  echo '&amp;_header=';  echo ((is_array($_tmp=@_OFF)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" class="whatsnew_rss_link" target="_blank" title="';  echo $this->_tpl_vars['lang']['whatsnew_title_rss'];  echo '"><img class="icon" src="';  echo ((is_array($_tmp="rss.gif")) ? $this->_run_mod_handler('get_modules_image', true, $_tmp) : get_modules_image($_tmp));  echo '" alt="';  echo $this->_tpl_vars['lang']['whatsnew_alt_rss'];  echo '" title="" /></a>';  endif;  echo '</div>';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['whatsnew_obj']['allow_switch_days'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON || ((is_array($_tmp=$this->_tpl_vars['action']['whatsnew_obj']['allow_switch_type'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == _ON )):  echo '<div class="hr"></div>';  endif;  echo '<div id="whatsnew_contents';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "whatsnew_view_main_result.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '</div>';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../whatsnew_script.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo ''; ?>