| 1 | <?php |
|---|
| 2 | /* |
|---|
| 3 | $Id: direct.php,v 1.2 2003/06/10 06:45:16 root Exp $ |
|---|
| 4 | ---------------------------------------------------------------------- |
|---|
| 5 | AlternC - Web Hosting System |
|---|
| 6 | Copyright (C) 2002 by the AlternC Development Team. |
|---|
| 7 | http://alternc.org/ |
|---|
| 8 | ---------------------------------------------------------------------- |
|---|
| 9 | Based on: |
|---|
| 10 | Valentin Lacambre's web hosting softwares: http://altern.org/ |
|---|
| 11 | ---------------------------------------------------------------------- |
|---|
| 12 | LICENSE |
|---|
| 13 | |
|---|
| 14 | This program is free software; you can redistribute it and/or |
|---|
| 15 | modify it under the terms of the GNU General Public License (GPL) |
|---|
| 16 | as published by the Free Software Foundation; either version 2 |
|---|
| 17 | of the License, or (at your option) any later version. |
|---|
| 18 | |
|---|
| 19 | This program is distributed in the hope that it will be useful, |
|---|
| 20 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 21 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 22 | GNU General Public License for more details. |
|---|
| 23 | |
|---|
| 24 | To read the license please visit http://www.gnu.org/copyleft/gpl.html |
|---|
| 25 | ---------------------------------------------------------------------- |
|---|
| 26 | Original Author of file: Benjamin Sonntag |
|---|
| 27 | Purpose of file: Redirect the user (show the main frameset) after a |
|---|
| 28 | form submit |
|---|
| 29 | ---------------------------------------------------------------------- |
|---|
| 30 | */ |
|---|
| 31 | require_once("../class/config.php"); |
|---|
| 32 | |
|---|
| 33 | if (!$mem->checkid()) { |
|---|
| 34 | $error=$err->errstr(); |
|---|
| 35 | include("index.php"); |
|---|
| 36 | exit(); |
|---|
| 37 | } |
|---|
| 38 | |
|---|
| 39 | ?> |
|---|
| 40 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"> |
|---|
| 41 | <html> |
|---|
| 42 | <head> |
|---|
| 43 | <title>Administration de <?php echo $host ?></title> |
|---|
| 44 | <link rel="stylesheet" href="style.css" type="text/css"> |
|---|
| 45 | </head> |
|---|
| 46 | <frameset cols="225px,*"> |
|---|
| 47 | <frame src="menu.php" name="left"> |
|---|
| 48 | <frame src="<?php echo $page ?>" name="right"> |
|---|
| 49 | <noframes> |
|---|
| 50 | Votre navigateur doit supporter les cadres.<br /> |
|---|
| 51 | Your browser must support frames |
|---|
| 52 | </noframes> |
|---|
| 53 | </frameset> |
|---|
| 54 | </html> |
|---|