CREATE TABLE IF NOT EXISTS `user` (
  `id` int(10) NOT NULL auto_increment,
  `user` varchar(20) NOT NULL,
  `pass` varchar(30) NOT NULL,
  `email` varchar(30) NOT NULL,
  `emailol` int(5) unsigned NOT NULL default '0',
  `regdate` varchar(30) NOT NULL,
  `regip` varchar(30) NOT NULL,
  `qqnum` int(5) unsigned NOT NULL default '0',
  `peie` int(5) unsigned NOT NULL default '0',
  `tui` int(5) unsigned NOT NULL default '0',
  `loginnum` int(5) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`,`user`),
  KEY `user` (`user`),
  KEY `pass` (`pass`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;

CREATE TABLE IF NOT EXISTS `qqlist` (
  `id` int(11) NOT NULL auto_increment,
  `myqq` varchar(100) NOT NULL,
  `fwq` varchar(100) NOT NULL,
  `qid` varchar(100) NOT NULL,
  `qq` varchar(100) NOT NULL,
  `pw` varchar(100) NOT NULL,
  `sid` varchar(100) NOT NULL,
  `newsid` varchar(100) NOT NULL default 'yesno',
  `time` varchar(100) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `fw1` (
  `id` int(11) NOT NULL auto_increment,
  `qid` varchar(100) NOT NULL,
  `qq` varchar(100) NOT NULL,
  `pw` varchar(100) NOT NULL,
  `sid` varchar(100) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `fw2` (
  `id` int(11) NOT NULL auto_increment,
  `qid` varchar(100) NOT NULL,
  `qq` varchar(100) NOT NULL,
  `pw` varchar(100) NOT NULL,
  `sid` varchar(100) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `fw3` (
  `id` int(11) NOT NULL auto_increment,
  `qid` varchar(100) NOT NULL,
  `qq` varchar(100) NOT NULL,
  `pw` varchar(100) NOT NULL,
  `sid` varchar(100) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `fw4` (
  `id` int(11) NOT NULL auto_increment,
  `qid` varchar(100) NOT NULL,
  `qq` varchar(100) NOT NULL,
  `pw` varchar(100) NOT NULL,
  `sid` varchar(100) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `fw5` (
  `id` int(11) NOT NULL auto_increment,
  `qid` varchar(100) NOT NULL,
  `qq` varchar(100) NOT NULL,
  `pw` varchar(100) NOT NULL,
  `sid` varchar(100) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `fw6` (
  `id` int(11) NOT NULL auto_increment,
  `qid` varchar(100) NOT NULL,
  `qq` varchar(100) NOT NULL,
  `pw` varchar(100) NOT NULL,
  `sid` varchar(100) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `fw7` (
  `id` int(11) NOT NULL auto_increment,
  `qid` varchar(100) NOT NULL,
  `qq` varchar(100) NOT NULL,
  `pw` varchar(100) NOT NULL,
  `sid` varchar(100) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `fw8` (
  `id` int(11) NOT NULL auto_increment,
  `qid` varchar(100) NOT NULL,
  `qq` varchar(100) NOT NULL,
  `pw` varchar(100) NOT NULL,
  `sid` varchar(100) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `ip` (
  `id` int(11) NOT NULL auto_increment,
  `ip` varchar(15) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 AUTO_INCREMENT=1 ;