<?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-btn21'];
  $helppage=$TEXT['menu-btn21-title'];

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

  if($result2['administrator'] == 0) puterror2($TEXT['error-loginform2']);
?>
<table border="0" width="60%" align="center">
    <tr><td class="boxmenuadmin"><a href="optimize.php" title="<?php echo $TEXT['menu-btn19-title']; ?>"><?php echo $TEXT['menu-btn19']; ?></a></td></tr>
    <tr><td class="boxmenuadmin"><a href="analize.php" title="<?php echo $TEXT['menu-btn20-title']; ?>"><?php echo $TEXT['menu-btn20']; ?></a></td></tr>
    <tr><td class="boxmenuadmin"><a href="check.php" title="<?php echo $TEXT['menu-btn22-title']; ?>"><?php echo $TEXT['menu-btn22']; ?></a></td></tr>
    <tr><td class="boxmenuadmin"><a href="repair.php" title="<?php echo $TEXT['menu-btn23-title']; ?>"><?php echo $TEXT['menu-btn23']; ?></a></td></tr>
    <tr><td class="boxmenuadmin"><a href="dbsize.php" title="<?php echo $TEXT['size-tit']; ?>"><?php echo $TEXT['size-text']; ?></a></td></tr>
    <tr><td class="boxmenuadmin"><a href="dump.php" title="<?php echo $TEXT['backup-tit']; ?>"><?php echo $TEXT['backup-tit']; ?></a></td></tr>
    <tr><td class="boxmenuadmin"><a href="importfrm.php" title="<?php echo $TEXT['restore-tit']; ?>"><?php echo $TEXT['menu-btn35']; ?></a></td></tr>
    <tr><td class="boxmenuadmin"><a href="imp-index.php" title="<?php echo $TEXT['menu-btn36-title']; ?>"><?php echo $TEXT['menu-btn36']; ?></a></td></tr>
</table>
<?php
  require_once "../util/bottom.php";
?>
