mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
85dc57beee
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1 a1433add-5e2c-0410-b055-b7f2511e0802
42 lines
904 B
PHP
42 lines
904 B
PHP
<?php
|
|
//
|
|
// Postfix Admin
|
|
// by Mischa Peters <mischa at high5 dot net>
|
|
// Copyright (c) 2002 - 2005 High5!
|
|
// Licensed under GPL for more info check GPL-LICENSE.TXT
|
|
//
|
|
// File: main.php
|
|
//
|
|
// Template File: main.tpl
|
|
//
|
|
// Template Variables:
|
|
//
|
|
// -none-
|
|
//
|
|
// Form POST \ GET Variables:
|
|
//
|
|
// -none-
|
|
//
|
|
require ("../config.inc.php");
|
|
require ("../functions.inc.php");
|
|
include ("../languages/" . check_language () . ".lang");
|
|
|
|
$USERID_USERNAME = check_user_session ();
|
|
|
|
if ($_SERVER["REQUEST_METHOD"] == "GET")
|
|
{
|
|
include ("../templates/header.tpl");
|
|
include ("../templates/users_menu.tpl");
|
|
include ("../templates/users_main.tpl");
|
|
include ("../templates/footer.tpl");
|
|
}
|
|
|
|
if ($_SERVER["REQUEST_METHOD"] == "POST")
|
|
{
|
|
include ("../templates/header.tpl");
|
|
include ("../templates/users_menu.tpl");
|
|
include ("../templates/users_main.tpl");
|
|
include ("../templates/footer.tpl");
|
|
}
|
|
?>
|