⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_boardsetting.asp

📁 功能强大的一个b/s工作站
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file =conn.asp-->
<!-- #include file="inc/const.asp" -->
<title><%=Forum_info(0)%>--管理页面</title>
<link rel="stylesheet" href="forum_admin.css" type="text/css">
<meta NAME=GENERATOR Content="Microsoft FrontPage 3.0" CHARSET=GB2312>
<BODY leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">
<%
	if not master or instr(session("flag"),"11")=0 then
		Errmsg=Errmsg+"<br>"+"<li>本页面为管理员专用,请<a href=admin_index.asp target=_top>登陆</a>后进入。<br><li>您没有管理本页面的权限。"
		call dvbbs_error()
	else
		if request("action")="save" then
		call saveconst()
		else
		call consted()
		end if
		conn.close
		set conn=nothing
	end if


sub consted()
if not isnumeric(request("editid")) then
	Errmsg="<br><li>错误的版面信息"
	call dvbbs_error()
	exit sub
end if
set rs=conn.execute("select * from board where boardid="&request("editid"))
Board_Setting=split(rs("board_setting"),",")
%>
<form method="POST" action="admin_boardsetting.asp?action=save">
<input type=hidden value="<%=request("editid")%>" name="editid">
<table width="95%" border="0" cellspacing="1" cellpadding="3"  align=center class="tableBorder">
<tr> 
<th height="25" colspan="2" align=left>论坛高级设置 → <%=rs("boardtype")%></th>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>本论坛作为分类论坛不允许发贴</U><BR>如果已经有贴则显示或者您可以转移到别的论坛<BR>选择了该项后所有会员均不能在本版发贴/回帖等操作</td>
<td width="50%" class=Forumrow> 
<input type=radio name="Board_Setting(43)" value=0 <%if cint(Board_Setting(43))=0 then%>checked<%end if%>>否&nbsp;
<input type=radio name="Board_Setting(43)" value=1 <%if cint(Board_Setting(43))=1 then%>checked<%end if%>>是&nbsp;
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>论坛列表显示下属论坛风格</U><BR>当该论坛有下属论坛的时候生效</td>
<td width="50%" class=Forumrow> 
<input type=radio name="Board_Setting(39)" value=0 <%if cint(Board_Setting(39))=0 then%>checked<%end if%>>列表&nbsp;
<input type=radio name="Board_Setting(39)" value=1 <%if cint(Board_Setting(39))=1 then%>checked<%end if%>>简洁&nbsp;
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>论坛列表简洁风格一行版面数</U></td>
<td width="50%" class=Forumrow> 
<input type=text size=10 name="Board_Setting(41)" value="<%=Board_Setting(41)%>"> 个
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>论坛风格</U><BR>该效果体现在显示帖子内容页面</td>
<td width="50%" class=Forumrow> 
<input type=radio name="Board_Setting(24)" value=0 <%if cint(Board_Setting(24))=0 then%>checked<%end if%>>默认风格&nbsp;
<input type=radio name="Board_Setting(24)" value=1 <%if cint(Board_Setting(24))=1 then%>checked<%end if%>>讨论区风格&nbsp;
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>讨论区风格预览字数</U></td>
<td width="50%" class=Forumrow> 
<input type=text size=10 name="Board_Setting(25)" value="<%=Board_Setting(25)%>"> byte
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>是否锁定论坛</U><BR>锁定论坛只有管理员和该版面版主可进<BR></td>
<td width="50%" class=Forumrow> 
<input type=radio name="Board_Setting(0)" value=0 <%if cint(Board_Setting(0))=0 then%>checked<%end if%>>否&nbsp;
<input type=radio name="Board_Setting(0)" value=1 <%if cint(Board_Setting(0))=1 then%>checked<%end if%>>是&nbsp;
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>是否隐藏论坛</U><BR>隐藏论坛只有管理员和该版面版主可见和进入<BR>如果用户组或论坛权限管理或用户权限管理中允许则用户可见和进入<BR>本限制对一级论坛不生效</td>
<td width="50%" class=Forumrow> 
<input type=radio name="Board_Setting(1)" value=0 <%if cint(Board_Setting(1))=0 then%>checked<%end if%>>否&nbsp;
<input type=radio name="Board_Setting(1)" value=1 <%if cint(Board_Setting(1))=1 then%>checked<%end if%>>是&nbsp;
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>是否认证论坛</U><BR>加密论坛只有管理员和该版面版主可见和进入<BR>用户可进入的设定在版面管理中<BR>只有认证用户可进入</td>
<td width="50%" class=Forumrow> 
<input type=radio name="Board_Setting(2)" value=0 <%if cint(Board_Setting(2))=0 then%>checked<%end if%>>否&nbsp;
<input type=radio name="Board_Setting(2)" value=1 <%if cint(Board_Setting(2))=1 then%>checked<%end if%>>是&nbsp;
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>帖子审核制度</U><BR>版主、管理员和开放权限用户可进行审核帖子<BR>版主、管理员和开放权限用户可直接发贴<BR>一般用户需审核后帖子方可见</td>
<td width="50%" class=Forumrow> 
<input type=radio name="Board_Setting(3)" value=0 <%if cint(Board_Setting(3))=0 then%>checked<%end if%>>关闭&nbsp;
<input type=radio name="Board_Setting(3)" value=1 <%if cint(Board_Setting(3))=1 then%>checked<%end if%>>开放&nbsp;
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>是否采用版主继承制度</U><BR>如果采用该制度,则上级论坛版主可管理下级论坛相关信息</td>
<td width="50%" class=Forumrow> 
<input type=radio name="Board_Setting(40)" value=0 <%if cint(Board_Setting(40))=0 then%>checked<%end if%>>关闭&nbsp;
<input type=radio name="Board_Setting(40)" value=1 <%if cint(Board_Setting(40))=1 then%>checked<%end if%>>开放&nbsp;
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>是否显示下级论坛帖子</U><BR>如果有下级论坛则显示,会加重服务器负担</td>
<td width="50%" class=Forumrow> 
<input type=radio name="Board_Setting(42)" value=0 <%if cint(Board_Setting(42))=0 then%>checked<%end if%>>关闭&nbsp;
<input type=radio name="Board_Setting(42)" value=1 <%if cint(Board_Setting(42))=1 then%>checked<%end if%>>开放&nbsp;
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>允许同时在线数</U><BR>不限制则设置为0</td>
<td width="50%" class=Forumrow> 
<input type=text size=10 name="Board_Setting(18)" value="<%=Board_Setting(18)%>"> 人
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>是否起用定时开关论坛</U></td>
<td width="50%" class=Forumrow> 
<input type=radio name="Board_Setting(21)" value=0 <%if cint(Board_Setting(21))=0 then%>checked<%end if%>>否&nbsp;
<input type=radio name="Board_Setting(21)" value=1 <%if cint(Board_Setting(21))=1 then%>checked<%end if%>>是&nbsp;
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>论坛开放时间</U><BR>请确认您已经设置起用定时开关功能<BR>起止小时用符号“|”分开</td>
<td width="50%" class=Forumrow> 
<input type=text size=10 name="Board_Setting(22)" value="<%=Board_Setting(22)%>">
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>帖子列表每页记录数</U></td>
<td width="50%" class=Forumrow> 
<input type=text size=10 name="Board_Setting(26)" value="<%=Board_Setting(26)%>">
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>浏览帖子每页记录数</U></td>
<td width="50%" class=Forumrow> 
<input type=text size=10 name="Board_Setting(27)" value="<%=Board_Setting(27)%>">
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>主版主可以增删副版主</U></td>
<td width="50%" class=Forumrow> 
<input type=radio name="Board_Setting(33)" value=0 <%if cint(Board_Setting(33))=0 then%>checked<%end if%>>否&nbsp;
<input type=radio name="Board_Setting(33)" value=1 <%if cint(Board_Setting(33))=1 then%>checked<%end if%>>是&nbsp;
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>主版主可以修改CSS设置</U></td>
<td width="50%" class=Forumrow> 
<input type=radio name="Board_Setting(34)" value=0 <%if cint(Board_Setting(34))=0 then%>checked<%end if%>>否&nbsp;
<input type=radio name="Board_Setting(34)" value=1 <%if cint(Board_Setting(34))=1 then%>checked<%end if%>>是&nbsp;
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>所有版主可以修改CSS设置</U></td>
<td width="50%" class=Forumrow> 
<input type=radio name="Board_Setting(35)" value=0 <%if cint(Board_Setting(35))=0 then%>checked<%end if%>>否&nbsp;
<input type=radio name="Board_Setting(35)" value=1 <%if cint(Board_Setting(35))=1 then%>checked<%end if%>>是&nbsp;
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>是否对论坛事件中的操作者保密</U></td>
<td width="50%" class=Forumrow> 
<input type=radio name="Board_Setting(36)" value=0 <%if cint(Board_Setting(36))=0 then%>checked<%end if%>>否&nbsp;
<input type=radio name="Board_Setting(36)" value=1 <%if cint(Board_Setting(36))=1 then%>checked<%end if%>>是&nbsp;
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>帖子列表默认读取数据量</U></td>
<td width="50%" class=Forumrow> 
<select size="1" name="Board_Setting(37)">
<option value="1"<%if cint(Board_Setting(37))=0 then%> selected<%end if%>>全部显示帖子</option>
<option value="2"<%if cint(Board_Setting(37))=5 then%> selected<%end if%>>五天内帖子</option>
<option value="3"<%if cint(Board_Setting(37))=15 then%> selected<%end if%>>半月内帖子</option>
<option value="4"<%if cint(Board_Setting(37))=30 then%> selected<%end if%>>一月内帖子</option>
<option value="5"<%if cint(Board_Setting(37))=60 then%> selected<%end if%>>两月内帖子</option>
<option value="6"<%if cint(Board_Setting(37))=120 then%> selected<%end if%>>四月内帖子</option>
<option value="7"<%if cint(Board_Setting(37))=180 then%> selected<%end if%>>半年内帖子</option>
</select>
</td>
</tr>
<tr> 
<td width="50%" class=Forumrow>
<U>帖子列表默认排序方式</U></td>
<td width="50%" class=Forumrow> 
<select size="1" name="Board_Setting(38)">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -