-- <?php exit;?>

REPLACE INTO `p8_work_item_mood` VALUES ('1','欠扁','1.gif','99');
REPLACE INTO `p8_work_item_mood` VALUES ('2','支持','2.gif','88');
REPLACE INTO `p8_work_item_mood` VALUES ('3','很棒','3.gif','77');
REPLACE INTO `p8_work_item_mood` VALUES ('4','找骂','4.gif','66');
REPLACE INTO `p8_work_item_mood` VALUES ('5','搞笑','5.gif','55');
REPLACE INTO `p8_work_item_mood` VALUES ('6','软文','6.gif','44');
REPLACE INTO `p8_work_item_mood` VALUES ('7','不解','7.gif','1');
REPLACE INTO `p8_work_item_mood` VALUES ('8','吃惊','8.gif','1');
REPLACE INTO `p8_work_member` VALUES ('1','admin','1','0');
REPLACE INTO `p8_work_member` VALUES ('11','扶贫办编辑','114','0');
REPLACE INTO `p8_work_member` VALUES ('12','hero','2','0');
REPLACE INTO `p8_work_member` VALUES ('2','国微','114','0');
REPLACE INTO `p8_work_member` VALUES ('13','123456','2','0');
REPLACE INTO `p8_work_member` VALUES ('14','测试','114','0');
REPLACE INTO `p8_work_member` VALUES ('15','hjy119','2','0');
REPLACE INTO `p8_work_member` VALUES ('8','tester123','1','0');
REPLACE INTO `p8_work_member` VALUES ('16','123123','2','0');
REPLACE INTO `p8_work_member` VALUES ('17','方立宏','2','0');
REPLACE INTO `p8_work_member` VALUES ('18','卫生局','114','0');
REPLACE INTO `p8_work_model` VALUES ('1','work','办事','1','a:6:{s:19:\"admin_edit_template\";s:9:\"work/edit\";s:20:\"member_edit_template\";s:9:\"work/edit\";s:17:\"frame_thumb_width\";s:0:\"\";s:18:\"frame_thumb_height\";s:0:\"\";s:19:\"content_thumb_width\";s:0:\"\";s:20:\"content_thumb_height\";s:0:\"\";}');
REPLACE INTO `p8_work_model` VALUES ('2','article','文章','1','a:3:{s:14:\"prev&next_item\";s:1:\"1\";s:19:\"admin_edit_template\";s:0:\"\";s:20:\"member_edit_template\";s:0:\"\";}');
REPLACE INTO `p8_work_model` VALUES ('3','fromdown','表格下载','1','a:6:{s:19:\"admin_edit_template\";s:0:\"\";s:20:\"member_edit_template\";s:0:\"\";s:17:\"frame_thumb_width\";s:0:\"\";s:18:\"frame_thumb_height\";s:0:\"\";s:19:\"content_thumb_width\";s:0:\"\";s:20:\"content_thumb_height\";s:0:\"\";}');
REPLACE INTO `p8_work_model_field` VALUES ('1','work','0','address','联系地址','varchar','0','0','0','0','255','0','1','','a:0:{}','a:0:{}','text','','3','','');
REPLACE INTO `p8_work_model_field` VALUES ('2','work','0','content','办事详细说明','mediumtext','0','0','0','1','','0','1','','a:0:{}','a:0:{}','textarea','cols=\"60\" rows=\"6\"','0','','');
REPLACE INTO `p8_work_model_field` VALUES ('3','work','0','email','邮箱','varchar','0','0','0','0','255','0','1','','a:0:{}','a:0:{}','text','','94','','');
REPLACE INTO `p8_work_model_field` VALUES ('4','work','0','gender','性别','tinyint','0','0','0','1','3','0','1','','a:2:{i:1;s:2:\"男\";i:2;s:2:\"女\";}','a:0:{}','radio','','98','','');
REPLACE INTO `p8_work_model_field` VALUES ('5','work','0','material','岗位','char','0','0','0','1','100','0','1','','a:0:{}','a:0:{}','text','','96','','');
REPLACE INTO `p8_work_model_field` VALUES ('6','work','0','material2','附件资料','text','0','0','0','0','','0','1','','a:0:{}','a:0:{}','multi_uploader','','0','','');
REPLACE INTO `p8_work_model_field` VALUES ('7','work','0','mobilephone','手机号码','varchar','0','0','0','1','255','0','1','','a:0:{}','a:0:{}','text','','75','','');
REPLACE INTO `p8_work_model_field` VALUES ('8','work','0','postcore','部门','char','0','0','0','1','100','0','1','','a:0:{}','a:0:{}','text','','97','','');
REPLACE INTO `p8_work_model_field` VALUES ('9','work','0','realname','真实姓名','varchar','0','0','0','1','30','0','1','','s:6:\"a:0:{}\";','s:6:\"a:0:{}\";','text','','99','','');
REPLACE INTO `p8_work_model_field` VALUES ('10','work','0','telephone','联系电话','varchar','0','0','0','0','255','0','1','','a:0:{}','a:0:{}','text','','95','','');
REPLACE INTO `p8_work_model_field` VALUES ('11','article','0','content','内容','mediumtext','0','0','0','1','0','0','1','','a:0:{}','a:0:{}','editor','','99','','');
REPLACE INTO `p8_work_model_field` VALUES ('12','fromdown','0','content','内容','mediumtext','0','0','0','0','','0','1','','s:6:\"a:0:{}\";','s:6:\"a:0:{}\";','editor_basic','','99','','');
REPLACE INTO `p8_work_model_field` VALUES ('13','fromdown','0','downurl','表格下载','text','0','0','0','1','','0','1','','s:6:\"a:0:{}\";','s:6:\"a:0:{}\";','multi_uploader','','0','','');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','','string','forbidden_dynamic','0');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','','serialize','hook_modules','a:2:{s:8:\"category\";a:1:{s:3:\"cms\";a:1:{s:4:\"item\";s:3:\"cid\";}}s:4:\"item\";a:1:{s:4:\"core\";a:1:{s:8:\"uploader\";s:7:\"item_id\";}}}');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','','string','index_file','1');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','','string','index_to_html_crontab_id','');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','','string','table_prefix','');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','','string','template','newmedia');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','','serialize','_hook_modules','a:1:{s:4:\"item\";a:2:{s:3:\"cms\";a:1:{s:8:\"category\";s:3:\"cid\";}s:4:\"core\";a:1:{s:6:\"member\";s:3:\"uid\";}}}');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','item','string','allow_comment','1');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','item','string','allow_digg','1');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','item','string','allow_mood','1');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','item','serialize','comment','a:4:{s:7:\"enabled\";i:1;s:14:\"require_verify\";i:0;s:9:\"page_size\";i:20;s:14:\"view_page_size\";i:5;}');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','item','string','dynamic_homepage_list_url_rule','{$URL}#-page-{$page}#.shtml');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','item','string','dynamic_list_url_rule','{$module_controller}-list-category-{$id}#-page-{$page}#.shtml');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','item','string','dynamic_view_url_rule','{$module_controller}-view-id-{$id}#-page-{$page}#.shtml');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','item','string','htmlize','0');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','item','string','list_navigagion','nav_list02');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','item','string','list_page_cacle_ttl','0');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','item','serialize','sphinx','a:3:{s:7:\"enabled\";i:0;s:4:\"host\";s:9:\"localhost\";s:4:\"port\";i:3312;}');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','item','string','template','newmedia');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','item','serialize','verify_acl','a:3:{i:1;a:2:{s:4:\"name\";s:4:\"终审\";s:4:\"role\";a:2:{i:1;i:1;s:0:\"\";i:1;}}i:0;a:2:{s:4:\"name\";s:8:\"取消审核\";s:4:\"role\";a:2:{i:1;i:1;s:0:\"\";i:1;}}i:-99;a:2:{s:4:\"name\";s:4:\"退稿\";s:4:\"role\";a:2:{i:1;i:1;s:0:\"\";i:1;}}}');
REPLACE INTO `p8_config` (`system`,`module`,`type`,`k`,`v`)VALUES('cms','item','string','view_page_cacle_ttl','0');
CREATE TABLE IF NOT EXISTS `p8_work_item_work_` (
  `id` int(10) unsigned NOT NULL,
  `number` varchar(20) NOT NULL,
  `model` varchar(20) NOT NULL DEFAULT '',
  `cid` smallint(5) unsigned NOT NULL,
  `uid` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `username` varchar(20) NOT NULL DEFAULT '',
  `title` varchar(100) NOT NULL DEFAULT '',
  `title_color` varchar(7) NOT NULL DEFAULT '',
  `title_bold` tinyint(1) NOT NULL DEFAULT '0',
  `sub_title` varchar(120) NOT NULL DEFAULT '',
  `frame` varchar(100) NOT NULL DEFAULT '',
  `url` varchar(255) NOT NULL DEFAULT '',
  `attributes` varchar(40) NOT NULL DEFAULT '',
  `summary` varchar(100) NOT NULL DEFAULT '',
  `source` varchar(120) NOT NULL DEFAULT '',
  `keywords` varchar(100) NOT NULL DEFAULT '',
  `verified` tinyint(1) unsigned NOT NULL,
  `timestamp` int(10) unsigned NOT NULL,
  `verifytime` int(10) unsigned NOT NULL,
  `list_order` int(10) unsigned NOT NULL,
  `update_time` int(10) unsigned NOT NULL,
  `pages` smallint(5) unsigned NOT NULL DEFAULT '1',
  `html_view_url_rule` varchar(80) NOT NULL DEFAULT '',
  `template` varchar(30) NOT NULL DEFAULT '',
  `views` mediumint(8) unsigned NOT NULL,
  `comments` mediumint(8) unsigned NOT NULL,
  `seo_keywords` varchar(100) NOT NULL,
  `seo_description` varchar(200) NOT NULL,
  `label_postfix` varchar(50) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `cid` (`cid`,`list_order`),
  KEY `cid_id` (`cid`,`id`),
  KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
CREATE TABLE IF NOT EXISTS `p8_work_item_work_addon` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `iid` int(10) unsigned NOT NULL,
  `page` smallint(5) unsigned NOT NULL,
  `addon_title` varchar(40) NOT NULL DEFAULT '',
  `addon_frame` varchar(100) NOT NULL DEFAULT '',
  `addon_summary` varchar(180) NOT NULL DEFAULT '',
  `ip` char(15) NOT NULL DEFAULT '',
  `last_update_ip` char(15) NOT NULL DEFAULT '',
  `timestamp` int(10) unsigned NOT NULL,
  `address` varchar(255) DEFAULT NULL,
  `content` mediumtext NOT NULL,
  `email` varchar(255) DEFAULT NULL,
  `gender` tinyint(3) NOT NULL,
  `material` char(100) NOT NULL,
  `material2` text,
  `mobilephone` varchar(255) NOT NULL,
  `postcore` char(100) NOT NULL,
  `realname` varchar(30) NOT NULL,
  `telephone` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `iid` (`iid`,`page`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
CREATE TABLE IF NOT EXISTS `p8_work_item_article_` (
  `id` int(10) unsigned NOT NULL,
  `number` varchar(20) NOT NULL,
  `model` varchar(20) NOT NULL DEFAULT '',
  `cid` smallint(5) unsigned NOT NULL,
  `uid` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `username` varchar(20) NOT NULL DEFAULT '',
  `title` varchar(100) NOT NULL DEFAULT '',
  `title_color` varchar(7) NOT NULL DEFAULT '',
  `title_bold` tinyint(1) NOT NULL DEFAULT '0',
  `sub_title` varchar(120) NOT NULL DEFAULT '',
  `frame` varchar(100) NOT NULL DEFAULT '',
  `url` varchar(255) NOT NULL DEFAULT '',
  `attributes` varchar(40) NOT NULL DEFAULT '',
  `summary` varchar(100) NOT NULL DEFAULT '',
  `source` varchar(120) NOT NULL DEFAULT '',
  `keywords` varchar(100) NOT NULL DEFAULT '',
  `verified` tinyint(1) unsigned NOT NULL,
  `timestamp` int(10) unsigned NOT NULL,
  `verifytime` int(10) unsigned NOT NULL,
  `list_order` int(10) unsigned NOT NULL,
  `update_time` int(10) unsigned NOT NULL,
  `pages` smallint(5) unsigned NOT NULL DEFAULT '1',
  `html_view_url_rule` varchar(80) NOT NULL DEFAULT '',
  `template` varchar(30) NOT NULL DEFAULT '',
  `views` mediumint(8) unsigned NOT NULL,
  `comments` mediumint(8) unsigned NOT NULL,
  `seo_keywords` varchar(100) NOT NULL,
  `seo_description` varchar(200) NOT NULL,
  `label_postfix` varchar(50) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `cid` (`cid`,`list_order`),
  KEY `cid_id` (`cid`,`id`),
  KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
CREATE TABLE IF NOT EXISTS `p8_work_item_article_addon` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `iid` int(10) unsigned NOT NULL,
  `page` smallint(5) unsigned NOT NULL,
  `addon_title` varchar(40) NOT NULL DEFAULT '',
  `addon_frame` varchar(100) NOT NULL DEFAULT '',
  `addon_summary` varchar(180) NOT NULL DEFAULT '',
  `ip` char(15) NOT NULL DEFAULT '',
  `last_update_ip` char(15) NOT NULL DEFAULT '',
  `timestamp` int(10) unsigned NOT NULL,
  `content` mediumtext NOT NULL,
  PRIMARY KEY (`id`),
  KEY `iid` (`iid`,`page`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
CREATE TABLE IF NOT EXISTS `p8_work_item_fromdown_` (
  `id` int(10) unsigned NOT NULL,
  `number` varchar(20) NOT NULL,
  `model` varchar(20) NOT NULL DEFAULT '',
  `cid` smallint(5) unsigned NOT NULL,
  `uid` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `username` varchar(20) NOT NULL DEFAULT '',
  `title` varchar(100) NOT NULL DEFAULT '',
  `title_color` varchar(7) NOT NULL DEFAULT '',
  `title_bold` tinyint(1) NOT NULL DEFAULT '0',
  `sub_title` varchar(120) NOT NULL DEFAULT '',
  `frame` varchar(100) NOT NULL DEFAULT '',
  `url` varchar(255) NOT NULL DEFAULT '',
  `attributes` varchar(40) NOT NULL DEFAULT '',
  `summary` varchar(100) NOT NULL DEFAULT '',
  `source` varchar(120) NOT NULL DEFAULT '',
  `keywords` varchar(100) NOT NULL DEFAULT '',
  `verified` tinyint(1) unsigned NOT NULL,
  `timestamp` int(10) unsigned NOT NULL,
  `verifytime` int(10) unsigned NOT NULL,
  `list_order` int(10) unsigned NOT NULL,
  `update_time` int(10) unsigned NOT NULL,
  `pages` smallint(5) unsigned NOT NULL DEFAULT '1',
  `html_view_url_rule` varchar(80) NOT NULL DEFAULT '',
  `template` varchar(30) NOT NULL DEFAULT '',
  `views` mediumint(8) unsigned NOT NULL,
  `comments` mediumint(8) unsigned NOT NULL,
  `seo_keywords` varchar(100) NOT NULL,
  `seo_description` varchar(200) NOT NULL,
  `label_postfix` varchar(50) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `cid` (`cid`,`list_order`),
  KEY `cid_id` (`cid`,`id`),
  KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
CREATE TABLE IF NOT EXISTS `p8_work_item_fromdown_addon` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `iid` int(10) unsigned NOT NULL,
  `page` smallint(5) unsigned NOT NULL,
  `addon_title` varchar(40) NOT NULL DEFAULT '',
  `addon_frame` varchar(100) NOT NULL DEFAULT '',
  `addon_summary` varchar(180) NOT NULL DEFAULT '',
  `ip` char(15) NOT NULL DEFAULT '',
  `last_update_ip` char(15) NOT NULL DEFAULT '',
  `timestamp` int(10) unsigned NOT NULL,
  `content` mediumtext,
  `downurl` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `iid` (`iid`,`page`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;