<!--#include file=cookies.asp-->
<%dim flag
flag=request.cookies("foxwww")("fox")
if flag=10 then
response.Write "<script LANGUAGE='javascript'>alert('您只是后台测试员，请注意身份！');window.location='right.asp';</script>"
response.end
end if%>
<%
if Instr(request("title"),"=")>0 or Instr(request("title"),"%")>0 or Instr(request("title"),chr(32))>0 or Instr(request("title"),"?")>0 or Instr(request("title"),"&")>0 or Instr(request("title"),";")>0 or Instr(request("title"),",")>0 or Instr(request("title"),"'")>0 or Instr(request("title"),",")>0 or Instr(request("title"),chr(34))>0 or Instr(request("title"),chr(9))>0 or Instr(request("title"),"")>0 or Instr(request("title"),"$")>0 then
	response.write "<br>"+"<li>网站名称存在非法字符。"
	response.end
end if
dim title,web,logo,zhengban,tel,myqq,dljg,addinfo,banben,ci,css,kkk,foxa
dim aname,bname,cname,dqsja,dqsjc,dxb,hxb,tdxb,ddxb
dim dlf,jjf,ddjf,hjf,xxjf,mpjf,lmjf,spjf,gghjf,zlhjf,xghjf,rzjf,asb,bsc
filepath=server.mappath("../config.asp")
title=request("title")
web=request("web")
logo=request("logo")
tel=request("tel")
myqq=request("myqq")
addinfo=request("addinfo")
ci=request("ci")
css=request("css")
kkk=request("kkk")
foxa=request("foxa")
zhengban=request("zhengban")
banben="版"&"本"&"号"&"："&"6"&"."&"0"&"C"&"M"&"S"&"版"
aname=request("aname")
bname=request("bname")
cname=request("cname")
dqsja=request("dqsja")
dqsjc=request("dqsjc")
dxb=request("dxb")
hxb=request("hxb")
tdxb=request("tdxb")
ddxb=request("ddxb")
dlf=request("dlf")
jjf=request("jjf")
ddjf=request("ddjf")
hjf=request("hjf")
xxjf=request("xxjf")
mpjf=request("mpjf")
lmjf=request("lmjf")
spjf=request("spjf")
gghjf=request("gghjf")
zlhjf=request("zlhjf")
xghjf=request("xghjf")
rzjf=request("rzjf")
asb=request("asb")
bsc=request("bsc")
Set fobj = Server.CreateObject("SCRIPTING.FILESYSTEMOBJECT")
Set fs = fobj.CreateTextFile(filepath,true)
fs.Write("<"&chr(37)&chr(10))
fs.Write("dim title,web,logo,zhengban,tel,myqq,addinfo,banben,ci,css,kkk,foxa"&chr(10))
fs.Write("dim aname,bname,cname,dqsja,dqsjc,dxb,hxb,tdxb,ddxb"&chr(10))
fs.Write("dim dlf,jjf,ddjf,hjf,xxjf,mpjf,lmjf,spjf,gghjf,zlhjf,xghjf,rzjf,asb,bsc"&chr(10))
fs.Write("title="&chr(34)&title&chr(34)&chr(10))
fs.Write("web="&chr(34)&web&chr(34)&chr(10))
fs.Write("logo="&chr(34)&logo&chr(34)&chr(10))
fs.Write("tel="&chr(34)&tel&chr(34)&chr(10))
fs.Write("ci="&chr(34)&ci&chr(34)&chr(10))
fs.Write("css="&chr(34)&css&chr(34)&chr(10))
fs.Write("kkk="&chr(34)&kkk&chr(34)&chr(10))
fs.Write("foxa="&chr(34)&foxa&chr(34)&chr(10))
fs.Write("myqq="&chr(34)&myqq&chr(34)&chr(10))
fs.Write("addinfo="&chr(34)&addinfo&chr(34)&chr(10))
fs.Write("zhengban="&chr(34)&zhengban&chr(34)&chr(10))
fs.Write("banben="&chr(34)&banben&chr(34)&chr(10))
fs.Write("aname="&chr(34)&aname&chr(34)&chr(10))
fs.Write("bname="&chr(34)&bname&chr(34)&chr(10))
fs.Write("cname="&chr(34)&cname&chr(34)&chr(10))
fs.Write("dqsja="&chr(34)&dqsja&chr(34)&chr(10))
fs.Write("dqsjc="&chr(34)&dqsjc&chr(34)&chr(10))
fs.Write("dxb="&chr(34)&dxb&chr(34)&chr(10))
fs.Write("hxb="&chr(34)&hxb&chr(34)&chr(10))
fs.Write("tdxb="&chr(34)&tdxb&chr(34)&chr(10))
fs.Write("ddxb="&chr(34)&ddxb&chr(34)&chr(10))
fs.Write("dlf="&chr(34)&dlf&chr(34)&chr(10))
fs.Write("jjf="&chr(34)&jjf&chr(34)&chr(10))
fs.Write("ddjf="&chr(34)&ddjf&chr(34)&chr(10))
fs.Write("hjf="&chr(34)&hjf&chr(34)&chr(10))
fs.Write("xxjf="&chr(34)&xxjf&chr(34)&chr(10))
fs.Write("mpjf="&chr(34)&mpjf&chr(34)&chr(10))
fs.Write("lmjf="&chr(34)&lmjf&chr(34)&chr(10))
fs.Write("spjf="&chr(34)&spjf&chr(34)&chr(10))
fs.Write("gghjf="&chr(34)&gghjf&chr(34)&chr(10))
fs.Write("zlhjf="&chr(34)&zlhjf&chr(34)&chr(10))
fs.Write("xghjf="&chr(34)&xghjf&chr(34)&chr(10))
fs.Write("rzjf="&chr(34)&rzjf&chr(34)&chr(10))
fs.Write("asb="&chr(34)&asb&chr(34)&chr(10))
fs.Write("bsc="&chr(34)&bsc&chr(34)&chr(10))
fs.Write(chr(37)&">")
fs.close
%>
 <meta http-equiv="Content-Language" content="zh-cn">
 <LINK href="images/fox.css" rel=stylesheet></LINK>
<style type="text/css">
<!--
body {
	background-color: #CCCC99;
}
.style1 {color: #FF0000}
-->
</style>
<p align="center" class="style1">设置成功！</p>
</body></html>