<!-- #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/saytkcj.asp")'生成config.asp文件路径
YD_Config1="<%"
YD_Config1=YD_Config1+chr(13)&chr(10)&"bbslbsaytk="""&Request.Form("bbslbsaytk")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"xzfilesaytk="""&Request.Form("xzfilesaytk")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"photosize="""&Request.Form("photosize")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"newhuiyuan="""&Request.Form("newhuiyuan")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"saytk3gg="""&Request.Form("saytk3gg")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"saytkls="""&Request.Form("saytkls")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"qqcdd="""&Request.Form("qqcdd")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"banben1="""&Request.Form("banben1")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"shoplogo1="""&Request.Form("shoplogo1")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"sayfanhui="""&Request.Form("sayfanhui")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"photossmma="""&Request.Form("photossmma")&""""
YD_Config1=YD_Config1+chr(13)&chr(10)&"ggchangee="""&Request.Form("ggchangee")&""""

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/>
各种插件配置，如扣币等<br/>


<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""saytkcj.asp?SubmitFlag=true&amp;sid="&sid&"&amp;saytk="&saytk&""">"%>
广播扣币:<input name="bbslbsaytk" type="text" value="<%=ubb1(bbslbsaytk)%>"/>（如：-100）<br/>
下载扣币:<input name="xzfilesaytk" type="text" value="<%=ubb1(xzfilesaytk)%>"/>（如：-100）<br/>
管理员图标设置:<input name="newhuiyuan" type="text" value="<%=ubb1(newhuiyuan)%>"/><br/>
社区相片上传大小限制:<input name="photosize" type="text" value="<%=ubb1(photosize)%>"/>KB<br/>
3g页底走动文字：<input name="saytk3gg" type="text" value="<%=ubb1(saytk3gg)%>"/><br/>
最新聊天UBB调用聊室ID:<input name="saytkls" type="text" value="<%=ubb1(saytkls)%>"/><br/>

电脑访问网站版本:<input name="banben1" type="text" value="<%=ubb1(banben1)%>"/>(1为简版,2~10为彩版100为3G版)<br/>
是否开启QQ顶栏：<input name="qqcdd" type="text" value="<%=ubb1(qqcdd)%>"/>(1为开启2为隐藏)<br/>
页面底部快速通道:<input name="sayfanhui" type="text" value="<%=usbb(sayfanhui)%>"/>(用UBB链接如:[url=/?saytk=[saytk]&amp;sid=[sid]]首页[/url])<br/>
3G版本切换配置:<input name="ggchangee" type="text" value="<%=usbb(ggchangee)%>"/>用UBB链接如:(change=100)3G版(/change)<br/>

<%response.write "<input type=""submit"" name=""Submit"" value=""配置文件""></form>"%>
<%else%>
广播扣币:<input name="bbslbsaytk<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(bbslbsaytk)%>"/>（如：-100）<br/>
下载扣币:<input name="xzfilesaytk<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(xzfilesaytk)%>"/>（如：-100）<br/>
管理员图标设置:<input name="newhuiyuan<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(newhuiyuan)%>"/><br/>
社区相片上传大小限制:<input name="photosize<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(photosize)%>"/>KB<br/>
3g页底走动文字：<input name="saytk3gg<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(saytk3gg)%>"/><br/>
最新聊天UBB调用聊室ID:<input name="saytkls<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(saytkls)%>"/><br/>
是否开启QQ顶栏:<input name="qqcdd<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(qqcdd)%>"/>(1为开启2为隐藏)<br/>
电脑访问网站版本:<input name="banben1<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(banben1)%>"/>(1为简版,2~10为彩版100为3G版)<br/>

页面底部快速通道:<input name="sayfanhui<%=minute(now)%><%=second(now)%>" type="text" value="<%=usbb(sayfanhui)%>"/>(用UBB链接如:[url=/?saytk=[saytk]&amp;sid=[sid]]首页[/url])<br/>
3G版本切换配置:<input name="ggchangee<%=minute(now)%><%=second(now)%>" type="text" value="<%=usbb(ggchangee)%>"/>(用UBB链接如:(change=100)3G版(/change)<br/>
<anchor>[配置插件]
<go href="saytkcj.asp?SubmitFlag=true&amp;sid=<%=sid%>&amp;saytk=<%=saytk%>" method="post">
<postfield name="bbslbsaytk" value="$(bbslbsaytk<%=minute(now)%><%=second(now)%>)"/>
<postfield name="ggchangee" value="$(ggchangee<%=minute(now)%><%=second(now)%>)"/>
<postfield name="xzfilesaytk" value="$(xzfilesaytk<%=minute(now)%><%=second(now)%>)"/>
<postfield name="newhuiyuan" value="$(newhuiyuan<%=minute(now)%><%=second(now)%>)"/>
<postfield name="photosize" value="$(photosize<%=minute(now)%><%=second(now)%>)"/>
<postfield name="saytkls" value="$(saytkls<%=minute(now)%><%=second(now)%>)"/>
<postfield name="saytk3gg" value="$(saytk3gg<%=minute(now)%><%=second(now)%>)"/>
<postfield name="banben1" value="$(banben1<%=minute(now)%><%=second(now)%>)"/>
<postfield name="qqcdd" value="$(qqcdd<%=minute(now)%><%=second(now)%>)"/>
<postfield name="sayfanhui" value="$(sayfanhui<%=minute(now)%><%=second(now)%>)"/>
<postfield name="photossmma" value="$(photossmma<%=minute(now)%><%=second(now)%>)"/>
</go>
</anchor>
<%end if%>
<%end if%>
|<a href="bfsave.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>&amp;turl=../inc/pz/saytkcj.asp&amp;zurl=bfconfig/saytkcj.asp&amp;url=<%=replace(r_url,"&","@@")%>&amp;add=1">备份</a>|<a href="bfsave.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>&amp;turl=bfconfig/saytkcj.asp&amp;zurl=../inc/pz/saytkcj.asp&amp;url=<%=replace(r_url,"&","@@")%>">恢复</a>
<br/><br/>
<a href="saytkpz.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()%>