<?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=$titlepage=$TEXT['menu-btn36'];
  $helppage=$TEXT['menu-btn36-tit'];
  if(!isset($button)) $button = $TEXT['btn-vip'];
  if(!isset($action)) $action = "import-another.php";

  require_once "../config.php";
  require_once "../util/top_layer1.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['restore-file']; ?></td><td class="useraddedit"><input type=file name=impfl ></td></tr>
  <tr><td class="useraddedit"><?php echo $TEXT['delimiter']; ?></td><td class="useraddedit"><input size=1 maxlength=1 type=text name=delimiter ></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";
?>