<?php
  ///////////////////////////////////////////////////
  //Добавление параметра хранения
  //2009 (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=$titlepage = $TEXT['param_new'];
  $helppage = $TEXT['param_help2'];

  require_once "../config.php";
  require_once "../util/top.php";

  if($result2['administrator'] == 0) puterror2($TEXT['error-loginform2']);

  if(!isset($title)) $title = $TEXT['login-title'];
  if(!isset($button)) $button = $TEXT['btn_add'];
  if(!isset($action)) $action = "add.php";

?>
<form enctype='multipart/form-data' action=<?php echo $action; ?> method=post>
<table>
<tr><td class="useraddedit"><?php echo $TEXT['analiz-tab']; ?></td><td class="useraddedit">
<select class="input" name=tip>
  <option value='tbl_logs' selected><?php echo $TEXT['menu-btn14']; ?>
  <option value='tbl_supp_archive' ><?php echo $TEXT['param_zay']; ?>
  <option value='tbl_prn_logs' ><?php echo $TEXT['prn-title']; ?>
</select>
</td></tr>
<tr><td class="useraddedit"><?php echo $TEXT['param_days']; ?></td><td class="useraddedit"><input size=20 maxlength=20 type=text name=paramdays >&nbsp;<input type=checkbox name=paramon ></td></tr>
<tr><td class="useraddedit"><?php echo $TEXT['size-count2']; ?></td><td class="useraddedit"><input size=20 maxlength=20 type=text name=sizecount >&nbsp;<input type=checkbox name=sizeon ></td></tr>
<tr><td></td><td><input class="button" type=submit value='<?php echo $button; ?>'></td></tr>
</table>
</form>
<?php
  require_once "../util/bottom.php";
?>
