<!-- #include file="conn.asp" -->
<!-- #include file="admin.asp" -->
<%call ling()
Call Head%>
<%If Request("SubmitFlag") <> "" Then

       
'----------------------------------------------------------------
'			生成config.asp文件
'----------------------------------------------------------------
dim YD_Config1,YD_File1
YD_File1= Server.MapPath("/inc/pz/saytkbj.asp")'生成config.asp文件路径
YD_Config1="<%"
YD_Config1=YD_Config1+chr(13)&chr(10)&"saytkzbj="""&Request.Form("saytkzbj")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"saytkfbj="""&Request.Form("saytkfbj")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"saytkf2bj="""&Request.Form("saytkf2bj")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"saytkf1bj="""&Request.Form("saytkf1bj")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"saytkf3bj="""&Request.Form("saytkf3bj")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"cwlogo1="""&Request.Form("cwlogo1")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"pxlogo1="""&Request.Form("pxlogo1")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"smslogo1="""&Request.Form("smslogo1")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"shoplogo1="""&Request.Form("shoplogo1")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"%"&">"
Call CreatedTextFiles(YD_File1,YD_Config1)

Call cardz("配置成功","saytkpz.asp?sid="&sid&"&amp;saytk="&saytk&"")

Response.Write "成功设置！正在返回..."
Else
Call saycardd("配置")
%>
朋友网独家开发网站背景图片配置<br/>
请严格按照规定配置，否则可能导致网站乱码<br/>


<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""saytkbj.asp?SubmitFlag=true&amp;sid="&sid&"&amp;saytk="&saytk&""">"%>
主背景图片:<input name="saytkzbj" type="text" value="<%=ubb1(saytkzbj)%>"/>（如：/inc/bg/bg1.gif）<br/>
副背景图片:<input name="saytkfbj" type="text" value="<%=ubb1(saytkfbj)%>"/>（如：/inc/bg/bg1.gif）<br/>
副1背景图片:<input name="saytkf1bj" type="text" value="<%=ubb1(saytkf1bj)%>"/><br/>
副2背景图片:<input name="saytkf2bj" type="text" value="<%=ubb1(saytkf2bj)%>"/><br/>
副3背景图片:<input name="saytkf3bj" type="text" value="<%=ubb1(saytkf3bj)%>"/><br/>
功能等待添加:<input name="cwlogo1" type="text" value="<%=ubb1(cwlogo1)%>"/><br/>

功能等待添加:<input name="smslogo1" type="text" value="<%=ubb1(smslogo1)%>"/><br/>
功能等待添加：<input name="pxlogo1" type="text" value="<%=ubb1(pxlogo1)%>"/><br/>
<%response.write "<input type=""submit"" name=""Submit"" value=""配置文件""></form>"%>
<%else%>
主背景图片:<input name="saytkzbj<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(saytkzbj)%>"/>（如：/inc/bg/bg1.gif）<br/>
副背景图片:<input name="saytkfbj<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(saytkfbj)%>"/>（如：/inc/bg/bg1.gif）<br/>
副1背景图片:<input name="saytkf1bj<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(saytkf1bj)%>"/>（如：/inc/bg/bg1.gif）<br/>
副2背景图片:<input name="saytkf2bj<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(saytkf2bj)%>"/><br/>
副3背景图片:<input name="saytkf3bj<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(saytkf3bj)%>"/><br/>
功能等待添加:<input name="cwlogo1<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(cwlogo1)%>"/><br/>

功能等待添加:<input name="smslogo1<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(smslogo1)%>"/><br/>
功能等待添加:<input name="pxlogo1<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(pxlogo1)%>"/><br/>
功能等待添加:<input name="shoplogo1<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(shoplogo1)%>"/><br/>
<anchor>[配置背景]
<go href="saytkbj.asp?SubmitFlag=true&amp;sid=<%=sid%>&amp;saytk=<%=saytk%>" method="post">
<postfield name="saytkzbj" value="$(saytkzbj<%=minute(now)%><%=second(now)%>)"/>
<postfield name="saytkfbj" value="$(saytkfbj<%=minute(now)%><%=second(now)%>)"/>
<postfield name="saytkf1bj" value="$(saytkf1bj<%=minute(now)%><%=second(now)%>)"/>
<postfield name="saytkf2bj" value="$(saytkf2bj<%=minute(now)%><%=second(now)%>)"/>
<postfield name="cwlogo1" value="$(cwlogo1<%=minute(now)%><%=second(now)%>)"/>
<postfield name="saytkf3bj" value="$(saytkf3bj<%=minute(now)%><%=second(now)%>)"/>
<postfield name="smslogo1" value="$(smslogo1<%=minute(now)%><%=second(now)%>)"/>
<postfield name="pxlogo1" value="$(pxlogo1<%=minute(now)%><%=second(now)%>)"/>
<postfield name="shoplogo1" value="$(shoplogo1<%=minute(now)%><%=second(now)%>)"/>
</go>
</anchor>
<%end if%>
<%end if%>
|<a href="bfsave.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>&amp;turl=../inc/pz/saytkbj.asp&amp;zurl=bfconfig/saytkbj.asp&amp;url=<%=replace(r_url,"&","@@")%>&amp;add=1">备份</a>|<a href="bfsave.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>&amp;turl=bfconfig/saytkbj.asp&amp;zurl=../inc/pz/saytkbj.asp&amp;url=<%=replace(r_url,"&","@@")%>">恢复</a>
<br/>
<a href="saytkpz.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[配置中心]</a><br/>
<a href="saytkbjsm.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[图片模版]</a><br/>
<a href="Config.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[基本配置]</a><br/>
<a href="Configsell.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[高级配置]</a><br/>
<a href="index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[后台管理]</a><br/>
<%call headsay()%>