📄 dvboardpermission.js
字号:
var groupname=new Array();
var GroupSetting=new Array();
function showtoptable(orders)
{
document.write ('<table class=tableborder1 cellspacing=1 cellpadding=3 align=center>');
document.write ('<tr>');
document.write ('<th height="25" width=16% id=tabletitlelink><a href=?boardid='+Dvbbs.BoardID+'&orders=1 >浏览权限<a></th>');
document.write ('<th height="23" width=16% id=tabletitlelink><a href=?boardid='+Dvbbs.BoardID+'&orders=2 >发帖权限<a></th>');
document.write ('<th height="23" width=16% id=tabletitlelink><a href=?boardid='+Dvbbs.BoardID+'&orders=3 >帖子管理权限<a></th>');
document.write ('<th height="23" width=16% id=tabletitlelink><a href=?boardid='+Dvbbs.BoardID+'&orders=4 >其他权限<a></th>');
document.write ('<th height="23" width=16% id=tabletitlelink><a href=?boardid='+Dvbbs.BoardID+'&orders=5 >管理权限<a></th>');
document.write ('<th height="23" width=16% id=tabletitlelink><a href=?boardid='+Dvbbs.BoardID+'&orders=6 >短信权限<a></th>');
document.write ('</tr>');
document.write ('</table>');
switch (orders)
{
case 1:
document.write ('<table class=tableborder1 cellspacing=1 cellpadding=3 align=center>');
document.write ('<tr align=center>');
document.write ('<td colspan=5 class=tablebody1>浏览权限</td>');
document.write ('</tr>');
document.write ('<tr>');
document.write ('<td height="25" width=20% class=tablebody2>用户组名('+groupname.length+')</td>');
document.write ('<td height="23" width=20% class=tablebody2>可以浏览论坛</td>');
document.write ('<td height="23" width=20% class=tablebody2>可以查看会员信息(包括其他会员的资料和会员列表)</td>');
document.write ('<td height="23" width=20% class=tablebody2>可以查看其他人发布的主题</td>');
document.write ('<td height="23" width=20% class=tablebody2>可以浏览精华帖子</td>');
document.write ('</tr>');
break;
case 2:
document.write ('<table class=tableborder1 cellspacing=1 cellpadding=3 align=center>');
document.write ('<tr align=center>');
document.write ('<td colspan=13 class=tablebody1>发帖权限</td>');
document.write ('</tr>');
document.write ('<tr>');
document.write ('<td height="25" width=16% class=tablebody2>用户组名('+groupname.length+')</td>');
document.write ('<td height="23" width=7% class=tablebody2>可以发布新主题</td>');
document.write ('<td height="23" width=7% class=tablebody2>可以回复自己的主题</td>');
document.write ('<td height="23" width=7% class=tablebody2>可以回复其他人的主题</td>');
document.write ('<td height="23" width=7% class=tablebody2>可以在论坛允许评分的时候参与评分(鲜花和鸡蛋)?</td>');
document.write ('<td height="23" width=7% class=tablebody2>参与评分所需金钱</td>');
document.write ('<td height="23" width=7% class=tablebody2>可以上传附件</td>');
document.write ('<td height="23" width=7% class=tablebody2>最多上传文件个数</td>');
document.write ('<td height="23" width=7% class=tablebody2>上传文件大小限制</td>');
document.write ('<td height="23" width=7% class=tablebody2>可以发布新投票</td>');
document.write ('<td height="23" width=7% class=tablebody2>可以参与投票</td>');
document.write ('<td height="23" width=7% class=tablebody2>可以发布小字报</td>');
document.write ('<td height="23" width=7% class=tablebody2>发布小字报所需金钱</td>');
document.write ('</tr>');
break;
case 3:
document.write ('<table class=tableborder1 cellspacing=1 cellpadding=3 align=center>');
document.write ('<tr align=center>');
document.write ('<td colspan=5 class=tablebody1>帖子管理权限</td>');
document.write ('</tr>');
document.write ('<tr>');
document.write ('<td height="25" width=20% class=tablebody2>用户组名('+groupname.length+')</td>');
document.write ('<td height="23" width=20% class=tablebody2>可以编辑自己的帖子</td>');
document.write ('<td height="23" width=20% class=tablebody2>可以删除自己的帖子</td>');
document.write ('<td height="23" width=20% class=tablebody2>可以移动自己的帖子到其他论坛</td>');
document.write ('<td height="23" width=20% class=tablebody2>可以打开/关闭自己发布的主题</td>');
document.write ('</tr>');
break;
case 4:
document.write ('<table class=tableborder1 cellspacing=1 cellpadding=3 align=center>');
document.write ('<tr align=center>');
document.write ('<td colspan=8 class=tablebody1>其他权限</td>');
document.write ('</tr>');
document.write ('<tr>');
document.write ('<td height="25" width=12.5% class=tablebody2>用户组名('+groupname.length+')</td>');
document.write ('<td height="23" width=12.5% class=tablebody2>可以搜索论坛</td>');
document.write ('<td height="23" width=12.5% class=tablebody2>可以使用\'发送本页给好友\'功能</td>');
document.write ('<td height="23" width=12.5% class=tablebody2>可以修改个人资料</td>');
document.write ('<td height="23" width=12.5% class=tablebody2>帖子中可以查看其它人头衔</td>');
document.write ('<td height="23" width=12.5% class=tablebody2>帖子中可以查看其它人头像</td>');
document.write ('<td height="23" width=12.5% class=tablebody2>帖子中可以可以查看其它人签名</td>');
document.write ('<td height="23" width=12.5% class=tablebody2>可以浏览论坛事件</td>');
document.write ('</tr>');
break;
case 5:
document.write ('<table class=tableborder1 cellspacing=1 cellpadding=3 align=center>');
document.write ('<tr align=center>');
document.write ('<td colspan=18 class=tablebody1>管理权限</td>');
document.write ('</tr>');
document.write ('<tr>');
document.write ('<td height="25" width=10% class=tablebody2>用户组名('+groupname.length+')</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以删除其它人帖子</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以移动其它人帖子</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以打开/关闭其它人帖子</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以固顶/解除固顶帖子</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以奖励/惩罚发贴用户</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以奖励/惩罚用户</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以编辑其它人帖子</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以加入/解除精华帖子</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以发布公告</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以管理公告</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以管理小字报</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以锁定/屏蔽/解除锁定用户</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以删除用户1-10天内所发帖子</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以查看来访IP及来源</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以限定IP来访</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以管理用户权限</td>');
document.write ('<td height="23" width=5% class=tablebody2>可以批量删除帖子(前台)</td>');
document.write ('</tr>');
break;
case 6:
document.write ('<table class=tableborder1 cellspacing=1 cellpadding=3 align=center>');
document.write ('<tr align=center>');
document.write ('<td colspan=5 class=tablebody1>短信权限</td>');
document.write ('</tr>');
document.write ('<tr>');
document.write ('<td height="25" width=12.5% class=tablebody2>用户组名('+groupname.length+')</td>');
document.write ('<td height="23" width=12.5% class=tablebody2>可以发送短信</td>');
document.write ('<td height="23" width=12.5% class=tablebody2>最多发送用户</td>');
document.write ('<td height="23" width=12.5% class=tablebody2>短信内容大小限制</td>');
document.write ('<td height="23" width=12.5% class=tablebody2>信箱大小限制</td>');
document.write ('</tr>');
break ;
case "":
document.write ('<table class=tableborder1 cellspacing=1 cellpadding=3 align=center>');
document.write ('<tr align=center>');
document.write ('<td colspan=5 class=tablebody1>其他权限</td>');
document.write ('</tr>');
document.write ('<tr>');
document.write ('<td height="25" width=20% class=tablebody2>用户组名('+groupname.length+')</td>');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -