Вход Регистрация
Файл: DARK WARS/dark_war/style/tpl_c/cff910987d54076f663b377e27d46d6a679ae2d0.file.form.tpl.php
Строк: 266
<?php /* Smarty version Smarty-3.1.8, created on 2012-09-28 22:36:16
         compiled from "Z:/home/trololo/www//dark_war/style/tplform.tpl" */ 
?>
<?php 
/*%%SmartyHeaderCode:147154ff425d372b6b1-27907908%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid $_smarty_tpl->decodeProperties(array (
  
'file_dependency' => 
  array (
    
'cff910987d54076f663b377e27d46d6a679ae2d0' => 
    array (
      
=> 'Z:/home/trololo/www//dark_war/style/tpl\form.tpl',
      
=> 1348857374,
      
=> 'file',
    ),
  ),
  
'nocache_hash' => '147154ff425d372b6b1-27907908',
  
'function' => 
  array (
  ),
  
'version' => 'Smarty-3.1.8',
  
'unifunc' => 'content_4ff425d385c338_36060819',
  
'variables' => 
  array (
    
'method' => 0,
    
'action' => 0,
    
'files' => 0,
    
'dis' => 0,
  ),
  
'has_nocache_code' => false,
),
false); /*/%%SmartyHeaderCode%%*/?>
<?php 
if ($_valid && !is_callable('content_4ff425d385c338_36060819')) {function content_4ff425d385c338_36060819($_smarty_tpl) {?><form<?php if ($_smarty_tpl->tpl_vars['method']->value){?> method="<?php echo $_smarty_tpl->tpl_vars['method']->value;?>
"<?php }?><?php if ($_smarty_tpl->tpl_vars['action']->value){?> action="<?php echo $_smarty_tpl->tpl_vars['action']->value;?>
"<?php }?><?php if ($_smarty_tpl->tpl_vars['files']->value){?> enctype="multipart/form-data"<?php }?>>

<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['i'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['dis']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
    
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
    if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
        
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
} else
    
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):

            for (
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
                 
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
                 
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
?>
    <?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['title']){?>
        <?php echo $_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['title'];?>
 <br />
    <?php }?>       
    
    <?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['type']=='text'){?>
        <input type="text"<?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name']){?> name="<?php echo $_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'];?>
"<?php }?><?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['value']){?> value="<?php echo $_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['value'];?>
"<?php }?>  />
    <?php }elseif($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['type']=='textarea'){?>
        <textarea <?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name']){?> name="<?php echo $_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'];?>
"<?php }?>><?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['value']){?><?php echo $_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['value'];?>
 <?php }?></textarea>
    <?php }elseif($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['type']=='file'){?>   
        <input type="file"<?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name']){?> name="<?php echo $_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'];?>
"<?php }?> />
    <?php }elseif($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['type']=='submit'){?>
        <input type="submit"<?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name']){?> name="<?php echo $_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'];?>
"<?php }?><?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['value']){?> value="<?php echo $_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['value'];?>
"<?php }?>  />
    <?php }elseif($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['type']=='button'){?>
        <input type="button"<?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name']){?> name="<?php echo $_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'];?>
"<?php }?><?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['value']){?> value="<?php echo $_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['value'];?>
"<?php }?>  />
    <?php }elseif($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['type']=='select'){?>
        <select name="<?php echo $_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'];?>
">
        <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['b'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['b']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['name'] = 'b';
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['options']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['step'] > $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['loop']-1;
if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['show']) {
    
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['loop'];
    if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['total'] == 0)
        
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['show'] = false;
} else
    
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['total'] = 0;
if (
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['show']):

            for (
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['iteration'] = 1;
                 
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['total'];
                 
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['b']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['b']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['b']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['b']['total']);
?>
            <option<?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['options'][$_smarty_tpl->getVariable('smarty')->value['section']['b']['index']][2]){?> selected="selected"<?php }?> value="<?php echo $_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['options'][$_smarty_tpl->getVariable('smarty')->value['section']['b']['index']][0];?>
"><?php echo $_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['options'][$_smarty_tpl->getVariable('smarty')->value['section']['b']['index']][1];?>
</option>
        <?php endfor; endif; ?>
        </select>
    <?php }elseif($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['type']=='checkbox'){?>
        <label><input type="checkbox"<?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name']){?> name="<?php echo $_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['name'];?>
"<?php }?><?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['value']){?> value="<?php echo $_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['value'];?>
"<?php }?>
        <?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['checked']){?> checked="checked"<?php }?> /><?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['chec_text']){?><?php echo $_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['chec_text'];?>
<?php 
}?></label>
    <?php }?>

    <?php if ($_smarty_tpl->tpl_vars['dis']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['br']){?>
        <br />
    <?php }?>
<?php 
endfor; endif; ?>

</form><?php }} ?>
Онлайн: 0
Реклама