<!--#include file="../conn/conn1.asp"-->
<!--#include file="inc.asp"-->

<%
sitename=trim(request.form("sitename"))
siteurl=trim(request.form("siteurl"))
logourl=trim(request.form("logourl"))
keys=trim(request.form("keys"))
icp=trim(request.form("icp"))
webmastername=trim(request.form("webmastername"))
webmasterqq=trim(request.form("webmasterqq"))
webmasteremail=trim(request.form("webmasteremail"))
topgg=trim(request.form("topgg"))
ggone=trim(request.form("ggone"))
ggtwo=trim(request.form("ggtwo"))

if request.form("sitename")="" then 
response.write "错误提示:请输入网站名称!"
response.end
end if
if request.form("siteurl")="" then 
response.write "错误提示:请输入网站域名!"
response.end
end if
if request.form("logourl")="" then 
response.write "错误提示:请输入logo地址!"
response.end
end if
if request.form("keys")="" then 
response.write "错误提示:请输入网站关键字!"
response.end
end if
if request.form("icp")="" then 
response.write "错误提示:请输入网站备案号!"
response.end
end if
if request.form("webmastername")="" then 
response.write "错误提示:请输入站长姓名!"
response.end
end if
if request.form("webmasterqq")="" then 
response.write "错误提示:请输入站长QQ号!"
response.end
end if
if request.form("webmasteremail")="" then 
response.write "错误提示:请输入站长电子邮箱!"
response.end
end if
if request.form("topgg")="" then 
response.write "错误提示:请输入top广告地址!"
response.end
end if
if request.form("ggone")="" then 
response.write "错误提示:请输入flash通栏广告1!"
response.end
end if
if request.form("ggtwo")="" then 
response.write "错误提示:请输入flash通栏广告2!"
response.end
end if
if request.form("copyrights")="" then 
response.write "错误提示:请输入网站简介!"
response.end
end if
set rs=server.createobject("adodb.recordset")
sql="select * from xinxi where id =1"
rs.open sql,conn,1,3
rs("sitename")=sitename
rs("siteurl")=siteurl
rs("logourl")=logourl
rs("keys")=keys
rs("icp")=icp
rs("webmastername")=webmastername
rs("webmasterqq")=webmasterqq
rs("webmasteremail")=webmasteremail
rs("topgg")=topgg
rs("ggone")=ggone
rs("ggtwo")=ggtwo
rs.update
rs.close
%>
<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>

<table width="98%"  border="0" align="left" cellpadding="0" cellspacing="0">
  <tr>
    <td height="50" align="center" valign="top" bordercolor="176d00"><br />
      <br />
      <br />
      <br />
    网站信息修改成功！<a href="xinxi.asp" >返回</a><br />
    <br />
    <br />
    <br />
    </a></td>
  </tr>
</table>
</TD>
</BODY></HTML>
