set names 'utf8';
DROP TABLE IF EXISTS `klmz_kms`;
CREATE TABLE `klmz_kms` (
  `kid` int(11) NOT NULL AUTO_INCREMENT,
  `kind` tinyint(1) NOT NULL DEFAULT '0',
  `daili` int(11) NOT NULL DEFAULT '0',
  `km` varchar(50) NOT NULL,
  `ms` int(2) NOT NULL DEFAULT '1',
  `isuse` tinyint(1) DEFAULT '0',
  `uid` int(11) DEFAULT NULL,
  `usetime` datetime DEFAULT NULL,
  `addtime` datetime DEFAULT NULL,
  PRIMARY KEY (`kid`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `klmz_qqs`;
CREATE TABLE `klmz_qqs` (
  `qid` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL DEFAULT '0',
  `usedate` datetime DEFAULT NULL,
  `qq` decimal(10,0) NOT NULL,
  `pwd` varchar(80) DEFAULT NULL,
  `sid` varchar(80) NOT NULL,
  `skey` varchar(20) NOT NULL,
  `sidzt` tinyint(1) DEFAULT '0',
  `skeyzt` tinyint(1) DEFAULT '0',
  `ptsig` varchar(50) NOT NULL,
  `p_skey` varchar(50) NOT NULL,
  `p_skey2` varchar(50) NOT NULL,
  `qqzt` tinyint(1) NOT NULL DEFAULT '0',
  `iszan` tinyint(1) DEFAULT '0',
  `zanrate` int(3) DEFAULT '5',
  `zannet` tinyint(1) DEFAULT '0',
  `lastzan` datetime DEFAULT NULL,
  `nextzan` datetime DEFAULT NULL,
  `isreply` tinyint(1) DEFAULT '0',
  `replycon` varchar(1000) DEFAULT NULL,
  `replypic` varchar(1000) DEFAULT NULL,
  `replyrate` int(3) DEFAULT '15',
  `replynet` tinyint(1) DEFAULT '0',
  `lastreply` datetime DEFAULT NULL,
  `nextreply` datetime DEFAULT NULL,
  `isshuo` tinyint(1) DEFAULT '0',
  `shuotype` tinyint(1) DEFAULT '0',
  `shuorate` int(3) DEFAULT '30',
  `shuonet` tinyint(1) DEFAULT '0',
  `shuoshuo` text,
  `shuopic` text,
  `shuophone` varchar(200) DEFAULT NULL,
  `lastshuo` datetime DEFAULT NULL,
  `nextshuo` datetime DEFAULT NULL,
  `isdel` tinyint(1) DEFAULT '0',
  `delnet` tinyint(1) DEFAULT '0',
  `lastdel` datetime DEFAULT NULL,
  `nextdel` datetime DEFAULT NULL,
  `isdell` tinyint(1) DEFAULT '0',
  `dellnet` tinyint(1) DEFAULT '0',
  `lastdell` datetime DEFAULT NULL,
  `nextdell` datetime DEFAULT NULL,
  `isqd` tinyint(1) DEFAULT NULL,
  `qdcon` varchar(1000) DEFAULT NULL,
  `qdnet` tinyint(1) DEFAULT '0',
  `lastqd` datetime DEFAULT NULL,
  `nextqd` datetime DEFAULT NULL,
  `isly` tinyint(1) NOT NULL DEFAULT '0',
  `lastly` datetime DEFAULT NULL,
  `nextly` datetime DEFAULT NULL,
  `isyyqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastyyqd` datetime DEFAULT NULL,
  `nextyyqd` datetime DEFAULT NULL,
  `isdtqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastdtqd` datetime DEFAULT NULL,
  `nextdtqd` datetime DEFAULT NULL,
  `isqqllqqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastqqllqqd` datetime DEFAULT NULL,
  `nextqqllqqd` datetime DEFAULT NULL,
  `isqlqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastqlqd` datetime DEFAULT NULL,
  `nextqlqd` datetime DEFAULT NULL,
  `isgameqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastgameqd` datetime DEFAULT NULL,
  `nextgameqd` datetime DEFAULT NULL,
  `isqzoneqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastqzoneqd` datetime DEFAULT NULL,
  `nextqzoneqd` datetime DEFAULT NULL,
  `ishlwqd` tinyint(1) NOT NULL DEFAULT '0',
  `lasthlwqd` datetime DEFAULT NULL,
  `nexthlwqd` datetime DEFAULT NULL,
  `ismqqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastmqqd` datetime DEFAULT NULL,
  `nextmqqd` datetime DEFAULT NULL,
  `iscwqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastcwqd` datetime DEFAULT NULL,
  `nextcwqd` datetime DEFAULT NULL,
  `iswyqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastwyqd` datetime DEFAULT NULL,
  `nextwyqd` datetime DEFAULT NULL,
  `isdldqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastdldqd` datetime DEFAULT NULL,
  `nextdldqd` datetime DEFAULT NULL,
  `isslqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastslqd` datetime DEFAULT NULL,
  `nextslqd` datetime DEFAULT NULL,
  `isgjqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastgjqd` datetime DEFAULT NULL,
  `nextgjqd` datetime DEFAULT NULL,
  `ismc` tinyint(1) NOT NULL DEFAULT '0',
  `lastmc` datetime DEFAULT NULL,
  `nextmc` datetime DEFAULT NULL,
  `isnc` tinyint(1) NOT NULL DEFAULT '0',
  `lastnc` datetime DEFAULT NULL,
  `nextnc` datetime DEFAULT NULL,
  `isqqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastqqd` datetime DEFAULT NULL,
  `nextqqd` datetime DEFAULT NULL,
  `isblqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastblqd` datetime DEFAULT NULL,
  `nextblqd` datetime DEFAULT NULL,
  `isjfqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastjfqd` datetime DEFAULT NULL,
  `nextjfqd` datetime DEFAULT NULL,
  `qunnum` text,
  `isqwqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastqwqd` datetime DEFAULT NULL,
  `nextqwqd` datetime DEFAULT NULL,
  `qwqdnum` text,
  `isqt` tinyint(1) NOT NULL DEFAULT '0',
  `lastqt` datetime DEFAULT NULL,
  `nextqt` datetime DEFAULT NULL,
  `isfw` tinyint(1) NOT NULL DEFAULT '0',
  `lastfw` datetime DEFAULT NULL,
  `nextfw` datetime DEFAULT NULL,
  `isvipqd` tinyint(1) NOT NULL DEFAULT '0',
  `lastvipqd` datetime DEFAULT NULL,
  `nextvipqd` datetime DEFAULT NULL,
  `iszyzan` tinyint(1) NOT NULL DEFAULT '0',
  `lastzyzan` datetime DEFAULT NULL,
  `nextzyzan` datetime DEFAULT NULL,
  `isrq` tinyint(1) NOT NULL DEFAULT '0',
  `lastrq` datetime DEFAULT NULL,
  `nextrq` datetime DEFAULT NULL,
  `iszf` tinyint(4) NOT NULL DEFAULT '0',
  `zfok` text,
  `zfcon` text,
  `zfrate` tinyint(1) NOT NULL DEFAULT '15',
  `zfnet` tinyint(1) NOT NULL DEFAULT '0',
  `lastzf` datetime DEFAULT NULL,
  `nextzf` datetime DEFAULT NULL,
  `isht` tinyint(1) NOT NULL DEFAULT '0',
  `lastht` datetime DEFAULT NULL,
  `nextht` datetime DEFAULT NULL,
  `ists` tinyint(1) NOT NULL DEFAULT '0',
  `lastts` datetime DEFAULT NULL,
  `nextts` datetime DEFAULT NULL,
  `islw` tinyint(1) NOT NULL DEFAULT '0',
  `lastlw` datetime DEFAULT NULL,
  `nextlw` datetime DEFAULT NULL,
  `islq` tinyint(1) NOT NULL DEFAULT '0',
  `lastlq` datetime DEFAULT NULL,
  `nextlq` datetime DEFAULT NULL,
  `isqb` tinyint(1) NOT NULL DEFAULT '0',
  `lastqb` datetime DEFAULT NULL,
  `nextqb` datetime DEFAULT NULL,
  `isauto` tinyint(1) NOT NULL DEFAULT '0',
  `lastauto` datetime DEFAULT NULL,
  `nextauto` datetime DEFAULT NULL,
  `addtime` datetime DEFAULT NULL,
  PRIMARY KEY (`qid`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `klmz_users`;
CREATE TABLE `klmz_users` (
  `uid` int(11) NOT NULL AUTO_INCREMENT,
  `user` varchar(255) NOT NULL,
  `daili` tinyint(1) DEFAULT '0',
  `vip` tinyint(1) DEFAULT '0',
  `vipstart` date DEFAULT NULL,
  `vipend` date DEFAULT NULL,
  `rmb` int(5) DEFAULT '0',
  `peie` tinyint(2) DEFAULT '1',
  `pwd` varchar(40) NOT NULL,
  `sid` varchar(50) DEFAULT NULL,
  `active` tinyint(1) DEFAULT '0',
  `fuzhan` tinyint(1) DEFAULT '0',
  `login` tinyint(255) DEFAULT '1',
  `mail` varchar(100) DEFAULT NULL,
  `qq` varchar(255) DEFAULT '0',
  `phone` varchar(255) DEFAULT '0',
  `city` varchar(50) DEFAULT NULL,
  `regip` varchar(50) DEFAULT NULL,
  `lastip` varchar(50) DEFAULT NULL,
  `regtime` datetime DEFAULT NULL,
  `lasttime` datetime DEFAULT NULL,
  PRIMARY KEY (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `klmz_webconfigs`;
CREATE TABLE `klmz_webconfigs` (
  `vkey` varchar(255) NOT NULL,
  `value` text,
  PRIMARY KEY (`vkey`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
INSERT INTO `klmz_users` VALUES ('1', 'admin', '0', '1', null, '2020-12-30', '9999', '127', '4d3ea8f0d1aa6fa07b6c0a5375645c48', '0b484609853c70cd87c8d1e3b2f5f34a', '9','1','1', 'admin@admin.cn', '1340176819', null, '', '127.0.0.1', '127.0.0.1', '2015-06-04 10:33:39', '2015-06-04 10:33:44');
INSERT INTO `klmz_webconfigs` VALUES ('cronrand', '1234');
INSERT INTO `klmz_webconfigs` VALUES ('regpeie', '1');
INSERT INTO `klmz_webconfigs` VALUES ('zannet', '3');
INSERT INTO `klmz_webconfigs` VALUES ('netnum', '200');
INSERT INTO `klmz_webconfigs` VALUES ('mail_email', '');
INSERT INTO `klmz_webconfigs` VALUES ('mail_pwd', '');
INSERT INTO `klmz_webconfigs` VALUES ('mail_host', '');
INSERT INTO `klmz_webconfigs` VALUES ('mail_port', '');
INSERT INTO `klmz_webconfigs` VALUES ('do', 'set');
INSERT INTO `klmz_webconfigs` VALUES ('price_1vip', '8');
INSERT INTO `klmz_webconfigs` VALUES ('price_3vip', '20');
INSERT INTO `klmz_webconfigs` VALUES ('price_6vip', '30');
INSERT INTO `klmz_webconfigs` VALUES ('price_12vip', '50');
INSERT INTO `klmz_webconfigs` VALUES ('price_1peie', '20');
INSERT INTO `klmz_webconfigs` VALUES ('price_3peie', '40');
INSERT INTO `klmz_webconfigs` VALUES ('price_5peie', '50');
INSERT INTO `klmz_webconfigs` VALUES ('price_10peie', '66');
INSERT INTO `klmz_webconfigs` VALUES ('submit', '确认修改');
INSERT INTO `klmz_webconfigs` VALUES ('webfoot', 'All Right Reserved');
INSERT INTO `klmz_webconfigs` VALUES ('webkey', '');
INSERT INTO `klmz_webconfigs` VALUES ('web_quanquanjk', '');
INSERT INTO `klmz_webconfigs` VALUES ('webname', 'Justin离线秒赞');
INSERT INTO `klmz_webconfigs` VALUES ('webdomain', 'www.24hmz.cn');
INSERT INTO `klmz_webconfigs` VALUES ('webqq', '1291644258');
INSERT INTO `klmz_webconfigs` VALUES ('web_index_gg', '');
INSERT INTO `klmz_webconfigs` VALUES ('web_control_gg', '');
INSERT INTO `klmz_webconfigs` VALUES ('web_shop_gg', '');
INSERT INTO `klmz_webconfigs` VALUES ('webfree', '1');
INSERT INTO `klmz_webconfigs` VALUES ('price_1dvip', '1');
INSERT INTO `klmz_webconfigs` VALUES ('regrmb', '1');
INSERT INTO `klmz_webconfigs` VALUES ('web_rmb_gg', '');
INSERT INTO `klmz_webconfigs` (`vkey`, `value`) VALUES ('web_ifreg', '1');
INSERT INTO `klmz_webconfigs` (`vkey`, `value`) VALUES ('web_iflogin', '1');