Viewing file: fa0fed986917853d6df551bb589441dc078d3130.file.news.tpl.php (32.07 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-05-15 16:15:57 compiled from "modules/blog/templates/news.tpl" */ ?> <?php /*%%SmartyHeaderCode:5180196714fb2570dbb55d2-97464084%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'fa0fed986917853d6df551bb589441dc078d3130' => array ( 0 => 'modules/blog/templates/news.tpl', 1 => 1337087756, ), ), 'nocache_hash' => '5180196714fb2570dbb55d2-97464084', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <?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==$_smarty_tpl->getVariable('alang')->value){?> 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 colspan="2">
<table border="0" class="bordered">
<tr>
<td><?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreDate'];?> :
<select name="news_date_year" id="news_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('news_date')->value),"year")){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['year']['index'];?> </option>
<?php endfor; endif; ?>
</select> -
<select name="news_date_month" id="news_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('news_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="news_date_day" id="news_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('news_date')->value),"day")){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['day']['index'];?> </option>
<?php endfor; endif; ?>
</select>
</td>
<td> <?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreTime'];?> :
<select name="news_date_hours" id="news_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('news_date')->value),"hours")){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['hour']['index'];?> </option>
<?php endfor; endif; ?>
</select> :
<select name="news_date_minutes" id="news_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('news_date')->value),"minutes")){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->getVariable('smarty')->value['section']['minutes']['index'];?> </option>
<?php endfor; endif; ?>
</select>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><table class="bordered">
<tr>
<td><?php echo $_smarty_tpl->getVariable('ALANG')->value['News_news_show_date'];?> </td>
<td><?php echo smarty_function_html_radios(array('name'=>'news_show_date','values'=>array('Y','N'),'output'=>array($_smarty_tpl->getVariable('ALANG')->value['CoreYes'],$_smarty_tpl->getVariable('ALANG')->value['CoreNo']),'selected'=>$_smarty_tpl->getVariable('news_show_title')->value,'separator'=>' '),$_smarty_tpl->smarty,$_smarty_tpl);?> </td>
</tr>
<tr>
<td><?php echo $_smarty_tpl->getVariable('ALANG')->value['News_news_show_title'];?> </td>
<td><?php echo smarty_function_html_radios(array('name'=>'news_show_title','values'=>array('Y','N'),'output'=>array($_smarty_tpl->getVariable('ALANG')->value['CoreYes'],$_smarty_tpl->getVariable('ALANG')->value['CoreNo']),'selected'=>$_smarty_tpl->getVariable('news_show_title')->value,'separator'=>' '),$_smarty_tpl->smarty,$_smarty_tpl);?> </td>
</tr>
<tr>
<td><?php echo $_smarty_tpl->getVariable('ALANG')->value['News_news_show_read_more_link'];?> </td>
<td><?php echo smarty_function_html_radios(array('name'=>'news_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('news_show_read_more_link')->value,'separator'=>' '),$_smarty_tpl->smarty,$_smarty_tpl);?> </td>
</tr>
</table></td>
<td> </td>
</tr>
<tr>
<td colspan="2">
<div class="ukr">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['News_news_title'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="3" cols="90" name="news_title_ukr" id="news_title_ukr"><?php echo $_smarty_tpl->getVariable('news_title_ukr')->value;?> </textarea>
</div>
<div class="rus">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['News_news_title'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="3" cols="90" name="news_title_rus" id="news_title_rus"><?php echo $_smarty_tpl->getVariable('news_title_rus')->value;?> </textarea>
</div>
<div class="eng">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['News_news_title'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="3" cols="90" name="news_title_eng" id="news_title_eng"><?php echo $_smarty_tpl->getVariable('news_title_eng')->value;?> </textarea>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<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="news_keywords_ukr" id="news_keywords_ukr"><?php echo $_smarty_tpl->getVariable('news_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="news_keywords_rus" id="news_keywords_rus"><?php echo $_smarty_tpl->getVariable('news_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="news_keywords_eng" id="news_keywords_eng"><?php echo $_smarty_tpl->getVariable('news_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="news_description_ukr" id="news_description_ukr"><?php echo $_smarty_tpl->getVariable('news_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="news_description_rus" id="news_description_rus"><?php echo $_smarty_tpl->getVariable('news_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="news_description_eng" id="news_description_eng"><?php echo $_smarty_tpl->getVariable('news_description_eng')->value;?> </textarea>
</div>
</div>
<!-- <div class="ukr">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['News_news_short_text'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="5" cols="90" name="news_short_text_ukr" class="ckeditor"><?php echo $_smarty_tpl->getVariable('news_short_text_ukr')->value;?> </textarea>
</div>
<div class="rus">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['News_news_short_text'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="5" cols="90" name="news_short_text_rus" class="ckeditor"><?php echo $_smarty_tpl->getVariable('news_short_text_rus')->value;?> </textarea>
</div>
<div class="eng">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['News_news_short_text'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="5" cols="90" name="news_short_text_eng" class="ckeditor"><?php echo $_smarty_tpl->getVariable('news_short_text_eng')->value;?> </textarea>
</div> -->
</td>
</tr>
<tr>
<td colspan="2">
<div class="ukr">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['News_news_text'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="5" cols="90" name="news_text_ukr" class="ckeditor"><?php echo $_smarty_tpl->getVariable('news_text_ukr')->value;?> </textarea>
</div>
<div class="rus">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['News_news_text'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="5" cols="90" name="news_text_rus" class="ckeditor"><?php echo $_smarty_tpl->getVariable('news_text_rus')->value;?> </textarea>
</div>
<div class="eng">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['News_news_text'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="5" cols="90" name="news_text_eng" class="ckeditor"><?php echo $_smarty_tpl->getVariable('news_text_eng')->value;?> </textarea>
</div>
</td>
</tr>
<tr>
<td colspan="2"><?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;?> </td>
</tr>
<tr>
<td colspan="2"><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>
</tr>
</table>
<input type="hidden" name="<?php echo $_smarty_tpl->getVariable('oper')->value;?> " value="yes" />
</form>
|