<?php
  ///////////////////////////////////////////////////
  //Замена ключевой фразы
  //2010 (C)
  //Карпухин Павел
  ///////////////////////////////////////////////////

  $lang = substr($_SERVER["HTTP_ACCEPT_LANGUAGE"], 0,2);
  if(is_file ("../lang/".$lang."/".$lang.".php")) {include "../lang/".$lang."/".$lang.".php";}
     else {include "../lang/ru/ru.php";}

  $title = $TEXT['upr-recod-tit'];
  $button = $TEXT['btn_save'];
  $action = "recod.php";

  require_once "../config_a.php";
  require_once "../utils/functions.php";
  require_once "../utils/top_adm.php";

  if($result2['administrator'] == 0) {puterror($result2['skin'],$TEXT['error-loginform2']); require_once "../utils/bottom_adm.php"; exit();}
?>
<form enctype='multipart/form-data' action=<?php echo $action; ?> method=post>
<table align="center" border="0" width="50%">
<tr><td class="bold_it_page"><?php echo $TEXT['upr-key-fr-old']; ?>*</td><td><input size=30 maxlength=255 type=text name=kfr /></td></tr>
<tr><td class="bold_it_page"><?php echo $TEXT['upr-key-fr-new']; ?>*</td><td><input size=30 maxlength=255 type=password name=kfr2 /></td></tr>
<tr><td></td><td><input class="button" type=submit value='<?php echo $button; ?>' /></td></tr>
</table>
</form>
<?php
  require_once "../utils/bottom_adm.php";
?>