<?php
  ///////////////////////////////////////////////////
  //2007 (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['bllst-add-tit'];
  $helppage = $TEXT['domain-help2'];
  require_once "../../config.php";
  require_once "../../util/top_layer2.php";

  if($result2['administrator'] == 0) puterror3($TEXT['error-loginform4']);

  if(!isset($title)) $title = $TEXT['domain-title2'];
  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['bllst-text2']; ?></td><td class="useraddedit"><input size=50 maxlength=64 class="inputmandatory" type=text name=address ></td></tr>
<tr><td class="useraddedit"><?php echo $TEXT['analiz-msg-type']; ?></td><td class="useraddedit">
<select class="inputmandatory" name=tip>
  <option value='SENDER' selected>SENDER
  <option value='HOSTREJ' >HOSTREJ
  <option value='REJRCPT' >REJRCPT
</select>
</td></tr>
<tr><td class="useraddedit"><?php echo $TEXT['bllst-text']; ?></td><td class="useraddedit"><input size=50 maxlength=254 class="inputmandatory" type=text name=message ></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";
?>