Viewing file: 931e70bd9f1ed14a3247fd7f2b1576a555e26491.file.banner.tpl.php (7.68 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2011-05-10 23:15:38 compiled from "modules/banners/templates/banner.tpl" */ ?> <?php /*%%SmartyHeaderCode:20388544134dc99cea73cf09-33404090%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '931e70bd9f1ed14a3247fd7f2b1576a555e26491' => array ( 0 => 'modules/banners/templates/banner.tpl', 1 => 1305058535, ), ), 'nocache_hash' => '20388544134dc99cea73cf09-33404090', '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'; ?> <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><?php echo $_smarty_tpl->getVariable('ALANG')->value['Banners_banner_group_id'];?> :</td>
</tr>
<tr>
<td>
<select name="banner_group_id">
<?php $_smarty_tpl->tpl_vars['group'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('groups')->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['group']->key => $_smarty_tpl->tpl_vars['group']->value){ $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['iteration']++; ?>
<option value="<?php echo $_smarty_tpl->tpl_vars['group']->value['group_id'];?> " <?php if ($_smarty_tpl->tpl_vars['group']->value['group_id']==$_smarty_tpl->getVariable('banner_group_id')->value){?> selected="selected" <?php }?>}><?php echo $_smarty_tpl->tpl_vars['group']->value["group_title_".($_smarty_tpl->getVariable('ulang')->value)];?> </option>
<?php }} ?>
</select>
</td>
</tr>
<tr>
<td>
<div class="ukr">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['Banners_banner_title'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="3" cols="80" name="banner_title_ukr" id="banner_title_ukr"><?php echo $_smarty_tpl->getVariable('banner_title_ukr')->value;?> </textarea>
</div>
<div class="rus">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['Banners_banner_title'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="3" cols="80" name="banner_title_rus" id="banner_title_rus"><?php echo $_smarty_tpl->getVariable('banner_title_rus')->value;?> </textarea>
</div>
<div class="eng">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['Banners_banner_title'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="3" cols="80" name="banner_title_eng" id="banner_title_eng"><?php echo $_smarty_tpl->getVariable('banner_title_eng')->value;?> </textarea>
</div>
</td>
</tr>
<tr>
<td>
<div class="ukr">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['Banners_banner_link'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br />
<input name="banner_link_ukr" type="text" id="banner_link_ukr" value="<?php echo $_smarty_tpl->getVariable('banner_link_ukr')->value;?> " size="80" />
</div>
<div class="rus">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['Banners_banner_link'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br />
<input name="banner_link_rus" type="text" id="banner_link_rus" value="<?php echo $_smarty_tpl->getVariable('banner_link_rus')->value;?> " size="80" />
</div>
<div class="eng">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['Banners_banner_link'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br />
<input name="banner_link_eng" type="text" id="banner_link_eng" value="<?php echo $_smarty_tpl->getVariable('banner_link_eng')->value;?> " size="80" />
</div>
</td>
</tr>
<tr>
<td>
<select name="banner_target">
<?php echo smarty_function_html_options(array('values'=>array("_self","_blank"),'output'=>array($_smarty_tpl->getVariable('ALANG')->value['BannersBannerTargetSelf'],$_smarty_tpl->getVariable('ALANG')->value['BannersBannerTargetBlank']),'selected'=>($_smarty_tpl->getVariable('banner_target')->value)),$_smarty_tpl->smarty,$_smarty_tpl);?>
</select>
</td>
</tr>
<tr>
<td>
<div class="ukr">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['Banners_banner_filename'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br />
<input type="file" name="banner_filename_ukr" size="60" id="banner_filename_ukr" /><br /><br />
<?php if (file_exists($_smarty_tpl->getVariable('banner_image_ukr')->value)){?>
<img src="<?php echo $_smarty_tpl->getVariable('banner_image_ukr')->value;?> " />
<?php }?>
</div>
<div class="rus">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['Banners_banner_filename'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br />
<input type="file" name="banner_filename_rus" size="60" id="banner_filename_rus" /><br /><br />
<?php if (file_exists($_smarty_tpl->getVariable('banner_image_rus')->value)){?>
<img src="<?php echo $_smarty_tpl->getVariable('banner_image_rus')->value;?> " />
<?php }?>
</div>
<div class="eng">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['Banners_banner_filename'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br />
<input type="file" name="banner_filename_eng" size="60" id="banner_filename_eng" /><br /><br />
<?php if (file_exists($_smarty_tpl->getVariable('banner_image_eng')->value)){?>
<img src="<?php echo $_smarty_tpl->getVariable('banner_image_eng')->value;?> " />
<?php }?>
</div>
</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>
|