-
Notifications
You must be signed in to change notification settings - Fork 0
/
ContactUs.asp
37 lines (35 loc) · 1.08 KB
/
ContactUs.asp
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
<center>
<%
dim dbpath
dbpath=""
%>
<!--#include file=Conn.asp -->
<!--#include file=include/MyRequest.asp -->
<!--#include file=Sub.asp -->
<%
dim root_info_tel,root_info_email,root_info_address,root_info_zip
Set rs=Server.CreateObject("ADODB.Recordset")
sql="select root_info_tel,root_info_email,root_info_address,root_info_zip from root_info where id=1"
rs.open sql,conn,1,1
root_info_tel =rs(0)
root_info_email =rs(1)
root_info_address =rs(2)
root_info_zip =rs(3)
rs.close
set rs=nothing
call up("联系我们","联系我们","联系我们")
if root_info_tel<>"" then
response.write "<tr><td><b>电话:</b></td><td>"&root_info_tel&"</td></tr>"
end if
if root_info_email<>"" then
response.write "<tr><td><b>Email:</b></td><td>"&root_info_email&"</td></tr>"
end if
if root_info_address<>"" then
response.write "<tr><td><b>地址:</b></td><td>"&root_info_address&"</td></tr>"
end if
if root_info_zip<>"" then
response.write "<tr><td><b>邮编:</b></td><td>"&root_info_zip&"</td></tr>"
end if
call down()
%>
</center>