SET FOREIGN_KEY_CHECKS=0;

DROP TABLE IF EXISTS `ks_dt`;
CREATE TABLE `ks_dt` (
  `id` int(11) NOT NULL auto_increment,
  `w` text character set utf8,
  `d` text character set utf8,
  `z` text character set utf8,
  `tx` text character set utf8,
  `adm` text character set utf8,
  `ksnr` text character set utf8,
  `ting` text character set utf8,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=451 DEFAULT CHARSET=latin1;


DROP TABLE IF EXISTS `ks_ks`;
CREATE TABLE `ks_ks` (
  `id` int(11) NOT NULL auto_increment,
  `name` text character set utf8,
  `dw` text character set utf8,
  `sfz` text character set utf8,
  `tel` text character set utf8,
  `ksnr` text character set utf8,
  `time1` text character set utf8,
  `cj` text character set utf8,
  `cjtime` text character set utf8,
  `w1` text character set utf8,
  `w1time` text character set utf8,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=596 DEFAULT CHARSET=latin1;


DROP TABLE IF EXISTS `ks_ks_name`;
CREATE TABLE `ks_ks_name` (
  `id` int(11) NOT NULL auto_increment,
  `name` text character set utf8,
  `user` text character set utf8,
  `time1` text character set utf8,
  `tk` text character set utf8,
  `dan` text character set utf8,
  `dan_f` text character set utf8,
  `duo` text character set utf8,
  `duo_f` text character set utf8,
  `pan` text character set utf8,
  `pan_f` text character set utf8,
  `mf` text,
  `bz` text character set utf8,
  `time_z` text character set utf8,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;

DROP TABLE IF EXISTS `ks_text`;
CREATE TABLE `ks_text` (
  `id` int(11) NOT NULL auto_increment,
  `user` text character set utf8,
  `ip1` text character set utf8,
  `time1` text character set utf8,
  `dm` text character set utf8,
  `ting` text character set utf8,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=642 DEFAULT CHARSET=latin1;



DROP TABLE IF EXISTS `ks_tk`;
CREATE TABLE `ks_tk` (
  `id` int(11) NOT NULL auto_increment,
  `tm` text character set utf8,
  `a` text character set utf8,
  `b` text character set utf8,
  `c` text character set utf8,
  `d` text character set utf8,
  `ans` text character set utf8,
  `tk_name` text character set utf8,
  `tx` text character set utf8,
  `bz` text character set utf8,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=170 DEFAULT CHARSET=latin1;

DROP TABLE IF EXISTS `ks_tk_name`;
CREATE TABLE `ks_tk_name` (
  `id` int(11) NOT NULL auto_increment,
  `name` text character set utf8,
  `user` text character set utf8,
  `time1` text character set utf8,
  `bz` text character set utf8,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;


DROP TABLE IF EXISTS `ks_user`;
CREATE TABLE `ks_user` (
  `id` int(11) NOT NULL auto_increment,
  `user_1` text character set utf8,
  `e` text character set utf8,
  `pw` text character set utf8,
  `time1` text character set utf8,
  `ip1` text character set utf8,
  `xing` text character set utf8,
  `by_` text character set utf8,
  `bz` text character set utf8,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

INSERT INTO `ks_user` VALUES ('1', 'admin', '-', '111111', '1430122331', '222.161.128.101', '5', '3', '最高');

DROP TABLE IF EXISTS `ks_zt`;
CREATE TABLE `ks_zt` (
  `id` int(11) NOT NULL auto_increment,
  `dl` text character set utf8,
  `ks` text character set utf8,
  `ksnr` text character set utf8,
  `dm` text character set utf8,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

INSERT INTO `ks_zt` VALUES ('1', 'off', 'off', '', null);
