%
dim menuid,a,b
b=Inkcar.GetValue(Inkcar.checkstr(trim(request("i"))),"int",0)
a=Inkcar.GetValue(Inkcar.checkstr(trim(request("a"))),"int",0)
menuid=Inkcar.GetValue(Inkcar.checkstr(trim(request("menuid"))),"int",0)
if menuid=0 then
dim trs,tsql
tsql="select * from sys_menu where menuparent=10 and visible=true order by menuorder"
set trs=objdb.runsql_return_rs(tsql)
if not trs.eof then
menuid=trs("menuid")
end if
trs.close:set trs=nothing
end if
%>
<%
if request("cmd")="add" then
dim name1,Gender,Homepage,email,Tel,Fax,MSN,Skype,Company,Address,Subject,Content,SQLF,objDBF,rs,update_time
name1=request.form("name")
email=request.form("email")
Tel=request.form("Tel")
Fax=request.form("Fax")
Company=request.form("Company")
Address=request.form("Address")
Subject=request.form("Subject")
Content=request.form("Content")
update_time=year(now)&"-"&Month(now)&"-"&day(now)
SQLF="insert into Sys_Feedback(name,email,Tel,Fax,Company,Address,Subject,Content,update_time) values('"+name1+"','"+email+"','"+Tel+"','"+Fax+"','"+Company+"','"+Address+"','"+Subject+"','"+Content+"','"+update_time+"')"
objdb.RUNSQL_NO_RS(SQLF)
%>
<%
end if
%>
| <%openleft 10,"cnContact.asp",1,kk%> |
|
|
<%
if menuid="77" then
%>
| Have questions? Got comments? Need a proposal? Just fill out the form below to get in touch. ( * are required.) |
|
|
|
<%openbottom menuid,1%> |
<%
else
%>
<%openbottom menuid,1%>
<%
end if
%>
|
|