DROP TABLE IF EXISTS `hwws_addonarticle`; CREATE TABLE `hwws_addonarticle` ( `aid` mediumint(8) unsigned NOT NULL DEFAULT '0', `typeid` smallint(5) unsigned NOT NULL DEFAULT '0', `body` mediumtext, `redirecturl` varchar(255) NOT NULL DEFAULT '', `templet` varchar(30) NOT NULL DEFAULT '', `userip` varchar(15) NOT NULL DEFAULT '', `english_title` varchar(250) NOT NULL DEFAULT '', `qq` varchar(250) NOT NULL DEFAULT '', PRIMARY KEY (`aid`), KEY `typeid` (`typeid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_addonimages`; CREATE TABLE `hwws_addonimages` ( `aid` mediumint(8) unsigned NOT NULL DEFAULT '0', `typeid` smallint(5) unsigned NOT NULL DEFAULT '0', `pagestyle` smallint(6) NOT NULL DEFAULT '1', `maxwidth` smallint(6) NOT NULL DEFAULT '600', `imgurls` mediumtext, `row` smallint(6) NOT NULL DEFAULT '0', `col` smallint(6) NOT NULL DEFAULT '0', `isrm` smallint(6) NOT NULL DEFAULT '0', `ddmaxwidth` smallint(6) NOT NULL DEFAULT '200', `pagepicnum` smallint(6) NOT NULL DEFAULT '12', `templet` varchar(30) NOT NULL DEFAULT '', `userip` varchar(15) NOT NULL DEFAULT '', `redirecturl` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`aid`), KEY `imagesMain` (`typeid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_addoninfos`; CREATE TABLE `hwws_addoninfos` ( `aid` int(11) NOT NULL DEFAULT '0', `typeid` int(11) NOT NULL DEFAULT '0', `channel` smallint(6) NOT NULL DEFAULT '0', `arcrank` smallint(6) NOT NULL DEFAULT '0', `mid` mediumint(8) unsigned NOT NULL DEFAULT '0', `click` int(10) unsigned NOT NULL DEFAULT '0', `title` varchar(60) NOT NULL DEFAULT '', `litpic` varchar(60) NOT NULL DEFAULT '', `userip` varchar(15) NOT NULL DEFAULT '', `senddate` int(11) NOT NULL DEFAULT '0', `flag` set('c','h','p','f','s','j','a','b') DEFAULT NULL, `lastpost` int(10) unsigned NOT NULL DEFAULT '0', `scores` mediumint(8) NOT NULL DEFAULT '0', `goodpost` mediumint(8) unsigned NOT NULL DEFAULT '0', `badpost` mediumint(8) unsigned NOT NULL DEFAULT '0', `nativeplace` smallint(5) unsigned NOT NULL DEFAULT '0', `infotype` smallint(5) unsigned NOT NULL DEFAULT '0', `body` mediumtext, `endtime` int(11) NOT NULL DEFAULT '0', `tel` varchar(50) NOT NULL DEFAULT '', `email` varchar(50) NOT NULL DEFAULT '', `address` varchar(100) NOT NULL DEFAULT '', `linkman` varchar(50) NOT NULL DEFAULT '', PRIMARY KEY (`aid`), KEY `typeid` (`typeid`,`nativeplace`,`infotype`), KEY `channel` (`channel`,`arcrank`,`mid`,`click`,`title`,`litpic`,`senddate`,`flag`,`endtime`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_addonshop`; CREATE TABLE `hwws_addonshop` ( `aid` mediumint(8) unsigned NOT NULL DEFAULT '0', `typeid` smallint(5) unsigned NOT NULL DEFAULT '0', `body` mediumtext, `price` float NOT NULL DEFAULT '0', `trueprice` float NOT NULL DEFAULT '0', `brand` varchar(250) NOT NULL DEFAULT '', `units` varchar(250) NOT NULL DEFAULT '', `templet` varchar(30) NOT NULL DEFAULT '', `userip` varchar(15) NOT NULL DEFAULT '', `redirecturl` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`aid`), KEY `typeid` (`typeid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_addonsoft`; CREATE TABLE `hwws_addonsoft` ( `aid` mediumint(8) unsigned NOT NULL DEFAULT '0', `typeid` smallint(5) unsigned NOT NULL DEFAULT '0', `filetype` varchar(10) NOT NULL DEFAULT '', `language` varchar(10) NOT NULL DEFAULT '', `softtype` varchar(10) NOT NULL DEFAULT '', `accredit` varchar(10) NOT NULL DEFAULT '', `os` varchar(30) NOT NULL DEFAULT '', `softrank` mediumint(8) unsigned NOT NULL DEFAULT '0', `officialUrl` varchar(30) NOT NULL DEFAULT '', `officialDemo` varchar(50) NOT NULL DEFAULT '', `softsize` varchar(10) NOT NULL DEFAULT '', `softlinks` mediumtext, `introduce` mediumtext, `daccess` smallint(5) NOT NULL DEFAULT '0', `needmoney` smallint(5) NOT NULL DEFAULT '0', `templet` varchar(30) NOT NULL DEFAULT '', `userip` varchar(15) NOT NULL DEFAULT '', `redirecturl` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`aid`), KEY `softMain` (`typeid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_addonspec`; CREATE TABLE `hwws_addonspec` ( `aid` mediumint(8) unsigned NOT NULL DEFAULT '0', `typeid` smallint(5) unsigned NOT NULL DEFAULT '0', `note` mediumtext, `templet` varchar(30) NOT NULL DEFAULT '', `userip` varchar(15) NOT NULL DEFAULT '', `redirecturl` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`aid`), KEY `typeid` (`typeid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_admin`; CREATE TABLE `hwws_admin` ( `id` int(10) unsigned NOT NULL DEFAULT '0', `usertype` float unsigned DEFAULT '0', `userid` varchar(30) NOT NULL DEFAULT '', `pwd` varchar(32) NOT NULL DEFAULT '', `uname` varchar(20) NOT NULL DEFAULT '', `tname` varchar(30) NOT NULL DEFAULT '', `email` varchar(30) NOT NULL DEFAULT '', `typeid` mediumtext, `logintime` int(10) unsigned NOT NULL DEFAULT '0', `loginip` varchar(20) NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_admintype`; CREATE TABLE `hwws_admintype` ( `rank` float NOT NULL DEFAULT '1', `typename` varchar(30) NOT NULL DEFAULT '', `system` smallint(6) NOT NULL DEFAULT '0', `purviews` mediumtext, PRIMARY KEY (`rank`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_advancedsearch`; CREATE TABLE `hwws_advancedsearch` ( `mid` int(11) NOT NULL DEFAULT '0', `maintable` varchar(255) NOT NULL DEFAULT '', `mainfields` mediumtext, `addontable` varchar(255) DEFAULT '', `addonfields` mediumtext, `forms` mediumtext, `template` varchar(255) NOT NULL DEFAULT '', UNIQUE KEY `mid` (`mid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_arcatt`; CREATE TABLE `hwws_arcatt` ( `sortid` smallint(6) NOT NULL DEFAULT '0', `att` char(10) NOT NULL DEFAULT '', `attname` char(30) NOT NULL DEFAULT '', PRIMARY KEY (`att`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_arccache`; CREATE TABLE `hwws_arccache` ( `md5hash` varchar(32) NOT NULL DEFAULT '', `uptime` int(11) NOT NULL DEFAULT '0', `cachedata` mediumtext, PRIMARY KEY (`md5hash`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_archives`; CREATE TABLE `hwws_archives` ( `id` mediumint(8) unsigned NOT NULL DEFAULT '0', `typeid` smallint(5) unsigned NOT NULL DEFAULT '0', `typeid2` varchar(90) NOT NULL DEFAULT '0', `sortrank` int(10) unsigned NOT NULL DEFAULT '0', `flag` set('c','h','p','f','s','j','a','b') DEFAULT NULL, `ismake` smallint(6) NOT NULL DEFAULT '0', `channel` smallint(6) NOT NULL DEFAULT '1', `arcrank` smallint(6) NOT NULL DEFAULT '0', `click` mediumint(8) unsigned NOT NULL DEFAULT '0', `money` smallint(6) NOT NULL DEFAULT '0', `title` varchar(60) NOT NULL DEFAULT '', `shorttitle` varchar(36) NOT NULL DEFAULT '', `color` varchar(7) NOT NULL DEFAULT '', `writer` varchar(20) NOT NULL DEFAULT '', `source` varchar(30) NOT NULL DEFAULT '', `litpic` varchar(60) NOT NULL DEFAULT '', `pubdate` int(10) unsigned NOT NULL DEFAULT '0', `senddate` int(10) unsigned NOT NULL DEFAULT '0', `mid` mediumint(8) unsigned NOT NULL DEFAULT '0', `keywords` mediumtext NOT NULL, `lastpost` int(10) unsigned NOT NULL DEFAULT '0', `scores` mediumint(8) NOT NULL DEFAULT '0', `goodpost` mediumint(8) unsigned NOT NULL DEFAULT '0', `badpost` mediumint(8) unsigned NOT NULL DEFAULT '0', `notpost` tinyint(1) unsigned NOT NULL DEFAULT '0', `description` varchar(255) NOT NULL DEFAULT '', `filename` varchar(40) NOT NULL DEFAULT '', `dutyadmin` mediumint(8) unsigned NOT NULL DEFAULT '0', `tackid` int(10) NOT NULL DEFAULT '0', `mtype` mediumint(8) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `sortrank` (`sortrank`), KEY `mainindex` (`arcrank`,`typeid`,`channel`,`flag`,`mid`), KEY `lastpost` (`lastpost`,`scores`,`goodpost`,`badpost`,`notpost`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_arcrank`; CREATE TABLE `hwws_arcrank` ( `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, `rank` smallint(6) NOT NULL DEFAULT '0', `membername` varchar(20) NOT NULL DEFAULT '', `adminrank` smallint(6) NOT NULL DEFAULT '0', `money` smallint(8) unsigned NOT NULL DEFAULT '500', `scores` mediumint(8) NOT NULL DEFAULT '0', `purviews` mediumtext, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_arctiny`; CREATE TABLE `hwws_arctiny` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `typeid` smallint(5) unsigned NOT NULL DEFAULT '0', `typeid2` varchar(90) NOT NULL DEFAULT '0', `arcrank` smallint(6) NOT NULL DEFAULT '0', `channel` smallint(5) NOT NULL DEFAULT '1', `senddate` int(10) unsigned NOT NULL DEFAULT '0', `sortrank` int(10) unsigned NOT NULL DEFAULT '0', `mid` mediumint(8) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `sortrank` (`sortrank`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_arctype`; CREATE TABLE `hwws_arctype` ( `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, `reid` smallint(5) unsigned NOT NULL DEFAULT '0', `topid` smallint(5) unsigned NOT NULL DEFAULT '0', `sortrank` smallint(5) unsigned NOT NULL DEFAULT '50', `typename` varchar(30) NOT NULL DEFAULT '', `typedir` varchar(60) NOT NULL DEFAULT '', `isdefault` smallint(6) NOT NULL DEFAULT '0', `defaultname` varchar(15) NOT NULL DEFAULT 'index.html', `issend` smallint(6) NOT NULL DEFAULT '0', `channeltype` smallint(6) DEFAULT '1', `maxpage` smallint(6) NOT NULL DEFAULT '-1', `ispart` smallint(6) NOT NULL DEFAULT '0', `corank` smallint(6) NOT NULL DEFAULT '0', `tempindex` varchar(50) NOT NULL DEFAULT '', `templist` varchar(50) NOT NULL DEFAULT '', `temparticle` varchar(50) NOT NULL DEFAULT '', `namerule` varchar(50) NOT NULL DEFAULT '', `namerule2` varchar(50) NOT NULL DEFAULT '', `modname` varchar(20) NOT NULL DEFAULT '', `description` mediumtext NOT NULL, `keywords` mediumtext NOT NULL, `seotitle` varchar(80) NOT NULL DEFAULT '', `moresite` tinyint(1) unsigned NOT NULL DEFAULT '0', `sitepath` varchar(60) NOT NULL DEFAULT '', `siteurl` varchar(50) NOT NULL DEFAULT '', `ishidden` smallint(6) NOT NULL DEFAULT '0', `cross` tinyint(1) NOT NULL DEFAULT '0', `crossid` mediumtext, `content` mediumtext, `smalltypes` mediumtext, PRIMARY KEY (`id`), KEY `reid` (`reid`,`isdefault`,`channeltype`,`ispart`,`corank`,`topid`,`ishidden`), KEY `sortrank` (`sortrank`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_area`; CREATE TABLE `hwws_area` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(20) NOT NULL DEFAULT '', `reid` int(10) unsigned NOT NULL DEFAULT '0', `disorder` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_channeltype`; CREATE TABLE `hwws_channeltype` ( `id` smallint(6) NOT NULL DEFAULT '0', `nid` varchar(20) NOT NULL DEFAULT '', `typename` varchar(30) NOT NULL DEFAULT '', `maintable` varchar(50) NOT NULL DEFAULT 'hwws_archives', `addtable` varchar(50) NOT NULL DEFAULT '', `addcon` varchar(30) NOT NULL DEFAULT '', `mancon` varchar(30) NOT NULL DEFAULT '', `editcon` varchar(30) NOT NULL DEFAULT '', `useraddcon` varchar(30) NOT NULL DEFAULT '', `usermancon` varchar(30) NOT NULL DEFAULT '', `usereditcon` varchar(30) NOT NULL DEFAULT '', `fieldset` mediumtext, `listfields` mediumtext, `allfields` mediumtext, `issystem` smallint(6) NOT NULL DEFAULT '0', `isshow` smallint(6) NOT NULL DEFAULT '1', `issend` smallint(6) NOT NULL DEFAULT '0', `arcsta` smallint(6) NOT NULL DEFAULT '-1', `usertype` varchar(10) NOT NULL DEFAULT '', `sendrank` smallint(6) NOT NULL DEFAULT '10', `isdefault` smallint(6) NOT NULL DEFAULT '0', `needdes` tinyint(1) NOT NULL DEFAULT '1', `needpic` tinyint(1) NOT NULL DEFAULT '1', `titlename` varchar(20) NOT NULL DEFAULT '标题', `onlyone` smallint(6) NOT NULL DEFAULT '0', `dfcid` smallint(5) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `nid` (`nid`,`isshow`,`arcsta`,`sendrank`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_co_htmls`; CREATE TABLE `hwws_co_htmls` ( `aid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `nid` mediumint(8) unsigned NOT NULL DEFAULT '0', `typeid` smallint(5) unsigned NOT NULL DEFAULT '0', `title` varchar(60) NOT NULL DEFAULT '', `litpic` varchar(100) NOT NULL DEFAULT '', `url` varchar(100) NOT NULL DEFAULT '', `dtime` int(10) unsigned NOT NULL DEFAULT '0', `isdown` tinyint(1) unsigned NOT NULL DEFAULT '0', `isexport` tinyint(1) NOT NULL DEFAULT '0', `result` mediumtext, PRIMARY KEY (`aid`), KEY `nid` (`nid`), KEY `typeid` (`typeid`,`title`,`url`,`dtime`,`isdown`,`isexport`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_co_mediaurls`; CREATE TABLE `hwws_co_mediaurls` ( `nid` mediumint(8) unsigned NOT NULL DEFAULT '0', `hash` char(32) NOT NULL DEFAULT '', `tofile` char(60) NOT NULL DEFAULT '', KEY `hash` (`hash`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_co_note`; CREATE TABLE `hwws_co_note` ( `nid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `channelid` smallint(5) unsigned NOT NULL DEFAULT '0', `notename` varchar(50) NOT NULL DEFAULT '', `sourcelang` varchar(10) NOT NULL DEFAULT 'gb2312', `uptime` int(10) unsigned NOT NULL DEFAULT '0', `cotime` int(10) unsigned NOT NULL DEFAULT '0', `pnum` smallint(5) unsigned NOT NULL DEFAULT '0', `isok` tinyint(1) unsigned NOT NULL DEFAULT '0', `usemore` tinyint(1) unsigned NOT NULL DEFAULT '0', `listconfig` mediumtext, `itemconfig` mediumtext, PRIMARY KEY (`nid`), KEY `isok` (`isok`,`channelid`,`cotime`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_co_onepage`; CREATE TABLE `hwws_co_onepage` ( `id` int(11) NOT NULL AUTO_INCREMENT, `url` varchar(60) NOT NULL DEFAULT '', `title` varchar(60) NOT NULL DEFAULT '', `issource` smallint(6) NOT NULL DEFAULT '1', `lang` varchar(10) NOT NULL DEFAULT 'gb2312', `rule` mediumtext, PRIMARY KEY (`id`), KEY `url` (`url`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_co_urls`; CREATE TABLE `hwws_co_urls` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `hash` varchar(32) NOT NULL DEFAULT '', `nid` smallint(5) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_diyform1`; CREATE TABLE `hwws_diyform1` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `ifcheck` tinyint(1) NOT NULL DEFAULT '0', `ly_name` varchar(250) NOT NULL DEFAULT '', `ly_company` varchar(250) NOT NULL DEFAULT '', `ly_telephone` varchar(250) NOT NULL DEFAULT '', `ly_email` varchar(250) NOT NULL DEFAULT '', `ly_message` mediumtext, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_diyforms`; CREATE TABLE `hwws_diyforms` ( `diyid` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(50) NOT NULL DEFAULT '', `posttemplate` varchar(50) NOT NULL DEFAULT '', `viewtemplate` varchar(50) NOT NULL DEFAULT '', `listtemplate` varchar(50) NOT NULL DEFAULT '', `table` varchar(50) NOT NULL DEFAULT '', `info` mediumtext, `public` tinyint(1) NOT NULL DEFAULT '1', PRIMARY KEY (`diyid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_downloads`; CREATE TABLE `hwws_downloads` ( `hash` char(32) NOT NULL DEFAULT '', `id` int(10) unsigned NOT NULL DEFAULT '0', `downloads` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`hash`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_erradd`; CREATE TABLE `hwws_erradd` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `aid` mediumint(8) unsigned NOT NULL DEFAULT '0', `mid` mediumint(8) unsigned DEFAULT NULL, `title` varchar(60) NOT NULL DEFAULT '', `type` smallint(6) NOT NULL DEFAULT '0', `errtxt` mediumtext, `oktxt` mediumtext, `sendtime` int(10) unsigned NOT NULL DEFAULT '0', KEY `id` (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_feedback`; CREATE TABLE `hwws_feedback` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `aid` mediumint(8) unsigned NOT NULL DEFAULT '0', `typeid` smallint(5) unsigned NOT NULL DEFAULT '0', `username` varchar(20) NOT NULL DEFAULT '', `arctitle` varchar(60) NOT NULL DEFAULT '', `ip` varchar(15) NOT NULL DEFAULT '', `ischeck` smallint(6) NOT NULL DEFAULT '0', `dtime` int(10) unsigned NOT NULL DEFAULT '0', `mid` mediumint(8) unsigned NOT NULL DEFAULT '0', `bad` mediumint(8) unsigned NOT NULL DEFAULT '0', `good` mediumint(8) unsigned NOT NULL DEFAULT '0', `ftype` set('feedback','good','bad') NOT NULL DEFAULT 'feedback', `face` smallint(5) unsigned NOT NULL DEFAULT '0', `msg` mediumtext, PRIMARY KEY (`id`), KEY `aid` (`aid`,`ischeck`,`mid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_flink`; CREATE TABLE `hwws_flink` ( `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, `sortrank` smallint(6) NOT NULL DEFAULT '0', `url` char(60) NOT NULL DEFAULT '', `webname` char(30) NOT NULL DEFAULT '', `msg` char(200) NOT NULL DEFAULT '', `email` char(50) NOT NULL DEFAULT '', `logo` char(60) NOT NULL DEFAULT '', `dtime` int(10) unsigned NOT NULL DEFAULT '0', `typeid` smallint(5) unsigned NOT NULL DEFAULT '0', `ischeck` smallint(6) NOT NULL DEFAULT '1', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_flinktype`; CREATE TABLE `hwws_flinktype` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `typename` varchar(50) NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_freelist`; CREATE TABLE `hwws_freelist` ( `aid` int(11) NOT NULL AUTO_INCREMENT, `title` varchar(50) NOT NULL DEFAULT '', `namerule` varchar(50) NOT NULL DEFAULT '', `listdir` varchar(60) NOT NULL DEFAULT '', `defaultpage` varchar(20) NOT NULL DEFAULT '', `nodefault` smallint(6) NOT NULL DEFAULT '0', `templet` varchar(50) NOT NULL DEFAULT '', `edtime` int(11) NOT NULL DEFAULT '0', `maxpage` smallint(5) unsigned NOT NULL DEFAULT '100', `click` int(11) NOT NULL DEFAULT '1', `listtag` mediumtext, `keywords` varchar(100) NOT NULL DEFAULT '', `description` varchar(250) NOT NULL DEFAULT '', PRIMARY KEY (`aid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_guestbook`; CREATE TABLE `hwws_guestbook` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(60) NOT NULL DEFAULT '', `tid` mediumint(8) NOT NULL DEFAULT '0', `mid` mediumint(8) unsigned DEFAULT '0', `posttime` int(10) unsigned NOT NULL DEFAULT '0', `uname` varchar(30) NOT NULL DEFAULT '', `email` varchar(50) NOT NULL DEFAULT '', `homepage` varchar(50) NOT NULL DEFAULT '', `qq` varchar(15) NOT NULL DEFAULT '', `face` varchar(10) NOT NULL DEFAULT '', `ip` varchar(20) NOT NULL DEFAULT '', `dtime` int(10) unsigned NOT NULL DEFAULT '0', `ischeck` smallint(6) NOT NULL DEFAULT '1', `msg` mediumtext, PRIMARY KEY (`id`), KEY `ischeck` (`ischeck`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_homepageset`; CREATE TABLE `hwws_homepageset` ( `templet` char(50) NOT NULL DEFAULT '', `position` char(30) NOT NULL DEFAULT '' ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_keywords`; CREATE TABLE `hwws_keywords` ( `aid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `keyword` char(16) NOT NULL DEFAULT '', `rank` mediumint(8) unsigned NOT NULL DEFAULT '0', `sta` smallint(6) NOT NULL DEFAULT '1', `rpurl` char(60) NOT NULL DEFAULT '', PRIMARY KEY (`aid`), KEY `keyword` (`keyword`,`rank`,`sta`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_log`; CREATE TABLE `hwws_log` ( `lid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `adminid` smallint(8) unsigned NOT NULL DEFAULT '0', `filename` char(60) NOT NULL DEFAULT '', `method` char(10) NOT NULL DEFAULT '', `query` char(200) NOT NULL DEFAULT '', `cip` char(15) NOT NULL DEFAULT '', `dtime` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`lid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_member`; CREATE TABLE `hwws_member` ( `mid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `mtype` enum('个人','企业') NOT NULL DEFAULT '个人', `userid` char(20) NOT NULL DEFAULT '', `pwd` char(32) NOT NULL DEFAULT '', `uname` char(36) NOT NULL DEFAULT '', `sex` enum('男','女','保密') NOT NULL DEFAULT '保密', `rank` smallint(5) unsigned NOT NULL DEFAULT '0', `money` mediumint(8) unsigned NOT NULL DEFAULT '0', `email` char(50) NOT NULL DEFAULT '', `scores` mediumint(8) unsigned NOT NULL DEFAULT '0', `matt` smallint(5) unsigned NOT NULL DEFAULT '0', `spacesta` smallint(6) NOT NULL DEFAULT '0', `face` char(50) NOT NULL DEFAULT '', `safequestion` smallint(5) unsigned NOT NULL DEFAULT '0', `safeanswer` char(30) NOT NULL DEFAULT '', `jointime` int(10) unsigned NOT NULL DEFAULT '0', `joinip` char(16) NOT NULL DEFAULT '', `logintime` int(10) unsigned NOT NULL DEFAULT '0', `loginip` char(16) NOT NULL DEFAULT '', PRIMARY KEY (`mid`), KEY `userid` (`userid`,`sex`), KEY `logintime` (`logintime`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_member_company`; CREATE TABLE `hwws_member_company` ( `mid` mediumint(8) NOT NULL AUTO_INCREMENT, `company` varchar(36) NOT NULL DEFAULT '', `product` varchar(50) NOT NULL DEFAULT '', `place` smallint(5) unsigned NOT NULL DEFAULT '0', `vocation` smallint(5) unsigned NOT NULL DEFAULT '0', `cosize` smallint(5) unsigned NOT NULL DEFAULT '0', `tel` varchar(30) NOT NULL DEFAULT '', `fax` varchar(30) NOT NULL DEFAULT '', `linkman` varchar(20) NOT NULL DEFAULT '', `address` varchar(50) NOT NULL DEFAULT '', `mobile` varchar(30) NOT NULL DEFAULT '', `email` varchar(50) NOT NULL DEFAULT '', `url` varchar(50) NOT NULL DEFAULT '', `uptime` int(10) unsigned NOT NULL DEFAULT '0', `checked` tinyint(1) unsigned NOT NULL DEFAULT '0', `introduce` mediumtext, `comface` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`mid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_member_flink`; CREATE TABLE `hwws_member_flink` ( `aid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `mid` mediumint(8) unsigned NOT NULL DEFAULT '0', `title` varchar(30) NOT NULL DEFAULT '', `url` varchar(100) NOT NULL DEFAULT '', PRIMARY KEY (`aid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_member_friends`; CREATE TABLE `hwws_member_friends` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `fid` mediumint(8) unsigned NOT NULL DEFAULT '0', `floginid` char(20) NOT NULL DEFAULT '', `funame` char(36) NOT NULL DEFAULT '', `mid` mediumint(8) NOT NULL DEFAULT '0', `addtime` int(10) unsigned NOT NULL DEFAULT '0', `ftype` tinyint(4) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `fid` (`fid`,`mid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_member_guestbook`; CREATE TABLE `hwws_member_guestbook` ( `aid` int(10) unsigned NOT NULL AUTO_INCREMENT, `mid` mediumint(8) unsigned NOT NULL DEFAULT '0', `gid` varchar(20) NOT NULL DEFAULT '0', `title` varchar(60) NOT NULL DEFAULT '', `uname` varchar(50) NOT NULL DEFAULT '', `email` varchar(50) NOT NULL DEFAULT '', `qq` varchar(50) NOT NULL DEFAULT '', `tel` varchar(50) NOT NULL DEFAULT '', `ip` varchar(20) NOT NULL DEFAULT '', `dtime` int(10) unsigned NOT NULL DEFAULT '0', `msg` mediumtext, PRIMARY KEY (`aid`), KEY `mid` (`mid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_member_operation`; CREATE TABLE `hwws_member_operation` ( `aid` int(11) NOT NULL AUTO_INCREMENT, `buyid` varchar(80) NOT NULL DEFAULT '', `pname` varchar(50) NOT NULL DEFAULT '', `product` varchar(10) NOT NULL DEFAULT '', `money` int(11) NOT NULL DEFAULT '0', `mtime` int(11) NOT NULL DEFAULT '0', `pid` int(11) NOT NULL DEFAULT '0', `mid` int(11) NOT NULL DEFAULT '0', `sta` int(11) NOT NULL DEFAULT '0', `oldinfo` varchar(200) NOT NULL DEFAULT '', PRIMARY KEY (`aid`), KEY `buyid` (`buyid`), KEY `pid` (`pid`,`mid`,`sta`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_member_person`; CREATE TABLE `hwws_member_person` ( `mid` mediumint(8) unsigned NOT NULL DEFAULT '0', `onlynet` tinyint(1) unsigned NOT NULL DEFAULT '1', `sex` enum('男','女','保密') NOT NULL DEFAULT '男', `uname` varchar(30) NOT NULL DEFAULT '', `qq` varchar(12) NOT NULL DEFAULT '', `msn` varchar(50) NOT NULL DEFAULT '', `tel` varchar(15) NOT NULL DEFAULT '', `mobile` varchar(15) NOT NULL DEFAULT '', `place` smallint(5) unsigned NOT NULL DEFAULT '0', `oldplace` smallint(5) unsigned NOT NULL DEFAULT '0', `birthday` date NOT NULL DEFAULT '1980-01-01', `star` smallint(6) unsigned NOT NULL DEFAULT '1', `income` smallint(6) NOT NULL DEFAULT '0', `education` smallint(6) NOT NULL DEFAULT '0', `height` smallint(5) unsigned NOT NULL DEFAULT '160', `bodytype` smallint(6) NOT NULL DEFAULT '0', `blood` smallint(6) NOT NULL DEFAULT '0', `vocation` smallint(6) NOT NULL DEFAULT '0', `smoke` smallint(6) NOT NULL DEFAULT '0', `marital` smallint(6) NOT NULL DEFAULT '0', `house` smallint(6) NOT NULL DEFAULT '0', `drink` smallint(6) NOT NULL DEFAULT '0', `datingtype` smallint(6) NOT NULL DEFAULT '0', `language` set('普通话','上海话','广东话','英语','日语','韩语','法语','意大利语','德语','西班牙语','俄语','阿拉伯语') DEFAULT NULL, `nature` set('性格外向','性格内向','活泼开朗','沉默寡言','幽默','稳重','轻浮','冲动','坚强','脆弱','幼稚','成熟','能说会道','自私','真诚','独立','依赖','任性','自负','自卑','温柔体贴','神经质','拜金','小心翼翼','暴躁','倔强','逆来顺受','不拘小节','婆婆妈妈','交际广泛','豪爽','害羞','狡猾善变','耿直','虚伪','乐观向上','悲观消极','郁郁寡欢','孤僻','难以琢磨','胆小怕事','敢做敢当','助人为乐','老实','守旧','敏感','迟钝','武断','果断','优柔寡断','暴力倾向','刻薄','损人利己','附庸风雅','时喜时悲','患得患失','快言快语','豪放不羁','多愁善感','循规蹈矩') DEFAULT NULL, `lovemsg` varchar(100) NOT NULL DEFAULT '', `address` varchar(50) NOT NULL DEFAULT '', `uptime` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`mid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_member_pms`; CREATE TABLE `hwws_member_pms` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `floginid` varchar(20) NOT NULL DEFAULT '', `fromid` mediumint(8) unsigned NOT NULL DEFAULT '0', `toid` mediumint(8) unsigned NOT NULL DEFAULT '0', `tologinid` varchar(20) NOT NULL DEFAULT '', `folder` enum('inbox','outbox') DEFAULT 'inbox', `subject` varchar(60) NOT NULL DEFAULT '', `sendtime` int(10) unsigned NOT NULL DEFAULT '0', `writetime` int(10) unsigned NOT NULL DEFAULT '0', `hasview` tinyint(1) unsigned NOT NULL DEFAULT '0', `isadmin` tinyint(1) NOT NULL DEFAULT '0', `message` mediumtext, PRIMARY KEY (`id`), KEY `sendtime` (`sendtime`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_member_snsmsg`; CREATE TABLE `hwws_member_snsmsg` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `mid` mediumint(8) unsigned NOT NULL DEFAULT '0', `userid` varchar(20) NOT NULL DEFAULT '', `sendtime` int(10) unsigned NOT NULL DEFAULT '0', `msg` varchar(250) NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_member_space`; CREATE TABLE `hwws_member_space` ( `mid` mediumint(8) unsigned NOT NULL DEFAULT '0', `pagesize` smallint(5) unsigned NOT NULL DEFAULT '10', `matt` smallint(6) NOT NULL DEFAULT '0', `spacename` varchar(50) NOT NULL DEFAULT '', `spacelogo` varchar(50) NOT NULL DEFAULT '', `spacestyle` varchar(20) NOT NULL DEFAULT '', `sign` varchar(100) NOT NULL DEFAULT '没签名', `spacenews` mediumtext, PRIMARY KEY (`mid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_member_stow`; CREATE TABLE `hwws_member_stow` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `mid` mediumint(8) unsigned NOT NULL DEFAULT '0', `aid` mediumint(8) unsigned NOT NULL DEFAULT '0', `title` char(60) NOT NULL DEFAULT '', `addtime` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `uid` (`mid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_member_tj`; CREATE TABLE `hwws_member_tj` ( `mid` mediumint(8) NOT NULL AUTO_INCREMENT, `article` smallint(5) unsigned NOT NULL DEFAULT '0', `album` smallint(5) unsigned NOT NULL DEFAULT '0', `archives` smallint(5) unsigned NOT NULL DEFAULT '0', `homecount` int(10) unsigned NOT NULL DEFAULT '0', `pagecount` int(10) unsigned NOT NULL DEFAULT '0', `feedback` mediumint(8) unsigned NOT NULL DEFAULT '0', `friend` smallint(5) unsigned NOT NULL DEFAULT '0', `stow` smallint(5) unsigned NOT NULL DEFAULT '0', `soft` int(10) NOT NULL DEFAULT '0', `info` int(10) NOT NULL DEFAULT '0', `shop` int(10) NOT NULL DEFAULT '0', PRIMARY KEY (`mid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_member_type`; CREATE TABLE `hwws_member_type` ( `aid` int(11) NOT NULL AUTO_INCREMENT, `rank` int(11) NOT NULL DEFAULT '0', `pname` varchar(50) NOT NULL DEFAULT '', `money` int(11) NOT NULL DEFAULT '0', `exptime` int(11) NOT NULL DEFAULT '30', PRIMARY KEY (`aid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_member_vhistory`; CREATE TABLE `hwws_member_vhistory` ( `id` int(10) NOT NULL AUTO_INCREMENT, `mid` mediumint(8) unsigned NOT NULL DEFAULT '0', `loginid` char(20) NOT NULL DEFAULT '', `vid` mediumint(8) unsigned NOT NULL DEFAULT '0', `vloginid` char(20) NOT NULL DEFAULT '', `count` smallint(5) unsigned NOT NULL DEFAULT '0', `vip` char(15) NOT NULL DEFAULT '', `vtime` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `vtime` (`vtime`), KEY `mid` (`mid`,`vid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_moneycard_record`; CREATE TABLE `hwws_moneycard_record` ( `aid` int(11) NOT NULL AUTO_INCREMENT, `ctid` int(11) NOT NULL DEFAULT '0', `cardid` varchar(50) NOT NULL DEFAULT '', `uid` int(11) NOT NULL DEFAULT '0', `isexp` smallint(6) NOT NULL DEFAULT '0', `mtime` int(11) NOT NULL DEFAULT '0', `utime` int(11) NOT NULL DEFAULT '0', `money` int(11) NOT NULL DEFAULT '0', `num` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`aid`), KEY `ctid` (`ctid`), KEY `cardid` (`cardid`), KEY `uid` (`uid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_moneycard_type`; CREATE TABLE `hwws_moneycard_type` ( `tid` int(11) NOT NULL AUTO_INCREMENT, `num` int(11) NOT NULL DEFAULT '500', `money` int(11) NOT NULL DEFAULT '50', `pname` varchar(50) NOT NULL DEFAULT '', PRIMARY KEY (`tid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_mtypes`; CREATE TABLE `hwws_mtypes` ( `mtypeid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `mtypename` char(40) NOT NULL DEFAULT '', `channelid` smallint(6) NOT NULL DEFAULT '1', `mid` mediumint(8) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`mtypeid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_myad`; CREATE TABLE `hwws_myad` ( `aid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `typeid` smallint(5) unsigned NOT NULL DEFAULT '0', `tagname` varchar(30) NOT NULL DEFAULT '', `adname` varchar(60) NOT NULL DEFAULT '', `timeset` smallint(6) NOT NULL DEFAULT '0', `starttime` int(10) unsigned NOT NULL DEFAULT '0', `endtime` int(10) unsigned NOT NULL DEFAULT '0', `normbody` mediumtext, `expbody` mediumtext, PRIMARY KEY (`aid`), KEY `tagname` (`tagname`,`typeid`,`timeset`,`endtime`,`starttime`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_mytag`; CREATE TABLE `hwws_mytag` ( `aid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `typeid` smallint(5) unsigned NOT NULL DEFAULT '0', `tagname` varchar(30) NOT NULL DEFAULT '', `timeset` smallint(6) NOT NULL DEFAULT '0', `starttime` int(10) unsigned NOT NULL DEFAULT '0', `endtime` int(10) unsigned NOT NULL DEFAULT '0', `normbody` mediumtext, `expbody` mediumtext, PRIMARY KEY (`aid`), KEY `tagname` (`tagname`,`typeid`,`timeset`,`endtime`,`starttime`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_plus`; CREATE TABLE `hwws_plus` ( `aid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `plusname` varchar(30) NOT NULL DEFAULT '', `menustring` varchar(200) NOT NULL DEFAULT '', `mainurl` varchar(50) NOT NULL DEFAULT '', `writer` varchar(30) NOT NULL DEFAULT '', `isshow` smallint(6) NOT NULL DEFAULT '1', `filelist` mediumtext, PRIMARY KEY (`aid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_pwd_tmp`; CREATE TABLE `hwws_pwd_tmp` ( `mid` mediumint(8) NOT NULL DEFAULT '0', `membername` char(16) NOT NULL DEFAULT '', `pwd` char(32) NOT NULL DEFAULT '', `mailtime` int(10) NOT NULL DEFAULT '0', PRIMARY KEY (`mid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_ratings`; CREATE TABLE `hwws_ratings` ( `id` varchar(11) NOT NULL DEFAULT '', `total_votes` int(11) NOT NULL DEFAULT '0', `total_value` int(11) NOT NULL DEFAULT '0', `used_ips` longtext, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_scores`; CREATE TABLE `hwws_scores` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `titles` char(15) NOT NULL DEFAULT '', `icon` smallint(6) unsigned DEFAULT '0', `integral` int(10) NOT NULL DEFAULT '0', `isdefault` tinyint(1) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `integral` (`integral`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_search_cache`; CREATE TABLE `hwws_search_cache` ( `hash` varchar(32) NOT NULL DEFAULT '', `lasttime` int(10) unsigned NOT NULL DEFAULT '0', `rsnum` mediumint(8) unsigned NOT NULL DEFAULT '0', `ids` mediumtext, PRIMARY KEY (`hash`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_search_keywords`; CREATE TABLE `hwws_search_keywords` ( `aid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `keyword` char(30) NOT NULL DEFAULT '', `spwords` char(50) NOT NULL DEFAULT '', `count` mediumint(8) unsigned NOT NULL DEFAULT '1', `result` mediumint(8) unsigned NOT NULL DEFAULT '0', `lasttime` int(10) unsigned NOT NULL DEFAULT '0', `channelid` smallint(5) unsigned NOT NULL DEFAULT '0', `typeid` smallint(5) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`aid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_sgpage`; CREATE TABLE `hwws_sgpage` ( `aid` smallint(5) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(60) NOT NULL DEFAULT '', `ismake` smallint(6) NOT NULL DEFAULT '1', `filename` varchar(60) NOT NULL DEFAULT '', `keywords` varchar(30) NOT NULL DEFAULT '', `template` varchar(30) NOT NULL DEFAULT '', `likeid` varchar(20) NOT NULL DEFAULT '', `description` varchar(250) NOT NULL DEFAULT '', `uptime` int(10) unsigned NOT NULL DEFAULT '0', `body` mediumtext, PRIMARY KEY (`aid`), KEY `ismake` (`ismake`,`uptime`), KEY `likeid` (`likeid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_shops_delivery`; CREATE TABLE `hwws_shops_delivery` ( `pid` int(10) unsigned NOT NULL AUTO_INCREMENT, `dname` char(80) NOT NULL DEFAULT '', `price` float(13,2) NOT NULL DEFAULT '0.00', `des` char(255) DEFAULT NULL, `orders` int(10) NOT NULL DEFAULT '0', PRIMARY KEY (`pid`), KEY `orders` (`orders`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_shops_orders`; CREATE TABLE `hwws_shops_orders` ( `oid` varchar(80) NOT NULL DEFAULT '', `userid` int(10) NOT NULL DEFAULT '0', `pid` int(10) NOT NULL DEFAULT '0', `paytype` tinyint(2) NOT NULL DEFAULT '1', `cartcount` int(10) NOT NULL DEFAULT '0', `dprice` float(13,2) NOT NULL DEFAULT '0.00', `price` float(13,2) NOT NULL DEFAULT '0.00', `priceCount` float(13,2) NOT NULL DEFAULT '0.00', `state` tinyint(1) NOT NULL DEFAULT '0', `ip` varchar(15) NOT NULL DEFAULT '', `stime` int(10) NOT NULL DEFAULT '0', KEY `stime` (`stime`), KEY `userid` (`userid`), KEY `oid` (`oid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_shops_paytype`; CREATE TABLE `hwws_shops_paytype` ( `pid` int(10) NOT NULL AUTO_INCREMENT, `paytype` varchar(20) NOT NULL DEFAULT '', `des` mediumtext, PRIMARY KEY (`pid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_shops_products`; CREATE TABLE `hwws_shops_products` ( `aid` mediumint(8) NOT NULL DEFAULT '0', `oid` varchar(80) NOT NULL DEFAULT '', `userid` int(10) NOT NULL DEFAULT '0', `title` varchar(80) NOT NULL DEFAULT '', `price` float(13,2) NOT NULL DEFAULT '0.00', `buynum` int(10) NOT NULL DEFAULT '9', KEY `oid` (`oid`), KEY `userid` (`userid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_shops_userinfo`; CREATE TABLE `hwws_shops_userinfo` ( `userid` int(10) NOT NULL DEFAULT '0', `oid` varchar(80) NOT NULL DEFAULT '', `consignee` varchar(15) NOT NULL DEFAULT '', `address` varchar(255) NOT NULL DEFAULT '', `zip` int(10) NOT NULL DEFAULT '0', `tel` varchar(255) NOT NULL DEFAULT '', `email` varchar(255) NOT NULL DEFAULT '', `des` varchar(255) NOT NULL DEFAULT '', KEY `oid` (`oid`), KEY `userid` (`userid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_softconfig`; CREATE TABLE `hwws_softconfig` ( `downtype` smallint(6) NOT NULL DEFAULT '0', `ismoresite` smallint(6) NOT NULL DEFAULT '0', `gotojump` smallint(6) NOT NULL DEFAULT '0', `islocal` smallint(5) unsigned NOT NULL DEFAULT '1', `sites` mediumtext, `downmsg` mediumtext, `moresitedo` smallint(5) unsigned NOT NULL DEFAULT '1', `dfrank` smallint(5) unsigned NOT NULL DEFAULT '0', `dfywboy` smallint(5) unsigned NOT NULL DEFAULT '0', `argrange` smallint(5) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`downtype`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_stepselect`; CREATE TABLE `hwws_stepselect` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `itemname` char(30) DEFAULT '', `egroup` char(20) DEFAULT '', `issign` tinyint(1) unsigned DEFAULT '0', `issystem` tinyint(1) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_sys_enum`; CREATE TABLE `hwws_sys_enum` ( `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, `ename` char(30) NOT NULL DEFAULT '', `evalue` smallint(6) NOT NULL DEFAULT '0', `egroup` char(20) NOT NULL DEFAULT '', `disorder` smallint(5) unsigned NOT NULL DEFAULT '0', `issign` tinyint(1) unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_sys_module`; CREATE TABLE `hwws_sys_module` ( `id` int(11) NOT NULL AUTO_INCREMENT, `hashcode` varchar(32) NOT NULL DEFAULT '', `modname` varchar(30) NOT NULL DEFAULT '', `indexname` varchar(20) NOT NULL DEFAULT '', `indexurl` varchar(30) NOT NULL DEFAULT '', `ismember` tinyint(4) NOT NULL DEFAULT '1', `menustring` mediumtext, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_sys_set`; CREATE TABLE `hwws_sys_set` ( `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, `sname` varchar(20) NOT NULL DEFAULT '', `items` mediumtext, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_sys_task`; CREATE TABLE `hwws_sys_task` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `taskname` varchar(50) NOT NULL DEFAULT '', `dourl` varchar(100) NOT NULL DEFAULT '', `islock` tinyint(1) unsigned NOT NULL DEFAULT '0', `runtype` tinyint(1) unsigned NOT NULL DEFAULT '0', `runtime` varchar(10) DEFAULT '0000', `starttime` int(10) unsigned NOT NULL DEFAULT '0', `endtime` int(10) unsigned NOT NULL DEFAULT '0', `freq` tinyint(2) unsigned NOT NULL DEFAULT '0', `lastrun` int(10) unsigned NOT NULL DEFAULT '0', `description` varchar(250) NOT NULL DEFAULT '', `parameter` mediumtext, `settime` int(10) unsigned NOT NULL DEFAULT '0', `sta` enum('运行','成功','失败') DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_sysconfig`; CREATE TABLE `hwws_sysconfig` ( `aid` smallint(8) unsigned NOT NULL DEFAULT '0', `varname` varchar(20) NOT NULL DEFAULT '', `info` varchar(100) NOT NULL DEFAULT '', `groupid` smallint(6) NOT NULL DEFAULT '1', `type` varchar(10) NOT NULL DEFAULT 'string', `value` mediumtext, PRIMARY KEY (`varname`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_tagindex`; CREATE TABLE `hwws_tagindex` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `tag` char(12) NOT NULL DEFAULT '', `typeid` smallint(5) unsigned NOT NULL DEFAULT '0', `count` int(10) unsigned NOT NULL DEFAULT '0', `total` int(10) unsigned NOT NULL DEFAULT '0', `weekcc` int(10) unsigned NOT NULL DEFAULT '0', `monthcc` int(10) unsigned NOT NULL DEFAULT '0', `weekup` int(10) unsigned NOT NULL DEFAULT '0', `monthup` int(10) unsigned NOT NULL DEFAULT '0', `addtime` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_taglist`; CREATE TABLE `hwws_taglist` ( `tid` int(10) unsigned NOT NULL DEFAULT '0', `aid` int(10) unsigned NOT NULL DEFAULT '0', `arcrank` smallint(6) NOT NULL DEFAULT '0', `typeid` smallint(5) unsigned NOT NULL DEFAULT '0', `tag` varchar(12) NOT NULL DEFAULT '', PRIMARY KEY (`tid`,`aid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_uploads`; CREATE TABLE `hwws_uploads` ( `aid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `arcid` mediumint(8) unsigned NOT NULL DEFAULT '0', `title` char(60) NOT NULL DEFAULT '', `url` char(80) NOT NULL DEFAULT '', `mediatype` smallint(6) NOT NULL DEFAULT '1', `width` char(10) NOT NULL DEFAULT '', `height` char(10) NOT NULL DEFAULT '', `playtime` char(10) NOT NULL DEFAULT '', `filesize` mediumint(8) unsigned NOT NULL DEFAULT '0', `uptime` int(10) unsigned NOT NULL DEFAULT '0', `mid` mediumint(8) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`aid`), KEY `memberid` (`mid`), KEY `arcid` (`arcid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_verifies`; CREATE TABLE `hwws_verifies` ( `nameid` varchar(32) NOT NULL DEFAULT '', `cthash` varchar(32) NOT NULL DEFAULT '', `method` enum('local','official') NOT NULL DEFAULT 'official', `filename` varchar(254) NOT NULL DEFAULT '', PRIMARY KEY (`nameid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; DROP TABLE IF EXISTS `hwws_vote`; CREATE TABLE `hwws_vote` ( `aid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `votename` varchar(50) NOT NULL DEFAULT '', `starttime` int(10) unsigned NOT NULL DEFAULT '0', `endtime` int(10) unsigned NOT NULL DEFAULT '0', `totalcount` mediumint(8) unsigned NOT NULL DEFAULT '0', `ismore` tinyint(6) NOT NULL DEFAULT '0', `votenote` mediumtext, PRIMARY KEY (`aid`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk;