Viewing file: 1763196c99446be95a71c703949d6c5e0276bd13.file.photo.tpl.php (2.56 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-04-26 21:52:55 compiled from "modules/slider/templates/photo.tpl" */ ?> <?php /*%%SmartyHeaderCode:9109114174f999987b2d5d8-96738711%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '1763196c99446be95a71c703949d6c5e0276bd13' => array ( 0 => 'modules/slider/templates/photo.tpl', 1 => 1335466354, ), ), 'nocache_hash' => '9109114174f999987b2d5d8-96738711', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <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>
Виберіть файл з графічним зображенням:<br />
<input type="file" name="photo[]" size="60" id="photo" multiple="multiple" /><br /><br />
<?php if (file_exists($_smarty_tpl->getVariable('photo')->value)){?>
<img src="<?php echo $_smarty_tpl->getVariable('photo')->value;?> " />
<?php }?>
</td>
</tr>
<tr>
<td><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>
|