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

📄 grouppermission.asp

📁 一个用ASP编写的在线的整站系统,可用于网站初学者修改,编辑个人主页!
💻 ASP
📖 第 1 页 / 共 4 页
字号:
<%
Function GroupPermission(GroupSetting)
Dim reGroupSetting,Rs,UserHtml,UserHtmlA,UserHtmlB
If GroupSetting="" Then
	Set Rs = Dvbbs.Execute("Select GroupSetting From Dv_UserGroups Where UserGroupID=4")
	reGroupSetting = Split(Rs(0),",")
Else
	reGroupSetting = Split(GroupSetting,",")
End If
If reGroupSetting(58)="0" Then reGroupSetting(58)="§"
UserHtml = Split(reGroupSetting(58),"§")
If Ubound(UserHtml)=1 Then
	UserHtmlA=UserHtml(0)
	UserHtmlB=UserHtml(1)
Else
	UserHtmlA=""
	UserHtmlB=""
End If
%>
<tr> 
<th height="23" colspan="3"  align=left>==浏览相关选项</th>
</tr>
<tr>
<td height="23" width="60%" class=Forumrow>用户名在帖子内容中显示标记<BR>HTML语法,左右标记代码将加于用户名前后两头</td>
<td height="23" width="40%" class=Forumrow>左标记 <input name="GroupSetting(58)A" type=text size=8 value="<%=Server.HtmlEncode(UserHtmlA)%>"> 右标记 <input name="GroupSetting(58)B" type=text size=8 value="<%=Server.HtmlEncode(UserHtmlB)%>"></td>
<input type="hidden" id="g1" value="<b>用户名在帖子内容中显示标记</b><br><li>HTML语法,左右标记代码将加于用户名前后两头<br><li>如您设置了前后分别为《b》和《/b》,则在帖子内容中该组用户或者相关等级用户名显示为<B>粗体</B>">
<td class=forumRow><a href=# onclick="helpscript(g1);return false;" class="helplink"><img src="images/manage/help.gif" border=0 title="点击查阅管理帮助!"></a></td>
</tr>
<tr>
<td height="23" width="60%" class=ForumrowHighLight>允许用户自选风格</td>
<td height="23" width="40%" class=ForumrowHighLight>是<input name="GroupSetting(57)" type=radio value="1" <%if reGroupSetting(57)="1" then%>checked<%end if%>>&nbsp;否<input name="GroupSetting(57)" type=radio value="0" <%if reGroupSetting(57)="0" then%>checked<%end if%>></td>
<input type="hidden" id="g2" value="<b>允许用户自选风格</b><br><li>如果关闭了本选项,论坛中用户将不能自己选择浏览显示的风格(包括用户在个人信息中设定的风格)">
<td class=forumRowHighlight><a href=# onclick="helpscript(g2);return false;" class="helplink"><img src="images/manage/help.gif" border=0 title="点击查阅管理帮助!"></a></td>
</tr>
<tr>
<td height="23" width="60%" class=Forumrow>可以浏览论坛</td>
<td height="23" width="40%" class=Forumrow>是<input name="GroupSetting(0)" type=radio value="1" <%if reGroupSetting(0)="1" then%>checked<%end if%>>&nbsp;否<input name="GroupSetting(0)" type=radio value="0" <%if reGroupSetting(0)="0" then%>checked<%end if%>></td>
<input type="hidden" id="g3" value="<b>用户名在帖子内容中显示标记</b><br><li>关闭此选项,相关组或等级用户将不能浏览论坛<br><li>使用技巧:您可以设定某个用户组不能使用本设置,而当其身份变化后的用户组可使用本设置,如设置客人不能使用本设置,这样将迫使他登录">
<td class=forumRow><a href=# onclick="helpscript(g3);return false;" class="helplink"><img src="images/manage/help.gif" border=0 title="点击查阅管理帮助!"></a></td>
</tr>
<tr>
<td height="23" width="60%" class=ForumrowHighLight>可以查看会员信息(包括其他会员的资料和会员列表)
</td>
<td height="23" width="40%" class=ForumrowHighLight>是<input name="GroupSetting(1)" type=radio value="1" <%if reGroupSetting(1)="1" then%>checked<%end if%>>&nbsp;否<input name="GroupSetting(1)" type=radio value="0" <%if reGroupSetting(1)="0" then%>checked<%end if%>></td>
<input type="hidden" id="g4" value="<b>可以查看会员信息</b><br><li>关闭此选项,相关组或等级用户将不能浏览论坛用户资料,包括会员资料和会员列表资料<br><li>使用技巧:您可以设定某个用户组不能使用本设置,而当其身份变化后的用户组可使用本设置,如设置客人不能使用本设置,这样将迫使他登录">
<td class=ForumrowHighLight><a href=# onclick="helpscript(g4);return false;" class="helplink"><img src="images/manage/help.gif" border=0 title="点击查阅管理帮助!"></a></td>
</tr>
<tr>
<td height="23" width="60%" class=Forumrow>可以查看其他人发布的主题
</td>
<td height="23" width="40%" class=Forumrow>是<input name="GroupSetting(2)" type=radio value="1" <%if reGroupSetting(2)="1" then%>checked<%end if%>>&nbsp;否<input name="GroupSetting(2)" type=radio value="0" <%if reGroupSetting(2)="0" then%>checked<%end if%>></td>
<input type="hidden" id="g5" value="<b>可以查看其他人发布的主题</b><br><li>关闭此选项,相关组或等级用户将不能浏览论坛中其他人发布的帖子<br><li>使用技巧:您可以设定某个用户组不能使用本设置,而当其身份变化后的用户组可使用本设置,如设置客人不能使用本设置,这样将迫使他登录">
<td class=Forumrow><a href=# onclick="helpscript(g5);return false;" class="helplink"><img src="images/manage/help.gif" border=0 title="点击查阅管理帮助!"></a></td>
</tr>
<tr>
<td height="23" width="60%" class=ForumrowHighLight>可以浏览精华帖子
</td>
<td height="23" width="40%" class=ForumrowHighLight>是<input name="GroupSetting(41)" type=radio value="1" <%if reGroupSetting(41)="1" then%>checked<%end if%>>&nbsp;否<input name="GroupSetting(41)" type=radio value="0" <%if reGroupSetting(41)="0" then%>checked<%end if%>></td>
<input type="hidden" id="g6" value="<b>可以浏览精华帖子</b><br><li>关闭此选项,相关组或等级用户将不能浏览论坛中的精华帖子<br><li>使用技巧:您可以设定某个用户组不能使用本设置,而当其身份变化后的用户组可使用本设置,如设置客人不能使用本设置,这样将迫使他登录">
<td class=ForumrowHighLight><a href=# onclick="helpscript(g6);return false;" class="helplink"><img src="images/manage/help.gif" border=0 title="点击查阅管理帮助!"></a></td>
</tr>
<tr> 
<th height="23" colspan="3"  align=left>==发帖权限</th>
</tr>
<tr>
<td height="23" width="60%" class=Forumrow>可以发布新主题</td>
<td height="23" width="40%" class=Forumrow>是<input name="GroupSetting(3)" type=radio value="1" <%if reGroupSetting(3)="1" then%>checked<%end if%>>&nbsp;否<input name="GroupSetting(3)" type=radio value="0" <%if reGroupSetting(3)="0" then%>checked<%end if%>></td>
<input type="hidden" id="g9" value="<b>可以发布新主题</b><br><li>打开此选项,相关组或等级用户将可以可以发布新主题。鉴于国家规定,论坛默认的未登录用户组将即使设置此选项也不能发贴">
<td class=Forumrow><a href=# onclick="helpscript(g9);return false;" class="helplink"><img src="images/manage/help.gif" border=0 title="点击查阅管理帮助!"></a></td>
</tr>
<tr>
<td height="23" width="60%" class=ForumrowHighLight>在审核模式下可直接发贴而不需经过审核</td>
<td height="23" width="40%" class=ForumrowHighLight>是<input name="GroupSetting(64)" type=radio value="1" <%if reGroupSetting(64)="1" then%>checked<%end if%>>&nbsp;否<input name="GroupSetting(64)" type=radio value="0" <%if reGroupSetting(64)="0" then%>checked<%end if%>></td>
<input type="hidden" id="g10" value="<b>在审核模式下可直接发贴而不需经过审核</b><br><li>打开此选项,相关组或等级用户将可以可以发布新主题或回复而不经审核<br><li>当论坛版面设置为审核状态时该选项有效">
<td class=ForumrowHighLight><a href=# onclick="helpscript(g10);return false;" class="helplink"><img src="images/manage/help.gif" border=0 title="点击查阅管理帮助!"></a></td>
</tr>
<tr>
<td height="23" width="60%" class=Forumrow>一天最多发贴数目
</td>
<td height="23" width="40%" class=Forumrow><input name="GroupSetting(62)" type=text size=4 value="<%=reGroupSetting(62)%>"></td>
<input type="hidden" id="g11" value="<b>一天最多发贴数目</b><br><li>填写0为不作限制,出于对付灌水或者使用软件发贴的用户,请在此设置合理的数字<br><li>使用技巧:您可以给不同用户组设置不同的数字">
<td class=Forumrow><a href=# onclick="helpscript(g11);return false;" class="helplink"><img src="images/manage/help.gif" border=0 title="点击查阅管理帮助!"></a></td>
</tr>
<tr>
<td height="23" width="60%" class=ForumrowHighLight>可以回复自己的主题
</td>
<td height="23" width="40%" class=ForumrowHighLight>是<input name="GroupSetting(4)" type=radio value="1" <%if reGroupSetting(4)="1" then%>checked<%end if%>>&nbsp;否<input name="GroupSetting(4)" type=radio value="0" <%if reGroupSetting(4)="0" then%>checked<%end if%>></td>
<input type="hidden" id="g12" value="<b>可以回复自己的主题</b><br><li>打开此选项,相关用户组或等级用户可以回复自己发布的主题">
<td class=ForumrowHighLight><a href=# onclick="helpscript(g12);return false;" class="helplink"><img src="images/manage/help.gif" border=0 title="点击查阅管理帮助!"></a></td>
</tr>
<tr>
<td height="23" width="60%" class=Forumrow>可以回复其他人的主题
</td>
<td height="23" width="40%" class=Forumrow>是<input name="GroupSetting(5)" type=radio value="1" <%if reGroupSetting(5)="1" then%>checked<%end if%>>&nbsp;否<input name="GroupSetting(5)" type=radio value="0" <%if reGroupSetting(5)="0" then%>checked<%end if%>></td>
<input type="hidden" id="g13" value="<b>可以回复其他人的主题</b><br><li>打开此选项,相关用户组或等级用户可以回复其他人的主题">
<td class=Forumrow><a href=# onclick="helpscript(g13);return false;" class="helplink"><img src="images/manage/help.gif" border=0 title="点击查阅管理帮助!"></a></td>
</tr>
<tr>
<td height="23" width="60%" class=ForumrowHighLight>可以在论坛允许评分的时候参与评分(鲜花和鸡蛋)?
</td>
<td height="23" width="40%" class=ForumrowHighLight>是<input name="GroupSetting(6)" type=radio value="1" <%if reGroupSetting(6)="1" then%>checked<%end if%>>&nbsp;否<input name="GroupSetting(6)" type=radio value="0" <%if reGroupSetting(6)="0" then%>checked<%end if%>></td>
<input type="hidden" id="g14" value="<b>可以在论坛允许评分的时候参与评分</b><br><li>打开此选项,相关用户组或等级用户可以在论坛允许评分的时候参与评分,也就是帖子内容中的鲜花和鸡蛋选项">
<td class=ForumrowHighLight><a href=# onclick="helpscript(g14);return false;" class="helplink"><img src="images/manage/help.gif" border=0 title="点击查阅管理帮助!"></a></td>
</tr>
<tr>
<td height="23" width="60%" class=Forumrow>参与评分所需金钱
</td>
<td height="23" width="40%" class=Forumrow><input name="GroupSetting(47)" type=text size=4 value="<%=reGroupSetting(47)%>"></td>
<input type="hidden" id="g15" value="<b>参与评分所需金钱</b><br><li>相关用户组或等级用户参与评分所需金钱,点击鲜花或鸡蛋后扣除">
<td class=Forumrow><a href=# onclick="helpscript(g15);return false;" class="helplink"><img src="images/manage/help.gif" border=0 title="点击查阅管理帮助!"></a></td>
</tr>
<tr>
<td height="23" width="60%" class=ForumrowHighLight>可以发布新投票</td>
<td height="23" width="40%" class=ForumrowHighLight>是<input name="GroupSetting(8)" type=radio value="1" <%if reGroupSetting(8)="1" then%>checked<%end if%>>&nbsp;否<input name="GroupSetting(8)" type=radio value="0" <%if reGroupSetting(8)="0" then%>checked<%end if%>></td>
<input type="hidden" id="g21" value="<b>可以发布新投票</b><br><li>在这里您可以根据需要设置不同用户组或等级用户是否可以发布新投票">
<td class=ForumrowHighLight><a href=# onclick="helpscript(g21);return false;" class="helplink"><img src="images/manage/help.gif" border=0 title="点击查阅管理帮助!"></a></td>
</tr>
<tr>
<td height="23" width="60%" class=Forumrow>可以参与投票</td>
<td height="23" width="40%" class=Forumrow>是<input name="GroupSetting(9)" type=radio value="1" <%if reGroupSetting(9)="1" then%>checked<%end if%>>&nbsp;否<input name="GroupSetting(9)" type=radio value="0" <%if reGroupSetting(9)="0" then%>checked<%end if%>></td>
<input type="hidden" id="g22" value="<b>可以发布新投票</b><br><li>在这里您可以根据需要设置不同用户组或等级用户是否可以参与投票">
<td class=Forumrow><a href=# onclick="helpscript(g22);return false;" class="helplink"><img src="images/manage/help.gif" border=0 title="点击查阅管理帮助!"></a></td>
</tr>
<tr>
<td height="23" width="60%" class=ForumrowHighLight>投票可以使用HTML语法</td>
<td height="23" width="40%" class=ForumrowHighLight>是<input name="GroupSetting(68)" type=radio value="1" <%if reGroupSetting(68)="1" then%>checked<%end if%>>&nbsp;否<input name="GroupSetting(68)" type=radio value="0" <%if reGroupSetting(68)="0" then%>checked<%end if%>></td>
<input type="hidden" id="g_u_HTML" value="<b>投票可以使用HTML语法</b><br><li>在这里您可以根据需要设置不同用户组或等级用户是否可以在投票中使用HTML语法">
<td class=ForumrowHighLight><a href=# onclick="helpscript(g_u_HTML);return false;" class="helplink"><img src="images/manage/help.gif" border=0 title="点击查阅管理帮助!"></a></td>
</tr>
<tr>
<td height="23" width="60%" class=ForumrowHighLight>可以发布小字报</td>
<td height="23" width="40%" class=ForumrowHighLight>是<input name="GroupSetting(17)" type=radio value="1"  <%if reGroupSetting(17)="1" then%>checked<%end if%>>&nbsp;否<input name="GroupSetting(17)" type=radio value="0" <%if reGroupSetting(17)="0" then%>checked<%end if%>></td>

⌨️ 快捷键说明

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