<!--#include file="inc/conn.asp"-->
<!--#include file="inc/function.asp"-->
<%
bh=72
lm="在线报名"
bhmc="学校概况"
dh="您的位置：首页 > 在线留言"
if request("tj")<>"" then
	if sqlcheck(IsIntegers(request("tj")))=1 then
	if ((trim(request("dh"))="") or (trim(request("zxnr"))=""))then
		response.Write "<script>alert('电话和咨询内容不能为空，请重新输');window.open(""liuyan.asp"",""_self"");</script>"
		response.End()
	end if
	zxr=sqlcheck(trim(request("zxr")))
	zxnr=sqlcheck(trim(request("zxnr")))
	zt=sqlcheck(trim(request("zt")))
	xb=sqlcheck(trim(request("xb")))
	gsmc=sqlcheck(trim(request("gsmc")))
	sf=sqlcheck(trim(request("sf")))
	email=sqlcheck(trim(request("email")))
	dh=sqlcheck(trim(request("dh")))
	cz=sqlcheck(trim(request("cz")))
	xxdz=sqlcheck(trim(request("xxdz")))
	url=sqlcheck(trim(request("url")))
	sql="insert into zxzx (zxr,zxrq,zxnr,zt,xb,gsmc,sf,email,dh,cz,xxdz,url) values ('"&zxr&"','"&date()&"','"&zxnr&"','"&zt&"','"&xb&"','"&gsmc&"','"&sf&"','"&email&"','"&dh&"','"&cz&"','"&xxdz&"','"&url&"')"
	set rs=conn.execute(sql)
	set rs=nothing
	response.Write "<script>alert('您的咨询已经提交成功，请等待管理员回复');window.open(""liuyan.asp"",""_self"");</script>"
	response.End()
	end if
end if
%>
<!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=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<meta name="copyright" content="http://www.wzbhl.com" />
<META content="<%=seoms%>" name="description">
<META content="<%=seokeys%>" name="keywords">
<title><%=seotitle%></title>
<link href="style/css/cnlist.css" type="text/css" rel="stylesheet"/>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationTextarea.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="style/js/jquery.min.js"></script>
<script type="text/javascript" src="style/js/img.js"></script>
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<script src="SpryAssets/SpryValidationTextarea.js" type="text/javascript"></script>
</head>
<body>
<!--#include file="top.asp"--><script type="text/javascript">
$('#l1_pics').d_imagechange({width:'100%',height:430});
</script>
<div class="mqq">
    <div class="qqs"><a href="javascript:;" onclick="kf_openChatWindow(1,'b','1111111')" target="_blank"><img src="style/images/qqq.jpg" /></a></div>
</div>
<div class="vpubboxs">
  <!--#include file="left.asp"-->
  <div class="e_left tushurigfht"><div class="path_e weiruang"><strong><%=lm%></strong></div><div class="showgk">
    <form action="liuyan.asp" method="post" name="zxzx" id="zxzx" >
      <input type="hidden" name="tj" value="1" />
      <table width="599" border="0" align="center" cellpadding="0" cellspacing="1" style="border:1px solid #B6CFE5; margin:10px 0 10px 0">
        <tr>
          <td width="99" height="30" valign="middle" bgcolor="#CE2A35">　<span style="color:#FFF">主题</span></td>
          <td width="495" bgcolor="#EEEEEE">　<span id="sprytextfield1">
            <label for="zt"></label>
            <input type="text" name="zt" id="zt" class="input1"/>
            <span class="textfieldRequiredMsg">请输入主题。</span></span></td>
</tr>
        <tr>
          <td height="30" valign="middle" bgcolor="#CE2A35">　<span style="color:#FFF">内容</span></td>
          <td bgcolor="#EEEEEE">　<span id="sprytextarea1">
            <label for="zxnr"></label>
            <textarea name="zxnr" id="zxnr" cols="45" rows="5"></textarea>
            <span class="textareaRequiredMsg">请输入内容。</span></span></td>
</tr>
        <tr>
          <td height="30" valign="middle" bgcolor="#CE2A35">　<span style="color:#FFF">姓名</span></td>
          <td bgcolor="#EEEEEE">　<span id="sprytextfield2">
            <label for="zxr"></label>
            <input type="text" name="zxr" id="zxr"  class="input1"/>
            <span class="textfieldRequiredMsg">请输入姓名。</span></span></td>
</tr>
        <tr>
          <td height="30" valign="middle" bgcolor="#CE2A35">　<span style="color:#FFF">公司名称</span></td>
          <td bgcolor="#EEEEEE">　
            <input type="text" name="gsmc" id="gsmc"  class="input1"/></td>
        </tr>
        <tr>
          <td height="30" valign="middle" bgcolor="#CE2A35">　<span style="color:#FFF">E-mail</span></td>
          <td bgcolor="#EEEEEE">　<span id="sprytextfield3">
            <label for="email"></label>
            <input type="text" name="email" id="email"  class="input1"/>
            <span class="textfieldInvalidFormatMsg">格式无效。</span></span></td>
</tr>
        <tr>
          <td height="30" valign="middle" bgcolor="#CE2A35">　<span style="color:#FFF">电话</span></td>
          <td bgcolor="#EEEEEE">　<span id="sprytextfield4">
            <label for="dh"></label>
            <input type="text" name="dh" id="dh"  class="input1"/>
            <span class="textfieldRequiredMsg">请收入电话。</span></span></td>
</tr>
        <tr>
          <td height="30" bgcolor="#CE2A35">　<span style="color:#FFF">传真</span></td>
          <td bgcolor="#EEEEEE">　
            <label for="cz"></label>
            <input type="text" name="cz" id="cz"  class="input1"/></td>
        </tr>
        <tr>
          <td height="30" bgcolor="#CE2A35">　<span style="color:#FFF">详细地址</span></td>
          <td bgcolor="#EEEEEE">　
            <label for="xxdz"></label>
            <input type="text" name="xxdz" id="xxdz"  class="input1"/></td>
        </tr>
        <tr>
          <td height="30">&nbsp;</td>
          <td>　
            <input type="submit" name="button" id="button" value="提交" /></td>
        </tr>
      </table>

    </form>
  <p style="text-align:center">&nbsp;</p></div></div></div><div class="clear"></div>
<!--#include file="end.asp"-->
<script type="text/javascript">
var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "none", {validateOn:["blur"]});
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3", "email", {isRequired:false, useCharacterMasking:true, validateOn:["blur"]});
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "none", {validateOn:["blur"]});
var sprytextarea1 = new Spry.Widget.ValidationTextarea("sprytextarea1", {validateOn:["blur"]});
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur"]});
</script>
</html>
</body>