Файл: htdocs/includes/header.php
Строк: 35
<?php
include("conf.php");
include("functions.php");
include("lang/lang.$use_lang.php");
include("classes/smartmail.class.php");
$SmartMail = new SmartMail();
if ($action == "login") {
  $SmartMail->login();
}
if ($action == "logout") {
  $SmartMail->logout();
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=windows-1250">
  <meta name="generator" content="PSPad editor, www.pspad.com">
  <title>SmartMail V<?php echo $version; ?></title>
  <link type="text/css" href="css/layout.css" rel="stylesheet">        
  </head>
  <body>
<?php
  //not authenticated, show the login form
  if (!$SmartMail->auth) {
    include ("includes/login.php");
  }
?>