/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk
23 by Suren A. Chilingaryan
Administrative interface and better handling of missing group channels
1
<?php
2
require("../adei.php");
3
4
header("Content-Type: text/html; charset=UTF-8");
5
header("Cache-Control: no-cache, must-revalidate");
6
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
7
24 by Suren A. Chilingaryan
Logger subsystem
8
23 by Suren A. Chilingaryan
Administrative interface and better handling of missing group channels
9
/*
10
$_GET = array(
11
    "page"=> "cacheinfo.php",
12
    "table_info" => true,
13
    "item_info" => true,
14
);
15
*/
16
17
?>
18
<html>
19
<head>
24 by Suren A. Chilingaryan
Logger subsystem
20
  <link rel="stylesheet" type="text/css" href="admin.css"/> 
23 by Suren A. Chilingaryan
Administrative interface and better handling of missing group channels
21
</head>
22
<body>
23
 <div class="header">
548 by Suren A. Chilingaryan
Optimize Cache Administrator (inroduces new REQUEST flags and significant changes to CACHEDB)
24
    Cache:
25
    <a href="index.php?page=cacheinfo.php&source_info&group_info&table_info&filter=xxxxxxxx__xxxxxxxx"><?echo translate("List");?></a>
281 by Suren A. Chilingaryan
Source view in the Administrator Interface
26
    <a href="index.php?page=cacheinfo.php&source_info"><?echo translate("Overview");?></a>
548 by Suren A. Chilingaryan
Optimize Cache Administrator (inroduces new REQUEST flags and significant changes to CACHEDB)
27
    <a href="index.php?page=cacheinfo.php&source_info&group_info&table_info"><?echo translate("Info");?></a>
28
    <a href="index.php?page=cacheinfo.php&source_info&group_info&table_info&item_info&reader_info"><?echo translate("Extended Info");?></a>
29
    <a href="index.php?page=cacheinfo.php&source_info&group_info&table_info&item_info&caching_problems"><?echo translate("Problems");?></a>
30
    Logs:
24 by Suren A. Chilingaryan
Logger subsystem
31
    <a href="index.php?page=logview.php&priority=<?echo LOG_WARNING;?>"><?echo translate("Log Viewer");?></a>
32
    <a href="index.php?page=logview.php"><?echo translate("Debug Viewer");?></a>
23 by Suren A. Chilingaryan
Administrative interface and better handling of missing group channels
33
 </div>
24 by Suren A. Chilingaryan
Logger subsystem
34
<?
23 by Suren A. Chilingaryan
Administrative interface and better handling of missing group channels
35
36
    $page = $_GET['page'];
37
    if (($page)&&(preg_match("/^[\w\d_.]+\.php$/", $page))&&(is_file("admin/$page"))) {
38
	require("admin/$page");
39
    }
40
?></body></html>