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

       
'----------------------------------------------------------------
'			生成configsell.asp文件
'----------------------------------------------------------------
dim YD_Config,YD_File

YD_File= Server.MapPath("/inc/pz/configsell.asp")'生成configsell.asp文件路径

YD_Config="<%"

YD_Config=YD_Config+chr(13)&chr(10)&"listnums="""&Request.Form("listnums")&""" '文章列表数"

YD_Config=YD_Config+chr(13)&chr(10)&"viewtnums="""&Request.Form("viewtnums")&""" '文章每页字数"

YD_Config=YD_Config+chr(13)&chr(10)&"smallpicnum="""&Request.Form("smallpicnum")&""" '图片小类列表数"

YD_Config=YD_Config+chr(13)&chr(10)&"picviewnum="""&Request.Form("picviewnum")&""" '图片每页张数"

YD_Config=YD_Config+chr(13)&chr(10)&"bbswjop="""&Request.Form("bbswjop")&""" '社区模拟器下载文件1为禁止,2为开放"

YD_Config=YD_Config+chr(13)&chr(10)&"bbsmyjb="""&Request.Form("bbsmyjb")&""" '社区文件下载扣币"

YD_Config=YD_Config+chr(13)&chr(10)&"keymsgcount="""&Request.Form("keymsgcount")&""" '社区管理员和版主信箱储存数"

YD_Config=YD_Config+chr(13)&chr(10)&"msgcount="""&Request.Form("msgcount")&""" '普通会员信箱储存数"

YD_Config=YD_Config+chr(13)&chr(10)&"lonline="""&Request.Form("lonline")&""" '会员离线时间"

YD_Config=YD_Config+chr(13)&chr(10)&"sayallmusic="""&Request.Form("sayallmusic")&""" '开启全站背景音乐:"

YD_Config=YD_Config+chr(13)&chr(10)&"chatonline="""&Request.Form("chatonline")&""" '聊天室离线时间"

YD_Config=YD_Config+chr(13)&chr(10)&"%"&">"
Call CreatedTextFiles(YD_File,YD_Config)
Call cardz("配置成功","saytkpz.asp?sid="&sid&"&amp;saytk="&saytk&"")

Response.Write "成功设置！正在返回..."
Else
Call saycardd("配置")
%>
<%if saytk>1 then
Response.write "<form name=""form"" method=""post"" action=""configsell.asp?SubmitFlag=true&amp;sid="&sid&"&amp;saytk="&saytk&""">"%>
文章列表数:<input name="listnums" type="text" value="<%=ubb1(listnums)%>"/><br/>
文章每页字数:<input name="viewtnums" type="text" value="<%=ubb1(viewtnums)%>"/><br/>
图片小类列表数:<input name="smallpicnum" type="text" value="<%=ubb1(smallpicnum)%>"/><br/>
图片每页张数:<input name="picviewnum" type="text" value="<%=ubb1(picviewnum)%>"/><br/>
社区模拟器下载:
<select name="bbswjop" value="<%=bbswjop%>">
<option value="1">禁止</option>
<option value="2">开放</option>
</select><br/>
开启全站背景音乐:
<select name="sayallmusic" value="<%=bbswjop%>">
<option value="1">禁止</option>
<option value="2">开放</option>
</select><br/>
社区文件下载扣币:<input name="bbsmyjb" type="text" value="<%=ubb1(bbsmyjb)%>"/><br/>
管理员和版主信箱储存数:<input name="keymsgcount" type="text" value="<%=ubb1(keymsgcount)%>"/><br/>
普通会员信箱储存数:<input name="msgcount" type="text" value="<%=ubb1(msgcount)%>"/><br/>
会员离线时间:<input name="lonline" type="text" value="<%=ubb1(lonline)%>"/><br/>
聊天室离线时间:<input name="chatonline" type="text" value="<%=ubb1(chatonline)%>"/><br/>
配置时间提示:-60为1小时,即统计1个小时内会员活动的人数<br/>
<input type="submit" name="Submit" value="确定配置"></form>
<%else%>
文章列表数:<input name="listnums<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(listnums)%>"/><br/>
文章每页字数:<input name="viewtnums<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(viewtnums)%>"/><br/>
图片小类列表数:<input name="smallpicnum<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(smallpicnum)%>"/><br/>
图片每页张数:<input name="picviewnum<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(picviewnum)%>"/><br/>
社区模拟器下载:
<select name="bbswjop<%=minute(now)%><%=second(now)%>" value="<%=bbswjop%>">
<option value="1">禁止</option>
<option value="2">开放</option>
</select><br/>
开启全站背景音乐:
<select name="sayallmusic<%=minute(now)%><%=second(now)%>" value="<%=bbswjop%>">
<option value="1">禁止</option>
<option value="2">开放</option>
</select><br/>

社区文件下载扣币:<input name="bbsmyjb<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(bbsmyjb)%>"/><br/>
管理员和版主信箱储存数:<input name="keymsgcount<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(keymsgcount)%>"/><br/>
普通会员信箱储存数:<input name="msgcount<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(msgcount)%>"/><br/>
会员离线时间:<input name="lonline<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(lonline)%>"/><br/>
聊天室离线时间:<input name="chatonline<%=minute(now)%><%=second(now)%>" type="text" value="<%=ubb1(chatonline)%>"/><br/>
配置时间提示:-60为1小时,即统计1个小时内会员活动的人数<br/>
<anchor>[配置文件]
<go href="configsell.asp?SubmitFlag=true&amp;sid=<%=sid%>&amp;saytk=<%=saytk%>" method="post">
<postfield name="listnums" value="$(listnums<%=minute(now)%><%=second(now)%>)"/>
<postfield name="sayallmusic" value="$(sayallmusic<%=minute(now)%><%=second(now)%>)"/>

<postfield name="viewtnums" value="$(viewtnums<%=minute(now)%><%=second(now)%>)"/>
<postfield name="smallpicnum" value="$(smallpicnum<%=minute(now)%><%=second(now)%>)"/>
<postfield name="picviewnum" value="$(picviewnum<%=minute(now)%><%=second(now)%>)"/>
<postfield name="lonline" value="$(lonline<%=minute(now)%><%=second(now)%>)"/>
<postfield name="chatonline" value="$(chatonline<%=minute(now)%><%=second(now)%>)"/>
<postfield name="bbswjop" value="$(bbswjop<%=minute(now)%><%=second(now)%>)"/>
<postfield name="bbsmyjb" value="$(bbsmyjb<%=minute(now)%><%=second(now)%>)"/>
<postfield name="keymsgcount" value="$(keymsgcount<%=minute(now)%><%=second(now)%>)"/>
<postfield name="msgcount" value="$(msgcount<%=minute(now)%><%=second(now)%>)"/></go>
</anchor>
<%end if%>
<%end if%>

|<a href="bfsave.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>&amp;turl=../inc/pz/configsell.asp&amp;zurl=bfconfig/configsell.asp&amp;url=<%=replace(r_url,"&","@@")%>&amp;add=1">备份</a>|<a href="bfsave.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>&amp;turl=bfconfig/configsell.asp&amp;zurl=../inc/pz/configsell.asp&amp;url=<%=replace(r_url,"&","@@")%>">恢复</a>
<br/>

<br/>
<a href="saytkpz.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[配置中心]</a><br/>
<a href="index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[后台管理]</a><br/>
<%call headsay()%>
