Размер файла: 2.37Kb
<?php
Error_Reporting(E_ALL & ~E_NOTICE);
/***************************************************************************
* index.php (admin) (S-A WAP)
* -------------------
* Разработка: Антон Федорченко.
* Оптимизация под WAP: Felis.
* 2008 год
***************************************************************************/
?>
<?
//Подключаем модули
include('../config.php');
include('../functions.php');
include("../lang/{$Lng}_lng.php");
include('filename.php');
header("Expires: Mon, 23 May 1995 02:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
?>
<html>
<head>
<title><? echo $Cpt_AdminTool ?></title>
<? PrintMetaCharset($Lng) ?>
<link rel='stylesheet' href='../guestbook.css'>
</head>
<body bgcolor='#FFFFFF'>
<table align=center class='MenuTbl' cellspacing=0 cellpadding=0 border=0>
<tr>
<td colspan='4' height='30'><h3>Scriptum amabilis - <? echo $Cpt_AdminTool ?></h3></td>
</tr>
<tr>
<td class='MenuItem'><a href='index.php?page=messages'><? echo $Cpt_Messages ?></a></td>
<td class='MenuItem'><a href='index.php?page=hided_messages'><? echo $Cpt_HidedMsg ?></a></td>
<td class='MenuItem'><a href='index.php?page=settings'><? echo $Cpt_Settings ?></a></td>
<td class='MenuItem'><a href='../guestbook.php'><? echo $Cpt_Guestbook ?></a></td>
</tr>
</table>
<?php
//подключаем динамические страницы
if($_GET['page']=='delete_hided')
include('delete_hided.php');
if($_GET['page']=='down')
include('down.php');
if($_GET['page']=='hided_messages')
include('hided_messages.php');
if(($_GET['page']=='') or ($_GET['page']=='messages'))
include('messages.php');
if($_GET['page']=='edit_message')
include('edit_message.php');
if($_GET['page']=='delete_message')
include('delete_message.php');
if($_GET['page']=='hide_message')
include('makehide.php');
if($_GET['page']=='restore_message')
include('restore_message.php');
if($_GET['page']=='settings')
include('settings.php');
if($_GET['page']=='up')
include('up.php');
?>
</body>
</html>