Viewing file: e4aafeefe7d5e32b17d3c5ba20f9fb7c7b800e18.file.department.tpl.php (8.48 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2016-05-17 16:17:00 compiled from "modules/departments/templates/department.tpl" */ ?> <?php /*%%SmartyHeaderCode:1967976307573b19cc67de55-35836842%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'e4aafeefe7d5e32b17d3c5ba20f9fb7c7b800e18' => array ( 0 => 'modules/departments/templates/department.tpl', 1 => 1305915780, ), ), 'nocache_hash' => '1967976307573b19cc67de55-35836842', '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>
<div class="ukr">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['depart_name'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="3" cols="80" name="depart_name_ukr" id="depart_name_ukr"><?php echo $_smarty_tpl->getVariable('depart_name_ukr')->value;?> </textarea>
</div>
<div class="rus">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['depart_name'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="3" cols="80" name="depart_name_rus" id="depart_name_rus"><?php echo $_smarty_tpl->getVariable('depart_name_rus')->value;?> </textarea>
</div>
<div class="eng">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['depart_name'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="3" cols="80" name="depart_name_eng" id="depart_name_eng"><?php echo $_smarty_tpl->getVariable('depart_name_eng')->value;?> </textarea>
</div>
</td>
</tr>
<tr>
<td>
<div class="ukr">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['depart_address'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br />
<input name="depart_address_ukr" type="text" id="depart_address_ukr" value="<?php echo $_smarty_tpl->getVariable('depart_address_ukr')->value;?> " size="80" />
</div>
<div class="rus">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['depart_address'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br />
<input name="depart_address_rus" type="text" id="depart_address_rus" value="<?php echo $_smarty_tpl->getVariable('depart_address_rus')->value;?> " size="80" />
</div>
<div class="eng">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['depart_address'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br />
<input name="depart_address_eng" type="text" id="depart_address_eng" value="<?php echo $_smarty_tpl->getVariable('depart_address_eng')->value;?> " size="80" />
</div>
</td>
</tr>
<tr>
<td>
<div class="ukr">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['depart_manager'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br />
<input name="depart_manager_ukr" type="text" id="depart_manager_ukr" value="<?php echo $_smarty_tpl->getVariable('depart_manager_ukr')->value;?> " size="80" />
</div>
<div class="rus">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['depart_manager'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br />
<input name="depart_manager_rus" type="text" id="depart_manager_rus" value="<?php echo $_smarty_tpl->getVariable('depart_manager_rus')->value;?> " size="80" />
</div>
<div class="eng">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['depart_manager'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br />
<input name="depart_manager_eng" type="text" id="depart_manager_eng" value="<?php echo $_smarty_tpl->getVariable('depart_manager_eng')->value;?> " size="80" />
</div>
</td>
</tr>
<tr>
<td>
<?php echo $_smarty_tpl->getVariable('ALANG')->value['depart_phone'];?> :<br />
<input name="depart_phone" type="text" id="depart_phone" value="<?php echo $_smarty_tpl->getVariable('depart_phone')->value;?> " size="80" />
</td>
</tr>
<tr>
<td>
<?php echo $_smarty_tpl->getVariable('ALANG')->value['depart_fax'];?> :<br />
<input name="depart_fax" type="text" id="depart_fax" value="<?php echo $_smarty_tpl->getVariable('depart_fax')->value;?> " size="80" />
</td>
</tr>
<tr>
<td>
<?php echo $_smarty_tpl->getVariable('ALANG')->value['depart_email'];?> :<br />
<input name="depart_email" type="text" id="depart_email" value="<?php echo $_smarty_tpl->getVariable('depart_email')->value;?> " size="80" />
</td>
</tr>
<tr>
<td><strong><?php echo $_smarty_tpl->getVariable('ALANG')->value['DepartmentsPhoto'];?> :</strong><br />
<?php if (file_exists("data/departments/".($_smarty_tpl->getVariable('depart_id')->value).".jpg")){?>
<img src="/data/departments/<?php echo $_smarty_tpl->getVariable('depart_id')->value;?> .jpg" /><br />
<?php }?>
<label onclick="label_click()"><input type="radio" name="photo" id="photo" value="save" checked="checked" /><?php echo $_smarty_tpl->getVariable('ALANG')->value['DepartmentsPhotoSave'];?> </label><br />
<label><input type="radio" name="photo" id="photo" value="delete" /><?php echo $_smarty_tpl->getVariable('ALANG')->value['DepartmentsPhotoDelete'];?> </label><br />
<label><input type="radio" name="photo" id="photo" value="new" /><?php echo $_smarty_tpl->getVariable('ALANG')->value['DepartmentsPhotoAdd'];?> </label><br />
<input name="depart_filename" type="file" id="depart_filename" size="50" />
</p></td>
</tr>
<tr>
<td>
<div class="ukr">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['depart_description'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br />
<textarea class="ckeditor" name="depart_description_ukr"><?php echo $_smarty_tpl->getVariable('depart_description_ukr')->value;?> </textarea>
</div>
<div class="rus">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['depart_description'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br />
<textarea class="ckeditor" name="depart_description_rus"><?php echo $_smarty_tpl->getVariable('depart_description_rus')->value;?> </textarea>
</div>
<div class="eng">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['depart_description'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br />
<textarea class="ckeditor" name="depart_description_eng"><?php echo $_smarty_tpl->getVariable('depart_description_eng')->value;?> </textarea>
</div>
</td>
</tr>
<tr>
<td>
<input value="<?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreSave'];?> " type="submit" name="submit" id="submit" /></td>
</tr>
</table>
<input type="hidden" name="<?php echo $_smarty_tpl->getVariable('oper')->value;?> " value="yes" />
</form>
|