/var/www/(Del)wah-tung.com/html/en/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
<?php
require("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">
<html>
<head>
<title>Wah Tung Sponge Factory Limited</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="../css/style.css" />
<link rel="stylesheet" type="text/css" href="../css/jqueryslidemenu.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript" src="../js/jqueryslidemenu.js"></script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<table width="965" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="965" height="128" align="right" valign="top" background="../images/header.jpg" style="background-repeat:no-repeat"><table border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td align="right" valign="top" style="padding-top:10px;padding-right:10px"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="400" height="90">
            <param name="movie" value="../flash/slogan_en.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="transparent" />
            <embed src="../flash/slogan_en.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="90" wmode="transparent"></embed>
        </object></td>
      </tr>
      <tr>
        <td align="right" valign="bottom"><table border="0">
            <tr>
              <td align="right"><a href="../en/index.php"><img src="../images/lang_eng.png" width="56" height="15" border="0" /></a></td>
              <td align="right"><a href="../sc/index.php"><img src="../images/lang_sc.png" width="78" height="15" border="0" /></a></td>
              <td align="right"><a href="../jp/index.php"><img src="../images/lang_jp.png" width="63" height="15" border="0" /></a></td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>

<!-- Menu -->
<?php require("menu.php"); ?>

  <tr>
    <td height="480" valign="top"><table border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="190" align="left" background="../images/bg_inSearchButton.gif"><div class="colLeft">&nbsp;</div></td>
        <td height="60" align="left" class="titletxt"><div class="colMiddle">
        <?    
                  
          $sql 
"SELECT * ";
          
$sql .= "FROM aboutus ";
          
$sql .= "where aboutusId = $aboutusId ";
          
$result mysql_query($sql);
          
$row mysql_fetch_array($result,MYSQL_ASSOC);
          if (
$aboutusId == "")
          { 
            echo 
"About Us";
            }else{
            echo 
$row{'aboutusname'}; 
          } 
          
?></div></td>
      </tr>
      <tr>
        <td width="190" height="420" align="left" valign="top" background="../images/bg_conment.gif"><div class="colLeft"><div class="customGroup">
<!-- SubMenu -->
<?
        load
(001);

        function 
load($p$space$top)
        {
            
$sql "SELECT * ";
            
$sql .= "FROM aboutus ";
            
$sql .= "where parentid = $p ";
            
$sql .= "order by sortby";

            
$result1 mysql_query($sql);
            
$n=1;
            
            
$count mysql_num_rows($result1); 
            
$num mysql_num_rows($result1);
            if ((
$top<>1) && ($num 0))
            {
                echo 
"<ul>";
            }
            while (
$row mysql_fetch_array($result1,MYSQL_ASSOC))
            {
                    if (
$top==1
                        echo 
"<div class='customGroup_title'>";
                    else
                        echo 
"<li>";
                        
                if (
$row{'aboutusdesc'} == "")
                    echo 
$row{'aboutusname'};
                else
                    echo 
"<a href='aboutus.php?aboutusId=".$row{'aboutusId'}."'>"$row{'aboutusname'} . "</a>";

                if (
$top==1
                    echo 
"</div>";
                else
                    echo 
"</li>";                    
                
load($row{'aboutusId'}, $space+12);
            }
            if ((
$top<>1) && ($num 0))
            {
                echo 
"</ul>";
            }

        }
?>
</div></div></td>
        <td align="left" valign="top" class="txt"><div class="colMiddle">
        <? $sql "SELECT * ";
          
$sql .= "FROM aboutus ";
          
$sql .= "where aboutusId = $aboutusId ";
          
$result mysql_query($sql);
          
$row mysql_fetch_array($result,MYSQL_ASSOC);
          echo 
$row{'aboutusdesc'?>
         </div></td>
      </tr>
    </table></td>
  </tr>

<!-- Footer -->
<?php require("footer.php"); ?>
</table>
</body>

</html>