Location: PHPKode > projects > Phoenix FS > phoenixfs1.0.1/manage/panel.php
<?php
/*-----------------------------------------------------------------------
| Phoenix FS v. 1.0.1                                                   |
| Created by Gian_PHP                                                   |
| Based on PHP & MySQL                                                  |
-------------------------------------------------------------------------
| This program is free software: you can redistribute it and/or modify  |
| it under the terms of the GNU General Public License as published by  |
| the Free Software Foundation, either version 3 of the License, or     |
| any later version.                                                    |
|                                                                       |
| This program is distributed in the hope that it will be useful,       |
| but WITHOUT ANY WARRANTY; without even the implied warranty of        |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         |
| GNU General Public License for more details.                          |
|                                                                       |
| GNU GPL License: http://www.gnu.org/licenses/gpl.txt                  |
-------------------------------------------------------------------------
| panel.php                                                             |
-----------------------------------------------------------------------*/

session_start();
if($_SESSION['ADMIN_LOGIN'] != true) {
	header('location: index.php');
	exit();
}
define('ACCESS', true);
define('ADMIN_ACCESS', true);
require_once './admin_functions.inc.php';
require_once '../includes/functions.inc.php';
require_once '../includes/config.inc.php';

DB_Connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
?>

<html>

<head>
<title>Phoenix FS Administration</title>
<style>
body {
	font-family: Verdana;
}

.font_small {
	font-size: small;
}
</style>

</head>

<body>

<table cellpadding="6" cellspacing="0" width="100%">
	<tr>
		<td>
		<table cellpadding="5" cellspacing="0" width="100%">
			<tr>
				<td width="1%">
				<img border="0" src="images/logo.gif"></td>
				<td><font color="#33CC33" size="5" face="Verdana">Phoenix FS Administration</font></td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td class="font_small">
		Welcome to the Administration Area of Phoenix FS.</td>
	</tr>
	<tr>
		<td class="font_small">
		<a href="panel.php?id=index">Administration Index</a></td>
	</tr>
    <tr>
		<td class="font_small">
		<b>General info</b><br>
		<a href="panel.php?id=module_name">Module name</a><br>
		<a href="panel.php?id=module_style">Module style</a></td>
	</tr>
	<tr>
		<td><?php Get_Sep() ?></td>
	</tr>
	<tr>
		<td class="font_small">
		<b>Module fields</b><br>
		<a href="panel.php?id=view_fields">View Fields</a><br>
		<a href="panel.php?id=delete_fields">Delete field/s</a><br>
		<a href="panel.php?id=add_fields">Add field/s</a></td>
	</tr>
	<tr>
		<td><?php Get_Sep() ?></td>
	</tr>
	<tr>
		<td class="font_small">
		<b>Server info</b><br>
		<a href="panel.php?id=phpinfo">PHP info</a></td>
	</tr>
	<tr>
		<td><?php Get_Sep() ?></td>
	</tr>
	<tr>
		<td class="font_small">
		<b>Content</b></td>
	</tr>
	<tr>
		<td class="font_small">
		<table cellpadding="8" cellspacing="1" width="100%" bgcolor="#33CC33">
			<tr>
				<td bgcolor="#FFFFFF" class="font_small"><?php 
				switch(@$_GET['id']) {
					case 'index':
					echo 'Please select an option.';
					break;
					case 'module_name':
					Module_Name();
					break;
					case 'module_name2':
					Module_Name2();
					break;
					case 'module_style':
					Module_Style();
					break;
					case 'module_style2':
					Module_Style2();
					break;
					case 'view_fields':
					View_Fields();
					break;
					case 'delete_fields':
					Delete_Fields();
					break;
					case 'delete_fields2':
					Delete_Fields2();
					break;
					case 'add_fields':
					Add_Fields();
					break;
					case 'add_fields2':
					Add_Fields2();
					break;
					case 'phpinfo':
					echo '<a href="info.php" target="_blank">View PHP Info</a>';
					break;
					default:
					echo 'Please select an option.';
				}
				?></td>
			</tr>
		</table>
		</td>
	</tr>
</table>

</body>

</html>
<?php DB_Close(); ?>
Return current item: Phoenix FS