<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> 打标机—北京天恒技术有限公司
 
<% currentpage=request("page") order=request("order") if currentpage <>"" then currentpage=clng(currentpage) else currentpage=1 end if maxperpage=5 i=1 totalpage=1 totalrecords=0 strfile="liuyan.asp" set rs1=server.createobject("adodb.recordset") sql="select * from thly " rs1.open sql ,conn,1,3 if not(rs1.bof and rs1.eof) then rs1.pagesize=maxperpage rs1.absolutepage=currentpage totalpage=rs1.pagecount totalrecords=rs1.recordcount end if %> <% do while not rs1.eof and i<=maxperpage %> <% rs1.movenext i=i+1 loop rs1.close %>
留言板
  留言信息:
    <%=rs1("xingming")%>咨询<%=rs1("cpmc")%>问(<%=rs1("time")%>):
    <%=rs1("text")%>
    <%if totalrecords>0 then call showpage(strfile,totalrecords,maxperpage,true,true,"个留言" ) end if %>
    信息咨询:
咨询产品名称:
姓名:
公司名称:
E-mail:
电话:
传真:
地址:
留言内容:
验证码:    
<% dim cpmc ,xingming,gsmc,email,tel,fax,address,text,action action=request("action") if action="add" then if trim(Request.Form("adminid")) <> trim(session("adminid")) then Response.Write "" Response.End end if if Request("cpmc")="" or Request("tel")="" or Request("text")="" then Response.Write "" Response.End end if cpmc=trim(request.form("cpmc")) xingming=trim(request.form("xingming")) gsmc=trim(request.form("gsmc")) email=trim(request.form("email")) tel=trim(request.form("tel")) fax=trim(request.form("fax")) address=trim(request.form("address")) text=trim(request.form("text")) xtsj=now() sql="insert into thly ([cpmc],[xingming],[gsmc],[email],[tel],[fax],[address],[text],[time]) values('"&cpmc&"','"&xingming&"','"&gsmc&"','"&email&"','"&tel&"','"&fax&"','"&address&"','"&text&"','"&xtsj&"')" conn.execute(sql) conn.close Response.Write "" end if %>
  产品与解决方案 | 案例展示 | 联系我们 |Beijing Tianheng Marking Systems Co.,Ltd.