| 收藏本站 | 关于我们
首页 免费模板 收费模板 部分案例 分类模板 地方门户 二次修改 服务定制 酷站欣赏 设计学院 特效代码 字体下载
当前位置:首页 >> 二次修改
创始人关闭了超管的一些权限,会连带自己也没有了这些权限,恢复的方法
发布时间:2015-05-04 10:34:20
原创作者:飞将军
第一步:把附件1导入数据库
第二步:把附件2替换php168/group/3.php


操作前请先备份



以下是附件1的内容:

DROP TABLE IF EXISTS p8_group;
CREATE TABLE p8_group (
gid smallint(4) NOT NULL auto_increment,
gptype tinyint(1) NOT NULL default '0',
grouptitle varchar(50) NOT NULL default '',
levelnum mediumint(7) NOT NULL default '0',
totalspace int(10) NOT NULL default '0',
allowsearch tinyint(1) NOT NULL default '0',
powerdb text NOT NULL,
allowadmin tinyint(1) NOT NULL default '0',
allowadmindb text,
PRIMARY KEY (gid)
) ENGINE=MyISAM DEFAULT CHARSET=gbk ;


INSERT INTO `p8_group` VALUES ('2','1','游客组','0','0','0','a:3:{s:10:\"upfileType\";s:0:\"\";s:13:\"upfileMaxSize\";s:0:\"\";s:14:\"PassContribute\";s:1:\"0\";}','0','');
INSERT INTO `p8_group` VALUES ('3','1','超级管理员','0','0','0','a:3:{s:10:\"upfileType\";s:0:\"\";s:13:\"upfileMaxSize\";s:0:\"\";s:14:\"PassContribute\";s:1:\"1\";}','1','a:38:{s:13:\"center_config\";s:1:\"1\";s:12:\"channel_list\";s:1:\"1\";s:16:\"channel_list_fid\";s:1:\"1\";s:14:\"alonepage_list\";s:1:\"1\";s:14:\"guestbook_list\";s:1:\"1\";s:14:\"friendlink_mod\";s:1:\"1\";s:7:\"js_list\";s:1:\"1\";s:11:\"cache_cache\";s:1:\"1\";s:13:\"sort_listsort\";s:1:\"1\";s:13:\"artic_postnew\";s:1:\"1\";s:12:\"artic_addpic\";s:1:\"1\";s:15:\"artic_listartic\";s:1:\"1\";s:12:\"comment_list\";s:1:\"1\";s:13:\"makehtml_make\";s:1:\"1\";s:11:\"sort_config\";s:1:\"1\";s:15:\"style_editstyle\";s:1:\"1\";s:13:\"template_list\";s:1:\"1\";s:11:\"member_list\";s:1:\"1\";s:10:\"group_list\";s:1:\"1\";s:15:\"gather_copysina\";s:1:\"1\";s:11:\"gather_list\";s:1:\"1\";s:9:\"hack_list\";s:1:\"1\";s:9:\"hack_oicq\";s:1:\"1\";s:10:\"hack_login\";s:1:\"1\";s:11:\"hack_search\";s:1:\"1\";s:11:\"hack_webmsg\";s:1:\"1\";s:9:\"mysql_out\";s:1:\"1\";s:10:\"mysql_into\";s:1:\"1\";s:9:\"mysql_del\";s:1:\"1\";s:9:\"mysql_sql\";s:1:\"1\";s:14:\"ad_listAdPlace\";s:1:\"1\";s:14:\"limitword_list\";s:1:\"1\";s:17:\"limitword_replace\";s:1:\"1\";s:15:\"attachment_list\";s:1:\"1\";s:9:\"vote_list\";s:1:\"1\";s:15:\"logs_login_logs\";s:1:\"1\";s:17:\"googlemap_makemap\";s:1:\"1\";s:9:\"blend_set\";s:1:\"1\";}');
INSERT INTO `p8_group` VALUES ('4','1','前台管理员','0','0','0','','0','');
INSERT INTO `p8_group` VALUES ('5','1','栏目管理员','0','0','0','a:3:{s:10:\"upfileType\";s:0:\"\";s:13:\"upfileMaxSize\";s:0:\"\";s:14:\"PassContribute\";s:1:\"0\";}','0','a:1:{s:15:\"artic_listartic\";s:1:\"1\";}');
INSERT INTO `p8_group` VALUES ('8','0','普通会员','0','50','0','a:3:{s:10:\"upfileType\";s:0:\"\";s:13:\"upfileMaxSize\";s:0:\"\";s:14:\"PassContribute\";s:1:\"0\";}','0','');
INSERT INTO `p8_group` VALUES ('9','0','高级会员','10000','0','0','','0','');




以下是附件2内容:

<?php

$groupdb=@unserialize("a:3:{s:10:\"upfileType\";s:0:\"\";s:13:\"upfileMaxSize\";s:0:\"\";s:14:\"PassContribute\";s:1:\"1\";}");
$groupdb['gid']="3";
$groupdb['gptype']="1";
$groupdb['grouptitle']="超级管理员";
$groupdb['levelnum']="0";
$groupdb['totalspace']="0";
$groupdb['allowsearch']="0";
$groupdb['allowadmin']="1";
$groupdb['allowadmindb']="a:38:{s:13:\"center_config\";s:1:\"1\";s:12:\"channel_list\";s:1:\"1\";s:16:\"channel_list_fid\";s:1:\"1\";s:14:\"alonepage_list\";s:1:\"1\";s:14:\"guestbook_list\";s:1:\"1\";s:14:\"friendlink_mod\";s:1:\"1\";s:7:\"js_list\";s:1:\"1\";s:11:\"cache_cache\";s:1:\"1\";s:13:\"sort_listsort\";s:1:\"1\";s:13:\"artic_postnew\";s:1:\"1\";s:12:\"artic_addpic\";s:1:\"1\";s:15:\"artic_listartic\";s:1:\"1\";s:12:\"comment_list\";s:1:\"1\";s:13:\"makehtml_make\";s:1:\"1\";s:11:\"sort_config\";s:1:\"1\";s:15:\"style_editstyle\";s:1:\"1\";s:13:\"template_list\";s:1:\"1\";s:11:\"member_list\";s:1:\"1\";s:10:\"group_list\";s:1:\"1\";s:15:\"gather_copysina\";s:1:\"1\";s:11:\"gather_list\";s:1:\"1\";s:9:\"hack_list\";s:1:\"1\";s:9:\"hack_oicq\";s:1:\"1\";s:10:\"hack_login\";s:1:\"1\";s:11:\"hack_search\";s:1:\"1\";s:11:\"hack_webmsg\";s:1:\"1\";s:9:\"mysql_out\";s:1:\"1\";s:10:\"mysql_into\";s:1:\"1\";s:9:\"mysql_del\";s:1:\"1\";s:9:\"mysql_sql\";s:1:\"1\";s:14:\"ad_listAdPlace\";s:1:\"1\";s:14:\"limitword_list\";s:1:\"1\";s:17:\"limitword_replace\";s:1:\"1\";s:15:\"attachment_list\";s:1:\"1\";s:9:\"vote_list\";s:1:\"1\";s:15:\"logs_login_logs\";s:1:\"1\";s:17:\"googlemap_makemap\";s:1:\"1\";s:9:\"blend_set\";s:1:\"1\";}";
点击率:975
相关文章
网页特效代码
 服务流程 | 积分说明 | 使用说明 | 粤ICP备17004399号-2 电视直播 | QQ头像获取