-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.php
43 lines (39 loc) · 1.7 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
include('session.inc');
$subsys="main";
if (isset($_SESSION['readonly']) && $_SESSION['readonly'])
header("Location: incidents.php");
else
header("Location: main.php");
/*
include('local-dls.php');
require_once('session.inc');
require_once('functions.php');
if (isset($_GET["frame"]) && $_GET["frame"] == "1") {
print "<BASE target=_parent>\n";
print "<p><div style=\"font-family: Tahoma\"><p>";
print "<b>Introductory Menu</b><p>\n";
print "<font size=-1>Please select from one of the following links, or select a tab above:</font><p>\n";
print "<p></div><ul>\n";
print "<div style=\"font-family: Tahoma; font-size: 18\"><a href=incidents.php>Incidents</a></div><p>\n";
print "<div style=\"font-family: Tahoma; font-size: 18\"><a href=cad-units.php>Units</a></div><p>\n";
print "<div style=\"font-family: Tahoma; font-size: 18\"><a href=cad.php>Log Messages</a></div><p>\n";
print "<div style=\"font-family: Tahoma; font-size: 18\"><a href=config.php>Settings</a></div><p>\n";
print "<div style=\"font-family: Tahoma; font-size: 18\"><a href=reports.php>Reports</a></div><p>\n";
print "<div style=\"font-family: Tahoma; font-size: 18\"><a href=help.php>Help</a></div><p>\n";
print "</ul>";
exit;
}
header_html("Dispatch :: Main Menu");
?>
<body vlink="blue" link="blue" alink="cyan">
<?php
include('include-title.php');
?>
<iframe name="menu" src="index.php?frame=1"
width="<?php print trim($_COOKIE['width']) - 30 ?>"
height="<?php print trim($_COOKIE['height']) - 125 ?>"
marginheight="0" marginwidth="0" frameborder="0"> </iframe>
</body>
*/
?>