<?php
///////////////////////////////////////////////////
//2010 (C)
//Карпухин Павел
///////////////////////////////////////////////////
require_once "../utils/chlang.php";

$title = $TEXT['aut-title'];
$button = $TEXT['btn_add'];
$action = "add.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" >
<tr><td class="inform"><?php echo $TEXT['login-familiya']; ?>:</td><td><input size=50 maxlength=127 type=text name=familiya ></td></tr>
<tr><td class="inform"><?php echo $TEXT['login-name']; ?>:</td><td><input size=50 maxlength=127 type=text name=name ></td></tr>
<tr><td class="inform"><?php echo $TEXT['login-otchestvo']; ?>:</td><td><input size=50 maxlength=127 type=text name=otchestvo ></td></tr>
<tr><td class="inform"><?php echo $TEXT['data_rozdeniya']; ?>:</td><td><input size=50 maxlength=4 type=text title="<?php echo $TEXT['data_rozdeniya_ex']; ?>" name=data_rozdeniya </td></tr>
<tr><td class="inform"><?php echo $TEXT['mesto_rozdeniya']; ?>:</td><td><input size=50 maxlength=127 type=text name=mesto_rozdeniya ></td></tr>
<tr><td class="inform"><?php echo $TEXT['real_name']; ?>:</td><td><input size=50 maxlength=127 type=text name=real_name ></td></tr>
<tr><td class="inform"><?php echo $TEXT['aut-site']; ?>:</td><td>
    <select name=tip_pr>
  <option value='http' selected>http
  <option value='https' >https
  <option value='ftp' >ftp
    </select>
    ://
    <input size=30 maxlength=127 type=text name=addr ></td></tr>
<tr><td class="inform"><?php echo $TEXT['user-photo']; ?>:</td><td><input size=30 type=file name=photo ></td></tr>
<tr><td class="inform"><?php echo $TEXT['photo_obr']; ?>:</td><td>
    <select name=photo_obr>
  <option value='1' selected><?php echo $TEXT['photo_no']; ?>
  <option value='2' ><?php echo $TEXT['photo_rec_l']; ?>
  <option value='4' ><?php echo $TEXT['photo_rec_l_t']; ?>
  <option value='6' ><?php echo $TEXT['photo_rec_l_r']; ?>
    </select>
   </td></tr>
<tr><td></td><td><input class="button2" type=submit value='<?php echo $button; ?>'></td></tr>
</table>
</form>
<?php
  require_once "../utils/bottom_adm.php";
?>