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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
|
<?php require_once('../webadmin/configure.php'); ?> <!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=utf-8" /> <title></title> <link rel="stylesheet" type="text/css" href="../css/style.css" /> <link rel="stylesheet" type="text/css" href="menu/jqueryslidemenu.css" />
<!--[if lte IE 7]> <style type="text/css"> html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/ </style> <![endif]-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script> <script type="text/javascript" src="menu/jqueryslidemenu.js"></script> </head>
<body> <table width="1000" border="0" align="center" cellpadding="0" cellspacing="0"> <!-- Start Header --> <tr> <td align="center" valign="top"><table width="1000" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="150" valign="top"><img src="../images/headerleft.jpg" width="150" height="225" /></td> <td width="700" align="left" valign="top" bgcolor="#FFFFFF"><table width="700" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="225" background="../images/header_bg.jpg" align="left" valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="180" align="left" valign="top"><div style="float:right; clear:both;"><a href="../en/whatsnew.php"><img src="../images/lang_en.jpg" width="43" height="26" border="0" /></a></div><a href="index.php"><img src="../images/logo.jpg" width="196" height="107" border="0" /></a></td> </tr> <tr> <td align="center" valign="top"><div id="myslidemenu" class="jqueryslidemenu"> <ul> <?php $sql = "SELECT * "; $sql .= "FROM about "; $sql .= "ORDER BY pref ASC "; $result = mysql_query($sql); $row = mysql_fetch_array($result,MYSQL_ASSOC); if (mysql_num_rows($result) > 1 ){ echo "<li><a href='about.php?aboutid=". $row{'aboutid'} ."'>". $row{'abouttitleen'} ."</a>"; echo "<ul>"; $sql = "SELECT * "; $sql .= "FROM about "; $sql .= "ORDER BY pref ASC "; $sql .= "LIMIT 1,99 "; $result = mysql_query($sql); while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) { echo "<li><a href='about.php?aboutid=". $row{'aboutid'} ."'><span>". $row{'abouttitleen'} ."</span></a></li>"; } echo "</ul></li>"; } else if (mysql_num_rows($result) == 1 ){ echo "<li><a href='about.php?aboutid=". $row{'aboutid'} ."'>". $row{'abouttitleen'} ."</a></li>"; } ?> <li><a href="whatsnew.php">What's New</a></li> <li><a>Course</a> <ul> <?php $sql = "SELECT * "; $sql .= "FROM coursecat "; $sql .= "ORDER BY pref ASC "; $result1 = mysql_query($sql); while ($row = mysql_fetch_array($result1,MYSQL_ASSOC)) { echo '<li><a href="course.php?ccatid='. $row{'ccatid'} .'"><span>'. $row{'ccatnameen'} .'</span></a>'; $sqlx = "SELECT * "; $sqlx .= "FROM coursesub "; $sqlx .= "WHERE ccatid = ".$row{'ccatid'}; $sqlx .= " ORDER BY pref ASC "; $result2 = mysql_query($sqlx); //echo mysql_error(); if (mysql_num_rows($result2) > 0 ){ echo "<ul>"; while ($row2 = mysql_fetch_array($result2,MYSQL_ASSOC)) { echo '<li><a href="course_detail.php?ccatid='. $row{'ccatid'} .'&csubid='. $row2{'csubid'} .'"><span>'. $row2{'csubnameen'} .'</span></a></li>'; } echo "</ul>"; } echo '</li>'; } ?> </ul> </li> <?php $sql = "SELECT * "; $sql .= "FROM gallerycat "; $sql .= "ORDER BY gcatdate DESC, gcatid DESC "; $result2 = mysql_query($sql); $row = mysql_fetch_array($result2,MYSQL_ASSOC); if (mysql_num_rows($result2) >= 1 ){ echo "<li><a href='gallery.php'>Gallery</a>"; echo "<ul>"; $sql = "SELECT * "; $sql .= "FROM gallerycat "; $sql .= "ORDER BY gcatdate DESC, gcatid DESC "; $result = mysql_query($sql); while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) { echo "<li><a href='gallery_detail.php?gcatid=". $row{'gcatid'} ."'><span>". $row{'gcatnameen'} ."</span></a></li>"; } echo "</ul></li>"; } else if (mysql_num_rows($result2) == 0 ) { echo "<li><a href='gallery.php'>Gallery</a></li>"; } ?> <?php $sql = "SELECT * "; $sql .= "FROM policies "; $sql .= "ORDER BY pref ASC "; $result2 = mysql_query($sql); $row = mysql_fetch_array($result2,MYSQL_ASSOC); if (mysql_num_rows($result2) > 1 ){ echo "<li><a href='policies.php?pid=". $row{'pid'} ."'>". $row{'ptitleen'} ."</a>"; echo "<ul>"; $sql = "SELECT * "; $sql .= "FROM policies "; $sql .= "ORDER BY pref ASC "; $sql .= "LIMIT 1,99 "; $result = mysql_query($sql); while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) { echo "<li><a href='policies.php?pid=". $row{'pid'} ."'><span>". $row{'ptitleen'} ."</span></a></li>"; } echo "</ul></li>"; } else if (mysql_num_rows($result2) == 1 ) { echo "<li><a href='policies.php?pid=". $row{'pid'} ."'>". $row{'ptitleen'} ."</a></li>"; } ?> <li><a href="career.php">Career</a></li> <li><a href="contactus.php">Contact Us</a></li> </ul> </div></td> </tr> </table></td> </tr>
</table></td> <td width="150" valign="top"><img src="../images/headerright.jpg" width="150" height="225" /></td> </tr> </table></td> </tr> <!-- End Header --> <tr> <td align="center" valign="top"><table width="1000" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="150" valign="top" background="../images/leftbg.gif"><img src="../images/left.gif" width="150" height="535" /></td> <td align="left" valign="top" bgcolor="#FFFFFF" id="body"><table width="660" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="60" class="title">What's New</td> </tr> <tr> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"><table width="660" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="460" align="left" valign="top"><?php $sql = "SELECT * "; $sql .= "FROM news "; $sql .= "WHERE lastupdate = '1' "; $sql .= "ORDER BY newsdate DESC "; $result = mysql_query($sql); while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) { $showdate = $row{'newsdate'}; $y = substr($showdate, 0, 4); $m = substr($showdate, 5, 2); $d = substr($showdate, 8, 2); $monthname = array( 1 => 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ); ?> <a name="<?=$row{'newsid'};?>" id="<?=$row{'newsid'};?>"></a> <table width="450" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="../images/whats-new_top1.jpg" width="450" height="5" /></td> </tr> <tr> <td align="left" valign="top" background="../images/whats-new_bg1.jpg" class="newtitle" style="padding-left:10px"><?=$row{'newstitleen'};?></td> </tr> <tr> <td align="left" valign="top" background="../images/whats-new_bg1.jpg" style="padding-left:10px">Posted on <?=$monthname[$m*1] ." ". $d .", ". $y;?></td> </tr> <tr> <td><img src="../images/whats-new_bottom1.jpg" width="450" height="5" /></td> </tr> <tr> <td align="left" valign="top" class="newtxt"><?=$row{'newsdescen'};?><br /></td> </tr> </table> <br><br> <? } ?> </td> <td width="200" align="left" valign="top"><table width="200" border="0" cellpadding="0" cellspacing="0" bgcolor="#FAF7EA"> <tr> <td><img src="../images/whats-new_top2.jpg" width="200" height="5" /></td> </tr> <tr> <td class="newtitle2"><strong>Last Update: </strong></td> </tr> <tr> <td height="100" align="left" valign="top" ><div id="newtxt" class="newtxt"><ul> <?php $sql = "SELECT * "; $sql .= "FROM news "; $sql .= "WHERE lastupdate = '1' "; $sql .= "ORDER BY newsdate DESC "; $result = mysql_query($sql); while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) { ?> <li><a href="#<?=$row{'newsid'};?>"><?=$row{'newstitleen'};?></a></li> <? } ?></ul></div> </td> </tr> <tr> <td><img src="../images/whats-new_bottom2.jpg" width="200" height="5" /></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> <td width="150" valign="top" background="../images/rightbg.gif"><img src="../images/right.gif" width="150" height="535" /></td> </tr> </table></td> </tr> <!-- Footer --> <tr> <td align="center" valign="top" id="footer"><table width="660" height="200" border="0" cellpadding="0" cellspacing="0"> <?php $sql = "SELECT * "; $sql .= "FROM contactus "; $result = mysql_query($sql); $row = mysql_fetch_array($result,MYSQL_ASSOC); ?> <tr> <td align="center" valign="middle" class="footertxt">Tel: <?=$row{'cphone'};?> Fax: <?=$row{'cfax'};?> Email: <a href="mailto:<?=$row{'cemail'};?>"><?=$row{'cemail'};?></a><br /> <br /> Copyright © 2010 Explorer Island. All rights reserved. | Powered by <a href="http://www.onesolution.com.hk" target="_blank">One Solution Limited</a> </td> </tr> </table></td> </tr> <!-- End Footer --> </table> </body> </html>
|