<?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";}

  $button = $TEXT['btn_enter'];
  $action = "login.php";

?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
<title><?php echo $TEXT['global-logout-tit']; ?></title>
<link rel="StyleSheet" type="text/css" href="skins/base/reader.css" />
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
</head>
<body>
<form enctype='multipart/form-data' action=<?php echo $action; ?> method=post>
<div class="horizon">
<table width="100%" height="100%" border="0" class="textPage">
<tr><td class="logontit"><?php echo $TEXT['global-title']; ?><br /><br /><br /></td></tr>
<tr><td class="logout"><?php echo $TEXT['global-logout']; ?><br /><br /><br /><br /></td></tr>
<tr height="25%" ><td class="logonbot"><?php echo $TEXT['global-vertion']; ?>&nbsp;&nbsp;</td></tr>
<tr height="10%" ><td></td></tr>
</table>
</div>
</form>
</body>
</html>