Viewing file: a6f67fdadea1444119de02589bd89cd28d192035.file.profile.tpl.php (5.54 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2011-11-14 12:43:54 compiled from "modules/admins/templates/profile.tpl" */ ?> <?php /*%%SmartyHeaderCode:2737487444ec0f0ea98ed70-06832638%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'a6f67fdadea1444119de02589bd89cd28d192035' => array ( 0 => 'modules/admins/templates/profile.tpl', 1 => 1305050880, ), ), 'nocache_hash' => '2737487444ec0f0ea98ed70-06832638', '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'; ?><script language="javascript"> function test() { if (document.forms[0].admin_login.value.length < 3) { alert('<?php echo $_smarty_tpl->getVariable('ALANG')->value['admin_login_error'];?> '); return false; } if (document.forms[0].admin_password.value != document.forms[0].admin_password2.value) { alert('<?php echo $_smarty_tpl->getVariable('ALANG')->value['admin_password_error'];?> '); return false; } return true; } </script> <form class="editorform" method="post"> <table align="center" class="editor-table"> <tr valign="middle"> <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['Admins_admin_login'];?> : <strong><?php echo $_smarty_tpl->getVariable('admin_login')->value;?> </strong><br /> </td> </tr> <tr> <td> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Admins_admin_password'];?> :<br /> <input name="admin_password" type="password" id="admin_password" value="<?php echo $_smarty_tpl->getVariable('admin_password')->value;?> " size="30"/> </td> </tr> <tr> <td> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Admins_admin_password2'];?> :<br /> <input name="admin_password2" type="password" id="admin_password2" value="<?php echo $_smarty_tpl->getVariable('admin_password')->value;?> " size="30"/></td> </tr> <tr> <td> <div class="ukr"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Admins_admin_name'];?> (<img src="/admin/images/ukr30x20.gif" align="absmiddle" height="10" />):<br /> <input name="admin_name_ukr" type="text" id="admin_name_ukr" size="50" value="<?php echo $_smarty_tpl->getVariable('admin_name_ukr')->value;?> " /> </div> <div class="rus"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Admins_admin_name'];?> (<img src="/admin/images/rus30x20.gif" align="absmiddle" height="10" />):<br /> <input name="admin_name_rus" type="text" id="admin_name_rus" size="50" value="<?php echo $_smarty_tpl->getVariable('admin_name_rus')->value;?> " /> </div> <div class="eng"> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Admins_admin_name'];?> (<img src="/admin/images/eng30x20.gif" align="absmiddle" height="10" />):<br /> <input name="admin_name_eng" type="text" id="admin_name_eng" size="50" value="<?php echo $_smarty_tpl->getVariable('admin_name_eng')->value;?> " /> </div> </td> </tr> <tr> <td> <?php echo $_smarty_tpl->getVariable('ALANG')->value['Admins_admin_work'];?> :<br /> <input name="admin_work" type="text" id="admin_work" size="50" value="<?php echo $_smarty_tpl->getVariable('admin_work')->value;?> " /> </td> </tr> <tr> <td><?php echo $_smarty_tpl->getVariable('ALANG')->value['Admins_admin_language'];?> :<br /> <select name="admin_language" id="admin_language"> <?php ob_start();?><?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreLanguageRus'];?> <?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->getVariable('ALANG')->value['CoreLanguageUkr'];?> <?php $_tmp2=ob_get_clean();?><?php echo smarty_function_html_options(array('values'=>array('rus','ukr'),'output'=>array($_tmp1,$_tmp2),'selected'=>($_smarty_tpl->getVariable('admin_language')->value)),$_smarty_tpl->smarty,$_smarty_tpl);?> </select> </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>
|