/var/www/(Del)discoverylearning.com.hk/sc/aboutus.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
<?php require_once('../webadmin/configure.php');
$AboutusId =(int)$_GET['AboutusId'];
?>
<!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>Discovery Learning Academy</title>
<meta name="keywords" content="Discovery Learning Academy">
<meta name="description" content="Discovery Learning Academy" />
<link rel="stylesheet" type="text/css" href="../css/style.css" />
<!-- Main Menu -->
<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>
<!-- End Main Menu -->
</head>

<body>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="50" height="70"><img src="../images/headerspace.jpg" width="50" height="70" /></td>
    <td width="900" height="157" align="left" valign="top"><div id="header">
    <a href="index.php"><img src="../images/logo.jpg" border="0" id="header_logo" /></a>
    <div id="lang" class="lang"><img src="../images/lang_line.jpg" align="absmiddle" /><a href="../en/aboutus.php?AboutusId=<?=$_GET['AboutusId'];?>">English</a><img src="../images/lang_line.jpg" align="absmiddle" /><a href="../tc/aboutus.php?AboutusId=<?=$_GET['AboutusId'];?>">繁體</a><img src="../images/lang_line.jpg" align="absmiddle" /><a href="../sc/aboutus.php?AboutusId=<?=$_GET['AboutusId'];?>">简体</a><img src="../images/lang_line.jpg" width="30" height="18" align="absmiddle" /></div>
    <div id="header_link"><a href="bday.php"><img src="../images/icon_bday.jpg" align="absmiddle" /></a><b>Follow us:</b> <?php
    $result1 
mysql_query("SELECT * FROM SocialMedia ORDER BY SMId ASC ");                
    while (
$row1 mysql_fetch_array($result1,MYSQL_ASSOC))    {
    echo 
'<a href="'.$row1{'SMLink'}.'" target="_blank"><img src="../images/'.$row1{'SMIcon'}.'" align="absmiddle" /></a>';
    } 
?></div>
    <div id="mainmenu"><!--Main Menu -->
        <table width="750" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td class="mainmenubg" width="10"><img src="../images/mainmenu_l.jpg" width="10" height="30" /></td>
            <td class="mainmenubg"><div id="myslidemenu" class="jqueryslidemenu">
                <ul>
                    <li><a href="index.php">主页</a></li>                    
                    <li><a>关于 DLA</a>
                        <ul><?php
                        $result1 
mysql_query("SELECT * FROM Aboutus ORDER BY AboutusSort ASC, AboutusId DESC ");                
                        while (
$row1 mysql_fetch_array($result1,MYSQL_ASSOC))    { 
                        
?>
                            <li><a href="aboutus.php?AboutusId=<?=$row1{'AboutusId'};?>"><span><?=$row1{'AboutusTitlesc'};?></span></a></li>
                        <?php ?>
                        </ul>
                    </li>
                    <li><a>课程简介</a>                            
                        <ul><?php
                        $result1 
mysql_query("SELECT * FROM CoursesCat ORDER BY CoursesCatSort ASC, CoursesCatId DESC ");                
                        while (
$row1 mysql_fetch_array($result1,MYSQL_ASSOC))    { 
                        
?>
                            <li><a href="courses.php?CoursesCatId=<?=$row1{'CoursesCatId'};?>"><span><?=$row1{'CoursesCatTitlesc'};?></span></a></li>
                        <?php ?>
                        </ul>
                    </li>
                    <li><a href="media.php">媒体报导</a></li>
                    <li><a>立即登记</a>                            
                        <ul><?php
                        $result1 
mysql_query("SELECT * FROM EnrollPage ORDER BY EnrollPageSort ASC, EnrollPageId DESC ");                
                        while (
$row1 mysql_fetch_array($result1,MYSQL_ASSOC))    { 
                        
?>
                            <li><a href="enrollpage.php?EnrollPageId=<?=$row1{'EnrollPageId'};?>"><span><?=$row1{'EnrollPageTitlesc'};?></span></a></li>
                        <?php ?>
                        </ul>
                    </li>
                    <li><a href="gallery.php">相簿</a></li>                        
                    <li><a href="contactus.php">联络我们</a></li>
                    <li><a href="links.php">连结</a></li>
                </ul>
            </div></td>
            <td class="mainmenubg" width="10"><img src="../images/mainmenu_r.jpg" width="10" height="30" /></td>
          </tr>
        </table>
      <!-- End Main Menu --></div>
    </div></td>
    <td width="50" height="70"><img src="../images/headerspace.jpg" width="50" height="70" /></td>
  </tr> 
  <?php $result1 mysql_query("SELECT * FROM Aboutus WHERE AboutusId = ".$AboutusId." ");                
          
$row1 mysql_fetch_array($result1,MYSQL_ASSOC);
    
?>
  <tr>
    <td height="300" colspan="3" align="center" valign="bottom" class="pageimagebg"><table width="900" border="0" cellpadding="0" cellspacing="0">        
      <tr>
        <td align="left" valign="bottom" class="pagetitlebg"><span class="pagetitle"><?=$row1{'AboutusTitlesc'};?></span></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="400" align="left" valign="top"><img src="../images/pageshadow_l.jpg" width="50" height="280" /></td>
    <td align="left" valign="top"><table width="900" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="260" align="left" valign="top"><!-- Submenu -->
        <ul id="submenutxt" class="submenutxt">
        <?php
            $result2 
mysql_query("SELECT * FROM Aboutus ORDER BY AboutusSort ASC, AboutusId DESC ");                
            while (
$row2 mysql_fetch_array($result2,MYSQL_ASSOC))    { 
            
?>
            <li><a href="aboutus.php?AboutusId=<?=$row2{'AboutusId'};?>"><?=$row2{'AboutusTitlesc'};?></a></li>
        <?php ?>
        </ul>
        <!-- End Submenu --></td>
        <td width="610" align="left" valign="top" class="aboutustxt"><?=$row1{'AboutusDescsc'};?><br /><br />
        <?php
            
if ($_GET['AboutusId'] == '4') {
                
$result2 mysql_query("SELECT * FROM GCard ORDER BY GCardSort ASC, GCardId DESC ");
                
$x=1;                
                while (
$row2 mysql_fetch_array($result2,MYSQL_ASSOC))    { 
                if (
$x ==1)
                    
$style "style1";
                else
                    
$style "style2";
                
?>
                <div id="gcard-<?=$style;?>"><table width="600" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td align="left" valign="top" class="gcard-parents">家长: <?=$row2{'GCardParentsc'};?></td>
                  </tr>
                  <tr>
                    <td align="left" valign="top" class="gcard-student"><img src="../images/gcard_icon_<?=$style;?>.jpg" align="absmiddle" /> <strong>学生:</strong> <?=$row2{'GCardStudentsc'};?></td>
                  </tr>
                  <tr>
                    <td align="left" valign="top" class="gcard-txt"><?=$row2{'GCardDescsc'};?></td>
                  </tr>
                  <tr>
                    <td><img src="../images/gcard_bottom_<?=$style;?>.jpg" /></td>
                  </tr>
                </table></div>
        <?php $x $x +1; }
         } 
?>
        </td>
      </tr>
    </table></td>
    <td align="left" valign="top"><img src="../images/pageshadow_r.jpg" width="50" height="280" /></td>
  </tr>
  <tr>
    <td align="center" valign="middle" class="footer">&nbsp;</td>
    <td align="center" valign="middle" class="footer">© 2012 Discovery Learning Academy. All right reserved &nbsp;| &nbsp;<? include("counter.php");?><br />
    Sponsored by <a href="http://www.onesolution.com.hk" target="_blank" /></a>One Solution Limited. <img src="../images/onesolutionlogo.jpg" width="90" height="15" align="absmiddle" /></a></td>
    <td align="center" valign="middle" class="footer">&nbsp;</td>
  </tr>
</table>
</body>
</html>
<?php
$result5 
mysql_query("SELECT * FROM Aboutus WHERE AboutusId = ".$AboutusId." ");                
$row5 mysql_fetch_array($result5,MYSQL_ASSOC);
//$actionpath = preg_replace("/&msg=.*/","",$_SERVER["REQUEST_URI"]);
$actionpath $_SERVER["REQUEST_URI"];
$actiondetail $row5{'AboutusTitlesc'};
require(
"cms_ActionView.php");
?>