/var/www/aa-lam.org/contactus.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
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
<?php require("admin/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" />
</head>

<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><a href="index.php"><img src="images/home.jpg" width="980" height="55" border="0" /></a></td>
  </tr>
  <tr>
    <td><?php 
    
if (($_SESSION["pmenu"] == '1') || ($_SESSION["pmenu"] == '2')){
    echo 
'<img src="images/pagebanner2.jpg" width="980" height="184" />';
    } else if (
$_SESSION["pmenu"] == '3'){
    echo 
'<img src="images/pagebanner3.jpg" width="980" height="184" />';
    } else if (
$_SESSION["pmenu"] == '4'){
    echo 
'<img src="images/pagebanner4.jpg" width="980" height="184" />';
    } else {
    echo 
'<img src="images/pagebanner.jpg" width="980" height="184" />';
    }
    
?></td>
  </tr>
  <tr>
    <td><table width="980" border="0" cellpadding="0" cellspacing="0">
      <tr>
          <?
        $sql 
" select * from categories where categories.parentid = '1' order by sortby limit 0, 1";
        
$res mysql_query($sql);
        
$row mysql_fetch_array($res);
        
$template1 $row["template"];
        
?>
        <?
        $sql 
" select * from categories where categories.parentid = '2' order by sortby limit 0, 1";
        
$res mysql_query($sql);
        
$row mysql_fetch_array($res);
        
$template2 $row["template"];
        
?>
        <?
        $sql 
" select * from categories where categories.parentid = '3' order by sortby limit 0, 1";
        
$res mysql_query($sql);
        
$row mysql_fetch_array($res);
        
$template3 $row["template"];
        
?>
        <?
        $sql 
" select * from categories where categories.parentid = '4' order by sortby limit 0, 1";
        
$res mysql_query($sql);
        
$row mysql_fetch_array($res);
        
$template4 $row["template"];
        
?>
        <?
        $sql 
" select * from news where news.status = 'Enable' order by newsdate desc limit 0, 1";
        
$res mysql_query($sql);
        
$row mysql_fetch_array($res);
        
$new $row["newsid"];
        
?>
        <td><a href="<?=$template1?>"><img src="images/menu01.jpg" width="140" height="31" border="0" /></a></td>
        <td><a href="<?=$template2?>"><img src="images/menu02.jpg" width="140" height="31" border="0" /></a></td>
        <td><a href="<?=$template3?>"><img src="images/menu03.jpg" width="140" height="31" border="0" /></a></td>
        <td><a href="<?=$template4?>"><img src="images/menu04.jpg" width="140" height="31" border="0" /></a></td>
        <td><a href="guestbook.php"><img src="images/menu05.jpg" width="140" height="31" border="0" /></a></td>
        <td><a href="contactus.php"><img src="images/menu06.jpg" width="140" height="31" border="0" /></a></td>
        <td><a href="news.php?newsid=<?=$new?>"><img src="images/menu07.jpg" width="140" height="31" border="0" /></a></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="7"></td>
  </tr>
  <tr>
    <td><table width="980" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="280"><img src="images/title06.jpg" width="280" height="33" /></td>
        <td width="700" align="left" valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td height="350" align="center" valign="top" bgcolor="#F2F2F2"><br><br><form action="sendEmail.php" method="post" name="order" id="order">
            <table width="250" border="0" cellpadding="0" cellspacing="0" class="txt">
              <tr>
                <td width="45" height="20" align="left" class="txt"><strong>&nbsp;名字:&nbsp;&nbsp;</strong></td>
                <td height="20" class="txt"><input type="text" name="name" size="25" class="txt" /></td>
              </tr>
              <tr>
                <td height="20" align="left" class="txt"><strong>&nbsp;電郵:&nbsp;&nbsp;</strong></td>
                <td height="20" class="txt"><input type="text" name="email" size="25" class="txt" /></td>
              </tr>
              <tr>
                <td height="20" align="left" class="txt"><strong>&nbsp;標題:&nbsp;&nbsp;</strong></td>
                <td height="20" class="txt"><input type="text" name="subject" size="25" class="txt" /></td>
              </tr>
              <tr>
                <td height="20" align="left" valign="top" class="txt"><strong>&nbsp;內容:&nbsp;&nbsp;</strong></td>
                <td height="20"><textarea name="message" cols="30" rows="8" class="txt" ></textarea></td>
              </tr>
              <tr align="center">
                <td height="20" colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;</td>
              </tr>
              <tr align="center">
                <td height="20" colspan="2"><input name="Submit" type="submit" value="提交" />
                  &nbsp;&nbsp;&nbsp;&nbsp;
                  <input name="Reset" type="reset" value="重設" /></td>
              </tr>
              <tr align="center">
                <td height="20" colspan="2">&nbsp;</td>
              </tr>
            </table></form>        </td>
        <td align="right" valign="top"><table width="680" border="0" cellpadding="0" cellspacing="0">
          <? 
                $sql 
"SELECT * ";
                
$sql .= "FROM contactus ";
                
$sql .= "where contactus.contactusid = '1' ";
                
                
$result mysql_query($sql);
                
$row mysql_fetch_array($result,MYSQL_ASSOC)
           
?>
          <tr>
            <td align="left" valign="top" class="txt">
              <table width="510" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td align="left" valign="top"><img src="images/contactemail.jpg" width="510" height="28" /></td>
                </tr>
                <tr>
                  <td align="left" valign="top"><table width="510" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="15"><img src="images/contacttop1.jpg" width="15" height="12" /></td>
                        <td width="480"><img src="images/contacttop2.jpg" width="480" height="12" /></td>
                        <td width="15"><img src="images/contacttop3.jpg" width="15" height="12" /></td>
                      </tr>
                      <tr>
                        <td background="images/contactleft.jpg"><img src="images/contactleft.jpg" width="15" height="15" /></td>
                        <td height="50" align="left" valign="top"><? echo $row{'contactusemail'}; ?></td>
                        <td background="images/contactright.jpg"><img src="images/contactright.jpg" width="15" height="15" /></td>
                      </tr>
                      <tr>
                        <td><img src="images/contactbottom1.jpg" width="15" height="20" /></td>
                        <td><img src="images/contactbottom2.jpg" width="480" height="20" /></td>
                        <td><img src="images/contactbottom3.jpg" width="15" height="20" /></td>
                      </tr>
                  </table></td>
                </tr>
                <tr>
                  <td align="left" valign="top">&nbsp;</td>
                </tr>
                <tr>
                  <td align="left" valign="top"><img src="images/contenttel.jpg" width="510" height="28" /></td>
                </tr>
                <tr>
                  <td align="left" valign="top"><table width="510" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="15"><img src="images/contacttop1.jpg" width="15" height="12" /></td>
                        <td width="480"><img src="images/contacttop2.jpg" width="480" height="12" /></td>
                        <td width="15"><img src="images/contacttop3.jpg" width="15" height="12" /></td>
                      </tr>
                      <tr>
                        <td background="images/contactleft.jpg"><img src="images/contactleft.jpg" width="15" height="15" /></td>
                        <td height="50" align="left" valign="top"><? echo $row{'contactustel'}; ?></td>
                        <td background="images/contactright.jpg"><img src="images/contactright.jpg" width="15" height="15" /></td>
                      </tr>
                      <tr>
                        <td><img src="images/contactbottom1.jpg" width="15" height="20" /></td>
                        <td><img src="images/contactbottom2.jpg" width="480" height="20" /></td>
                        <td><img src="images/contactbottom3.jpg" width="15" height="20" /></td>
                      </tr>
                  </table></td>
                </tr>
                <tr>
                  <td align="left" valign="top">&nbsp;</td>
                </tr>
                <tr>
                  <td align="left" valign="top"><img src="images/contactdonations.jpg" width="510" height="28" /></td>
                </tr>
                <tr>
                  <td align="left" valign="top"><table width="510" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="15"><img src="images/contacttop1.jpg" width="15" height="12" /></td>
                        <td width="480"><img src="images/contacttop2.jpg" width="480" height="12" /></td>
                        <td width="15"><img src="images/contacttop3.jpg" width="15" height="12" /></td>
                      </tr>
                      <tr>
                        <td background="images/contactleft.jpg"><img src="images/contactleft.jpg" width="15" height="15" /></td>
                        <td height="50" align="left" valign="top"><? echo $row{'contactusdonations'}; ?></td>
                        <td background="images/contactright.jpg"><img src="images/contactright.jpg" width="15" height="15" /></td>
                      </tr>
                      <tr>
                        <td><img src="images/contactbottom1.jpg" width="15" height="20" /></td>
                        <td><img src="images/contactbottom2.jpg" width="480" height="20" /></td>
                        <td><img src="images/contactbottom3.jpg" width="15" height="20" /></td>
                      </tr>
                  </table></td>
                </tr>
                <tr>
                  <td align="left" valign="top">&nbsp;</td>
                </tr>
              </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="50" align="left" valign="top" bgcolor="#F2F2F2">&nbsp;</td>
        <td align="right" valign="top">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="center" class="footertxt"><p>Copyright © 2009 晞望 林俊晞生命見證 All Rights Reserved.  |   Sponsored by <a href="http://www.onesolution.com.hk" target="_blank">One Solution Limited</a>.<br />
      <a href="http://www.onesolution.com.hk" target="_blank"><img src="images/webicon137w23h.jpg" width="137" height="23" border="0" /></a> </p>
    </td>
  </tr>
</table>


</body>
</html>