Blob


1 <?php
2 //
3 // Postfix Admin
4 // by Mischa Peters <mischa at high5 dot net>
5 // Copyright (c) 2002 - 2005 High5!
6 // License Info: http://www.postfixadmin.com/?file=LICENSE.TXT
7 //
8 // File: main.php
9 //
10 // Template File: main.tpl
11 //
12 // Template Variables:
13 //
14 // -none-
15 //
16 // Form POST \ GET Variables:
17 //
18 // -none-
19 //
20 require ("./config.inc.php");
21 require ("./functions.inc.php");
22 include ("./languages/" . check_language () . ".lang");
24 $SESSID_USERNAME = check_session ();
26 if ($_SERVER["REQUEST_METHOD"] == "GET")
27 {
28 include ("./templates/header.tpl");
29 include ("./templates/menu.tpl");
30 include ("./templates/main.tpl");
31 include ("./templates/footer.tpl");
32 }
34 if ($_SERVER["REQUEST_METHOD"] == "POST")
35 {
36 include ("./templates/header.tpl");
37 include ("./templates/menu.tpl");
38 include ("./templates/main.tpl");
39 include ("./templates/footer.tpl");
40 }
41 ?>