Viewing file: 130db08d06fcf3da8e588ade902365cc9eda7fd8.file.actual.tpl.php (32.81 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2014-10-06 23:34:00 compiled from "modules/actual/templates/actual.tpl" */ ?> <?php /*%%SmartyHeaderCode:17867070364dc99f4a5feac5-13071882%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '130db08d06fcf3da8e588ade902365cc9eda7fd8' => array ( 0 => 'modules/actual/templates/actual.tpl', 1 => 1410983425, ), ), 'nocache_hash' => '17867070364dc99f4a5feac5-13071882', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <?php if (!is_callable('smarty_function_html_options')) include 'modules-alien/smarty/libs/plugins/function.html_options.php'; if (!is_callable('smarty_function_html_radios')) include 'modules-alien/smarty/libs/plugins/function.html_radios.php'; ?> <form method="post" enctype="multipart/form-data"> <table class="editor-table"> <tr> <th> <div id="current-language"> <?php $_smarty_tpl->tpl_vars['lang'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('languages')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['iteration']=0; if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['lang']->key => $_smarty_tpl->tpl_vars['lang']->value){ $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['iteration']++; ?> <input type="radio" <?php if ($_smarty_tpl->tpl_vars['lang']->value==GetParam("DefaultLanguage")){?> checked="checked" <?php }?> id="current-language<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['iteration'];?> " name="current-language" value="<?php echo $_smarty_tpl->tpl_vars['lang']->value;?> " /> <label for="current-language<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['iteration'];?> "><img src="/admin/images/<?php echo $_smarty_tpl->tpl_vars['lang']->value;?> 30x20.gif" /></label> <?php }} ?> </div> </th> </tr> <tr> <td> <table class="bordered"><tr><td> <?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreDate'];?> : <select name="actual_date_year" id="actual_date_year"> <?php ob_start();?><?php echo GetCurrentYear()+1;?> <?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo GetCurrentYear()-GetParam("StartYear")+1;?> <?php $_tmp2=ob_get_clean();?><?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['year']); $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['name'] = 'year'; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['loop'] = is_array($_loop=$_tmp1) ? count($_loop) : max(0, (int)$_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['max'] = (int)$_tmp2; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['step'] = ((int)-1) == 0 ? 1 : (int)-1; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['show'] = true; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['max'] < 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['loop']; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['loop']-1; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['max']); if ($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['total'] == 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['show'] = false; } else $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['total'] = 0; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['show']):
for ($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['iteration']++): $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['iteration'] == 1); $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['last'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['year']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['year']['total']); ?> <option value="<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['year']['index'];?> " <?php if ($_smarty_tpl->getVariable('smarty')->value['section']['year']['index']==ParseDate(($_smarty_tpl->getVariable('actual_date')->value),"year")){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['year']['index'];?> </option> <?php endfor; endif; ?> </select> - <select name="actual_date_month" id="actual_date_month"> <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['month']); $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['name'] = 'month'; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start'] = (int)1; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['loop'] = is_array($_loop=13) ? count($_loop) : max(0, (int)$_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['step'] = ((int)1) == 0 ? 1 : (int)1; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start'] < 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start']); else $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['loop']-1); if ($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['max']); if ($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['total'] == 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['show'] = false; } else $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['total'] = 0; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['show']):
for ($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['iteration']++): $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['iteration'] == 1); $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['last'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['month']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['month']['total']); ?> <option value="<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['month']['index'];?> " <?php if ($_smarty_tpl->getVariable('smarty')->value['section']['month']['index']==ParseDate(($_smarty_tpl->getVariable('actual_date')->value),"month")){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->getVariable('ALANG')->value["CoreMonth".($_smarty_tpl->getVariable('smarty')->value['section']['month']['index'])];?> </option> <?php endfor; endif; ?> </select> - <select name="actual_date_day" id="actual_date_day"> <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['day']); $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['name'] = 'day'; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'] = (int)1; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop'] = is_array($_loop=32) ? count($_loop) : max(0, (int)$_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'] = ((int)1) == 0 ? 1 : (int)1; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'] < 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start']); else $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop']-1); if ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['max']); if ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['total'] == 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['show'] = false; } else $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['total'] = 0; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['show']):
for ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration']++): $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration'] == 1); $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['last'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['day']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['day']['total']); ?> <option value="<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['day']['index'];?> " <?php if ($_smarty_tpl->getVariable('smarty')->value['section']['day']['index']==ParseDate(($_smarty_tpl->getVariable('actual_date')->value),"day")){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['day']['index'];?> </option> <?php endfor; endif; ?> </select> <?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreTime'];?> : <select name="actual_date_hours" id="actual_date_hours"> <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['hour']); $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['name'] = 'hour'; $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['start'] = (int)0; $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['loop'] = is_array($_loop=24) ? count($_loop) : max(0, (int)$_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['step'] = ((int)1) == 0 ? 1 : (int)1; $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['start'] < 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['start']); else $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['loop']-1); if ($_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['max']); if ($_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['total'] == 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['show'] = false; } else $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['total'] = 0; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['show']):
for ($_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['iteration']++): $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['iteration'] == 1); $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['last'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['hour']['total']); ?> <option value="<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['hour']['index'];?> " <?php if ($_smarty_tpl->getVariable('smarty')->value['section']['hour']['index']==ParseDate(($_smarty_tpl->getVariable('actual_date')->value),"hours")){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['hour']['index'];?> </option> <?php endfor; endif; ?> </select> : <select name="actual_date_minutes" id="actual_date_minutes"> <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']); $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['name'] = 'minutes'; $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['start'] = (int)0; $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['loop'] = is_array($_loop=61) ? count($_loop) : max(0, (int)$_loop); unset($_loop); $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['step'] = ((int)1) == 0 ? 1 : (int)1; $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['show'] = true; $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['loop']; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['start'] < 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['start']); else $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['loop']-1); if ($_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['show']) { $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['max']); if ($_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['total'] == 0) $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['show'] = false; } else $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['total'] = 0; if ($_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['show']):
for ($_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['iteration'] = 1; $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['total']; $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['iteration']++): $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['iteration']; $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['step']; $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['first'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['iteration'] == 1); $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['last'] = ($_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['minutes']['total']); ?> <option value="<?php echo $_smarty_tpl->getVariable('smarty')->value['section']['minutes']['index'];?> " <?php if ($_smarty_tpl->getVariable('smarty')->value['section']['minutes']['index']==ParseDate(($_smarty_tpl->getVariable('actual_date')->value),"minutes")){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['minutes']['index'];?> </option> <?php endfor; endif; ?> </select></td></tr></table> <input type="hidden" name="actual_date" value="<?php echo $_smarty_tpl->getVariable('actual_date')->value;?> "/> <table class="bordered"> <tr> <td><?php echo $_smarty_tpl->getVariable('ALANG')->value['Actual_actual_show_date'];?> </td> <td><select name="actual_show_date" id="actual_show_date"> <?php echo smarty_function_html_options(array('values'=>array(2,1,0),'output'=>array($_smarty_tpl->getVariable('ALANG')->value['CoreShowDateAndTime'],$_smarty_tpl->getVariable('ALANG')->value['CoreShowOnlyDate'],$_smarty_tpl->getVariable('ALANG')->value['CoreDateNoShow']),'selected'=>$_smarty_tpl->getVariable('actual_show_date')->value),$_smarty_tpl->smarty,$_smarty_tpl);?> </select> </td> </tr> <tr> <td><?php echo $_smarty_tpl->getVariable('ALANG')->value['Actual_actual_show_title'];?> </td> <td><?php echo smarty_function_html_radios(array('name'=>'actual_show_title','values'=>array('Y','N'),'output'=>array($_smarty_tpl->getVariable('ALANG')->value['CoreYes'],$_smarty_tpl->getVariable('ALANG')->value['CoreNo']),'selected'=>$_smarty_tpl->getVariable('actual_show_title')->value,'separator'=>' '),$_smarty_tpl->smarty,$_smarty_tpl);?> </td> </tr> <tr> <td><?php echo $_smarty_tpl->getVariable('ALANG')->value['Actual_actual_show_read_more_link'];?> </td> <td><?php echo smarty_function_html_radios(array('name'=>'actual_show_read_more_link','values'=>array('Y','N'),'output'=>array($_smarty_tpl->getVariable('ALANG')->value['CoreYes'],$_smarty_tpl->getVariable('ALANG')->value['CoreNo']),'selected'=>$_smarty_tpl->getVariable('actual_show_read_more_link')->value,'separator'=>' '),$_smarty_tpl->smarty,$_smarty_tpl);?> </td> </tr> </table> <div class="ukr"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Actual_actual_title'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="3" cols="100" name="actual_title_ukr" id="actual_title_ukr"><?php echo $_smarty_tpl->getVariable('actual_title_ukr')->value;?> </textarea> </div> <div class="rus"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Actual_actual_title'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="3" cols="100" name="actual_title_rus" id="actual_title_rus"><?php echo $_smarty_tpl->getVariable('actual_title_rus')->value;?> </textarea> </div> <div class="eng"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Actual_actual_title'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="3" cols="100" name="actual_title_eng" id="actual_title_eng"><?php echo $_smarty_tpl->getVariable('actual_title_eng')->value;?> </textarea> </div> <div class="keywords"> <div class="ukr"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreKeywords'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="2" cols="100" name="actual_keywords_ukr" id="actual_keywords_ukr"><?php echo $_smarty_tpl->getVariable('actual_keywords_ukr')->value;?> </textarea> </div> <div class="rus"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreKeywords'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="2" cols="100" name="actual_keywords_rus" id="actual_keywords_rus"><?php echo $_smarty_tpl->getVariable('actual_keywords_rus')->value;?> </textarea> </div> <div class="eng"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreKeywords'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="2" cols="100" name="actual_keywords_eng" id="actual_keywords_eng"><?php echo $_smarty_tpl->getVariable('actual_keywords_eng')->value;?> </textarea> </div> </div> <div class="description"> <div class="ukr"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreDescription'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="2" cols="100" name="actual_description_ukr" id="actual_description_ukr"><?php echo $_smarty_tpl->getVariable('actual_description_ukr')->value;?> </textarea> </div> <div class="rus"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreDescription'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="2" cols="100" name="actual_description_rus" id="actual_description_rus"><?php echo $_smarty_tpl->getVariable('actual_description_rus')->value;?> </textarea> </div> <div class="eng"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreDescription'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="2" cols="100" name="actual_description_eng" id="actual_description_eng"><?php echo $_smarty_tpl->getVariable('actual_description_eng')->value;?> </textarea> </div> </div> <div class="ukr"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Actual_actual_short_text'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="5" cols="80" name="actual_short_text_ukr" class="ckeditor"><?php echo $_smarty_tpl->getVariable('actual_short_text_ukr')->value;?> </textarea> </div> <div class="rus"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Actual_actual_short_text'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="5" cols="80" name="actual_short_text_rus" class="ckeditor"><?php echo $_smarty_tpl->getVariable('actual_short_text_rus')->value;?> </textarea> </div> <div class="eng"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Actual_actual_short_text'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="5" cols="80" name="actual_short_text_eng" class="ckeditor"><?php echo $_smarty_tpl->getVariable('actual_short_text_eng')->value;?> </textarea> </div> <div class="ukr"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Actual_actual_text'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="5" cols="80" name="actual_text_ukr" class="ckeditor"><?php echo $_smarty_tpl->getVariable('actual_text_ukr')->value;?> </textarea> </div> <div class="rus"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Actual_actual_text'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="5" cols="80" name="actual_text_rus" class="ckeditor"><?php echo $_smarty_tpl->getVariable('actual_text_rus')->value;?> </textarea> </div> <div class="eng"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Actual_actual_text'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br /> <textarea rows="5" cols="80" name="actual_text_eng" class="ckeditor"><?php echo $_smarty_tpl->getVariable('actual_text_eng')->value;?> </textarea> </div> <?php echo $_smarty_tpl->getVariable('ALANG')->value['PhotomanagerMainPhoto'];?> :<br /> <?php echo $_smarty_tpl->getVariable('photo_admin_table1')->value;?> <br /> <?php echo $_smarty_tpl->getVariable('ALANG')->value['PhotomanagerPhotoBlock'];?> : <br /> <br /> <?php echo $_smarty_tpl->getVariable('photo_admin_table2')->value;?> <br /><input value="<?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreSave'];?> " type="submit" name="submit" id="submit" class="ui-state-default ui-widget ui-corner-all" /></td> <input type="hidden" name="oper" value="<?php echo $_smarty_tpl->getVariable('oper')->value;?> " /> </td> </tr> </table> </form> <script type="text/javascript"> $(document).ready(function() { $("select[name='actual_date_year'], select[name='actual_date_month'], select[name='actual_date_day'], select[name='actual_date_hours'], select[name='actual_date_minutes']").click(function() { str = $("select[name='actual_date_year']").val() + "-" + $("select[name='actual_date_month']").val() + "-" + $("select[name='actual_date_day']").val() + " " + $("select[name='actual_date_hours']").val() + ":" + $("select[name='actual_date_minutes']").val(); $("input[name='actual_date']").attr("value", str); }); }); </script>
|