Viewing file: 6774dc191bb22b745a4bdbe7c7b73b59a093ee6e.file.page.tpl.php (8.84 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2016-05-16 08:59:34 compiled from "modules/departments/templates/page.tpl" */ ?> <?php /*%%SmartyHeaderCode:1944944934573961c6e41d26-77716217%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '6774dc191bb22b745a4bdbe7c7b73b59a093ee6e' => array ( 0 => 'modules/departments/templates/page.tpl', 1 => 1463378373, ), ), 'nocache_hash' => '1944944934573961c6e41d26-77716217', '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'; ?><?php ob_start();?><?php echo GetParam("DefaultLanguage");?> <?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars["chapter_title"] = new Smarty_variable("chapter_title_".$_tmp1, null, null);?>
<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['Pages_page_chapter_id'];?> :<br />
<select name="page_depart_id" id="page_depart_id">
<?php $_smarty_tpl->tpl_vars['department'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('departments')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['department']->key => $_smarty_tpl->tpl_vars['department']->value){ ?>
<option value="<?php echo $_smarty_tpl->tpl_vars['department']->value['depart_id'];?> " <?php if ($_smarty_tpl->tpl_vars['department']->value['depart_id']==$_smarty_tpl->getVariable('page_depart_id')->value){?> selected="selected" <?php }?>><?php echo $_smarty_tpl->tpl_vars['department']->value['depart_name_ukr'];?> </option>
<?php }} ?>
</select>
</td>
</tr>
<tr>
<td>Тип сторінки:<br />
<select name="page_type" id="page_type">
<?php echo smarty_function_html_options(array('output'=>array('Інформація про управління','Інформація від управління'),'values'=>array('1','2'),'selected'=>($_smarty_tpl->getVariable('page_type')->value)),$_smarty_tpl->smarty,$_smarty_tpl);?>
</select>
</td>
</tr>
<tr>
<td>
<div class="ukr">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['Pages_page_title'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="3" cols="80" name="page_title_ukr" id="page_title_ukr"><?php echo $_smarty_tpl->getVariable('page_title_ukr')->value;?> </textarea>
</div>
<div class="rus">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['Pages_page_title'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="3" cols="80" name="page_title_rus" id="page_title_rus"><?php echo $_smarty_tpl->getVariable('page_title_rus')->value;?> </textarea>
</div>
<div class="eng">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['Pages_page_title'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="3" cols="80" name="page_title_eng" id="page_title_eng"><?php echo $_smarty_tpl->getVariable('page_title_eng')->value;?> </textarea>
</div>
<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="page_keywords_ukr" id="page_keywords_ukr"><?php echo $_smarty_tpl->getVariable('page_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="page_keywords_rus" id="page_keywords_rus"><?php echo $_smarty_tpl->getVariable('page_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="page_keywords_eng" id="page_keywords_eng"><?php echo $_smarty_tpl->getVariable('page_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="page_description_ukr" id="page_description_ukr"><?php echo $_smarty_tpl->getVariable('page_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="page_description_rus" id="page_description_rus"><?php echo $_smarty_tpl->getVariable('page_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="page_description_eng" id="page_description_eng"><?php echo $_smarty_tpl->getVariable('page_description_eng')->value;?> </textarea>
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="ukr">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['Pages_page_text'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="5" cols="80" name="page_text_ukr" id="page_text_ukr" class="ckeditor"><?php echo $_smarty_tpl->getVariable('page_text_ukr')->value;?> </textarea>
</div>
<div class="rus">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['Pages_page_text'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="5" cols="80" name="page_text_rus" id="page_text_rus" class="ckeditor"><?php echo $_smarty_tpl->getVariable('page_text_rus')->value;?> </textarea>
</div>
<div class="eng">
<?php echo $_smarty_tpl->getVariable('ALANG')->value['Pages_page_text'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br />
<textarea rows="5" cols="80" name="page_text_eng" id="page_text_eng" class="ckeditor"><?php echo $_smarty_tpl->getVariable('page_text_eng')->value;?> </textarea>
</div>
</td>
</tr>
<tr>
<td>
<?php echo $_smarty_tpl->getVariable('ALANG')->value['PhotomanagerPhotoBlock'];?> : <br />
<br />
<?php echo $_smarty_tpl->getVariable('photo_admin_table2')->value;?> <br />
<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>
|