You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.4 KiB
PHP
55 lines
1.4 KiB
PHP
<?php
|
|
//
|
|
// If site_lib.php is called directly, redirect to login.php
|
|
//
|
|
if (ereg("site_lib.php", $PHP_SELF)) {
|
|
header("Location: ../login.php");
|
|
}
|
|
|
|
// login information for the database
|
|
$db_host = "localhost";
|
|
$db_name = "postfix";
|
|
$db_user = "postfixadmin";
|
|
$db_pass = "postfixadmin";
|
|
|
|
// title used for all pages
|
|
$title = "Mail Admin Admin";
|
|
|
|
// footer used for all pages
|
|
$version = "Built on Postfix Admin v1.4.0<br>\n2003 © High5!\n";
|
|
|
|
|
|
|
|
//
|
|
// print_menu
|
|
// Action: Prints out the requirement menu bar
|
|
// Call: print_menu()
|
|
//
|
|
function print_menu() {
|
|
print "<table>\n";
|
|
print "<tr>\n";
|
|
print "<td width=8> </td>\n";
|
|
print "<td class=menu>\n";
|
|
print "<a target=_top href=adminview.php>Admin View</a>";
|
|
print "</td>\n";
|
|
print "<td width=8> </td>\n";
|
|
print "<td class=menu>\n";
|
|
print "<a target=_top href=domainview.php>Domain View</a>";
|
|
print "</td>\n";
|
|
print "<td width=8> </td>\n";
|
|
print "<td class=menu>\n";
|
|
print "<a target=_top href=virtualview.php>Virtual View</a>";
|
|
print "</td>\n";
|
|
print "<td width=8> </td>\n";
|
|
print "<td class=menu>\n";
|
|
print "<a target=_top href=newadmin.php>New Admin</a>";
|
|
print "</td>\n";
|
|
print "<td width=8> </td>\n";
|
|
print "<td class=menu>\n";
|
|
print "<a target=_top href=newdomain.php>New Domain</a>";
|
|
print "</td>\n";
|
|
print "<td width=8> </td>\n";
|
|
print "</tr>\n";
|
|
print "</table>\n";
|
|
}
|
|
?>
|