-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.php
160 lines (145 loc) · 5.71 KB
/
layout.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2006 Michael Earls |
| |
| 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 2 |
| of the License, or (at your option) 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. |
+-------------------------------------------------------------------------+
| - phpIP - http://www.phpip.net/ |
+-------------------------------------------------------------------------+
*/
include "common.php";
function myheader($ptitle){
$meta = &new Meta;
$meta->company_name = "phpIP Management";
$meta->sitename = "phpIP Management $_SESSION[version]";
$meta->slogan = "phpIP Management";
$meta->generator = "PHP";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<?php echo $meta->metadata($ptitle); ?>
<link rel=stylesheet type=text/css href='css/<?php echo $_SESSION[style]; ?>'>
<link REL="shortcut icon" HREF="i/favicon.ico" TYPE="image/x-icon">
<SCRIPT LANGUAGE="JavaScript">
<!--
// by Nannette Thacker
// http://www.shiningstar.net
// This script checks and unchecks boxes on a form
// Checks and unchecks unlimited number in the group...
// Pass the Checkbox group name...
// call buttons as so:
// <input type=button name="CheckAll" value="Check All"
//onClick="checkAll(document.myform.list)">
// <input type=button name="UnCheckAll" value="Uncheck All"
//onClick="uncheckAll(document.myform.list)">
// -->
<!-- Begin
function checkAll(field)
{
for (i = 0; i < field.length; i++)
field[i].checked = true ;
}
function uncheckAll(field)
{
for (i = 0; i < field.length; i++)
field[i].checked = false ;
}
// End -->
</script>
</head>
<body bgcolor="#ffffff" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="100%">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="i/top1.jpg"></td>
<td width="100%" background="i/top1bg.jpg"><img src="i/spacer.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" background="i/top2bg.gif">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<!-- BEGIN TOP NAV -->
<td><img src="i/spacer.gif" width="40" height="24"></td>
<td><a href="display.php"><img src="i/l11.jpg" border="0"></a></td>
<td><img src="i/vline.gif"></td>
<td><a href="preference.php"><img src="i/l2.jpg" border="0"></a></td>
<td><img src="i/vline.gif"></td>
<td><a href="search.php"><img src="i/l5.jpg" border="0"></a></td>
<td><img src="i/vline.gif"></td>
<td><a href="help.php"><img src="i/l3.jpg" border="0"></a></td>
<td><img src="i/vline.gif"></td>
<td><a href="logout.php"><img src="i/l4.jpg" border="0"></a></td>
<!-- <td><img src="i/vline.gif"></td> -->
<td width="100%"><img src="i/spacer.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>
<!--
include statement for side link
-->
<td width="100%">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="i/top3.gif"></td>
<td width="100%" colspan="3" background="i/top3bg.gif"><img src="i/spacer.gif"></td>
</tr>
<tr>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<?php
include "boxes/box_main_links.php";
?>
</td>
<td valign="top"><img src="i/spacer.gif" width="12" height="1"></td>
<td valign="top">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td rowspan="2"><img src="i/spacer.gif"></td>
<!--
The width of the image below adjusts the overall width of the content area
(in pixels). Currently, the 470px is there to give the content area a
fixed width that will work in resolutions 800x600 and up.
-->
<td><img src="i/spacer.gif" width="470px" height="20"></td>
</tr>
<tr>
<td valign="top" class="carea">
<!-- CONTENT AREA START -->
<?php
}
function footer(){
?>
</td>
</tr>
</table>
</td>
<td width="100%"><img src="i/spacer.gif"></td>
</tr>
</table>
</td>
</tr>
</table>
</br>
</br>
</body>
</html>
<?php
}
?>