-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
168 lines (162 loc) · 8.81 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
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
161
162
163
164
165
166
167
168
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>â»Ãá¡ÃÁ»ÃÐÂØ¡µì¼èÒ¹àÇçºÊÓËÃѺµÔ´µÒÁáÅеÃǨÊͺ¡ÒÃãªé§Ò¹¢Í§¼Ùéãªé¼èÒ¹à¤Ã×Í¢èÒÂäÃéÊÒÂẺàÃÕÂÇä·Áì</title>
<link href="/project1/menu_assets/styles.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #666666;
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
}
.twoColHybLtHdr #container {
width: 80%; /* this will create a container 80% of the browser width */
background: #FFFFFF;
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
border: 1px solid #000000;
text-align: left; /* this overrides the text-align: center on the body element. */
}
.twoColHybLtHdr #header {
background: #DDDDDD;
padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
}
.twoColHybLtHdr #header h1 {
margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}
/* Tips for sidebar1:
1. Since we are working in relative units, it's best not to use padding on the sidebar. It will be added to the overall width for standards compliant browsers creating an unknown actual width.
2. Since em units are used for the sidebar value, be aware that its width will vary with different default text sizes.
3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".twoColHybLtHdr #sidebar1 p" rule.
*/
.twoColHybLtHdr #sidebar1 {
float: left;
width: 12em; /* since this element is floated, a width must be given */
background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
padding: 15px 0; /* top and bottom padding create visual space within this div */
}
.twoColHybLtHdr #sidebar1 h3, .twoColHybLtHdr #sidebar1 p {
margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
margin-right: 10px;
}
/* Tips for mainContent:
1. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div. No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends.
2. Be aware it is possible to cause float drop (the dropping of the non-floated mainContent area below the sidebar) if an element wider than it can contain is placed within the mainContent div. WIth a hybrid layout (percentage-based overall width with em-based sidebar), it may not be possible to calculate the exact width available. If the user's text size is larger than average, you will have a wider sidebar div and thus, less room in the mainContent div. You should be aware of this limitation - especially if the client is adding content with Contribute.
3. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This may help avoid several IE-specific bugs.
*/
.twoColHybLtHdr #mainContent {
margin: 0 20px 0 13em; /* the right margin can be given in percentages or pixels. It creates the space down the right side of the page. */
}
.twoColHybLtHdr #footer {
padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
background:#DDDDDD;
}
.twoColHybLtHdr #footer p {
margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
float: left;
margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
.style3 {font-size: 36%}
.style11 {color: #00BF00}
.style13 {
font-size: large;
color: #2A1F55;
}
.style14 {
color: #2A1F00;
font-size: medium;
}
.style15 {color: #2A3F00}
.style16 {
font-size: large;
font-weight: bold;
color: #2A1F00;
}
-->
</style><!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.twoColHybLtHdr #sidebar1 { padding-top: 30px; }
.twoColHybLtHdr #mainContent { zoom: 1; padding-top: 15px; }
/* the above proprietary zoom property gives IE the hasLayout it may need to avoid several bugs */
</style>
<![endif]-->
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body class="twoColHybLtHdr">
<div id="container">
<div id="header">
<h1 align="left"><span class="style3"> </span><span class="style3"><img src="fselogocolor.png" width="128" height="122" /> </span><img src="images/haeder.png" width="492" height="117" /></h1>
<div align="center"></div>
</div>
<div id="sidebar1">
<h><img src="images/zone.png" alt="zone" width="190" height="24" align="left" /><br />
<img src="images/iconcontrol/onebit_24.png" width="30" height="32" /> <a href="zone.php?id=1" class="style14">âçÍÒËÒÃ</a><br />
<img src="images/iconcontrol/onebit_24.png" alt="" width="30" height="32" /> <a href="zone_.php?id=2" class="style14">ÍÒ¤ÒÃàÃÕ¹ÃÇÁ</a><br />
<br />
<img src="images/mrtg.png" width="191" height="21" /><br />
<img src="images/iconcontrol/activity_monitor.png" width="30" height="32" /> <a href="mrtg.php?locate=1" class="style14">âçÍÒËÒÃ</a><br />
<img src="images/iconcontrol/activity_monitor.png" alt="" width="30" height="32" /> <a href="mrtg.php?locate=2" class="style14">ÍÒ¤ÒÃàÃÕ¹ÃÇÁ<br />
</a><br />
<img src="images/ʶҹÐÍØ»¡Ã³ì.png" width="190" height="24" /><br />
<img src="images/iconcontrol/admin.png" width="30" height="32" /> <a href="online.php?locate=1" class="style14">âçÍÒËÒÃ</a><br />
<img src="images/iconcontrol/admin.png" alt="" width="30" height="32" /> <a href="online.php?locate=2" class="style14">ÍÒ¤ÒÃàÃÕ¹ÃÇÁ</a><br />
</h3>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p>
<!-- end #sidebar1 -->
<br />
</p>
</div>
<div id='cssmenu'>
<ul>
<li class='active '><a href='index.php'><span>Home</span></a></li>
<li><a href='admin.php'><span>Manage</span></a></li>
<li><a href='logout.php'><span>Logout</span></a></li>
<li><a href='contact.php'><span>Contact</span></a></li>
</ul>
</div>
<div id="mainContent">
<h1 align="left" class="style11"><span class="style13"><span class="style13"><span class="style15">Welcome to page</span> </span> <br />
</h1>
<p align="center"><span class="style16">â»Ãá¡ÃÁ»ÃÐÂØ¡µì¼èÒ¹àÇçºÊÓËÃѺµÔ´µÒÁáÅеÃǨÊͺ</span></p>
<p align="center"><span class="style16"> ¡ÒÃãªé§Ò¹¢Í§¼Ùéãªéã¹Ãкº¤ÍÁ¾ÔÇàµÍÃìẺäÃéÊÒ¼èÒ¹ÃкºàÃÕÂÅä·Áì</span> </p>
<h1 align="left" class="style11">
<center><?php $ip=$_SERVER['REMOTE_ADDR'];
echo "<b><font face=\"MS Sans Serif\" size=\"4\" color=\"#000080\">IP Address ¢Í§¤Ø³¤×Í $ip</font></b>"; ?></center>
</h1>
<p class="style11"> </p>
<p>
<!-- end #mainContent -->
</p>
</div>
<!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" />
<div id="footer">
<p>Footer</p>
<!-- end #footer --></div>
<!-- end #container --></div>
</body>
</html>