DROP TABLE IF EXISTS `maos_admin`;

CREATE TABLE `maos_admin` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `user_name` varchar(255) NOT NULL,
  `pass_word` varchar(255) NOT NULL,
  `remarks` varchar(255) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_base`;

CREATE TABLE `maos_base` (
  `site_title` varchar(255) default NULL,
  `site_keys` varchar(255) default NULL,
  `site_content` text,
  `site_ban` text,
  `site_no` text,
  `templates` varchar(255) NOT NULL,
  `templates_C` varchar(255) NOT NULL,
  `ym_from` varchar(255) NOT NULL,
  `zone_flag` mediumint(1) unsigned default '0',
  `writter_flag` mediumint(1) NOT NULL default '0',
  `html_ext` varchar(255) default NULL,
  `html_prepage` int(10) unsigned default NULL,
  `pass_key` varchar(255) default NULL,
  `tname` varchar(255) default NULL,
  `gg_index_top` varchar(255) default NULL,
  `gg_index_left` varchar(255) default NULL,
  `gg_index_right` varchar(255) default NULL,
  `gg_index_main` varchar(255) default NULL,
  `gg_index_top_url` varchar(255) default NULL,
  `gg_index_top_alt` varchar(255) default NULL,
  `gg_index_top_js` text,
  `gg_index_left_url` varchar(255) default NULL,
  `gg_index_left_alt` varchar(255) default NULL,
  `gg_index_right_url` varchar(255) default NULL,
  `gg_index_right_alt` varchar(255) default NULL,
  `gg_index_main_url` varchar(255) default NULL,
  `gg_index_main_alt` varchar(255) default NULL,
  `gg_list_left` varchar(255) default NULL,
  `gg_list_left_url` varchar(255) default NULL,
  `gg_list_left_alt` varchar(255) default NULL,
  `gg_list_right` varchar(255) default NULL,
  `gg_list_right_url` varchar(255) default NULL,
  `gg_list_right_alt` varchar(255) default NULL,
  `gg_book_left` varchar(255) default NULL,
  `gg_book_left_url` varchar(255) default NULL,
  `gg_book_left_alt` varchar(255) default NULL,
  `gg_book_right` varchar(255) default NULL,
  `gg_book_right_url` varchar(255) default NULL,
  `gg_book_right_alt` varchar(255) default NULL,
  `gg_logo` varchar(255) default NULL,
  `gg_index_tui` varchar(255) default NULL,
  `gg_index_tui_url` varchar(255) default NULL,
  `gg_index_tui_alt` varchar(255) default NULL,
  `u_info` mediumint(1) unsigned default '0',
  `u_reg` mediumint(1) unsigned default '0',
  `u_comments` mediumint(1) unsigned default '0',
  `u_nobody` mediumint(1) unsigned default '0',
  `u_nobody_down` mediumint(1) unsigned default '0',
  `u_shujia` mediumint(1) unsigned default '0',
  `i_tui_num` mediumint(3) unsigned default '0',
  `i_pindao_num` mediumint(3) unsigned default '0',
  `i_month_num` mediumint(3) unsigned default '0',
  `i_news_num` mediumint(3) unsigned default '0',
  `i_top_num` mediumint(3) unsigned default '0',
  `i_hot_num` mediumint(3) unsigned default '0',
  `i_tag_num` mediumint(3) unsigned default '0',
  `i_chapter_num` mediumint(3) unsigned default '0',
  `list_tui_num` mediumint(3) unsigned default '0',
  `book_tui_num` mediumint(3) unsigned default '0',
  `ping_list_num` mediumint(3) unsigned default '0',
  `ping_news_num` mediumint(3) unsigned default '0',
  `view_cook_num` mediumint(3) unsigned default '0',
  `gg_index_main_js` text,
  `down_top_ext` text,
  `down_bot_ext` text,
  `down_chapter_ext` text,
  `down_flag` mediumint(1) unsigned default '0',
  `count_num` int(10) unsigned default '0',
  `cai_max_chapter` int(10) unsigned DEFAULT '0',
  `chapter_max_html` int(10) unsigned DEFAULT '0',
  `i_chapter_month` mediumint(3) unsigned DEFAULT '1',
  `sousuo_time` mediumint(5) unsigned DEFAULT '0',
  `gg_index_tui_js` text,
  `gg_index_index_left_js` text,
  `gg_index_index_right_js` text,
  `gg_list_left_js` text,
  `gg_list_right_js` text,
  `gg_book_left_js` text,
  `gg_book_right_js` text,
  `gg_chapter_top` varchar(255) DEFAULT NULL,
  `gg_chapter_top_url` varchar(255) DEFAULT NULL,
  `gg_chapter_top_alt` varchar(255) DEFAULT NULL,
  `gg_chapter_top_js` text,
  `gg_all_float_js` text,
  `i_chapter_now` mediumint(1) DEFAULT '0',
  `wap_flag` mediumint(1) unsigned DEFAULT '0',
  `wap_list_prepage` int(10) unsigned DEFAULT '0',
  `wap_chapter_prepage` int(10) unsigned DEFAULT '0',
  `wap_text_num` int(10) unsigned DEFAULT '0',
  `gg_wap_logo` varchar(255) DEFAULT NULL,
  `storage_flag` mediumint(1) unsigned DEFAULT '0',
  `storage_ext` varchar(100) DEFAULT 'txt',
  `rewrite_flag` mediumint(1) unsigned DEFAULT '0',
  `cache_time` int(10) unsigned DEFAULT '0',
  `max_dir_num` int(10) unsigned DEFAULT '20000',
  `max_dir_num_ext` varchar(100) DEFAULT 's',
  `ting_flag` mediumint(1) unsigned DEFAULT '0',
  `quanben_flag` mediumint(1) unsigned NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_book`;

CREATE TABLE `maos_book` (
  `id` int(10) NOT NULL auto_increment,
  `cz_id` int(10) default '0',
  `cz_name` varchar(255) default NULL,
  `title` varchar(255) NOT NULL,
  `another` varchar(255) default NULL,
  `subtitle` varchar(255) default NULL,
  `word` varchar(15) NOT NULL,
  `translator` varchar(255) default NULL,
  `writter_ext` varchar(255) NOT NULL,
  `year` int(10) default '0',
  `sort` int(10) default NULL,
  `model` mediumint(1) default '2',
  `over` mediumint(1) default '1',
  `pic` varchar(255) default NULL,
  `zip` varchar(255) default NULL,
  `tag` varchar(255) default NULL,
  `introduction` varchar(255) default NULL,
  `content` text,
  `c_time` datetime default '0000-00-00 00:00:00',
  `u_time` datetime default '0000-00-00 00:00:00',
  `y` int(5) default NULL,
  `m` int(3) default NULL,
  `i_flag` mediumint(1) default '0',
  `l_flag` mediumint(1) default '0',
  `hot` mediumint(1) default '0',
  `laiyuan` varchar(255) default NULL,
  `laiyuan_url` varchar(255) default NULL,
  `html_flag` mediumint(1) unsigned DEFAULT '0',
  `p_id` int(10) unsigned DEFAULT '0',
  PRIMARY KEY  (`id`),
  KEY `index_cbid` (`cz_id`),
  KEY `Index_year` (`year`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_book_ext`;

CREATE TABLE `maos_book_ext` (
  `id` int(10) NOT NULL auto_increment,
  `b_id` int(10) NOT NULL,
  `b_name` varchar(255) default NULL,
  `title` varchar(255) NOT NULL,
  `subtitle` varchar(255) NOT NULL,
  `content` longtext,
  `chapter` mediumint(1) default '0',
  `sort` int(10) default '0',
  `c_time` datetime default '0000-00-00 00:00:00',
  `u_time` datetime default '0000-00-00 00:00:00',
  PRIMARY KEY  (`id`),
  KEY `Index_bid` (`b_id`),
  KEY `Index_utime` (`u_time`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_book_u_writter`;

CREATE TABLE `maos_book_u_writter` (
  `id` int(10) NOT NULL auto_increment,
  `b_id` int(10) default '0',
  `b_name` varchar(255) default NULL,
  `w_id` int(10) default '0',
  `w_name` varchar(255) default NULL,
  PRIMARY KEY  (`id`),
  KEY `Index_bid` (`b_id`),
  KEY `Index_wid` (`w_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_cate_b_type_more`;

CREATE TABLE `maos_cate_b_type_more` (
  `id` int(10) NOT NULL auto_increment,
  `fid` int(10) default '0',
  `name` varchar(255) NOT NULL,
  `sort` int(10) default '0',
  `remarks` varchar(255) default NULL,
  `shows` mediumint(1) default '0',
  `shows2` mediumint(1) unsigned default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_cate_b_zone`;

CREATE TABLE `maos_cate_b_zone` (
  `id` int(10) NOT NULL auto_increment,
  `name` varchar(255) NOT NULL,
  `remarks` varchar(255) default NULL,
  `sort` int(10) default NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_cate_creation`;

CREATE TABLE `maos_cate_creation` (
  `id` int(10) NOT NULL auto_increment,
  `name` varchar(255) default NULL,
  `remarks` varchar(255) default NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_cate_group`;

CREATE TABLE `maos_cate_group` (
  `id` int(10) NOT NULL auto_increment,
  `name` varchar(255) default NULL,
  `remarks` varchar(255) default NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_cate_myblog`;

CREATE TABLE `maos_cate_myblog` (
  `id` int(10) NOT NULL auto_increment,
  `name` varchar(255) NOT NULL,
  `remarks` varchar(255) default NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_cate_n_type`;

CREATE TABLE `maos_cate_n_type` (
  `id` int(10) NOT NULL auto_increment,
  `name` varchar(255) NOT NULL,
  `remarks` varchar(255) default NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_collection`;

CREATE TABLE `maos_collection` (
  `id` int(10) NOT NULL auto_increment,
  `u_id` int(10) NOT NULL,
  `u_name` varchar(255) default NULL,
  `f_id` int(10) NOT NULL,
  `f_name` varchar(255) default NULL,
  `title` varchar(255) default NULL,
  `content` text,
  `type` varchar(100) default NULL,
  `c_time` datetime default '0000-00-00 00:00:00',
  PRIMARY KEY  (`id`),
  KEY `Index_uid` (`u_id`),
  KEY `Index_fid` (`f_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_comments`;

CREATE TABLE `maos_comments` (
  `id` int(10) NOT NULL auto_increment,
  `u_id` int(10) unsigned default '0',
  `u_name` varchar(255) default NULL,
  `f_id` int(10) unsigned default '0',
  `f_name` varchar(255) default NULL,
  `title` varchar(255) default NULL,
  `content` text,
  `type` varchar(100) default NULL,
  `c_time` datetime default '0000-00-00 00:00:00',
  `flag` mediumint(1) unsigned default '0',
  `ku` mediumint(1) unsigned default '0',
  PRIMARY KEY  (`id`),
  KEY `Index_uid` (`u_id`),
  KEY `Index_fid` (`f_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_counts`;

CREATE TABLE `maos_counts` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `b_id` int(10) unsigned default '0',
  `b_name` varchar(255) default NULL,
  `ymd` varchar(100) default NULL,
  `u_time` datetime default '0000-00-00 00:00:00',
  `counts` int(10) unsigned default '0',
  `type` varchar(100) default NULL,
  `m` mediumint(5) unsigned default '0',
  `w` mediumint(5) unsigned default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_creation`;

CREATE TABLE `maos_creation` (
  `id` int(10) NOT NULL auto_increment,
  `title` varchar(255) NOT NULL,
  `title_ext` varchar(255) default NULL,
  `remarks` varchar(255) default NULL,
  `cc_id` int(10) NOT NULL,
  `cc_name` varchar(255) default NULL,
  `introduction` varchar(255) default NULL,
  `content` text,
  `pic` varchar(255) default NULL,
  `tag` varchar(255) default NULL,
  `i_flag` mediumint(1) default NULL,
  `c_flag` mediumint(1) default NULL,
  `u_id` int(10) default NULL,
  `u_name` varchar(255) default NULL,
  PRIMARY KEY  (`id`),
  KEY `Index_ccid` (`cc_id`,`i_flag`,`c_flag`,`u_id`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_creation_ext`;

CREATE TABLE `maos_creation_ext` (
  `id` int(10) NOT NULL,
  `title` varchar(255) NOT NULL,
  `title_ext` varchar(255) default NULL,
  `remarks` varchar(255) default NULL,
  `c_id` int(10) NOT NULL,
  `c_name` varchar(255) NOT NULL,
  `introduction` varchar(255) default NULL,
  `content` text,
  `tag` varchar(255) default NULL,
  PRIMARY KEY  (`id`),
  KEY `Index_cid` (`c_id`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_group`;

CREATE TABLE `maos_group` (
  `id` int(10) NOT NULL auto_increment,
  `cg_id` int(10) default NULL,
  `cg_name` varchar(255) default NULL,
  `title` varchar(255) NOT NULL,
  `content` text,
  `u_id` int(10) default NULL,
  `u_name` varchar(255) default NULL,
  PRIMARY KEY  (`id`),
  KEY `Index_cgid` (`cg_id`,`u_id`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_group_mybook`;

CREATE TABLE `maos_group_mybook` (
  `id` int(10) NOT NULL,
  `g_id` int(10) default NULL,
  `g_name` varchar(255) default NULL,
  `title` varchar(255) NOT NULL,
  `content` text,
  `u_id` int(10) default NULL,
  `u_name` varchar(255) default NULL,
  `tag` varchar(255) default NULL,
  `wb` varchar(10) NOT NULL,
  `wb_id` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `Index_uid` (`u_id`,`g_id`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_group_user`;

CREATE TABLE `maos_group_user` (
  `id` int(10) default NULL,
  `u_id` int(10) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_info`;

CREATE TABLE `maos_info` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `name` varchar(255) default NULL,
  `link` varchar(255) default NULL,
  `sort` mediumint(5) unsigned default '0',
  `bShow` mediumint(1) unsigned default '0',
  `content` text,
  `remarks` varchar(255) default NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_links`;

CREATE TABLE `maos_links` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `name` varchar(255) default NULL,
  `url` varchar(255) default NULL,
  `pic` varchar(255) default NULL,
  `sort` mediumint(3) unsigned default '0',
  `remarks` varchar(255) default NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_message`;

CREATE TABLE `maos_message` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `title` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `lianxi` varchar(255) NOT NULL,
  `content` text NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_myblog`;

CREATE TABLE `maos_myblog` (
  `id` int(10) NOT NULL auto_increment,
  `title` varchar(255) default NULL,
  `cm_id` int(10) default NULL,
  `cm_name` varchar(255) default NULL,
  `u_id` int(10) default NULL,
  `u_name` varchar(255) default NULL,
  `tag` varchar(255) default NULL,
  `introduction` varchar(255) default NULL,
  `content` text,
  `wb` varchar(10) NOT NULL,
  `wb_id` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_news`;

CREATE TABLE `maos_news` (
  `id` int(10) NOT NULL auto_increment,
  `t_id` int(10) NOT NULL,
  `t_name` varchar(255) default NULL,
  `name` varchar(255) NOT NULL,
  `content` text,
  `tag` varchar(255) default NULL,
  `wb` varchar(10) NOT NULL,
  `wb_id` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `Index_tid` (`t_id`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_recommend`;

CREATE TABLE `maos_recommend` (
  `id` int(10) NOT NULL auto_increment,
  `u_id` int(10) NOT NULL,
  `u_name` varchar(255) default NULL,
  `f_id` int(10) NOT NULL,
  `f_name` varchar(255) default NULL,
  `title` varchar(255) default NULL,
  `content` text,
  `type` varchar(100) default NULL,
  `c_time` datetime default '0000-00-00 00:00:00',
  PRIMARY KEY  (`id`),
  KEY `Index_uid` (`u_id`),
  KEY `Index_fid` (`f_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_tag`;

CREATE TABLE `maos_tag` (
  `id` int(10) NOT NULL auto_increment,
  `tid` text,
  `tag` varchar(255) default NULL,
  `count` int(10) default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_type_u_book`;

CREATE TABLE `maos_type_u_book` (
  `id` int(10) NOT NULL auto_increment,
  `b_id` int(10) NOT NULL,
  `b_name` varchar(255) default NULL,
  `t_id` int(10) NOT NULL,
  `t_name` varchar(255) default NULL,
  PRIMARY KEY  (`id`),
  KEY `Index_bid` (`b_id`),
  KEY `Index_tid` (`t_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_type_u_writter`;

CREATE TABLE `maos_type_u_writter` (
  `id` int(10) NOT NULL auto_increment,
  `t_id` int(10) NOT NULL,
  `t_name` varchar(255) default NULL,
  `w_id` int(10) NOT NULL,
  `w_name` varchar(255) default NULL,
  PRIMARY KEY  (`id`),
  KEY `Index_tid` (`t_id`),
  KEY `Index_wid` (`w_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_user`;

CREATE TABLE `maos_user` (
  `id` int(10) NOT NULL auto_increment,
  `name` varchar(255) default NULL,
  `pass` varchar(255) default NULL,
  `sex` mediumint(1) unsigned default '0',
  `email` varchar(255) NOT NULL,
  `province` varchar(100) default NULL,
  `city` varchar(100) default NULL,
  `qq` varchar(100) default NULL,
  `msn` varchar(100) default NULL,
  `phone` varchar(100) default NULL,
  `passQuestion` varchar(255) default NULL,
  `passAnswer` varchar(255) default NULL,
  `c_time` datetime default '0000-00-00 00:00:00',
  `flag` mediumint(1) unsigned default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_writter`;

CREATE TABLE `maos_writter` (
  `id` int(10) NOT NULL auto_increment,
  `cz_id` int(10) default '0',
  `cz_name` varchar(255) default NULL,
  `name` varchar(255) NOT NULL,
  `name_p` varchar(255) default NULL,
  `sex` varchar(15) default NULL,
  `year` varchar(100) default NULL,
  `introduction` char(10) default NULL,
  `content` text,
  `i_flag` mediumint(1) unsigned default '0',
  `l_flag` mediumint(1) unsigned default '0',
  `pic` varchar(255) default NULL,
  `tag` varchar(255) default NULL,
  `c_time` date default '0000-00-00',
  `u_time` date default '0000-00-00',
  `sort` int(10) default NULL,
  `word` varchar(15) NOT NULL,
  `hot` mediumint(1) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `Index_zid` (`cz_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_caiji_sites`;

CREATE TABLE `maos_caiji_sites` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `mark` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `c_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `u_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_caiji_single`;

CREATE TABLE `maos_caiji_single` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `mark` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `p_id` int(10) unsigned DEFAULT '0',
  `p_name` varchar(255) DEFAULT NULL,
  `ting_down` mediumint(1) unsigned DEFAULT '0',
  `address` varchar(255) NOT NULL,
  `page_info` varchar(255) NOT NULL,
  `title_start` varchar(255) NOT NULL,
  `title_end` varchar(255) NOT NULL,
  `anthor_start` varchar(255) DEFAULT NULL,
  `anthor_end` varchar(255) DEFAULT NULL,
  `subject_start` varchar(255) DEFAULT NULL,
  `subject_end` varchar(255) DEFAULT NULL,
  `subject_tihuan` text,
  `intro_start` varchar(255) DEFAULT NULL,
  `intro_end` varchar(255) DEFAULT NULL,
  `cover_start` varchar(255) DEFAULT NULL,
  `cover_end` varchar(255) DEFAULT NULL,
  `cover_prefix` varchar(255) DEFAULT NULL,
  `cover_down` mediumint(1) unsigned DEFAULT '0',
  `page_list` varchar(255) DEFAULT NULL,
  `page_list_start` varchar(255) DEFAULT NULL,
  `page_list_end` varchar(255) DEFAULT NULL,
  `page_list_prefix` varchar(255) DEFAULT NULL,
  `volume_start` varchar(255) DEFAULT NULL,
  `volume_end` varchar(255) DEFAULT NULL,
  `chapter_title_start` varchar(255) DEFAULT NULL,
  `chapter_title_end` varchar(255) DEFAULT NULL,
  `chapter_url_start` varchar(255) DEFAULT NULL,
  `chapter_url_end` varchar(255) DEFAULT NULL,
  `chapter_prefix` varchar(255) DEFAULT NULL,
  `text_start` varchar(255) DEFAULT NULL,
  `text_end` varchar(255) DEFAULT NULL,
  `text_tihuan` text,
  `text_pic_down` mediumint(1) unsigned DEFAULT '0',
  `text_pic_prefix` varchar(255) DEFAULT NULL,
  `over_start` varchar(255) DEFAULT NULL,
  `over_end` varchar(255) DEFAULT NULL,
  `over_tihuan` varchar(255) DEFAULT NULL,
  `info_replace_start` varchar(255) DEFAULT NULL,
  `info_replace_end` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

DROP TABLE IF EXISTS `maos_caiji_multi`;

CREATE TABLE `maos_caiji_multi` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `mark` varchar(255) NOT NULL,
  `page_list` varchar(255) NOT NULL,
  `info_no_start` varchar(255) DEFAULT NULL,
  `info_no_end` varchar(255) DEFAULT NULL,
  `page_f` mediumint(5) unsigned DEFAULT '0',
  `page_t` mediumint(5) unsigned DEFAULT '0',
  `c_time` datetime DEFAULT '0000-00-00 00:00:00',
  `u_time` datetime DEFAULT '0000-00-00 00:00:00',
  `custom_id` text,
  `remarks` text,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=gbk;

CREATE TABLE `maos_player` (
`id` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`pname` VARCHAR( 255 ) CHARACTER SET gbk COLLATE gbk_chinese_ci NOT NULL ,
`players` TEXT CHARACTER SET gbk COLLATE gbk_chinese_ci NULL ,
`premarks` VARCHAR( 255 ) CHARACTER SET gbk COLLATE gbk_chinese_ci NULL ,
`psort` INT( 10 ) UNSIGNED NULL DEFAULT '0'
) ENGINE = MYISAM DEFAULT CHARSET=gbk;

INSERT INTO `maos_base` VALUES ('在线小说阅读网', '在线小说,小说,言情小说,言情小说下载,在线阅读', '在线小说阅读网,提供最新免费言情小说在线阅读。在线小说阅读网包括言情小说，都市小说，武侠小说，玄幻小说，网游小说等。', '版权所有www.phpmaos.com　phpmaos小说开源系统 qq:11466030', '本站作品版权所有，未经许可不得转载 Copyright&amp;#169;2009-2010 www.phpmaos.com  All rights Reserved ', 'default', 'default', '2009-12', 0, 1, 'html', 10, 'phpmaos.com', 'maos_', './up/mg/gg/12603474174da3b.gif', './up/mg/gg/12603463123d944.jpg', './up/mg/gg/12603459964da3b.jpg', './up/mg/gg/12625933903d944.jpg', 'http://www.netnov.cn', '1', '', 'http://www.netnov.cn', '3', 'http://www.netnov.cn', '4', 'http://www.netnov.cn', '5', './up/mg/gg/12603466374da3b.jpg', 'http://www.netnov.cn', '6', './up/mg/gg/12603469153d944.jpg', 'http://www.netnov.cn', '7', './up/mg/gg/12603473409f0f8.jpg', 'http://www.netnov.cn', '8', './up/mg/gg/12603473405c48c.jpg', 'http://www.netnov.cn', '9', './up/mg/gg/126204996420ad4.png', './up/mg/gg/12625935309f0f8.jpg', 'http://www.netnov.cn/html/writter/show/2/', '2', 1, 1, 0, 1, 0, 0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, '', '', '', '', 0, 0,20,70,1,30,'', '', '', '', '', '', '', '', '', '', '', '',0, 0, 0, 0, 0, '', 0, 'txt', 0, 60, 20000, 's',0,0);

INSERT INTO `maos_cate_b_type_more` VALUES (1, 0, '文学频道', 1, '文学频道', 1, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (2, 0, '现代言情', 2, '现代言情', 1, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (3, 0, '武侠玄幻', 3, '武侠玄幻', 1, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (4, 0, '历史科幻', 4, '历史科幻', 1, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (5, 0, '惊悚悬疑', 5, '惊悚悬疑', 1, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (6, 1, '名著', 11, '名著', 0, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (7, 1, '短篇', 12, '短篇', 0, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (8, 1, '小说', 13, '小说', 0, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (14, 2, '浪漫情缘', 21, '浪漫情缘', 0, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (15, 2, '都市言情', 22, '都市言情', 0, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (16, 2, '菁菁校园', 23, '菁菁校园', 0, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (17, 2, '美文同人', 24, '美文同人', 0, 1);
INSERT INTO `maos_cate_b_type_more` VALUES (18, 3, '武侠小说', 31, '武侠小说', 0, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (19, 3, '玄幻小说', 32, '玄幻小说', 1, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (20, 3, '网游小说', 33, '网游小说', 0, 1);
INSERT INTO `maos_cate_b_type_more` VALUES (21, 3, '官场小说', 34, '官场小说', 0, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (22, 4, '历史小说', 41, '历史小说', 0, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (23, 4, '科幻小说', 42, '科幻小说', 0, 1);
INSERT INTO `maos_cate_b_type_more` VALUES (24, 4, '军事小说', 43, '军事小说', 0, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (25, 5, '惊悚小说', 51, '惊悚小说', 0, 0);
INSERT INTO `maos_cate_b_type_more` VALUES (26, 5, '悬疑小说', 52, '悬疑小说', 0, 1);
INSERT INTO `maos_cate_b_type_more` VALUES (27, 5, '侦探推理', 53, '侦探推理', 0, 1);

INSERT INTO `maos_cate_b_zone` VALUES (1, '中国', '中国', 1);
INSERT INTO `maos_cate_b_zone` VALUES (2, '法国', '法国', 2);
INSERT INTO `maos_cate_b_zone` VALUES (3, '德国', '德国', 3);
INSERT INTO `maos_cate_b_zone` VALUES (4, '日本', '日本', 4);
INSERT INTO `maos_cate_b_zone` VALUES (5, '美国', '美国', 6);
INSERT INTO `maos_cate_b_zone` VALUES (6, '西班牙', '西班牙', 5);

INSERT INTO `maos_info` VALUES (1, '首页公告', '', 1, 0, 'netnov.cn基于PHPMaos开发小组新推出的开源小说系统PHPMAOS v1.0版&lt;br&gt;', '首页公告');
INSERT INTO `maos_info` VALUES (3, '关于我们', 'aboutus', 2, 1, '&lt;b&gt;netnov.cn，小说第一站。&lt;/b&gt;&lt;br&gt;&lt;br&gt;欢迎来到netnov在线小说阅读网，在您踏上小说旅途时，这里是第一站。&lt;br&gt;&lt;br&gt;我们是一群被小说召唤的人，汇聚到了netnov.cn，一边享受着小说赋予这个世界的美好时光，一边孜孜不倦的将小说的点点滴滴汇入到网络的海洋中。&lt;br&gt;&lt;br&gt;经过数年的努力，建立了专业小说资料库，涵盖了数万部小说信息，及时介绍最新的小说和资讯。总之，这里有关于小说的一切！&lt;br&gt;&lt;br&gt;我们从好小说启动思考，因为我们确认“没有人不喜欢看小说，所有人都喜欢看好小说”。 那什么是好小说？好小说在哪里？一切就在netnov.cn。&lt;br&gt;&lt;br&gt;祝您的小说时光旅途愉快！', '关于我们');
INSERT INTO `maos_info` VALUES (4, '联系我们', 'lianxi', 3, 1, '欢迎联系netnov.cn，我们将为你提供满意的服务。&lt;br&gt;&lt;br&gt;&lt;b&gt;客户服务/合作联系&lt;/b&gt;&lt;br&gt;&lt;br&gt;如果你在使用netnov过程中，有任何问题、建议或意见等，请联系：&lt;br&gt;E-mail：zhengdlwb#yahoo.com.cn&lt;br&gt;&lt;br&gt;你的来信我们非常重视，我们会及时给你反馈！', '联系我们');
INSERT INTO `maos_info` VALUES (5, '合作伙伴', 'hezuo', 4, 1, '&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; netnov.cn基于PHPMaos开发小组新推出的开源小说系统PHPMAOS v1.0版，采用php+mysql　生成整站静态html页面，所有程序均有自主开发，后续将同步PHPMaos的升级版本。&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 如果您热爱开源，如果您喜欢小说，如果您想做一位站长，我们欢迎您的加入我们，和我们一同搭建更好的开源系统。&lt;br&gt;&lt;br&gt;', '合作伙伴');
INSERT INTO `maos_info` VALUES (6, '帮助中心', 'help', 5, 1, '欢迎联系netnov.cn，我们将为你提供满意的服务。&lt;br&gt;&lt;br&gt;&lt;b&gt;客户服务/合作联系&lt;/b&gt;&lt;br&gt;&lt;br&gt;如果你在使用netnov过程中，有任何问题、建议或意见等，请联系：&lt;br&gt;E-mail：zhengdlwb#yahoo.com.cn&lt;br&gt;&lt;br&gt;你的来信我们非常重视，我们会及时给你反馈！', '帮助中心');

INSERT INTO `maos_links` VALUES (1, 'PHPMaos小说采集系统', 'http://www.phpmaos.com', '', 1, 'PHPMaos小说采集系统');
