DROP TABLE IF EXISTS `moyu_config`;</explode>
CREATE TABLE `moyu_config` (
  `k` varchar(32) NOT NULL,
  `v` text,
  PRIMARY KEY (`k`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;</explode>
INSERT INTO `moyu_config` VALUES ('admin_user', 'admin');</explode>
INSERT INTO `moyu_config` VALUES ('admin_pass', 'e10adc3949ba59abbe56e057f20f883e');</explode>
INSERT INTO `moyu_config` VALUES ('title', '陌屿加密系统');</explode>
INSERT INTO `moyu_config` VALUES ('keywords', '陌屿云加密,高端的加密系统。');</explode>
INSERT INTO `moyu_config` VALUES ('description', '陌屿加密系统支持,服务器,虚拟主机,在线搭建。');</explode>
INSERT INTO `moyu_config` VALUES ('kfqq', '2763994904');</explode>
INSERT INTO `moyu_config` VALUES ('qqjump', '0');</explode>
INSERT INTO `moyu_config` VALUES ('captcha_open', '1');</explode>
INSERT INTO `moyu_config` VALUES ('captcha_id', '203c9ad927d8c8677ea659d07bf107d8');</explode>
INSERT INTO `moyu_config` VALUES ('captcha_key', '5c300444937dd58e2fde296c0e530939');</explode>
INSERT INTO `moyu_config` VALUES ('regiphmd', '');</explode>
INSERT INTO `moyu_config` VALUES ('hx', '0');</explode>
INSERT INTO `moyu_config` VALUES ('wd', '0');</explode>
INSERT INTO `moyu_config` VALUES ('mzphp', '0');</explode>
INSERT INTO `moyu_config` VALUES ('sg11', '0');</explode>
INSERT INTO `moyu_config` VALUES ('xend', '0');</explode>
INSERT INTO `moyu_config` VALUES ('sizekb', '2048');</explode>
INSERT INTO `moyu_config` VALUES ('GongGao', '授权价格<br>授权域名：20元<br>授权商户：50（无限授权）<br>合作商户：100（无限授权+无限添加授权商）<br><br>授权联系QQ：2763994904');</explode>

DROP TABLE IF EXISTS `moyu_daili`;</explode>
CREATE TABLE `moyu_daili` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user` varchar(150) NOT NULL,
  `pass` varchar(150) NOT NULL,
  `email` varchar(150) NOT NULL,
  `qq` varchar(20) default NULL,
  `rmb` decimal(10,2) NOT NULL DEFAULT '0.00',
  `last` datetime default NULL,
  `dlip` varchar(15) default NULL,   
  `active` int(1) default NULL,
  `access_token` text,
  `citylist` varchar(150) default NULL,  
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;</explode>

DROP TABLE IF EXISTS `moyu_km`;</explode>
CREATE TABLE `moyu_km` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `km` text,
  `money` varchar(30) DEFAULT NULL,
  `state` varchar(30) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;</explode>

DROP TABLE IF EXISTS `moyu_pay`;</explode>
CREATE TABLE `moyu_pay` (
  `trade_no` varchar(64) NOT NULL,
  `type` varchar(20) NULL,
  `zid` int(11) unsigned NOT NULL DEFAULT '1',
  `tid` int(11) NOT NULL,
  `input` text NOT NULL,
  `num` int(11) unsigned NOT NULL DEFAULT '1',
  `addtime` datetime NULL,
  `endtime` datetime NULL,
  `name` varchar(64) NULL,
  `money` varchar(32) NULL,
  `ip` varchar(20) NULL,
  `user` varchar(32) DEFAULT NULL,
  `inviteid` int(11) unsigned DEFAULT NULL,
  `domain` varchar(64) DEFAULT NULL,
  `status` tinyint(2) NOT NULL DEFAULT '0',
  PRIMARY KEY (`trade_no`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;</explode>

DROP TABLE IF EXISTS `moyu_cache`;</explode>
CREATE TABLE `moyu_cache`  (
  `id` int(255) NOT NULL AUTO_INCREMENT,
  `owner` varchar(255) NOT NULL,
  `file` varchar(255) NOT NULL,
  `space` varchar(255) NOT NULL,
  `type` varchar(255) NOT NULL,
  `upload` datetime NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8;</explode>