<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/safe.asp"-->
<!--#include file="../inc/config.asp"-->
<%
  Response.Buffer = true
  Response.ExpiresAbsolute=now()-1
  Response.Expires=0
  Response.CacheControl="no-cache"
%>
<%
if Not ChkPost then 
response.redirect ("../../login/chklogin.asp?login=4")
response.end
end if
%>

<%

gsmc_ch=Replace_Text(request("gsmc_ch"))
gsmc_en=Replace_Text(request("gsmc_en"))
gsxz=Replace_Text(request("gsxz"))
gsjj=Replace_Text(request("gsjj"))
lmjy=Replace_Text(request("lmjy"))
name1=Replace_Text(request("name"))
phone=Replace_Text(request("phone"))
fax=Replace_Text(request("fax"))
post=Replace_Text(request("post"))
zw=Replace_Text(request("zw"))
mobei=Replace_Text(request("mobei"))
weburl=Replace_Text(request("weburl"))
email=Replace_Text(request("email"))
sh="0"

set rs=server.createobject("adodb.recordset")
sql="select * from linkmeng where gsmc_ch='"&gsmc_ch&"'" 
rs.open sql,conn,1,3
if not rs.eof then
response.write"<SCRIPT language=JavaScript>alert('对不起，您已经提交过此信息！');"
response.write"javascript:history.go(-1)</SCRIPT>"
response.end
else
rs.addnew
rs("gsmc_ch")=gsmc_ch
rs("gsmc_en")=gsmc_en
rs("gsxz")=gsxz
rs("gsjj")=gsjj
rs("lmjy")=lmjy
rs("name")=name1
rs("phone")=phone
rs("fax")=fax
rs("post")=post
rs("zw")=zw
rs("mobei")=mobei
rs("weburl")=weburl
rs("email")=email
rs("sh")=sh
rs("dateandtime")=now()
rs.update
rs.close
set rs=noting
conn.close
set conn=nothing
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>操作成功</title>
<link href="../images/css.css" rel="stylesheet" type="text/css">
</head>

<table border="0" cellspacing="0" width="100%" cellpadding="0" height="418" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="100%" height="418" valign="middle" align="center">
<b>您的商机联盟申请已经提交成功成功！请等待审核！<br>
<br>
<br>
<br>
<a href="javascript:window.close()">关闭窗口</a></b></td>
</tr>
</table>
</body>
</html>
<%end if%>