<?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/".$lang."/ru.php";

  $title=$titlepage = $TEXT['param_new'];
  $helppage = $TEXT['add-new-disk-help'];
  if(!isset($button)) $button = $TEXT['btn_add'];
  if(!isset($action)) $action = "add.php";

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

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

?>
<form enctype='multipart/form-data' action=<?php echo $action; ?> method=post>
<table align="center" >
<tr><td class="useraddedit"><?php echo $TEXT['ondisk_fs']; ?></td><td class="useraddedit"><input size=20 maxlength=255 type=text name=fs ></td></tr>
<tr><td class="useraddedit"><?php echo $TEXT['ondisk_tm']; ?></td><td class="useraddedit"><input size=20 maxlength=255 type=text name=tm ></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";
?>
