empirecms.com.sql 181 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102
  1. # --------------------------------------------------------
  2. #
  3. # 帝国网站管理系统
  4. #
  5. # http://www.PHome.Net
  6. #
  7. # EmpireCMS Version 7.5
  8. #
  9. # --------------------------------------------------------
  10. # --------------------------------------------------------
  11. DROP TABLE IF EXISTS `phome_enewsad`;
  12. CREATE TABLE `phome_enewsad` (
  13. `adid` int(10) unsigned NOT NULL auto_increment,
  14. `picurl` varchar(255) NOT NULL default '',
  15. `url` text NOT NULL,
  16. `pic_width` int(10) unsigned NOT NULL default '0',
  17. `pic_height` int(10) unsigned NOT NULL default '0',
  18. `onclick` int(10) unsigned NOT NULL default '0',
  19. `classid` smallint(5) unsigned NOT NULL default '0',
  20. `adtype` tinyint(3) unsigned NOT NULL default '0',
  21. `title` varchar(100) NOT NULL default '',
  22. `target` varchar(10) NOT NULL default '',
  23. `alt` varchar(120) NOT NULL default '',
  24. `starttime` date NOT NULL default '0000-00-00',
  25. `endtime` date NOT NULL default '0000-00-00',
  26. `adsay` varchar(255) NOT NULL default '',
  27. `titlefont` varchar(14) NOT NULL default '',
  28. `titlecolor` varchar(10) NOT NULL default '',
  29. `htmlcode` text NOT NULL,
  30. `t` tinyint(3) unsigned NOT NULL default '0',
  31. `ylink` tinyint(1) NOT NULL default '0',
  32. `reptext` text NOT NULL,
  33. PRIMARY KEY (`adid`),
  34. KEY `classid` (`classid`),
  35. KEY `t` (`t`)
  36. ) TYPE=MyISAM;
  37. # --------------------------------------------------------
  38. DROP TABLE IF EXISTS `phome_enewsadclass`;
  39. CREATE TABLE `phome_enewsadclass` (
  40. `classid` smallint(5) unsigned NOT NULL auto_increment,
  41. `classname` char(30) NOT NULL default '',
  42. PRIMARY KEY (`classid`)
  43. ) TYPE=MyISAM;
  44. INSERT INTO `phome_enewsadclass` VALUES (1, '默认广告分类');
  45. # --------------------------------------------------------
  46. DROP TABLE IF EXISTS `phome_enewsadminstyle`;
  47. CREATE TABLE `phome_enewsadminstyle` (
  48. `styleid` smallint(5) unsigned NOT NULL auto_increment,
  49. `stylename` char(30) NOT NULL default '',
  50. `path` smallint(5) unsigned NOT NULL default '0',
  51. `isdefault` tinyint(1) NOT NULL default '0',
  52. PRIMARY KEY (`styleid`)
  53. ) TYPE=MyISAM;
  54. INSERT INTO `phome_enewsadminstyle` VALUES (1, '管理员后台界面', 1, 1);
  55. INSERT INTO `phome_enewsadminstyle` VALUES (2, '编辑后台界面', 2, 0);
  56. # --------------------------------------------------------
  57. DROP TABLE IF EXISTS `phome_enewsag`;
  58. CREATE TABLE `phome_enewsag` (
  59. `agid` int(10) unsigned NOT NULL auto_increment,
  60. `agname` varchar(60) NOT NULL default '',
  61. `isadmin` tinyint(1) NOT NULL default '0',
  62. `auids` text NOT NULL,
  63. PRIMARY KEY (`agid`),
  64. KEY `isadmin` (`isadmin`)
  65. ) TYPE=MyISAM;
  66. INSERT INTO `phome_enewsag` VALUES (1, '管理员', 9, '');
  67. INSERT INTO `phome_enewsag` VALUES (2, '版主', 5, '');
  68. # --------------------------------------------------------
  69. DROP TABLE IF EXISTS `phome_enewsautodo`;
  70. CREATE TABLE `phome_enewsautodo` (
  71. `doid` bigint(20) unsigned NOT NULL auto_increment,
  72. `dotype` char(50) NOT NULL default '',
  73. `classid` int(11) NOT NULL default '0',
  74. `id` int(10) unsigned NOT NULL default '0',
  75. `tid` int(10) unsigned NOT NULL default '0',
  76. `userid` int(10) unsigned NOT NULL default '0',
  77. `dotime` int(10) unsigned NOT NULL default '0',
  78. `addtime` int(10) unsigned NOT NULL default '0',
  79. `pid` int(11) NOT NULL default '0',
  80. `ckstr` char(32) NOT NULL default '',
  81. `fname` char(255) NOT NULL default '',
  82. `ecmspno` char(32) NOT NULL default '',
  83. `ckpass` char(32) NOT NULL default '',
  84. PRIMARY KEY (`doid`),
  85. KEY `userid` (`userid`),
  86. KEY `pid` (`pid`),
  87. KEY `dotime` (`dotime`),
  88. KEY `ckstr` (`ckstr`),
  89. KEY `ecmspno` (`ecmspno`)
  90. ) TYPE=MyISAM;
  91. # --------------------------------------------------------
  92. DROP TABLE IF EXISTS `phome_enewsbefrom`;
  93. CREATE TABLE `phome_enewsbefrom` (
  94. `befromid` smallint(5) unsigned NOT NULL auto_increment,
  95. `sitename` char(60) NOT NULL default '',
  96. `siteurl` char(200) NOT NULL default '',
  97. PRIMARY KEY (`befromid`)
  98. ) TYPE=MyISAM;
  99. # --------------------------------------------------------
  100. DROP TABLE IF EXISTS `phome_enewsbq`;
  101. CREATE TABLE `phome_enewsbq` (
  102. `bqid` smallint(5) unsigned NOT NULL auto_increment,
  103. `bqname` varchar(60) NOT NULL default '',
  104. `bqsay` text NOT NULL,
  105. `funname` varchar(60) NOT NULL default '',
  106. `bq` varchar(60) NOT NULL default '',
  107. `issys` tinyint(1) NOT NULL default '0',
  108. `bqgs` text NOT NULL,
  109. `isclose` tinyint(1) NOT NULL default '0',
  110. `classid` smallint(5) unsigned NOT NULL default '0',
  111. `myorder` smallint(5) unsigned NOT NULL default '0',
  112. PRIMARY KEY (`bqid`),
  113. KEY `classid` (`classid`),
  114. KEY `isclose` (`isclose`),
  115. KEY `myorder` (`myorder`)
  116. ) TYPE=MyISAM;
  117. INSERT INTO `phome_enewsbq` VALUES (1, '文字调用标签', '<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">参数</div>\r\n </td>\r\n <td>参数说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">栏目ID</div>\r\n </td>\r\n <td height=\\"25\\">查看栏目ID点<a onclick=\\"window.open(\\\'../ListClass.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a>,查看标题分类ID点<a onclick=\\"window.open(\\\'../info/InfoType.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a>,当前ID=\\\'selfinfo\\\'<br />\r\n 多个栏目ID与标题分类ID可用,号格开,如\\\'1,2\\\'</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示条数</div>\r\n </td>\r\n <td height=\\"25\\">显示前几条记录</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">标题截取数</div>\r\n </td>\r\n <td height=\\"25\\">截取几个字符</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">是否显示时间</div>\r\n </td>\r\n <td height=\\"25\\">是否在标题后显示时间,0为不显示,1为显示</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">操作类型</div>\r\n </td>\r\n <td height=\\"25\\">具体看操作类型说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">是否显示栏目名</div>\r\n </td>\r\n <td height=\\"25\\">0为不显示,1为显示</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">时间格式化</div>\r\n </td>\r\n <td height=\\"25\\">形式:Y-m-d H:i:s.默认为:\\\'(m-d)\\\'</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">附加SQL条件</div>\r\n </td>\r\n <td height=\\"25\\">附加调用条件,如:&quot;title=\\\'帝国\\\'&quot;</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示排序</div>\r\n </td>\r\n <td height=\\"25\\">可指定按相应的字段排序,如:&quot;id desc&quot;</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td colspan=\\"2\\">\r\n <div align=\\"center\\">(注:在栏目ID中写大栏目,系统会自己搜索子栏目的信息)</div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n</table>', 'sys_GetClassNews', 'phomenews', 1, '[phomenews]栏目ID,显示条数,标题截取数,是否显示时间,操作类型,是否显示栏目名,\\\'时间格式化\\\',附加SQL条件,显示排序[/phomenews]', 0, 1, 9);
  118. INSERT INTO `phome_enewsbq` VALUES (22, '留言板调用', '<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td width=\\"40%\\">\r\n <div align=\\"center\\">参数</div>\r\n </td>\r\n <td width=\\"60%\\">参数说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示信息数</div>\r\n </td>\r\n <td height=\\"25\\">显示记录数</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">标签模板ID</div>\r\n </td>\r\n <td height=\\"25\\">\r\n <div align=\\"left\\">查看标签模板ID点<a onclick=\\"window.open(\\\'ListBqtemp.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a></div>\r\n </td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">&nbsp;</div>\r\n </td>\r\n <td height=\\"25\\">模板标签变量说明:<br />\r\n 留言ID:[!--lyid--],留言内容:[!--lytext--]<br />\r\n 回复内容:[!--retext--],留言时间:[!--lytime--]<br />\r\n 留言者:[!--name--],留言者邮箱:[!--email--]<br />\r\n 序号:[!--no--]</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">留言分类ID</div>\r\n </td>\r\n <td height=\\"25\\">\r\n <div align=\\"left\\">点击<strong><a onclick=\\"window.open(\\\'../tool/GbookClass.php?[!--ehash--]\\\');\\">这里</a></strong>查看分类ID,0为不限制</div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n</table>', 'sys_ShowLyInfo', 'gbookinfo', 1, '[gbookinfo]显示信息数,标签模板ID,留言分类ID[/gbookinfo]', 0, 3, 5);
  119. INSERT INTO `phome_enewsbq` VALUES (23, '专题调用标签', '<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">参数</div>\r\n </td>\r\n <td>参数说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">\r\n <div align=\\"center\\">标签模板ID</div>\r\n </div>\r\n </td>\r\n <td height=\\"25\\">查看标签模板ID点<a onclick=\\"window.open(\\\'ListBqtemp.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a></td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">&nbsp;</div>\r\n </td>\r\n <td height=\\"25\\">\r\n <p>模板标签变量说明:(list.var)<br />\r\n [!--classurl--]:专题链接,[!--classname--]:专题名称<br />\r\n [!--classid--]:专题id,[!--classimg--]:专题图片<br />\r\n [!--intro--]:专题简介,[!--no--]:序号</p>\r\n </td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">专题类别ID</div>\r\n </td>\r\n <td height=\\"25\\">\r\n <div align=\\"left\\">点击<strong><a onclick=\\"window.open(\\\'../special/ListZtClass.php?[!--ehash--]\\\');\\">这里</a></strong>查看分类ID,0为不限制,多个分类ID用逗号隔开,如\\\'1,2\\\'</div>\r\n </td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示专题数</div>\r\n </td>\r\n <td height=\\"25\\">0为不限制</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">所属栏目ID</div>\r\n </td>\r\n <td height=\\"25\\">点击<strong><a onclick=\\"window.open(\\\'../ListClass.php?[!--ehash--]\\\');\\">这里</a></strong>查看栏目ID,0为不限制,多个栏目ID用逗号隔开,如\\\'1,2\\\'</td>\r\n </tr>\r\n </tbody>\r\n</table>', 'sys_ShowZtData', 'eshowzt', 1, '[eshowzt]标签模板ID,专题类别ID,显示专题数,所属栏目ID[/eshowzt]', 0, 2, 6);
  120. INSERT INTO `phome_enewsbq` VALUES (2, '图文信息调用(标题图片的信息)', '<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">参数</div>\r\n </td>\r\n <td>参数说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">栏目ID</div>\r\n </td>\r\n <td height=\\"25\\">查看栏目ID点<a onclick=\\"window.open(\\\'../ListClass.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a>,查看标题分类ID点<a onclick=\\"window.open(\\\'../info/InfoType.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a>,当前ID=\\\'selfinfo\\\'<br />\r\n 多个栏目ID与标题分类ID可用,号格开,如\\\'1,2\\\'</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">每行显示条数</div>\r\n </td>\r\n <td height=\\"25\\">每行显示几个图片</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示总信息数</div>\r\n </td>\r\n <td height=\\"25\\">显示信息总数</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">图片宽度,图片高度</div>\r\n </td>\r\n <td height=\\"25\\">图文信息图片大小</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">是否显示标题</div>\r\n </td>\r\n <td height=\\"25\\">是否在图片下显示标题,0为不显示,1为显示</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td bgcolor=\\"#ffffff\\" height=\\"25\\">\r\n <div align=\\"center\\">标题截取数</div>\r\n </td>\r\n <td height=\\"25\\">截取几个字符</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td bgcolor=\\"#ffffff\\" height=\\"25\\">\r\n <div align=\\"center\\">操作类型说明</div>\r\n </td>\r\n <td height=\\"25\\">具体看操作类型说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">附加SQL条件</div>\r\n </td>\r\n <td height=\\"25\\">附加调用条件,如:&quot;title=\\\'帝国\\\'&quot;</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示排序</div>\r\n </td>\r\n <td height=\\"25\\">可指定按相应的字段排序,如:&quot;id desc&quot;</td>\r\n </tr>\r\n </tbody>\r\n</table>', 'sys_GetClassNewsPic', 'phomenewspic', 1, '[phomenewspic]栏目ID,每行显示条数,显示总信息数,图片宽度,图片高度,是否显示标题,标题截取数,操作类型,附加SQL条件,显示排序[/phomenewspic]', 0, 1, 9);
  121. INSERT INTO `phome_enewsbq` VALUES (5, '广告标签', '<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">参数</div>\r\n </td>\r\n <td>参数说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">广告ID</div>\r\n </td>\r\n <td height=\\"25\\">查看广告ID点<a onclick=\\"window.open(\\\'../tool/ListAd.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a></td>\r\n </tr>\r\n </tbody>\r\n</table>', 'sys_GetAd', 'phomead', 1, '[phomead]广告ID[/phomead]', 0, 3, 5);
  122. INSERT INTO `phome_enewsbq` VALUES (6, '投票标签', '<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">参数</div>\r\n </td>\r\n <td>参数说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">投票ID</div>\r\n </td>\r\n <td height=\\"25\\">查看投票ID点<a onclick=\\"window.open(\\\'../tool/ListVote.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a></td>\r\n </tr>\r\n </tbody>\r\n</table>', 'sys_GetVote', 'phomevote', 1, '[phomevote]投票ID[/phomevote]', 0, 3, 5);
  123. INSERT INTO `phome_enewsbq` VALUES (11, '带模板的信息调用标签[万能标签]', '<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">参数</div>\r\n </td>\r\n <td>参数说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">栏目ID</div>\r\n </td>\r\n <td height=\\"25\\">查看栏目ID点<a onclick=\\"window.open(\\\'../ListClass.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a>,查看标题分类ID点<a onclick=\\"window.open(\\\'../info/InfoType.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a>,当前ID=\\\'selfinfo\\\'<br />\r\n 多个栏目ID与标题分类ID可用,号格开,如\\\'1,2\\\'</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示条数</div>\r\n </td>\r\n <td height=\\"25\\">显示前几条记录</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">标题截取数</div>\r\n </td>\r\n <td height=\\"25\\">截取几个字符</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">是否显示栏目名</div>\r\n </td>\r\n <td height=\\"25\\">0为不显示,1为显示</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">操作类型</div>\r\n </td>\r\n <td height=\\"25\\">具体看操作类型说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">标签模板ID</div>\r\n </td>\r\n <td height=\\"25\\">查看标签模板ID点<a onclick=\\"window.open(\\\'ListBqtemp.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a></td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">只显示有标题图片</div>\r\n </td>\r\n <td height=\\"25\\">0为不限制,1为只显示有标题图片的信息</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">附加SQL条件</div>\r\n </td>\r\n <td height=\\"25\\">附加调用条件,如:&quot;title=\\\'帝国\\\'&quot;</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示排序</div>\r\n </td>\r\n <td height=\\"25\\">可指定按相应的字段排序,如:&quot;id desc&quot;</td>\r\n </tr>\r\n </tbody>\r\n</table>', 'sys_GetEcmsInfo', 'ecmsinfo', 1, '[ecmsinfo]栏目ID,显示条数,标题截取数,是否显示栏目名,操作类型,模板ID,只显示有标题图片,附加SQL条件,显示排序[/ecmsinfo]', 0, 1, 10);
  124. INSERT INTO `phome_enewsbq` VALUES (12, '友情链接标签', '<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td width=\\"40%\\">\r\n <div align=\\"center\\">参数</div>\r\n </td>\r\n <td width=\\"60%\\">参数说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">每行显示记录数</div>\r\n </td>\r\n <td height=\\"25\\">每行显示记录数</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示总记录数</div>\r\n </td>\r\n <td height=\\"25\\">\r\n <div align=\\"left\\">总记录数</div>\r\n </td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">操作类型</div>\r\n </td>\r\n <td height=\\"25\\">\r\n <div align=\\"left\\">0为所有记录,1为图片链接,2为文字链接</div>\r\n </td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">分类ID</div>\r\n </td>\r\n <td height=\\"25\\">\r\n <div align=\\"left\\">点击<strong><a onclick=\\"window.open(\\\'../tool/LinkClass.php?[!--ehash--]\\\');\\">这里</a></strong>查看分类ID,0为不限制</div>\r\n </td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">是否显示原链接</div>\r\n </td>\r\n <td height=\\"25\\">\r\n <div align=\\"left\\">0为统计点击链接,1为显示原链接</div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n</table>', 'sys_GetSitelink', 'phomelink', 1, '[phomelink]每行显示数,显示总数,操作类型,分类id,是否显示原链接[/phomelink]', 0, 3, 5);
  125. INSERT INTO `phome_enewsbq` VALUES (15, '引用文件标签', '<p>[includefile]\\\'文件地址\\\'[/includefile]<br />\r\n文件地址需要为相对地址,并且从后台目录算起:&quot;../../header.html&quot;(这个地址的header.html是放在ecms根目录)</p>', 'sys_IncludeFile', 'includefile', 1, '[includefile]\\\'文件地址\\\'[/includefile]', 1, 4, 4);
  126. INSERT INTO `phome_enewsbq` VALUES (16, '读取远程页面', '<p>[readhttp]\\\'页面地址\\\'[/readhttp]</p>', 'sys_ReadFile', 'readhttp', 1, '[readhttp]\\\'页面地址\\\'[/readhttp]', 1, 4, 4);
  127. INSERT INTO `phome_enewsbq` VALUES (17, '网站信息统计', '<p>操作类型说明:\r\n<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\">\r\n <tbody>\r\n <tr bgcolor=\\"#dbeaf5\\">\r\n <td width=\\"25%\\">\r\n <div align=\\"center\\">操作类型</div>\r\n </td>\r\n <td width=\\"75%\\">内容</td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">0</div>\r\n </td>\r\n <td>统计栏目数据</td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">1</div>\r\n </td>\r\n <td>统计标题分类</td>\r\n </tr>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">2</div>\r\n </td>\r\n <td>统计数据表</td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n<br />\r\n时间范围:0为不限;1为今日;2为本月;3为本年。<br />\r\n统计类型:0为统计信息数;1为统计评论数;2为统计点击数;3为统计下载数。<br />\r\n如果操作类型是&ldquo;统计数据表&rdquo;,栏目ID=\\\'数据表名\\\'</p>', 'sys_TotalData', 'totaldata', 1, '[totaldata]栏目ID,操作类型,时间范围,统计类型[/totaldata]', 0, 1, 7);
  128. INSERT INTO `phome_enewsbq` VALUES (18, 'FLASH幻灯信息调用', '<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">参数</div>\r\n </td>\r\n <td>参数说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">\r\n <div align=\\"center\\">栏目ID</div>\r\n </div>\r\n </td>\r\n <td height=\\"25\\">查看栏目ID点<a onclick=\\"window.open(\\\'../ListClass.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a>,查看标题分类ID点<a onclick=\\"window.open(\\\'../info/InfoType.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a>,当前ID=\\\'selfinfo\\\'<br />\r\n 多个栏目ID与标题分类ID可用,号格开,如\\\'1,2\\\'</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示总数</div>\r\n </td>\r\n <td height=\\"25\\">显示信息总数</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">图片宽度,图片高度</div>\r\n </td>\r\n <td height=\\"25\\">图文信息图片大小</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">是否显示标题</div>\r\n </td>\r\n <td height=\\"25\\">是否在图片下显示标题,0为不显示,1为显示</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td bgcolor=\\"#ffffff\\" height=\\"25\\">\r\n <div align=\\"center\\">标题截取数</div>\r\n </td>\r\n <td height=\\"25\\">截取几个字符</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td bgcolor=\\"#ffffff\\" height=\\"25\\">\r\n <div align=\\"center\\">操作类型说明</div>\r\n </td>\r\n <td height=\\"25\\">具体看操作类型说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">附加SQL条件</div>\r\n </td>\r\n <td height=\\"25\\">附加调用条件,如:&quot;title=\\\'帝国\\\'&quot;</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示排序</div>\r\n </td>\r\n <td height=\\"25\\">可指定按相应的字段排序,如:&quot;id desc&quot;</td>\r\n </tr>\r\n </tbody>\r\n</table>', 'sys_FlashPixpic', 'phomeflashpic', 1, '[phomeflashpic]栏目ID,显示总数,图片宽度,图片高度,是否显示标题,标题截取数,操作类型,停顿秒数,附加SQL条件,显示排序[/phomeflashpic]', 0, 1, 9);
  129. INSERT INTO `phome_enewsbq` VALUES (19, '搜索关键字调用标签', '<p>栏目id为0,则显示所有栏目的关键字</p>\r\n<p>操作类型:0为搜索热门排行,1为最新搜索排行</p>', 'sys_ShowSearchKey', 'showsearch', 1, '[showsearch]每行显示条数,总条数,栏目id,操作类型[/showsearch]', 0, 1, 7);
  130. INSERT INTO `phome_enewsbq` VALUES (20, '循环子栏目数据标签', '<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">参数</div>\r\n </td>\r\n <td>参数说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">栏目ID</div>\r\n </td>\r\n <td height=\\"25\\">查看栏目ID点<a onclick=\\"window.open(\\\'../ListClass.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a>,单个为父栏目ID,多栏目可用&quot;,&quot;格开<br />\r\n 当前栏目ID用:\\\'selfinfo\\\'</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示条数</div>\r\n </td>\r\n <td height=\\"25\\">显示前几条记录</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">标题截取数</div>\r\n </td>\r\n <td height=\\"25\\">截取几个字符</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">是否显示栏目名</div>\r\n </td>\r\n <td height=\\"25\\">0为不显示,1为显示</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">操作类型</div>\r\n </td>\r\n <td height=\\"25\\">0:栏目最新<br />\r\n 1:栏目热门<br />\r\n 2:栏目推荐<br />\r\n 3:栏目评论排行<br />\r\n 4:栏目头条<br />\r\n 5:栏目下载排行</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">标签模板ID</div>\r\n </td>\r\n <td height=\\"25\\">查看标签模板ID点<a onclick=\\"window.open(\\\'ListBqtemp.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a></td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">只显示有标题图片</div>\r\n </td>\r\n <td height=\\"25\\">0为不限制,1为只显示有标题图片的信息</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示栏目数</div>\r\n </td>\r\n <td height=\\"25\\">0为不限制</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示头条操作类型</div>\r\n </td>\r\n <td height=\\"25\\">0:不显示栏目头条<br />\r\n 1:栏目内容简介<br />\r\n 2:栏目推荐信息<br />\r\n 3:栏目头条信息<br />\r\n 4:栏目最新信息</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">头条标题截取数</div>\r\n </td>\r\n <td height=\\"25\\">截取几个字符</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">头条简介截取数</div>\r\n </td>\r\n <td height=\\"25\\">截取几个字符</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">头条只显示有标题图片</div>\r\n </td>\r\n <td height=\\"25\\">0为不限制,1为只显示有标题图片的信息</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">附加SQL条件</div>\r\n </td>\r\n <td height=\\"25\\">附加调用条件,如:&quot;title=\\\'帝国\\\'&quot;</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示排序</div>\r\n </td>\r\n <td height=\\"25\\">可指定按相应的字段排序,如:&quot;id desc&quot;</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">头条的模板变量<br />\r\n (标签模板的页面模板内容中使用)</div>\r\n </td>\r\n <td height=\\"25\\">[!--sonclass.id--]:信息ID<br />\r\n [!--sonclass.title--]:信息标题<br />\r\n [!--sonclass.oldtitle--]:信息标题(不截取字数)<br />\r\n [!--sonclass.titlepic--]:标题图片<br />\r\n [!--sonclass.titleurl--]:信息链接<br />\r\n [!--sonclass.text--]:信息简介</td>\r\n </tr>\r\n </tbody>\r\n</table>', 'sys_ForSonclassData', 'listsonclass', 1, '[listsonclass]栏目ID,显示条数,标题截取数,是否显示栏目名,操作类型,模板ID,只显示有标题图片,显示栏目数,显示头条操作类型,头条标题截取数,头条简介截取数,头条只显示有标题图片,附加SQL条件,显示排序[/listsonclass]', 0, 1, 9);
  131. INSERT INTO `phome_enewsbq` VALUES (21, '带模板的栏目导航标签', '<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">参数</div>\r\n </td>\r\n <td>参数说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">父栏目ID</div>\r\n </td>\r\n <td height=\\"25\\">查看栏目ID点<a onclick=\\"window.open(\\\'../ListClass.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a><br />\r\n \\\'0\\\'为显示所有一级栏目<br />\r\n \\\'selfinfo\\\'显示本栏目下级栏目</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">\r\n <div align=\\"center\\">标签模板ID</div>\r\n </div>\r\n </td>\r\n <td height=\\"25\\">查看标签模板ID点<a onclick=\\"window.open(\\\'ListBqtemp.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a></td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">&nbsp;</div>\r\n </td>\r\n <td height=\\"25\\">\r\n <p>模板标签变量说明:[!--bclassname--]:父栏目名,[!--bclassurl--]:父栏目链接,[!--bclassid--]:父栏目id</p>\r\n <p>list.var模板标签:<br />\r\n [!--classurl--]:栏目链接,[!--classname--]:栏目名称,[!--classid--]:栏目id,[!--classimg--]:栏目图片,[!--intro--]:栏目简介,[!--num--]:信息数,[!--no--]:序号</p>\r\n </td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">是否显示栏目信息数</div>\r\n </td>\r\n <td height=\\"25\\">0为不显示,1为显示</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示栏目数</div>\r\n </td>\r\n <td height=\\"25\\">0为不限制</td>\r\n </tr>\r\n </tbody>\r\n</table>', 'sys_ShowClassByTemp', 'showclasstemp', 1, '[showclasstemp]父栏目ID,标签模板ID,是否显示栏目信息数,显示栏目数[/showclasstemp]', 0, 2, 6);
  132. INSERT INTO `phome_enewsbq` VALUES (24, '图库模型分页标签', '<p>\r\n<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">参数</div>\r\n </td>\r\n <td>参数说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">\r\n <div align=\\"center\\">标签模板ID</div>\r\n </div>\r\n </td>\r\n <td height=\\"25\\">查看标签模板ID点<a onclick=\\"window.open(\\\'ListBqtemp.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a></td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">&nbsp;</div>\r\n </td>\r\n <td height=\\"25\\">\r\n <p><strong>模板标签变量说明:</strong><br />\r\n 图片集JS数组:[!--photor--],缩略图导航:[!--smalldh--]<br />\r\n 分页导航:[!--select--],标题分页导航:[!--titleselect--],分页列表式导航:[!--listpage--]</p>\r\n <p><strong>list.var模板标签:</strong><br />\r\n 图片名称:[!--picname--],图片地址:[!--picurl--]</p>\r\n </td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">导航图片宽度<br />\r\n 导航图片高度</div>\r\n </td>\r\n <td height=\\"25\\">0为按原图大小</td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n</p>', 'sys_PhotoMorepage', 'eshowphoto', 1, '[eshowphoto]标签模板ID,导航图片宽度,导航图片高度[/eshowphoto]', 0, 1, 7);
  133. INSERT INTO `phome_enewsbq` VALUES (25, '复选项输出函数', '<p>如:[echocheckbox]\\\'title\\\',\\\'&lt;br&gt;\\\'[/echocheckbox]:表示按回车分隔输出title字段的项</p>', 'sys_EchoCheckboxFValue', 'echocheckbox', 1, '[echocheckbox]\\\'字段\\\',\\\'分隔符\\\'[/echocheckbox]', 0, 3, 5);
  134. INSERT INTO `phome_enewsbq` VALUES (26, '相关链接标签', '<p><strong>标签模板ID</strong>:查看标签模板ID点<a onclick=\\"window.open(\\\'ListBqtemp.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a><br />\r\n<strong>操作类型</strong>:0为默认;1为按表;2为按栏目;3为按标题分类<br />\r\n<strong>操作对象</strong>:对应操作类型的表/栏目/标题分类。空则为默认。<br />\r\n<strong>是否显示栏目名</strong>:0为不显示;1为显示<br />\r\n<strong>只显示标题图片的信息</strong>:0为不限;1为只显示标题图片的信息</p>', 'sys_GetOtherLinkInfo', 'otherlink', 1, '[otherlink]标签模板ID,操作对象,调用条数,标题截取字数,是否显示栏目名,操作类型,只显示标题图片的信息[/otherlink]', 0, 1, 9);
  135. INSERT INTO `phome_enewsbq` VALUES (27, '评论调用标签', '<p><strong>标签模板ID</strong>:查看标签模板ID点<a onclick=\\"window.open(\\\'ListBqtemp.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a><br />\r\n<strong>栏目ID</strong>:0为不限调用栏目,父栏目会应用于子栏目<br />\r\n<strong>信息ID</strong>:0为不限<br />\r\n<strong>显示推荐评论</strong>:0为不限;1为只显示推荐评论<br />\r\n<strong>操作类型</strong>:0为按发布时间;1为按支持数;2为按反对数<br />\r\n<strong>标签模板说明</strong>:[!--title--]:信息标题;[!--titleurl--]:信息链接;[!--titlepic--]:信息标题图片;[!--id--]:信息ID<br />\r\n[!--classid--]:栏目ID;[!--plid--]:评论ID;[!--username--]:发表者;[!--no--]:编号<br />\r\n[!--pltext--]:评论内容;[!--pltime--]:评论时间;[!--zcnum--]:支持数;[!--fdnum--]:反对数</p>', 'sys_ShowPlInfo', 'showplinfo', 1, '[showplinfo]调用条数,标签模板ID,栏目ID,信息ID,显示推荐评论,操作类型[/showplinfo]', 0, 3, 5);
  136. INSERT INTO `phome_enewsbq` VALUES (28, '循环栏目导航标签', '<p>\r\n<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">参数</div>\r\n </td>\r\n <td>参数说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">父栏目ID</div>\r\n </td>\r\n <td height=\\"25\\">查看栏目ID点<a onclick=\\"window.open(\\\'../ListClass.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a><br />\r\n \\\'0\\\'为显示所有一级栏目<br />\r\n \\\'selfinfo\\\'显示本栏目下级栏目<br />\r\n 多栏目固定调用可用&quot;,&quot;格开</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">\r\n <div align=\\"center\\">标签模板ID</div>\r\n </div>\r\n </td>\r\n <td height=\\"25\\">查看标签模板ID点<a onclick=\\"window.open(\\\'ListBqtemp.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a></td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">&nbsp;</div>\r\n </td>\r\n <td height=\\"25\\">\r\n <p>模板标签变量说明:[!--bclassname--]:父栏目名,[!--bclassurl--]:父栏目链接,[!--bclassid--]:父栏目id,[!--bclassimg--]:父栏目图片,[!--bintro--]:父栏目简介,[!--bnum--]:父栏目信息数,[!--bno--]:父栏目序号</p>\r\n <p>list.var模板标签:<br />\r\n [!--classurl--]:栏目链接,[!--classname--]:栏目名称,[!--classid--]:栏目id,[!--classimg--]:栏目图片,[!--intro--]:栏目简介,[!--num--]:信息数,[!--no--]:序号</p>\r\n </td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">是否显示栏目信息数</div>\r\n </td>\r\n <td height=\\"25\\">0为不显示,1为显示</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示栏目数</div>\r\n </td>\r\n <td height=\\"25\\">0为不限制</td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n</p>', 'sys_ForShowSonClass', 'listshowclass', 1, '[listshowclass]父栏目ID,标签模板ID,是否显示栏目信息数,显示栏目数[/listshowclass]', 0, 2, 6);
  137. INSERT INTO `phome_enewsbq` VALUES (29, '调用TAGS的信息标签', '<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">参数</div>\r\n </td>\r\n <td>参数说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">TAGS的ID</div>\r\n </td>\r\n <td height=\\"25\\">查看TAGS的ID点<a onclick=\\"window.open(\\\'../tags/ListTags.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a><br />\r\n 多个ID可以用,号格开,如\\\'1,2\\\'</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示条数</div>\r\n </td>\r\n <td height=\\"25\\">显示前几条记录</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">标题截取数</div>\r\n </td>\r\n <td height=\\"25\\">截取几个字符</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">标签模板ID</div>\r\n </td>\r\n <td height=\\"25\\">查看标签模板ID点<a onclick=\\"window.open(\\\'ListBqtemp.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a></td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">栏目ID</div>\r\n </td>\r\n <td height=\\"25\\">限制只调用某一个或多个栏目的信息<br />\r\n 多个ID可以用,号格开,如\\\'1,2\\\'</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">系统模型ID</div>\r\n </td>\r\n <td height=\\"25\\">限制只调用某一个或多个系统模型的信息<br />\r\n 多个ID可以用,号格开,如\\\'1,2\\\'</td>\r\n </tr>\r\n </tbody>\r\n</table>', 'sys_eShowTagsInfo', 'tagsinfo', 0, '[tagsinfo]TAGS的ID,显示条数,标题截取数,标签模板ID,栏目ID,系统模型ID[/tagsinfo]', 0, 0, 9);
  138. INSERT INTO `phome_enewsbq` VALUES (30, '调用碎片的信息标签', '<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">参数</div>\r\n </td>\r\n <td>参数说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">碎片变量名</div>\r\n </td>\r\n <td height=\\"25\\">查看碎片变量名点<a onclick=\\"window.open(\\\'../sp/ListSp.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a></td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示条数</div>\r\n </td>\r\n <td height=\\"25\\">显示前几条记录</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">标题截取数</div>\r\n </td>\r\n <td height=\\"25\\">截取几个字符</td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n<p><br />\r\n&nbsp;</p>\r\n<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td colspan=\\"2\\">\r\n <div align=\\"center\\">碎片标签模板变量说明</div>\r\n </td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\" width=\\"34%\\">\r\n <div align=\\"center\\">静态碎片</div>\r\n </td>\r\n <td height=\\"25\\" width=\\"66%\\">模板标签变量说明:[!--the.spname--]:碎片名称,[!--the.spid--]:碎片ID,[!--the.sppic--]:碎片效果图,[!--the.spsay--]:碎片描述\r\n <p>list.var模板标签:<br />\r\n [!--title--]:标题,[!--oldtitle--]:标题ALT,[!--newstime--]:发布时间,[!--id--]:碎片信息ID,[!--titleurl--]:标题链接,[!--titlepic--]:标题缩图,[!--bigpic--]:标题大图,[!--titlepre--]:标题左边,[!--titlenext--]:标题右边,[!--smalltext--]:内容简介,[!--no.num--]:编号</p>\r\n </td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">动态碎片</div>\r\n </td>\r\n <td height=\\"25\\">模板标签变量说明:[!--the.spname--]:碎片名称,[!--the.spid--]:碎片ID,[!--the.sppic--]:碎片效果图,[!--the.spsay--]:碎片描述\r\n <p>list.var模板标签:<br />\r\n 支持变量同模型信息调用</p>\r\n </td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">代码碎片</div>\r\n </td>\r\n <td height=\\"25\\">无需标签模板,直接显示代码内容</td>\r\n </tr>\r\n </tbody>\r\n</table>', 'sys_eShowSpInfo', 'spinfo', 0, '[spinfo]碎片变量名,显示条数,标题截取数[/spinfo]', 0, 0, 9);
  139. INSERT INTO `phome_enewsbq` VALUES (31, '调用TAGS标签', '<table border=\\"0\\" cellspacing=\\"1\\" cellpadding=\\"3\\" width=\\"100%\\" bgcolor=\\"#dbeaf5\\">\r\n <tbody>\r\n <tr>\r\n <td>\r\n <div align=\\"center\\">参数</div>\r\n </td>\r\n <td>参数说明</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">分类ID</div>\r\n </td>\r\n <td height=\\"25\\">\\\'\\\'空为不限制,查看TAGS分类ID点<a onclick=\\"window.open(\\\'../tags/TagsClass.php?[!--ehash--]\\\');\\"><strong><u>这里</u></strong></a><br />\r\n 多个可以用,号格开,如\\\'1,2\\\'<br />\r\n 内容页显示当前TAGS可以用\\\'selfinfo\\\'</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示数量</div>\r\n </td>\r\n <td height=\\"25\\">显示前几条记录,0为显示所有(\\\'selfinfo\\\'本设置无效)</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">每行显示数量</div>\r\n </td>\r\n <td height=\\"25\\">一行显示多少个TAGS,0为不换行</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示排序</div>\r\n </td>\r\n <td height=\\"25\\">使用默认设置\\\'\\\'空就可以,默认是\\\'tagid desc\\\'(\\\'selfinfo\\\'本设置无效)</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">只显示推荐</div>\r\n </td>\r\n <td height=\\"25\\">只显示推荐的TAGS,0为不限制,1为限制(\\\'selfinfo\\\'本设置无效)</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">推荐TAGS属性</div>\r\n </td>\r\n <td height=\\"25\\">如果是推荐的TAGS,内容是否要加粗或加红(\\\'selfinfo\\\'本设置无效)<br />\r\n 设置\\\'s\\\'表示加粗、\\\'r\\\'表示加红、同时加粗加红用\\\'s,r\\\'</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">显示间隔符</div>\r\n </td>\r\n <td height=\\"25\\">TAGS之间显示间隔符,默认是\\\' &amp;nbsp; \\\'</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">是否显示信息数量</div>\r\n </td>\r\n <td height=\\"25\\">是否在TAGS后显示信息数量,0为不显示,1为显示(\\\'selfinfo\\\'本设置无效)</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">链接附加参数</div>\r\n </td>\r\n <td height=\\"25\\">可指定在TAGS链接后面增加参数,比如:\\\'&amp;tempid=模板ID\\\'</td>\r\n </tr>\r\n <tr bgcolor=\\"#ffffff\\">\r\n <td height=\\"25\\">\r\n <div align=\\"center\\">链接变量名</div>\r\n </td>\r\n <td height=\\"25\\">可指定在链接使用的变量名(需加引号):tagname或tagid,默认为tagname,比如:\\\'tagname\\\'</td>\r\n </tr>\r\n </tbody>\r\n</table>', 'sys_eShowTags', 'showtags', 0, '[showtags]分类ID,显示数量,每行显示数量,显示排序,只显示推荐,推荐TAGS属性,显示间隔符,是否显示信息数,链接附加参数,链接变量名[/showtags]', 0, 0, 9);
  140. # --------------------------------------------------------
  141. DROP TABLE IF EXISTS `phome_enewsbqclass`;
  142. CREATE TABLE `phome_enewsbqclass` (
  143. `classid` smallint(5) unsigned NOT NULL auto_increment,
  144. `classname` char(30) NOT NULL default '',
  145. PRIMARY KEY (`classid`)
  146. ) TYPE=MyISAM;
  147. INSERT INTO `phome_enewsbqclass` VALUES (1, '信息调用');
  148. INSERT INTO `phome_enewsbqclass` VALUES (2, '栏目调用');
  149. INSERT INTO `phome_enewsbqclass` VALUES (3, '非信息调用');
  150. INSERT INTO `phome_enewsbqclass` VALUES (4, '其它标签');
  151. # --------------------------------------------------------
  152. DROP TABLE IF EXISTS `phome_enewsbuybak`;
  153. CREATE TABLE `phome_enewsbuybak` (
  154. `id` int(10) unsigned NOT NULL auto_increment,
  155. `username` char(20) NOT NULL default '',
  156. `card_no` char(120) NOT NULL default '',
  157. `buytime` datetime NOT NULL default '0000-00-00 00:00:00',
  158. `cardfen` int(10) unsigned NOT NULL default '0',
  159. `money` int(10) unsigned NOT NULL default '0',
  160. `userid` mediumint(8) unsigned NOT NULL default '0',
  161. `userdate` int(10) unsigned NOT NULL default '0',
  162. `type` tinyint(1) NOT NULL default '0',
  163. PRIMARY KEY (`id`),
  164. KEY `userid` (`userid`),
  165. KEY `type` (`type`)
  166. ) TYPE=MyISAM;
  167. # --------------------------------------------------------
  168. DROP TABLE IF EXISTS `phome_enewsbuygroup`;
  169. CREATE TABLE `phome_enewsbuygroup` (
  170. `id` smallint(5) unsigned NOT NULL auto_increment,
  171. `gname` varchar(255) NOT NULL default '',
  172. `gmoney` int(10) unsigned NOT NULL default '0',
  173. `gfen` int(10) unsigned NOT NULL default '0',
  174. `gdate` int(10) unsigned NOT NULL default '0',
  175. `ggroupid` smallint(5) unsigned NOT NULL default '0',
  176. `gzgroupid` smallint(5) unsigned NOT NULL default '0',
  177. `buygroupid` smallint(5) unsigned NOT NULL default '0',
  178. `gsay` text NOT NULL,
  179. `myorder` smallint(5) unsigned NOT NULL default '0',
  180. PRIMARY KEY (`id`)
  181. ) TYPE=MyISAM;
  182. # --------------------------------------------------------
  183. DROP TABLE IF EXISTS `phome_enewscard`;
  184. CREATE TABLE `phome_enewscard` (
  185. `cardid` int(10) unsigned NOT NULL auto_increment,
  186. `card_no` char(30) NOT NULL default '',
  187. `password` char(20) NOT NULL default '',
  188. `money` int(10) unsigned NOT NULL default '0',
  189. `cardfen` int(10) unsigned NOT NULL default '0',
  190. `endtime` date NOT NULL default '0000-00-00',
  191. `cardtime` datetime NOT NULL default '0000-00-00 00:00:00',
  192. `carddate` int(10) unsigned NOT NULL default '0',
  193. `cdgroupid` smallint(5) unsigned NOT NULL default '0',
  194. `cdzgroupid` smallint(5) unsigned NOT NULL default '0',
  195. PRIMARY KEY (`cardid`)
  196. ) TYPE=MyISAM;
  197. # --------------------------------------------------------
  198. DROP TABLE IF EXISTS `phome_enewsclass`;
  199. CREATE TABLE `phome_enewsclass` (
  200. `classid` smallint(5) unsigned NOT NULL auto_increment,
  201. `bclassid` smallint(5) unsigned NOT NULL default '0',
  202. `classname` varchar(50) NOT NULL default '',
  203. `sonclass` text NOT NULL,
  204. `is_zt` tinyint(1) NOT NULL default '0',
  205. `lencord` smallint(6) NOT NULL default '0',
  206. `link_num` tinyint(4) NOT NULL default '0',
  207. `newstempid` smallint(6) NOT NULL default '0',
  208. `onclick` int(11) NOT NULL default '0',
  209. `listtempid` smallint(6) NOT NULL default '0',
  210. `featherclass` text NOT NULL,
  211. `islast` tinyint(1) NOT NULL default '0',
  212. `classpath` text NOT NULL,
  213. `classtype` varchar(10) NOT NULL default '',
  214. `newspath` varchar(20) NOT NULL default '',
  215. `filename` tinyint(1) NOT NULL default '0',
  216. `filetype` varchar(10) NOT NULL default '',
  217. `openpl` tinyint(1) NOT NULL default '0',
  218. `openadd` tinyint(1) NOT NULL default '0',
  219. `newline` int(11) NOT NULL default '0',
  220. `hotline` int(11) NOT NULL default '0',
  221. `goodline` int(11) NOT NULL default '0',
  222. `classurl` varchar(200) NOT NULL default '',
  223. `groupid` smallint(6) NOT NULL default '0',
  224. `myorder` smallint(6) NOT NULL default '0',
  225. `filename_qz` varchar(20) NOT NULL default '',
  226. `hotplline` tinyint(4) NOT NULL default '0',
  227. `modid` smallint(6) NOT NULL default '0',
  228. `checked` tinyint(1) NOT NULL default '0',
  229. `firstline` tinyint(4) NOT NULL default '0',
  230. `bname` varchar(50) NOT NULL default '',
  231. `islist` tinyint(1) NOT NULL default '0',
  232. `searchtempid` smallint(6) NOT NULL default '0',
  233. `tid` smallint(6) NOT NULL default '0',
  234. `tbname` varchar(60) NOT NULL default '',
  235. `maxnum` int(11) NOT NULL default '0',
  236. `checkpl` tinyint(1) NOT NULL default '0',
  237. `down_num` tinyint(4) NOT NULL default '0',
  238. `online_num` tinyint(4) NOT NULL default '0',
  239. `listorder` varchar(50) NOT NULL default '',
  240. `reorder` varchar(50) NOT NULL default '',
  241. `intro` text NOT NULL,
  242. `classimg` varchar(255) NOT NULL default '',
  243. `jstempid` smallint(6) NOT NULL default '0',
  244. `addinfofen` int(11) NOT NULL default '0',
  245. `listdt` tinyint(1) NOT NULL default '0',
  246. `showclass` tinyint(1) NOT NULL default '0',
  247. `showdt` tinyint(1) NOT NULL default '0',
  248. `checkqadd` tinyint(1) NOT NULL default '0',
  249. `qaddlist` tinyint(1) NOT NULL default '0',
  250. `qaddgroupid` text NOT NULL,
  251. `qaddshowkey` tinyint(1) NOT NULL default '0',
  252. `adminqinfo` tinyint(1) NOT NULL default '0',
  253. `doctime` smallint(6) NOT NULL default '0',
  254. `classpagekey` varchar(255) NOT NULL default '',
  255. `dtlisttempid` smallint(6) NOT NULL default '0',
  256. `classtempid` smallint(6) NOT NULL default '0',
  257. `nreclass` tinyint(1) NOT NULL default '0',
  258. `nreinfo` tinyint(1) NOT NULL default '0',
  259. `nrejs` tinyint(1) NOT NULL default '0',
  260. `nottobq` tinyint(1) NOT NULL default '0',
  261. `ipath` varchar(255) NOT NULL default '',
  262. `addreinfo` tinyint(1) NOT NULL default '0',
  263. `haddlist` tinyint(4) NOT NULL default '0',
  264. `sametitle` tinyint(1) NOT NULL default '0',
  265. `definfovoteid` smallint(6) NOT NULL default '0',
  266. `wburl` varchar(255) NOT NULL default '',
  267. `qeditchecked` tinyint(1) NOT NULL default '0',
  268. `wapstyleid` smallint(6) NOT NULL default '0',
  269. `repreinfo` tinyint(1) NOT NULL default '0',
  270. `pltempid` smallint(6) NOT NULL default '0',
  271. `cgroupid` text NOT NULL,
  272. `yhid` smallint(6) NOT NULL default '0',
  273. `wfid` smallint(6) NOT NULL default '0',
  274. `cgtoinfo` tinyint(1) NOT NULL default '0',
  275. `bdinfoid` varchar(25) NOT NULL default '',
  276. `repagenum` smallint(5) unsigned NOT NULL default '0',
  277. `keycid` smallint(6) NOT NULL default '0',
  278. `allinfos` int(10) unsigned NOT NULL default '0',
  279. `infos` int(10) unsigned NOT NULL default '0',
  280. `addtime` int(10) unsigned NOT NULL default '0',
  281. `oneinfo` tinyint(1) NOT NULL default '0',
  282. `addsql` varchar(255) NOT NULL default '',
  283. `wapislist` tinyint(1) NOT NULL default '0',
  284. `fclast` int(10) unsigned NOT NULL default '0',
  285. PRIMARY KEY (`classid`),
  286. KEY `bclassid` (`bclassid`)
  287. ) TYPE=MyISAM;
  288. # --------------------------------------------------------
  289. DROP TABLE IF EXISTS `phome_enewsclass_stats`;
  290. CREATE TABLE `phome_enewsclass_stats` (
  291. `classid` smallint(5) unsigned NOT NULL default '0',
  292. `uptime` int(10) unsigned NOT NULL default '0',
  293. `pvall` int(10) unsigned NOT NULL default '0',
  294. `pvyear` int(10) unsigned NOT NULL default '0',
  295. `pvhalfyear` int(10) unsigned NOT NULL default '0',
  296. `pvquarter` int(10) unsigned NOT NULL default '0',
  297. `pvmonth` int(10) unsigned NOT NULL default '0',
  298. `pvweek` int(10) unsigned NOT NULL default '0',
  299. `pvday` int(10) unsigned NOT NULL default '0',
  300. `pvyesterday` int(10) unsigned NOT NULL default '0',
  301. `ipall` int(10) unsigned NOT NULL default '0',
  302. `ipyear` int(10) unsigned NOT NULL default '0',
  303. `iphalfyear` int(10) unsigned NOT NULL default '0',
  304. `ipquarter` int(10) unsigned NOT NULL default '0',
  305. `ipmonth` int(10) unsigned NOT NULL default '0',
  306. `ipweek` int(10) unsigned NOT NULL default '0',
  307. `ipday` int(10) unsigned NOT NULL default '0',
  308. `ipyesterday` int(10) unsigned NOT NULL default '0',
  309. PRIMARY KEY (`classid`)
  310. ) TYPE=MyISAM;
  311. # --------------------------------------------------------
  312. DROP TABLE IF EXISTS `phome_enewsclass_stats_ip`;
  313. CREATE TABLE `phome_enewsclass_stats_ip` (
  314. `ip` char(21) NOT NULL default '',
  315. PRIMARY KEY (`ip`)
  316. ) TYPE=MyISAM;
  317. # --------------------------------------------------------
  318. DROP TABLE IF EXISTS `phome_enewsclass_stats_set`;
  319. CREATE TABLE `phome_enewsclass_stats_set` (
  320. `openstats` tinyint(1) NOT NULL default '0',
  321. `pvtime` int(10) unsigned NOT NULL default '0',
  322. `statsdate` int(10) unsigned NOT NULL default '0',
  323. `changedate` int(10) unsigned NOT NULL default '0'
  324. ) TYPE=MyISAM;
  325. INSERT INTO `phome_enewsclass_stats_set` VALUES (0, 3600, 0, 20170227);
  326. # --------------------------------------------------------
  327. DROP TABLE IF EXISTS `phome_enewsclassadd`;
  328. CREATE TABLE `phome_enewsclassadd` (
  329. `classid` smallint(5) unsigned NOT NULL default '0',
  330. `classtext` mediumtext NOT NULL,
  331. `ttids` text NOT NULL,
  332. `eclasspagetext` mediumtext NOT NULL,
  333. PRIMARY KEY (`classid`)
  334. ) TYPE=MyISAM;
  335. # --------------------------------------------------------
  336. DROP TABLE IF EXISTS `phome_enewsclassf`;
  337. CREATE TABLE `phome_enewsclassf` (
  338. `fid` smallint(5) unsigned NOT NULL auto_increment,
  339. `f` varchar(30) NOT NULL default '',
  340. `fname` varchar(30) NOT NULL default '',
  341. `fform` varchar(20) NOT NULL default '',
  342. `fhtml` mediumtext NOT NULL,
  343. `fzs` varchar(255) NOT NULL default '',
  344. `myorder` smallint(5) unsigned NOT NULL default '0',
  345. `ftype` varchar(30) NOT NULL default '',
  346. `flen` varchar(20) NOT NULL default '',
  347. `fvalue` text NOT NULL,
  348. `fformsize` varchar(12) NOT NULL default '',
  349. PRIMARY KEY (`fid`)
  350. ) TYPE=MyISAM;
  351. # --------------------------------------------------------
  352. DROP TABLE IF EXISTS `phome_enewsclassnavcache`;
  353. CREATE TABLE `phome_enewsclassnavcache` (
  354. `navtype` char(16) NOT NULL default '',
  355. `userid` int(10) unsigned NOT NULL default '0',
  356. `modid` smallint(5) unsigned NOT NULL default '0',
  357. KEY `navtype` (`navtype`)
  358. ) TYPE=MyISAM;
  359. # --------------------------------------------------------
  360. DROP TABLE IF EXISTS `phome_enewsdiggips`;
  361. CREATE TABLE `phome_enewsdiggips` (
  362. `classid` smallint(5) unsigned NOT NULL default '0',
  363. `id` int(11) NOT NULL default '0',
  364. `ips` mediumtext NOT NULL,
  365. KEY `classid` (`classid`,`id`)
  366. ) TYPE=MyISAM;
  367. # --------------------------------------------------------
  368. DROP TABLE IF EXISTS `phome_enewsdo`;
  369. CREATE TABLE `phome_enewsdo` (
  370. `doid` smallint(5) unsigned NOT NULL auto_increment,
  371. `doname` varchar(60) NOT NULL default '',
  372. `dotime` smallint(6) NOT NULL default '0',
  373. `isopen` tinyint(1) NOT NULL default '0',
  374. `doing` tinyint(4) NOT NULL default '0',
  375. `classid` text NOT NULL,
  376. `lasttime` int(10) unsigned NOT NULL default '0',
  377. PRIMARY KEY (`doid`)
  378. ) TYPE=MyISAM;
  379. INSERT INTO `phome_enewsdo` VALUES (1, '自动刷新首页', 12, 0, 0, ',', 1273215883);
  380. # --------------------------------------------------------
  381. DROP TABLE IF EXISTS `phome_enewsdolog`;
  382. CREATE TABLE `phome_enewsdolog` (
  383. `logid` bigint(20) NOT NULL auto_increment,
  384. `logip` varchar(20) NOT NULL default '',
  385. `logtime` datetime NOT NULL default '0000-00-00 00:00:00',
  386. `username` varchar(30) NOT NULL default '',
  387. `enews` varchar(30) NOT NULL default '',
  388. `doing` varchar(255) NOT NULL default '',
  389. `pubid` bigint(16) unsigned NOT NULL default '0',
  390. `ipport` varchar(6) NOT NULL default '',
  391. PRIMARY KEY (`logid`),
  392. KEY `pubid` (`pubid`)
  393. ) TYPE=MyISAM;
  394. # --------------------------------------------------------
  395. DROP TABLE IF EXISTS `phome_enewsdownerror`;
  396. CREATE TABLE `phome_enewsdownerror` (
  397. `errorid` int(10) unsigned NOT NULL auto_increment,
  398. `id` int(10) unsigned NOT NULL default '0',
  399. `errortext` varchar(255) NOT NULL default '',
  400. `errortime` datetime NOT NULL default '0000-00-00 00:00:00',
  401. `errorip` varchar(20) NOT NULL default '',
  402. `email` varchar(80) NOT NULL default '',
  403. `classid` smallint(5) unsigned NOT NULL default '0',
  404. `cid` smallint(5) unsigned NOT NULL default '0',
  405. PRIMARY KEY (`errorid`)
  406. ) TYPE=MyISAM;
  407. # --------------------------------------------------------
  408. DROP TABLE IF EXISTS `phome_enewsdownrecord`;
  409. CREATE TABLE `phome_enewsdownrecord` (
  410. `id` int(11) NOT NULL default '0',
  411. `pathid` int(11) NOT NULL default '0',
  412. `userid` int(11) NOT NULL default '0',
  413. `username` varchar(30) NOT NULL default '',
  414. `title` varchar(120) NOT NULL default '',
  415. `cardfen` int(11) NOT NULL default '0',
  416. `truetime` int(11) NOT NULL default '0',
  417. `classid` smallint(6) NOT NULL default '0',
  418. `online` tinyint(1) NOT NULL default '0',
  419. KEY `userid` (`userid`),
  420. KEY `truetime` (`truetime`)
  421. ) TYPE=MyISAM;
  422. # --------------------------------------------------------
  423. DROP TABLE IF EXISTS `phome_enewsdownurlqz`;
  424. CREATE TABLE `phome_enewsdownurlqz` (
  425. `urlid` smallint(5) unsigned NOT NULL auto_increment,
  426. `urlname` varchar(30) NOT NULL default '',
  427. `url` varchar(255) NOT NULL default '',
  428. `downtype` tinyint(1) NOT NULL default '0',
  429. PRIMARY KEY (`urlid`)
  430. ) TYPE=MyISAM;
  431. # --------------------------------------------------------
  432. DROP TABLE IF EXISTS `phome_enewserrorclass`;
  433. CREATE TABLE `phome_enewserrorclass` (
  434. `classid` smallint(5) unsigned NOT NULL auto_increment,
  435. `classname` varchar(30) NOT NULL default '',
  436. PRIMARY KEY (`classid`)
  437. ) TYPE=MyISAM;
  438. # --------------------------------------------------------
  439. DROP TABLE IF EXISTS `phome_enewsf`;
  440. CREATE TABLE `phome_enewsf` (
  441. `fid` smallint(5) unsigned NOT NULL auto_increment,
  442. `f` varchar(30) NOT NULL default '',
  443. `fname` varchar(30) NOT NULL default '',
  444. `fform` varchar(20) NOT NULL default '',
  445. `fhtml` mediumtext NOT NULL,
  446. `fzs` varchar(255) NOT NULL default '',
  447. `isadd` tinyint(1) NOT NULL default '0',
  448. `isshow` tinyint(1) NOT NULL default '0',
  449. `iscj` tinyint(1) NOT NULL default '0',
  450. `cjhtml` mediumtext NOT NULL,
  451. `myorder` smallint(6) NOT NULL default '0',
  452. `ftype` varchar(30) NOT NULL default '',
  453. `flen` varchar(20) NOT NULL default '',
  454. `dotemp` tinyint(1) NOT NULL default '0',
  455. `tid` smallint(6) NOT NULL default '0',
  456. `tbname` varchar(60) NOT NULL default '',
  457. `savetxt` tinyint(1) NOT NULL default '0',
  458. `fvalue` text NOT NULL,
  459. `iskey` tinyint(1) NOT NULL default '0',
  460. `tobr` tinyint(1) NOT NULL default '0',
  461. `dohtml` tinyint(1) NOT NULL default '0',
  462. `qfhtml` mediumtext NOT NULL,
  463. `isonly` tinyint(1) NOT NULL default '0',
  464. `linkfieldval` varchar(30) NOT NULL default '',
  465. `samedata` tinyint(1) NOT NULL default '0',
  466. `fformsize` varchar(12) NOT NULL default '',
  467. `tbdataf` tinyint(1) NOT NULL default '0',
  468. `ispage` tinyint(1) NOT NULL default '0',
  469. `adddofun` varchar(255) NOT NULL default '',
  470. `editdofun` varchar(255) NOT NULL default '',
  471. `qadddofun` varchar(255) NOT NULL default '',
  472. `qeditdofun` varchar(255) NOT NULL default '',
  473. `linkfieldtb` varchar(60) NOT NULL default '',
  474. `linkfieldshow` varchar(30) NOT NULL default '',
  475. `editorys` tinyint(1) NOT NULL default '0',
  476. `issmalltext` tinyint(1) NOT NULL default '0',
  477. `fmvnum` varchar(30) NOT NULL default '',
  478. PRIMARY KEY (`fid`),
  479. KEY `tid` (`tid`)
  480. ) TYPE=MyISAM;
  481. # --------------------------------------------------------
  482. DROP TABLE IF EXISTS `phome_enewsfava`;
  483. CREATE TABLE `phome_enewsfava` (
  484. `favaid` bigint(20) NOT NULL auto_increment,
  485. `id` int(11) NOT NULL default '0',
  486. `favatime` datetime NOT NULL default '0000-00-00 00:00:00',
  487. `userid` int(11) NOT NULL default '0',
  488. `username` varchar(30) NOT NULL default '',
  489. `classid` smallint(6) NOT NULL default '0',
  490. `cid` int(11) NOT NULL default '0',
  491. PRIMARY KEY (`favaid`),
  492. KEY `userid` (`userid`),
  493. KEY `cid` (`cid`)
  494. ) TYPE=MyISAM;
  495. # --------------------------------------------------------
  496. DROP TABLE IF EXISTS `phome_enewsfavaclass`;
  497. CREATE TABLE `phome_enewsfavaclass` (
  498. `cid` int(11) NOT NULL auto_increment,
  499. `cname` varchar(30) NOT NULL default '',
  500. `userid` int(11) NOT NULL default '0',
  501. PRIMARY KEY (`cid`),
  502. KEY `userid` (`userid`)
  503. ) TYPE=MyISAM;
  504. # --------------------------------------------------------
  505. DROP TABLE IF EXISTS `phome_enewsfeedback`;
  506. CREATE TABLE `phome_enewsfeedback` (
  507. `id` int(10) unsigned NOT NULL auto_increment,
  508. `bid` smallint(5) unsigned NOT NULL default '0',
  509. `title` varchar(120) NOT NULL default '',
  510. `saytext` text NOT NULL,
  511. `name` varchar(30) NOT NULL default '',
  512. `email` varchar(80) NOT NULL default '',
  513. `mycall` varchar(30) NOT NULL default '',
  514. `homepage` varchar(160) NOT NULL default '',
  515. `company` varchar(80) NOT NULL default '',
  516. `address` varchar(255) NOT NULL default '',
  517. `saytime` datetime NOT NULL default '0000-00-00 00:00:00',
  518. `job` varchar(36) NOT NULL default '',
  519. `ip` varchar(20) NOT NULL default '',
  520. `filepath` varchar(20) NOT NULL default '',
  521. `filename` text NOT NULL,
  522. `userid` mediumint(8) unsigned NOT NULL default '0',
  523. `username` varchar(20) NOT NULL default '',
  524. `haveread` tinyint(1) NOT NULL default '0',
  525. `eipport` varchar(6) NOT NULL default '',
  526. PRIMARY KEY (`id`),
  527. KEY `bid` (`bid`),
  528. KEY `haveread` (`haveread`)
  529. ) TYPE=MyISAM;
  530. # --------------------------------------------------------
  531. DROP TABLE IF EXISTS `phome_enewsfeedbackclass`;
  532. CREATE TABLE `phome_enewsfeedbackclass` (
  533. `bid` smallint(5) unsigned NOT NULL auto_increment,
  534. `bname` varchar(60) NOT NULL default '',
  535. `btemp` mediumtext NOT NULL,
  536. `bzs` varchar(255) NOT NULL default '',
  537. `enter` text NOT NULL,
  538. `mustenter` text NOT NULL,
  539. `filef` varchar(255) NOT NULL default '',
  540. `groupid` smallint(6) NOT NULL default '0',
  541. `checkboxf` text NOT NULL,
  542. `usernames` text NOT NULL,
  543. PRIMARY KEY (`bid`)
  544. ) TYPE=MyISAM;
  545. INSERT INTO `phome_enewsfeedbackclass` VALUES (1, '默认反馈分类', '[!--cp.header--]\r\n<table width=100% align=center cellpadding=3 cellspacing=1 class=\\"tableborder\\">\r\n <form name=\\\'feedback\\\' method=\\\'post\\\' enctype=\\\'multipart/form-data\\\' action=\\\'../../enews/index.php\\\'>\r\n <input name=\\\'enews\\\' type=\\\'hidden\\\' value=\\\'AddFeedback\\\'>\r\n <tr>\r\n <td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'><div align=\\"right\\">您的姓名:</div></td>\r\n <td bgcolor=\\\'ffffff\\\'><input name=\\\'name\\\' type=\\\'text\\\' size=\\\'42\\\'>\r\n (*)</td>\r\n </tr>\r\n <tr>\r\n <td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'><div align=\\"right\\">职务:</div></td>\r\n <td bgcolor=\\\'ffffff\\\'><input name=\\\'job\\\' type=\\\'text\\\' size=\\\'42\\\'></td>\r\n </tr>\r\n <tr>\r\n <td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'><div align=\\"right\\">公司名称:</div></td>\r\n <td bgcolor=\\\'ffffff\\\'><input name=\\\'company\\\' type=\\\'text\\\' size=\\\'42\\\'></td>\r\n </tr>\r\n <tr>\r\n <td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'><div align=\\"right\\">联系邮箱:</div></td>\r\n <td bgcolor=\\\'ffffff\\\'><input name=\\\'email\\\' type=\\\'text\\\' size=\\\'42\\\'></td>\r\n </tr>\r\n <tr>\r\n <td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'><div align=\\"right\\">联系电话:</div></td>\r\n <td bgcolor=\\\'ffffff\\\'><input name=\\\'mycall\\\' type=\\\'text\\\' size=\\\'42\\\'>\r\n (*)</td>\r\n </tr>\r\n <tr>\r\n <td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'><div align=\\"right\\">网站:</div></td>\r\n <td bgcolor=\\\'ffffff\\\'><input name=\\\'homepage\\\' type=\\\'text\\\' size=\\\'42\\\'></td>\r\n </tr>\r\n <tr>\r\n <td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'><div align=\\"right\\">联系地址:</div></td>\r\n <td bgcolor=\\\'ffffff\\\'><input name=\\\'address\\\' type=\\\'text\\\' size=\\"42\\"></td>\r\n </tr>\r\n <tr>\r\n <td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'><div align=\\"right\\">信息标题:</div></td>\r\n <td bgcolor=\\\'ffffff\\\'><input name=\\\'title\\\' type=\\\'text\\\' size=\\"42\\"> (*)</td>\r\n </tr>\r\n <tr> \r\n <td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'><div align=\\"right\\">信息内容(*):</div></td>\r\n <td bgcolor=\\\'ffffff\\\'><textarea name=\\\'saytext\\\' cols=\\\'60\\\' rows=\\\'12\\\'></textarea> \r\n </td>\r\n </tr>\r\n <tr>\r\n <td bgcolor=\\\'ffffff\\\'></td>\r\n <td bgcolor=\\\'ffffff\\\'><input type=\\\'submit\\\' name=\\\'submit\\\' value=\\\'提交\\\'></td>\r\n </tr>\r\n </form>\r\n</table>\r\n[!--cp.footer--]', '', '您的姓名<!--field--->name<!--record-->职务<!--field--->job<!--record-->公司名称<!--field--->company<!--record-->联系邮箱<!--field--->email<!--record-->联系电话<!--field--->mycall<!--record-->网站<!--field--->homepage<!--record-->联系地址<!--field--->address<!--record-->信息标题<!--field--->title<!--record-->信息内容<!--field--->saytext<!--record-->', ',name,mycall,title,saytext,', ',', 0, '', '');
  546. # --------------------------------------------------------
  547. DROP TABLE IF EXISTS `phome_enewsfeedbackf`;
  548. CREATE TABLE `phome_enewsfeedbackf` (
  549. `fid` smallint(5) unsigned NOT NULL auto_increment,
  550. `f` varchar(30) NOT NULL default '',
  551. `fname` varchar(30) NOT NULL default '',
  552. `fform` varchar(20) NOT NULL default '',
  553. `fzs` varchar(255) NOT NULL default '',
  554. `myorder` smallint(6) NOT NULL default '0',
  555. `ftype` varchar(30) NOT NULL default '',
  556. `flen` varchar(20) NOT NULL default '',
  557. `fformsize` varchar(12) NOT NULL default '',
  558. `fvalue` text NOT NULL,
  559. PRIMARY KEY (`fid`)
  560. ) TYPE=MyISAM;
  561. INSERT INTO `phome_enewsfeedbackf` VALUES (1, 'title', '标题', 'text', '', 7, 'VARCHAR', '120', '', '');
  562. INSERT INTO `phome_enewsfeedbackf` VALUES (2, 'saytext', '内容', 'textarea', '', 8, 'TEXT', '', '', '');
  563. INSERT INTO `phome_enewsfeedbackf` VALUES (3, 'name', '姓名', 'text', '', 0, 'VARCHAR', '30', '', '');
  564. INSERT INTO `phome_enewsfeedbackf` VALUES (4, 'email', '邮箱', 'text', '', 3, 'VARCHAR', '80', '', '');
  565. INSERT INTO `phome_enewsfeedbackf` VALUES (5, 'mycall', '电话', 'text', '', 4, 'VARCHAR', '30', '', '');
  566. INSERT INTO `phome_enewsfeedbackf` VALUES (6, 'homepage', '网站', 'text', '', 5, 'VARCHAR', '160', '', '');
  567. INSERT INTO `phome_enewsfeedbackf` VALUES (7, 'company', '公司名称', 'text', '', 2, 'VARCHAR', '80', '', '');
  568. INSERT INTO `phome_enewsfeedbackf` VALUES (8, 'address', '联系地址', 'text', '', 6, 'VARCHAR', '255', '', '');
  569. INSERT INTO `phome_enewsfeedbackf` VALUES (9, 'job', '职务', 'text', '', 1, 'VARCHAR', '36', '', '');
  570. # --------------------------------------------------------
  571. DROP TABLE IF EXISTS `phome_enewsfile_1`;
  572. CREATE TABLE `phome_enewsfile_1` (
  573. `fileid` int(10) unsigned NOT NULL auto_increment,
  574. `pubid` bigint(16) unsigned NOT NULL default '0',
  575. `filename` char(60) NOT NULL default '',
  576. `filesize` int(10) unsigned NOT NULL default '0',
  577. `path` char(20) NOT NULL default '',
  578. `adduser` char(30) NOT NULL default '',
  579. `filetime` int(10) unsigned NOT NULL default '0',
  580. `classid` smallint(5) unsigned NOT NULL default '0',
  581. `no` char(60) NOT NULL default '',
  582. `type` tinyint(1) unsigned NOT NULL default '0',
  583. `onclick` mediumint(8) unsigned NOT NULL default '0',
  584. `id` int(10) unsigned NOT NULL default '0',
  585. `cjid` int(10) unsigned NOT NULL default '0',
  586. `fpath` tinyint(1) NOT NULL default '0',
  587. `modtype` tinyint(1) NOT NULL default '0',
  588. PRIMARY KEY (`fileid`),
  589. KEY `id` (`id`),
  590. KEY `type` (`type`),
  591. KEY `classid` (`classid`),
  592. KEY `pubid` (`pubid`)
  593. ) TYPE=MyISAM;
  594. # --------------------------------------------------------
  595. DROP TABLE IF EXISTS `phome_enewsfile_member`;
  596. CREATE TABLE `phome_enewsfile_member` (
  597. `fileid` int(10) unsigned NOT NULL auto_increment,
  598. `pubid` tinyint(1) NOT NULL default '0',
  599. `filename` char(60) NOT NULL default '',
  600. `filesize` int(10) unsigned NOT NULL default '0',
  601. `path` char(20) NOT NULL default '',
  602. `adduser` char(30) NOT NULL default '',
  603. `filetime` int(10) unsigned NOT NULL default '0',
  604. `classid` tinyint(1) NOT NULL default '0',
  605. `no` char(60) NOT NULL default '',
  606. `type` tinyint(1) unsigned NOT NULL default '0',
  607. `onclick` mediumint(8) unsigned NOT NULL default '0',
  608. `id` int(10) unsigned NOT NULL default '0',
  609. `cjid` int(10) unsigned NOT NULL default '0',
  610. `fpath` tinyint(1) NOT NULL default '0',
  611. `modtype` tinyint(1) NOT NULL default '0',
  612. PRIMARY KEY (`fileid`),
  613. KEY `id` (`id`),
  614. KEY `type` (`type`)
  615. ) TYPE=MyISAM;
  616. # --------------------------------------------------------
  617. DROP TABLE IF EXISTS `phome_enewsfile_other`;
  618. CREATE TABLE `phome_enewsfile_other` (
  619. `fileid` int(10) unsigned NOT NULL auto_increment,
  620. `pubid` tinyint(1) NOT NULL default '0',
  621. `filename` char(60) NOT NULL default '',
  622. `filesize` int(10) unsigned NOT NULL default '0',
  623. `path` char(20) NOT NULL default '',
  624. `adduser` char(30) NOT NULL default '',
  625. `filetime` int(10) unsigned NOT NULL default '0',
  626. `classid` tinyint(1) NOT NULL default '0',
  627. `no` char(60) NOT NULL default '',
  628. `type` tinyint(1) unsigned NOT NULL default '0',
  629. `onclick` mediumint(8) unsigned NOT NULL default '0',
  630. `id` int(10) unsigned NOT NULL default '0',
  631. `cjid` int(10) unsigned NOT NULL default '0',
  632. `fpath` tinyint(1) NOT NULL default '0',
  633. `modtype` tinyint(3) unsigned NOT NULL default '0',
  634. PRIMARY KEY (`fileid`),
  635. KEY `id` (`id`),
  636. KEY `type` (`type`),
  637. KEY `modtype` (`modtype`)
  638. ) TYPE=MyISAM;
  639. # --------------------------------------------------------
  640. DROP TABLE IF EXISTS `phome_enewsfile_public`;
  641. CREATE TABLE `phome_enewsfile_public` (
  642. `fileid` int(10) unsigned NOT NULL auto_increment,
  643. `pubid` tinyint(1) NOT NULL default '0',
  644. `filename` char(60) NOT NULL default '',
  645. `filesize` int(10) unsigned NOT NULL default '0',
  646. `path` char(20) NOT NULL default '',
  647. `adduser` char(30) NOT NULL default '',
  648. `filetime` int(10) unsigned NOT NULL default '0',
  649. `classid` tinyint(1) NOT NULL default '0',
  650. `no` char(60) NOT NULL default '',
  651. `type` tinyint(1) unsigned NOT NULL default '0',
  652. `onclick` mediumint(8) unsigned NOT NULL default '0',
  653. `id` int(10) unsigned NOT NULL default '0',
  654. `cjid` int(10) unsigned NOT NULL default '0',
  655. `fpath` tinyint(1) NOT NULL default '0',
  656. `modtype` tinyint(3) unsigned NOT NULL default '0',
  657. PRIMARY KEY (`fileid`),
  658. KEY `id` (`id`),
  659. KEY `type` (`type`),
  660. KEY `modtype` (`modtype`)
  661. ) TYPE=MyISAM;
  662. # --------------------------------------------------------
  663. DROP TABLE IF EXISTS `phome_enewsgbook`;
  664. CREATE TABLE `phome_enewsgbook` (
  665. `lyid` int(10) unsigned NOT NULL auto_increment,
  666. `name` varchar(30) NOT NULL default '',
  667. `email` varchar(80) NOT NULL default '',
  668. `mycall` varchar(30) NOT NULL default '',
  669. `lytime` datetime NOT NULL default '0000-00-00 00:00:00',
  670. `lytext` text NOT NULL,
  671. `retext` text NOT NULL,
  672. `bid` smallint(5) unsigned NOT NULL default '0',
  673. `ip` varchar(20) NOT NULL default '',
  674. `checked` tinyint(1) NOT NULL default '0',
  675. `userid` mediumint(8) unsigned NOT NULL default '0',
  676. `username` varchar(20) NOT NULL default '',
  677. `eipport` varchar(6) NOT NULL default '',
  678. PRIMARY KEY (`lyid`),
  679. KEY `bid` (`bid`)
  680. ) TYPE=MyISAM;
  681. # --------------------------------------------------------
  682. DROP TABLE IF EXISTS `phome_enewsgbookclass`;
  683. CREATE TABLE `phome_enewsgbookclass` (
  684. `bid` smallint(5) unsigned NOT NULL auto_increment,
  685. `bname` varchar(60) NOT NULL default '',
  686. `checked` tinyint(1) NOT NULL default '0',
  687. `groupid` smallint(6) NOT NULL default '0',
  688. PRIMARY KEY (`bid`)
  689. ) TYPE=MyISAM;
  690. INSERT INTO `phome_enewsgbookclass` VALUES (1, '默认留言分类', 0, 0);
  691. # --------------------------------------------------------
  692. DROP TABLE IF EXISTS `phome_enewsgfenip`;
  693. CREATE TABLE `phome_enewsgfenip` (
  694. `ip` varchar(20) NOT NULL default '',
  695. `addtime` int(11) NOT NULL default '0',
  696. UNIQUE KEY `ip` (`ip`)
  697. ) TYPE=MyISAM;
  698. # --------------------------------------------------------
  699. DROP TABLE IF EXISTS `phome_enewsgoodtype`;
  700. CREATE TABLE `phome_enewsgoodtype` (
  701. `tid` smallint(5) unsigned NOT NULL auto_increment,
  702. `tname` varchar(60) NOT NULL default '',
  703. `ttype` tinyint(1) NOT NULL default '0',
  704. `levelid` tinyint(3) unsigned NOT NULL default '0',
  705. `myorder` smallint(6) NOT NULL default '0',
  706. `groupid` varchar(255) NOT NULL default '',
  707. `showall` tinyint(1) NOT NULL default '0',
  708. `showcid` text NOT NULL,
  709. `hiddencid` text NOT NULL,
  710. PRIMARY KEY (`tid`),
  711. KEY `ttype` (`ttype`),
  712. KEY `levelid` (`levelid`),
  713. KEY `myorder` (`myorder`)
  714. ) TYPE=MyISAM;
  715. INSERT INTO `phome_enewsgoodtype` VALUES (1, '一级头条', 1, 1, 0, '', 0, '', '');
  716. INSERT INTO `phome_enewsgoodtype` VALUES (2, '二级头条', 1, 2, 0, '', 0, '', '');
  717. INSERT INTO `phome_enewsgoodtype` VALUES (3, '三级头条', 1, 3, 0, '', 0, '', '');
  718. INSERT INTO `phome_enewsgoodtype` VALUES (4, '四级头条', 1, 4, 0, '', 0, '', '');
  719. INSERT INTO `phome_enewsgoodtype` VALUES (5, '五级头条', 1, 5, 0, '', 0, '', '');
  720. INSERT INTO `phome_enewsgoodtype` VALUES (6, '六级头条', 1, 6, 0, '', 0, '', '');
  721. INSERT INTO `phome_enewsgoodtype` VALUES (7, '七级头条', 1, 7, 0, '', 0, '', '');
  722. INSERT INTO `phome_enewsgoodtype` VALUES (8, '八级头条', 1, 8, 0, '', 0, '', '');
  723. INSERT INTO `phome_enewsgoodtype` VALUES (9, '九级头条', 1, 9, 0, '', 0, '', '');
  724. INSERT INTO `phome_enewsgoodtype` VALUES (10, '一级推荐', 0, 1, 0, '', 0, '', '');
  725. INSERT INTO `phome_enewsgoodtype` VALUES (11, '二级推荐', 0, 2, 0, '', 0, '', '');
  726. INSERT INTO `phome_enewsgoodtype` VALUES (12, '三级推荐', 0, 3, 0, '', 0, '', '');
  727. INSERT INTO `phome_enewsgoodtype` VALUES (13, '四级推荐', 0, 4, 0, '', 0, '', '');
  728. INSERT INTO `phome_enewsgoodtype` VALUES (14, '五级推荐', 0, 5, 0, '', 0, '', '');
  729. INSERT INTO `phome_enewsgoodtype` VALUES (15, '六级推荐', 0, 6, 0, '', 0, '', '');
  730. INSERT INTO `phome_enewsgoodtype` VALUES (16, '七级推荐', 0, 7, 0, '', 0, '', '');
  731. INSERT INTO `phome_enewsgoodtype` VALUES (17, '八级推荐', 0, 8, 0, '', 0, '', '');
  732. INSERT INTO `phome_enewsgoodtype` VALUES (18, '九级推荐', 0, 9, 0, '', 0, '', '');
  733. # --------------------------------------------------------
  734. DROP TABLE IF EXISTS `phome_enewsgroup`;
  735. CREATE TABLE `phome_enewsgroup` (
  736. `groupid` smallint(6) NOT NULL auto_increment,
  737. `groupname` varchar(50) NOT NULL default '',
  738. `dopublic` tinyint(1) NOT NULL default '0',
  739. `doclass` tinyint(1) NOT NULL default '0',
  740. `dotemplate` tinyint(1) NOT NULL default '0',
  741. `dopicnews` tinyint(1) NOT NULL default '0',
  742. `dofile` tinyint(1) NOT NULL default '0',
  743. `douser` tinyint(1) NOT NULL default '0',
  744. `dolog` tinyint(1) NOT NULL default '0',
  745. `domember` tinyint(1) NOT NULL default '0',
  746. `dobefrom` tinyint(1) NOT NULL default '0',
  747. `doword` tinyint(1) NOT NULL default '0',
  748. `dokey` tinyint(1) NOT NULL default '0',
  749. `doad` tinyint(1) NOT NULL default '0',
  750. `dovote` tinyint(1) NOT NULL default '0',
  751. `dogroup` tinyint(1) NOT NULL default '0',
  752. `doall` tinyint(1) NOT NULL default '0',
  753. `docj` tinyint(1) NOT NULL default '0',
  754. `dobq` tinyint(1) NOT NULL default '0',
  755. `domovenews` tinyint(1) NOT NULL default '0',
  756. `dopostdata` tinyint(1) NOT NULL default '0',
  757. `dochangedata` tinyint(1) NOT NULL default '0',
  758. `dopl` tinyint(1) NOT NULL default '0',
  759. `dof` tinyint(1) NOT NULL default '0',
  760. `dom` tinyint(1) NOT NULL default '0',
  761. `dodo` tinyint(1) NOT NULL default '0',
  762. `dodbdata` tinyint(1) NOT NULL default '0',
  763. `dorepnewstext` tinyint(1) NOT NULL default '0',
  764. `dotempvar` tinyint(1) NOT NULL default '0',
  765. `dostats` tinyint(1) NOT NULL default '0',
  766. `dowriter` tinyint(1) NOT NULL default '0',
  767. `dototaldata` tinyint(1) NOT NULL default '0',
  768. `dosearchkey` tinyint(1) NOT NULL default '0',
  769. `dozt` tinyint(1) NOT NULL default '0',
  770. `docard` tinyint(1) NOT NULL default '0',
  771. `dolink` tinyint(1) NOT NULL default '0',
  772. `doselfinfo` tinyint(1) NOT NULL default '0',
  773. `doexecsql` tinyint(1) NOT NULL default '0',
  774. `dotable` tinyint(1) NOT NULL default '0',
  775. `dodownurl` tinyint(1) NOT NULL default '0',
  776. `dodeldownrecord` tinyint(1) NOT NULL default '0',
  777. `doshoppayfs` tinyint(1) NOT NULL default '0',
  778. `doshopps` tinyint(1) NOT NULL default '0',
  779. `doshopdd` tinyint(1) NOT NULL default '0',
  780. `dogbook` tinyint(1) NOT NULL default '0',
  781. `dofeedback` tinyint(1) NOT NULL default '0',
  782. `douserpage` tinyint(1) NOT NULL default '0',
  783. `donotcj` tinyint(1) NOT NULL default '0',
  784. `dodownerror` tinyint(1) NOT NULL default '0',
  785. `dodelinfodata` tinyint(1) NOT NULL default '0',
  786. `doaddinfo` tinyint(1) NOT NULL default '0',
  787. `doeditinfo` tinyint(1) NOT NULL default '0',
  788. `dodelinfo` tinyint(1) NOT NULL default '0',
  789. `doadminstyle` tinyint(1) NOT NULL default '0',
  790. `dorepdownpath` tinyint(1) NOT NULL default '0',
  791. `douserjs` tinyint(1) NOT NULL default '0',
  792. `douserlist` tinyint(1) NOT NULL default '0',
  793. `domsg` tinyint(1) NOT NULL default '0',
  794. `dosendemail` tinyint(1) NOT NULL default '0',
  795. `dosetmclass` tinyint(1) NOT NULL default '0',
  796. `doinfodoc` tinyint(1) NOT NULL default '0',
  797. `dotempgroup` tinyint(1) NOT NULL default '0',
  798. `dofeedbackf` tinyint(1) NOT NULL default '0',
  799. `dotask` tinyint(1) NOT NULL default '0',
  800. `domemberf` tinyint(1) NOT NULL default '0',
  801. `dospacestyle` tinyint(1) NOT NULL default '0',
  802. `dospacedata` tinyint(1) NOT NULL default '0',
  803. `dovotemod` tinyint(1) NOT NULL default '0',
  804. `doplayer` tinyint(1) NOT NULL default '0',
  805. `dowap` tinyint(1) NOT NULL default '0',
  806. `dopay` tinyint(1) NOT NULL default '0',
  807. `dobuygroup` tinyint(1) NOT NULL default '0',
  808. `dosearchall` tinyint(1) NOT NULL default '0',
  809. `doinfotype` tinyint(1) NOT NULL default '0',
  810. `doplf` tinyint(1) NOT NULL default '0',
  811. `dopltable` tinyint(1) NOT NULL default '0',
  812. `dochadminstyle` tinyint(1) NOT NULL default '0',
  813. `dotags` tinyint(1) NOT NULL default '0',
  814. `dosp` tinyint(1) NOT NULL default '0',
  815. `doyh` tinyint(1) NOT NULL default '0',
  816. `dofirewall` tinyint(1) NOT NULL default '0',
  817. `dosetsafe` tinyint(1) NOT NULL default '0',
  818. `douserclass` tinyint(1) NOT NULL default '0',
  819. `doworkflow` tinyint(1) NOT NULL default '0',
  820. `domenu` tinyint(1) NOT NULL default '0',
  821. `dopubvar` tinyint(1) NOT NULL default '0',
  822. `doclassf` tinyint(1) NOT NULL default '0',
  823. `doztf` tinyint(1) NOT NULL default '0',
  824. `dofiletable` tinyint(1) NOT NULL default '0',
  825. `docheckinfo` tinyint(1) NOT NULL default '0',
  826. `dogoodinfo` tinyint(1) NOT NULL default '0',
  827. `dodocinfo` tinyint(1) NOT NULL default '0',
  828. `domoveinfo` tinyint(1) NOT NULL default '0',
  829. `dodttemp` tinyint(1) NOT NULL default '0',
  830. `doloadcj` tinyint(1) NOT NULL default '0',
  831. `domustcheck` tinyint(1) NOT NULL default '0',
  832. `docheckedit` tinyint(1) NOT NULL default '0',
  833. `domemberconnect` tinyint(1) NOT NULL default '0',
  834. `doprecode` tinyint(1) NOT NULL default '0',
  835. `domoreport` tinyint(1) NOT NULL default '0',
  836. `docanhtml` tinyint(1) NOT NULL default '0',
  837. `dodelclass` tinyint(1) NOT NULL default '0',
  838. `doinfofile` tinyint(1) NOT NULL default '0',
  839. `doingroup` tinyint(1) NOT NULL default '0',
  840. `domembergroup` tinyint(1) NOT NULL default '0',
  841. `doviewgroup` tinyint(1) NOT NULL default '0',
  842. `domadmingroup` tinyint(1) NOT NULL default '0',
  843. `dochmoreport` tinyint(1) NOT NULL default '0',
  844. `doisqf` tinyint(1) NOT NULL default '0',
  845. PRIMARY KEY (`groupid`)
  846. ) TYPE=MyISAM;
  847. INSERT INTO `phome_enewsgroup` VALUES (1, '超级管理员', 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0);
  848. # --------------------------------------------------------
  849. DROP TABLE IF EXISTS `phome_enewshmsg`;
  850. CREATE TABLE `phome_enewshmsg` (
  851. `mid` int(10) unsigned NOT NULL auto_increment,
  852. `title` varchar(80) NOT NULL default '',
  853. `msgtext` text NOT NULL,
  854. `haveread` tinyint(1) NOT NULL default '0',
  855. `msgtime` datetime NOT NULL default '0000-00-00 00:00:00',
  856. `to_username` varchar(30) NOT NULL default '',
  857. `from_userid` int(10) unsigned NOT NULL default '0',
  858. `from_username` varchar(30) NOT NULL default '',
  859. `isadmin` tinyint(1) NOT NULL default '0',
  860. `issys` tinyint(1) NOT NULL default '0',
  861. PRIMARY KEY (`mid`),
  862. KEY `to_username` (`to_username`)
  863. ) TYPE=MyISAM;
  864. # --------------------------------------------------------
  865. DROP TABLE IF EXISTS `phome_enewshnotice`;
  866. CREATE TABLE `phome_enewshnotice` (
  867. `mid` int(10) unsigned NOT NULL auto_increment,
  868. `title` varchar(80) NOT NULL default '',
  869. `msgtext` text NOT NULL,
  870. `haveread` tinyint(1) NOT NULL default '0',
  871. `msgtime` datetime NOT NULL default '0000-00-00 00:00:00',
  872. `to_username` varchar(30) NOT NULL default '',
  873. `from_userid` int(10) unsigned NOT NULL default '0',
  874. `from_username` varchar(30) NOT NULL default '',
  875. PRIMARY KEY (`mid`),
  876. KEY `to_username` (`to_username`)
  877. ) TYPE=MyISAM;
  878. # --------------------------------------------------------
  879. DROP TABLE IF EXISTS `phome_enewshy`;
  880. CREATE TABLE `phome_enewshy` (
  881. `fid` bigint(20) NOT NULL auto_increment,
  882. `userid` int(11) NOT NULL default '0',
  883. `fname` varchar(30) NOT NULL default '',
  884. `cid` int(11) NOT NULL default '0',
  885. `fsay` varchar(255) NOT NULL default '',
  886. PRIMARY KEY (`fid`),
  887. KEY `userid` (`userid`),
  888. KEY `cid` (`cid`)
  889. ) TYPE=MyISAM;
  890. # --------------------------------------------------------
  891. DROP TABLE IF EXISTS `phome_enewshyclass`;
  892. CREATE TABLE `phome_enewshyclass` (
  893. `cid` int(11) NOT NULL auto_increment,
  894. `cname` varchar(30) NOT NULL default '',
  895. `userid` int(11) NOT NULL default '0',
  896. PRIMARY KEY (`cid`),
  897. KEY `userid` (`userid`)
  898. ) TYPE=MyISAM;
  899. # --------------------------------------------------------
  900. DROP TABLE IF EXISTS `phome_enewsinfoclass`;
  901. CREATE TABLE `phome_enewsinfoclass` (
  902. `classid` int(11) NOT NULL auto_increment,
  903. `bclassid` int(11) NOT NULL default '0',
  904. `classname` varchar(100) NOT NULL default '',
  905. `infourl` mediumtext NOT NULL,
  906. `newsclassid` smallint(6) NOT NULL default '0',
  907. `startday` date NOT NULL default '0000-00-00',
  908. `endday` date NOT NULL default '0000-00-00',
  909. `bz` text NOT NULL,
  910. `num` smallint(6) NOT NULL default '0',
  911. `copyimg` tinyint(1) NOT NULL default '0',
  912. `renum` smallint(6) NOT NULL default '0',
  913. `keyboard` text NOT NULL,
  914. `oldword` text NOT NULL,
  915. `newword` text NOT NULL,
  916. `titlelen` smallint(6) NOT NULL default '0',
  917. `retitlewriter` tinyint(1) NOT NULL default '0',
  918. `smalltextlen` smallint(6) NOT NULL default '0',
  919. `zz_smallurl` text NOT NULL,
  920. `zz_newsurl` text NOT NULL,
  921. `httpurl` varchar(255) NOT NULL default '',
  922. `repad` text NOT NULL,
  923. `imgurl` varchar(255) NOT NULL default '',
  924. `relistnum` smallint(6) NOT NULL default '0',
  925. `zz_titlepicl` text NOT NULL,
  926. `z_titlepicl` varchar(255) NOT NULL default '',
  927. `qz_titlepicl` varchar(255) NOT NULL default '',
  928. `save_titlepicl` varchar(10) NOT NULL default '',
  929. `keynum` tinyint(4) NOT NULL default '0',
  930. `insertnum` smallint(6) NOT NULL default '0',
  931. `copyflash` tinyint(1) NOT NULL default '0',
  932. `tid` smallint(6) NOT NULL default '0',
  933. `tbname` varchar(60) NOT NULL default '',
  934. `pagetype` tinyint(1) NOT NULL default '0',
  935. `smallpagezz` text NOT NULL,
  936. `pagezz` text NOT NULL,
  937. `smallpageallzz` text NOT NULL,
  938. `pageallzz` text NOT NULL,
  939. `mark` tinyint(1) NOT NULL default '0',
  940. `enpagecode` tinyint(1) NOT NULL default '0',
  941. `recjtheurl` tinyint(1) NOT NULL default '0',
  942. `hiddenload` tinyint(1) NOT NULL default '0',
  943. `justloadin` tinyint(1) NOT NULL default '0',
  944. `justloadcheck` tinyint(1) NOT NULL default '0',
  945. `delloadinfo` tinyint(1) NOT NULL default '0',
  946. `pagerepad` mediumtext NOT NULL,
  947. `newsztid` text NOT NULL,
  948. `getfirstpic` tinyint(4) NOT NULL default '0',
  949. `oldpagerep` text NOT NULL,
  950. `newpagerep` text NOT NULL,
  951. `keeptime` smallint(6) NOT NULL default '0',
  952. `lasttime` int(11) NOT NULL default '0',
  953. `newstextisnull` tinyint(1) NOT NULL default '0',
  954. `getfirstspic` tinyint(1) NOT NULL default '0',
  955. `getfirstspicw` smallint(6) NOT NULL default '0',
  956. `getfirstspich` smallint(6) NOT NULL default '0',
  957. `doaddtextpage` tinyint(1) NOT NULL default '0',
  958. `infourlispage` tinyint(1) NOT NULL default '0',
  959. `repf` varchar(255) NOT NULL default '',
  960. `repadf` varchar(255) NOT NULL default '',
  961. `loadkeeptime` smallint(6) NOT NULL default '0',
  962. `isnullf` varchar(255) NOT NULL default '',
  963. PRIMARY KEY (`classid`),
  964. KEY `newsclassid` (`newsclassid`)
  965. ) TYPE=MyISAM;
  966. # --------------------------------------------------------
  967. DROP TABLE IF EXISTS `phome_enewsinfotype`;
  968. CREATE TABLE `phome_enewsinfotype` (
  969. `typeid` smallint(5) unsigned NOT NULL auto_increment,
  970. `tname` varchar(30) NOT NULL default '',
  971. `mid` smallint(6) NOT NULL default '0',
  972. `myorder` smallint(6) NOT NULL default '0',
  973. `yhid` smallint(6) NOT NULL default '0',
  974. `tnum` tinyint(3) unsigned NOT NULL default '0',
  975. `listtempid` smallint(5) unsigned NOT NULL default '0',
  976. `tpath` varchar(100) NOT NULL default '',
  977. `ttype` varchar(10) NOT NULL default '',
  978. `maxnum` int(10) unsigned NOT NULL default '0',
  979. `reorder` varchar(50) NOT NULL default '',
  980. `tid` smallint(5) unsigned NOT NULL default '0',
  981. `tbname` varchar(60) NOT NULL default '',
  982. `timg` varchar(200) NOT NULL default '',
  983. `intro` varchar(255) NOT NULL default '',
  984. `pagekey` varchar(255) NOT NULL default '',
  985. `newline` tinyint(3) unsigned NOT NULL default '0',
  986. `hotline` tinyint(3) unsigned NOT NULL default '0',
  987. `goodline` tinyint(3) unsigned NOT NULL default '0',
  988. `hotplline` tinyint(3) unsigned NOT NULL default '0',
  989. `firstline` tinyint(3) unsigned NOT NULL default '0',
  990. `jstempid` smallint(5) unsigned NOT NULL default '0',
  991. `nrejs` tinyint(1) NOT NULL default '0',
  992. `listdt` tinyint(1) NOT NULL default '0',
  993. `repagenum` smallint(5) unsigned NOT NULL default '0',
  994. `fclast` int(10) unsigned NOT NULL default '0',
  995. PRIMARY KEY (`typeid`),
  996. KEY `mid` (`mid`),
  997. KEY `myorder` (`myorder`)
  998. ) TYPE=MyISAM;
  999. # --------------------------------------------------------
  1000. DROP TABLE IF EXISTS `phome_enewsinfovote`;
  1001. CREATE TABLE `phome_enewsinfovote` (
  1002. `pubid` bigint(16) unsigned NOT NULL default '0',
  1003. `id` int(10) unsigned NOT NULL default '0',
  1004. `classid` smallint(5) unsigned NOT NULL default '0',
  1005. `title` varchar(120) NOT NULL default '',
  1006. `votenum` int(10) unsigned NOT NULL default '0',
  1007. `voteip` mediumtext NOT NULL,
  1008. `votetext` text NOT NULL,
  1009. `voteclass` tinyint(1) NOT NULL default '0',
  1010. `doip` tinyint(1) NOT NULL default '0',
  1011. `dotime` date NOT NULL default '0000-00-00',
  1012. `tempid` smallint(5) unsigned NOT NULL default '0',
  1013. `width` int(10) unsigned NOT NULL default '0',
  1014. `height` int(10) unsigned NOT NULL default '0',
  1015. `diyotherlink` tinyint(1) NOT NULL default '0',
  1016. `infouptime` int(10) unsigned NOT NULL default '0',
  1017. `infodowntime` int(10) unsigned NOT NULL default '0',
  1018. `copyids` varchar(255) NOT NULL default '',
  1019. PRIMARY KEY (`pubid`),
  1020. KEY `id` (`id`,`classid`)
  1021. ) TYPE=MyISAM;
  1022. # --------------------------------------------------------
  1023. DROP TABLE IF EXISTS `phome_enewsingroup`;
  1024. CREATE TABLE `phome_enewsingroup` (
  1025. `gid` smallint(5) unsigned NOT NULL auto_increment,
  1026. `gname` char(60) NOT NULL default '',
  1027. `myorder` smallint(6) NOT NULL default '0',
  1028. PRIMARY KEY (`gid`),
  1029. KEY `myorder` (`myorder`)
  1030. ) TYPE=MyISAM;
  1031. # --------------------------------------------------------
  1032. DROP TABLE IF EXISTS `phome_enewskey`;
  1033. CREATE TABLE `phome_enewskey` (
  1034. `keyid` smallint(5) unsigned NOT NULL auto_increment,
  1035. `keyname` char(50) NOT NULL default '',
  1036. `keyurl` char(200) NOT NULL default '',
  1037. `cid` smallint(5) unsigned NOT NULL default '0',
  1038. PRIMARY KEY (`keyid`),
  1039. KEY `cid` (`cid`)
  1040. ) TYPE=MyISAM;
  1041. # --------------------------------------------------------
  1042. DROP TABLE IF EXISTS `phome_enewskeyclass`;
  1043. CREATE TABLE `phome_enewskeyclass` (
  1044. `classid` smallint(5) unsigned NOT NULL auto_increment,
  1045. `classname` char(30) NOT NULL default '',
  1046. PRIMARY KEY (`classid`)
  1047. ) TYPE=MyISAM;
  1048. # --------------------------------------------------------
  1049. DROP TABLE IF EXISTS `phome_enewslink`;
  1050. CREATE TABLE `phome_enewslink` (
  1051. `lid` smallint(5) unsigned NOT NULL auto_increment,
  1052. `lname` varchar(100) NOT NULL default '',
  1053. `lpic` varchar(255) NOT NULL default '',
  1054. `lurl` varchar(255) NOT NULL default '',
  1055. `ltime` datetime NOT NULL default '0000-00-00 00:00:00',
  1056. `onclick` int(11) NOT NULL default '0',
  1057. `width` varchar(10) NOT NULL default '',
  1058. `height` varchar(10) NOT NULL default '',
  1059. `target` varchar(10) NOT NULL default '',
  1060. `myorder` tinyint(4) NOT NULL default '0',
  1061. `email` varchar(60) NOT NULL default '',
  1062. `lsay` text NOT NULL,
  1063. `checked` tinyint(1) NOT NULL default '0',
  1064. `ltype` smallint(6) NOT NULL default '0',
  1065. `classid` smallint(5) unsigned NOT NULL default '0',
  1066. PRIMARY KEY (`lid`),
  1067. KEY `classid` (`classid`)
  1068. ) TYPE=MyISAM;
  1069. # --------------------------------------------------------
  1070. DROP TABLE IF EXISTS `phome_enewslinkclass`;
  1071. CREATE TABLE `phome_enewslinkclass` (
  1072. `classid` smallint(5) unsigned NOT NULL auto_increment,
  1073. `classname` varchar(30) NOT NULL default '',
  1074. PRIMARY KEY (`classid`)
  1075. ) TYPE=MyISAM;
  1076. # --------------------------------------------------------
  1077. DROP TABLE IF EXISTS `phome_enewslinktmp`;
  1078. CREATE TABLE `phome_enewslinktmp` (
  1079. `newsurl` varchar(255) NOT NULL default '',
  1080. `checkrnd` varchar(50) NOT NULL default '',
  1081. `linkid` bigint(20) NOT NULL auto_increment,
  1082. `titlepic` varchar(255) NOT NULL default '',
  1083. PRIMARY KEY (`linkid`),
  1084. KEY `checkrnd` (`checkrnd`)
  1085. ) TYPE=MyISAM;
  1086. # --------------------------------------------------------
  1087. DROP TABLE IF EXISTS `phome_enewslog`;
  1088. CREATE TABLE `phome_enewslog` (
  1089. `loginid` int(10) unsigned NOT NULL auto_increment,
  1090. `username` varchar(30) NOT NULL default '',
  1091. `logintime` datetime NOT NULL default '0000-00-00 00:00:00',
  1092. `loginip` varchar(20) NOT NULL default '',
  1093. `status` tinyint(1) NOT NULL default '0',
  1094. `password` varchar(30) NOT NULL default '',
  1095. `loginauth` tinyint(1) NOT NULL default '0',
  1096. `ipport` varchar(6) NOT NULL default '',
  1097. PRIMARY KEY (`loginid`),
  1098. KEY `status` (`status`)
  1099. ) TYPE=MyISAM;
  1100. # --------------------------------------------------------
  1101. DROP TABLE IF EXISTS `phome_enewsloginfail`;
  1102. CREATE TABLE `phome_enewsloginfail` (
  1103. `ip` varchar(20) NOT NULL default '',
  1104. `num` tinyint(4) NOT NULL default '0',
  1105. `lasttime` int(11) NOT NULL default '0',
  1106. PRIMARY KEY (`ip`)
  1107. ) TYPE=MyISAM;
  1108. # --------------------------------------------------------
  1109. DROP TABLE IF EXISTS `phome_enewsmember`;
  1110. CREATE TABLE `phome_enewsmember` (
  1111. `userid` int(10) unsigned NOT NULL auto_increment,
  1112. `username` char(20) NOT NULL default '',
  1113. `password` char(32) NOT NULL default '',
  1114. `rnd` char(20) NOT NULL default '',
  1115. `email` char(50) NOT NULL default '',
  1116. `registertime` int(10) unsigned NOT NULL default '0',
  1117. `groupid` smallint(5) unsigned NOT NULL default '0',
  1118. `userfen` mediumint(8) unsigned NOT NULL default '0',
  1119. `userdate` int(10) unsigned NOT NULL default '0',
  1120. `money` float(11,2) NOT NULL default '0.00',
  1121. `zgroupid` smallint(5) unsigned NOT NULL default '0',
  1122. `havemsg` tinyint(1) NOT NULL default '0',
  1123. `checked` tinyint(1) NOT NULL default '0',
  1124. `salt` char(8) NOT NULL default '',
  1125. `userkey` char(12) NOT NULL default '',
  1126. `ingid` smallint(5) unsigned NOT NULL default '0',
  1127. `agid` smallint(5) unsigned NOT NULL default '0',
  1128. `isern` tinyint(1) NOT NULL default '0',
  1129. PRIMARY KEY (`userid`),
  1130. UNIQUE KEY `username` (`username`),
  1131. KEY `groupid` (`groupid`),
  1132. KEY `ingid` (`ingid`)
  1133. ) TYPE=MyISAM;
  1134. # --------------------------------------------------------
  1135. DROP TABLE IF EXISTS `phome_enewsmember_connect`;
  1136. CREATE TABLE `phome_enewsmember_connect` (
  1137. `id` int(10) unsigned NOT NULL auto_increment,
  1138. `userid` mediumint(8) unsigned NOT NULL default '0',
  1139. `apptype` char(20) NOT NULL default '',
  1140. `bindkey` char(32) NOT NULL default '',
  1141. `bindtime` int(10) unsigned NOT NULL default '0',
  1142. `loginnum` int(10) unsigned NOT NULL default '0',
  1143. `lasttime` int(10) unsigned NOT NULL default '0',
  1144. PRIMARY KEY (`id`),
  1145. KEY `userid` (`userid`),
  1146. KEY `bindkey` (`bindkey`),
  1147. KEY `apptype` (`apptype`)
  1148. ) TYPE=MyISAM;
  1149. # --------------------------------------------------------
  1150. DROP TABLE IF EXISTS `phome_enewsmember_connect_app`;
  1151. CREATE TABLE `phome_enewsmember_connect_app` (
  1152. `id` smallint(5) unsigned NOT NULL auto_increment,
  1153. `apptype` char(20) NOT NULL default '',
  1154. `appname` char(30) NOT NULL default '',
  1155. `appid` char(60) NOT NULL default '',
  1156. `appkey` char(120) NOT NULL default '',
  1157. `isclose` tinyint(1) NOT NULL default '0',
  1158. `myorder` smallint(5) unsigned NOT NULL default '0',
  1159. `qappname` char(30) NOT NULL default '',
  1160. `appsay` char(255) NOT NULL default '',
  1161. PRIMARY KEY (`id`),
  1162. UNIQUE KEY `apptype` (`apptype`),
  1163. KEY `isclose` (`isclose`),
  1164. KEY `myorder` (`myorder`)
  1165. ) TYPE=MyISAM;
  1166. # --------------------------------------------------------
  1167. DROP TABLE IF EXISTS `phome_enewsmemberadd`;
  1168. CREATE TABLE `phome_enewsmemberadd` (
  1169. `userid` int(10) unsigned NOT NULL default '0',
  1170. `truename` varchar(20) NOT NULL default '',
  1171. `oicq` varchar(25) NOT NULL default '',
  1172. `msn` varchar(120) NOT NULL default '',
  1173. `mycall` varchar(30) NOT NULL default '',
  1174. `phone` varchar(30) NOT NULL default '',
  1175. `address` varchar(255) NOT NULL default '',
  1176. `zip` varchar(8) NOT NULL default '',
  1177. `spacestyleid` smallint(6) NOT NULL default '0',
  1178. `homepage` varchar(200) NOT NULL default '',
  1179. `saytext` text NOT NULL,
  1180. `company` varchar(255) NOT NULL default '',
  1181. `fax` varchar(30) NOT NULL default '',
  1182. `userpic` varchar(200) NOT NULL default '',
  1183. `spacename` varchar(255) NOT NULL default '',
  1184. `spacegg` text NOT NULL,
  1185. `viewstats` int(11) NOT NULL default '0',
  1186. `regip` varchar(20) NOT NULL default '',
  1187. `lasttime` int(10) unsigned NOT NULL default '0',
  1188. `lastip` varchar(20) NOT NULL default '',
  1189. `loginnum` int(10) unsigned NOT NULL default '0',
  1190. `regipport` varchar(6) NOT NULL default '',
  1191. `lastipport` varchar(6) NOT NULL default '',
  1192. PRIMARY KEY (`userid`)
  1193. ) TYPE=MyISAM;
  1194. # --------------------------------------------------------
  1195. DROP TABLE IF EXISTS `phome_enewsmemberf`;
  1196. CREATE TABLE `phome_enewsmemberf` (
  1197. `fid` smallint(5) unsigned NOT NULL auto_increment,
  1198. `f` varchar(30) NOT NULL default '',
  1199. `fname` varchar(30) NOT NULL default '',
  1200. `fform` varchar(20) NOT NULL default '',
  1201. `fhtml` mediumtext NOT NULL,
  1202. `fzs` varchar(255) NOT NULL default '',
  1203. `myorder` smallint(6) NOT NULL default '0',
  1204. `ftype` varchar(30) NOT NULL default '',
  1205. `flen` varchar(20) NOT NULL default '',
  1206. `fvalue` text NOT NULL,
  1207. `fformsize` varchar(12) NOT NULL default '',
  1208. PRIMARY KEY (`fid`)
  1209. ) TYPE=MyISAM;
  1210. INSERT INTO `phome_enewsmemberf` VALUES (1, 'truename', '真实姓名', 'text', '\r\n<input name="truename" type="text" id="truename" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($addr[truename]))?>">\r\n', '', 1, 'VARCHAR', '20', '', '');
  1211. INSERT INTO `phome_enewsmemberf` VALUES (2, 'oicq', 'QQ号码', 'text', '<input name=\\"oicq\\" type=\\"text\\" id=\\"oicq\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":ehtmlspecialchars(stripSlashes($addr[oicq]))?>\\">\r\n', '', 5, 'VARCHAR', '25', '', '');
  1212. INSERT INTO `phome_enewsmemberf` VALUES (3, 'msn', 'MSN', 'text', '<input name=\\"msn\\" type=\\"text\\" id=\\"msn\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":ehtmlspecialchars(stripSlashes($addr[msn]))?>\\">\r\n', '', 6, 'VARCHAR', '120', '', '');
  1213. INSERT INTO `phome_enewsmemberf` VALUES (4, 'mycall', '联系电话', 'text', '<input name=\\"mycall\\" type=\\"text\\" id=\\"mycall\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":ehtmlspecialchars(stripSlashes($addr[mycall]))?>\\">\r\n', '', 2, 'VARCHAR', '30', '', '');
  1214. INSERT INTO `phome_enewsmemberf` VALUES (5, 'phone', '手机', 'text', '<input name=\\"phone\\" type=\\"text\\" id=\\"phone\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":ehtmlspecialchars(stripSlashes($addr[phone]))?>\\">\r\n', '', 4, 'VARCHAR', '30', '', '');
  1215. INSERT INTO `phome_enewsmemberf` VALUES (6, 'address', '联系地址', 'text', '<input name=\\"address\\" type=\\"text\\" id=\\"address\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":ehtmlspecialchars(stripSlashes($addr[address]))?>\\" size=\\"50\\">\r\n', '', 9, 'VARCHAR', '255', '', '');
  1216. INSERT INTO `phome_enewsmemberf` VALUES (7, 'zip', '邮编', 'text', '<input name=\\"zip\\" type=\\"text\\" id=\\"zip\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":ehtmlspecialchars(stripSlashes($addr[zip]))?>\\" size=\\"8\\">\r\n', '', 10, 'VARCHAR', '8', '', '');
  1217. INSERT INTO `phome_enewsmemberf` VALUES (9, 'homepage', '网址', 'text', '\r\n<input name="homepage" type="text" id="homepage" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($addr[homepage]))?>">\r\n', '', 7, 'VARCHAR', '200', '', '');
  1218. INSERT INTO `phome_enewsmemberf` VALUES (10, 'saytext', '简介', 'textarea', '<textarea name=\\"saytext\\" cols=\\"65\\" rows=\\"10\\" id=\\"saytext\\"><?=$ecmsfirstpost==1?\\"\\":stripSlashes($addr[saytext])?></textarea>\r\n', '', 11, 'TEXT', '', '', '');
  1219. INSERT INTO `phome_enewsmemberf` VALUES (11, 'company', '公司名称', 'text', '<input name=\\"company\\" type=\\"text\\" id=\\"company\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":ehtmlspecialchars(stripSlashes($addr[company]))?>\\" size=\\"38\\">\r\n', '', 0, 'VARCHAR', '255', '', '');
  1220. INSERT INTO `phome_enewsmemberf` VALUES (12, 'fax', '传真', 'text', '\r\n<input name="fax" type="text" id="fax" value="<?=$ecmsfirstpost==1?"":ehtmlspecialchars(stripSlashes($addr[fax]))?>">\r\n', '', 3, 'VARCHAR', '30', '', '');
  1221. INSERT INTO `phome_enewsmemberf` VALUES (13, 'userpic', '会员头像', 'img', '<input type=\\"file\\" name=\\"userpicfile\\">&nbsp;&nbsp;\r\n<?=empty($addr[userpic])?\\"\\":\\"<img src=\\\'\\".ehtmlspecialchars(stripSlashes($addr[userpic])).\\"\\\' border=0>\\"?>', '', 8, 'VARCHAR', '200', '', '');
  1222. # --------------------------------------------------------
  1223. DROP TABLE IF EXISTS `phome_enewsmemberfeedback`;
  1224. CREATE TABLE `phome_enewsmemberfeedback` (
  1225. `fid` int(10) unsigned NOT NULL auto_increment,
  1226. `name` varchar(12) NOT NULL default '',
  1227. `company` varchar(80) NOT NULL default '',
  1228. `phone` varchar(30) NOT NULL default '',
  1229. `fax` varchar(20) NOT NULL default '',
  1230. `email` varchar(80) NOT NULL default '',
  1231. `address` varchar(255) NOT NULL default '',
  1232. `zip` varchar(8) NOT NULL default '',
  1233. `title` varchar(120) NOT NULL default '',
  1234. `ftext` text NOT NULL,
  1235. `userid` mediumint(8) unsigned NOT NULL default '0',
  1236. `ip` varchar(15) NOT NULL default '',
  1237. `uid` mediumint(8) unsigned NOT NULL default '0',
  1238. `uname` varchar(20) NOT NULL default '',
  1239. `addtime` datetime NOT NULL default '0000-00-00 00:00:00',
  1240. `eipport` varchar(6) NOT NULL default '',
  1241. PRIMARY KEY (`fid`),
  1242. KEY `userid` (`userid`)
  1243. ) TYPE=MyISAM;
  1244. # --------------------------------------------------------
  1245. DROP TABLE IF EXISTS `phome_enewsmemberform`;
  1246. CREATE TABLE `phome_enewsmemberform` (
  1247. `fid` smallint(5) unsigned NOT NULL auto_increment,
  1248. `fname` varchar(60) NOT NULL default '',
  1249. `ftemp` mediumtext NOT NULL,
  1250. `fzs` varchar(255) NOT NULL default '',
  1251. `enter` text NOT NULL,
  1252. `mustenter` text NOT NULL,
  1253. `filef` varchar(255) NOT NULL default '',
  1254. `imgf` varchar(255) NOT NULL default '0',
  1255. `tobrf` text NOT NULL,
  1256. `viewenter` text NOT NULL,
  1257. `searchvar` varchar(255) NOT NULL default '',
  1258. `canaddf` text NOT NULL,
  1259. `caneditf` text NOT NULL,
  1260. `checkboxf` text NOT NULL,
  1261. PRIMARY KEY (`fid`)
  1262. ) TYPE=MyISAM;
  1263. INSERT INTO `phome_enewsmemberform` VALUES (1, '个人注册表单', '<table width=\\\'100%\\\' align=\\\'center\\\' cellpadding=3 cellspacing=1 bgcolor=\\\'#DBEAF5\\\'>\r\n<tr><td width=\\\'25%\\\' height=25 bgcolor=\\\'ffffff\\\'>真实姓名</td><td bgcolor=\\\'ffffff\\\'>[!--truename--]</td></tr>\r\n<tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>QQ号码</td><td bgcolor=\\\'ffffff\\\'>[!--oicq--]</td></tr>\r\n<tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>MSN</td><td bgcolor=\\\'ffffff\\\'>[!--msn--]</td></tr>\r\n<tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>联系电话</td><td bgcolor=\\\'ffffff\\\'>[!--mycall--]</td></tr>\r\n<tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>手机</td><td bgcolor=\\\'ffffff\\\'>[!--phone--]</td></tr>\r\n<tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>网站地址</td><td bgcolor=\\\'ffffff\\\'>[!--homepage--]</td></tr>\r\n<tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>会员头像</td><td bgcolor=\\\'ffffff\\\'>[!--userpic--]</td></tr>\r\n<tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>联系地址</td><td bgcolor=\\\'ffffff\\\'>[!--address--]&nbsp;邮编: [!--zip--]</td></tr>\r\n<tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>个人介绍</td><td bgcolor=\\\'ffffff\\\'>[!--saytext--]</td></tr>\r\n</table>', '', '真实姓名<!--field--->truename<!--record-->联系电话<!--field--->mycall<!--record-->手机<!--field--->phone<!--record-->QQ号码<!--field--->oicq<!--record-->MSN<!--field--->msn<!--record-->网站地址<!--field--->homepage<!--record-->会员头像<!--field--->userpic<!--record-->联系地址<!--field--->address<!--record-->邮编<!--field--->zip<!--record-->简介<!--field--->saytext<!--record-->', '', ',', ',userpic,', ',saytext,', '真实姓名<!--field--->truename<!--record-->联系电话<!--field--->mycall<!--record-->手机<!--field--->phone<!--record-->QQ号码<!--field--->oicq<!--record-->MSN<!--field--->msn<!--record-->网站地址<!--field--->homepage<!--record-->会员头像<!--field--->userpic<!--record-->联系地址<!--field--->address<!--record-->邮编<!--field--->zip<!--record-->简介<!--field--->saytext<!--record-->', '', ',truename,mycall,phone,oicq,msn,homepage,userpic,address,zip,saytext,', ',truename,mycall,phone,oicq,msn,homepage,userpic,address,zip,saytext,', ',');
  1264. INSERT INTO `phome_enewsmemberform` VALUES (2, '企员注册表单', '<table width=\\\'100%\\\' align=\\\'center\\\' cellpadding=3 cellspacing=1 bgcolor=\\\'#DBEAF5\\\'><tr><td width=\\\'25%\\\' height=25 bgcolor=\\\'ffffff\\\'>公司名称</td><td bgcolor=\\\'ffffff\\\'>[!--company--](*)</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>联系人</td><td bgcolor=\\\'ffffff\\\'>[!--truename--](*)</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>联系电话</td><td bgcolor=\\\'ffffff\\\'>[!--mycall--](*)</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>传真</td><td bgcolor=\\\'ffffff\\\'>[!--fax--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>手机</td><td bgcolor=\\\'ffffff\\\'>[!--phone--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>QQ号码</td><td bgcolor=\\\'ffffff\\\'>[!--oicq--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>MSN</td><td bgcolor=\\\'ffffff\\\'>[!--msn--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>网址</td><td bgcolor=\\\'ffffff\\\'>[!--homepage--]</td></tr>\r\n<tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>会员头像</td><td bgcolor=\\\'ffffff\\\'>[!--userpic--]</td></tr>\r\n<tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>联系地址</td><td bgcolor=\\\'ffffff\\\'>[!--address--]&nbsp;邮编: [!--zip--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>公司介绍</td><td bgcolor=\\\'ffffff\\\'>[!--saytext--]</td></tr></table>', '', '公司名称<!--field--->company<!--record-->联系人<!--field--->truename<!--record-->联系电话<!--field--->mycall<!--record-->传真<!--field--->fax<!--record-->手机<!--field--->phone<!--record-->QQ号码<!--field--->oicq<!--record-->MSN<!--field--->msn<!--record-->网址<!--field--->homepage<!--record-->会员头像<!--field--->userpic<!--record-->联系地址<!--field--->address<!--record-->邮编<!--field--->zip<!--record-->公司介绍<!--field--->saytext<!--record-->', ',company,truename,mycall,', ',', ',userpic,', ',saytext,', '公司名称<!--field--->company<!--record-->联系人<!--field--->truename<!--record-->联系电话<!--field--->mycall<!--record-->传真<!--field--->fax<!--record-->手机<!--field--->phone<!--record-->QQ号码<!--field--->oicq<!--record-->MSN<!--field--->msn<!--record-->网址<!--field--->homepage<!--record-->会员头像<!--field--->userpic<!--record-->联系地址<!--field--->address<!--record-->邮编<!--field--->zip<!--record-->公司介绍<!--field--->saytext<!--record-->', ',company,', ',company,truename,mycall,fax,phone,oicq,msn,homepage,userpic,address,zip,saytext,', ',company,truename,mycall,fax,phone,oicq,msn,homepage,userpic,address,zip,saytext,', ',');
  1265. # --------------------------------------------------------
  1266. DROP TABLE IF EXISTS `phome_enewsmembergbook`;
  1267. CREATE TABLE `phome_enewsmembergbook` (
  1268. `gid` int(10) unsigned NOT NULL auto_increment,
  1269. `userid` mediumint(8) unsigned NOT NULL default '0',
  1270. `isprivate` tinyint(1) NOT NULL default '0',
  1271. `uid` mediumint(8) unsigned NOT NULL default '0',
  1272. `uname` varchar(20) NOT NULL default '',
  1273. `ip` varchar(15) NOT NULL default '',
  1274. `addtime` datetime NOT NULL default '0000-00-00 00:00:00',
  1275. `gbtext` text NOT NULL,
  1276. `retext` text NOT NULL,
  1277. `checked` tinyint(1) NOT NULL default '0',
  1278. `eipport` varchar(6) NOT NULL default '',
  1279. PRIMARY KEY (`gid`),
  1280. KEY `userid` (`userid`)
  1281. ) TYPE=MyISAM;
  1282. # --------------------------------------------------------
  1283. DROP TABLE IF EXISTS `phome_enewsmembergroup`;
  1284. CREATE TABLE `phome_enewsmembergroup` (
  1285. `groupid` smallint(6) NOT NULL auto_increment,
  1286. `groupname` varchar(60) NOT NULL default '',
  1287. `level` smallint(6) NOT NULL default '0',
  1288. `checked` tinyint(1) NOT NULL default '0',
  1289. `favanum` smallint(6) NOT NULL default '0',
  1290. `daydown` int(11) NOT NULL default '0',
  1291. `msglen` int(11) NOT NULL default '0',
  1292. `msgnum` int(11) NOT NULL default '0',
  1293. `canreg` tinyint(1) NOT NULL default '0',
  1294. `formid` smallint(6) NOT NULL default '0',
  1295. `regchecked` tinyint(1) NOT NULL default '0',
  1296. `spacestyleid` smallint(6) NOT NULL default '0',
  1297. `dayaddinfo` smallint(6) NOT NULL default '0',
  1298. `infochecked` tinyint(1) NOT NULL default '0',
  1299. `plchecked` tinyint(1) NOT NULL default '0',
  1300. PRIMARY KEY (`groupid`)
  1301. ) TYPE=MyISAM;
  1302. INSERT INTO `phome_enewsmembergroup` VALUES (1, '普通会员', 1, 0, 120, 0, 255, 50, 1, 1, 0, 1, 0, 0, 0);
  1303. INSERT INTO `phome_enewsmembergroup` VALUES (2, 'VIP会员', 2, 0, 200, 0, 255, 120, 0, 1, 0, 1, 0, 0, 0);
  1304. INSERT INTO `phome_enewsmembergroup` VALUES (3, '企业会员', 1, 0, 120, 0, 255, 50, 1, 2, 0, 2, 0, 0, 0);
  1305. INSERT INTO `phome_enewsmembergroup` VALUES (4, '企业VIP会员', 2, 0, 200, 0, 255, 120, 0, 2, 0, 2, 0, 0, 0);
  1306. # --------------------------------------------------------
  1307. DROP TABLE IF EXISTS `phome_enewsmemberpub`;
  1308. CREATE TABLE `phome_enewsmemberpub` (
  1309. `userid` mediumint(8) unsigned NOT NULL auto_increment,
  1310. `todayinfodate` char(10) NOT NULL default '',
  1311. `todayaddinfo` mediumint(8) unsigned NOT NULL default '0',
  1312. `todaydate` char(10) NOT NULL default '',
  1313. `todaydown` mediumint(8) unsigned NOT NULL default '0',
  1314. `authstr` char(30) NOT NULL default '',
  1315. PRIMARY KEY (`userid`)
  1316. ) TYPE=MyISAM;
  1317. # --------------------------------------------------------
  1318. DROP TABLE IF EXISTS `phome_enewsmenu`;
  1319. CREATE TABLE `phome_enewsmenu` (
  1320. `menuid` int(10) unsigned NOT NULL auto_increment,
  1321. `menuname` varchar(60) NOT NULL default '',
  1322. `menuurl` varchar(255) NOT NULL default '',
  1323. `myorder` smallint(5) unsigned NOT NULL default '0',
  1324. `classid` smallint(5) unsigned NOT NULL default '0',
  1325. `addhash` tinyint(1) unsigned NOT NULL default '0',
  1326. PRIMARY KEY (`menuid`),
  1327. KEY `myorder` (`myorder`),
  1328. KEY `classid` (`classid`)
  1329. ) TYPE=MyISAM;
  1330. # --------------------------------------------------------
  1331. DROP TABLE IF EXISTS `phome_enewsmenuclass`;
  1332. CREATE TABLE `phome_enewsmenuclass` (
  1333. `classid` smallint(5) unsigned NOT NULL auto_increment,
  1334. `classname` varchar(60) NOT NULL default '',
  1335. `issys` tinyint(1) NOT NULL default '0',
  1336. `myorder` smallint(5) unsigned NOT NULL default '0',
  1337. `classtype` tinyint(1) NOT NULL default '0',
  1338. `groupids` varchar(255) NOT NULL default '',
  1339. PRIMARY KEY (`classid`),
  1340. KEY `myorder` (`myorder`),
  1341. KEY `classtype` (`classtype`)
  1342. ) TYPE=MyISAM;
  1343. # --------------------------------------------------------
  1344. DROP TABLE IF EXISTS `phome_enewsmod`;
  1345. CREATE TABLE `phome_enewsmod` (
  1346. `mid` smallint(5) unsigned NOT NULL auto_increment,
  1347. `mname` varchar(100) NOT NULL default '',
  1348. `mtemp` mediumtext NOT NULL,
  1349. `mzs` varchar(255) NOT NULL default '',
  1350. `cj` mediumtext NOT NULL,
  1351. `enter` mediumtext NOT NULL,
  1352. `tempvar` mediumtext NOT NULL,
  1353. `sonclass` text NOT NULL,
  1354. `searchvar` varchar(255) NOT NULL default '',
  1355. `tid` smallint(5) unsigned NOT NULL default '0',
  1356. `tbname` varchar(60) NOT NULL default '',
  1357. `qenter` mediumtext NOT NULL,
  1358. `mustqenterf` text NOT NULL,
  1359. `qmtemp` mediumtext NOT NULL,
  1360. `listandf` text NOT NULL,
  1361. `setandf` tinyint(1) NOT NULL default '0',
  1362. `listtempvar` mediumtext NOT NULL,
  1363. `qmname` varchar(30) NOT NULL default '',
  1364. `canaddf` text NOT NULL,
  1365. `caneditf` text NOT NULL,
  1366. `definfovoteid` smallint(6) NOT NULL default '0',
  1367. `showmod` tinyint(1) NOT NULL default '0',
  1368. `usemod` tinyint(1) NOT NULL default '0',
  1369. `myorder` smallint(6) NOT NULL default '0',
  1370. `orderf` text NOT NULL,
  1371. `isdefault` tinyint(1) NOT NULL default '0',
  1372. `listfile` varchar(30) NOT NULL default '',
  1373. `printtempid` smallint(6) NOT NULL default '0',
  1374. `maddfun` varchar(255) NOT NULL default '',
  1375. `meditfun` varchar(255) NOT NULL default '',
  1376. `qmaddfun` varchar(255) NOT NULL default '',
  1377. `qmeditfun` varchar(255) NOT NULL default '',
  1378. PRIMARY KEY (`mid`),
  1379. KEY `tid` (`tid`)
  1380. ) TYPE=MyISAM;
  1381. # --------------------------------------------------------
  1382. DROP TABLE IF EXISTS `phome_enewsmoreport`;
  1383. CREATE TABLE `phome_enewsmoreport` (
  1384. `pid` int(11) NOT NULL auto_increment,
  1385. `pname` char(60) NOT NULL default '',
  1386. `purl` char(255) NOT NULL default '',
  1387. `ppath` char(255) NOT NULL default '',
  1388. `postpass` char(120) NOT NULL default '',
  1389. `postfile` char(255) NOT NULL default '',
  1390. `tempgid` smallint(5) unsigned NOT NULL default '0',
  1391. `mustdt` tinyint(1) NOT NULL default '0',
  1392. `isclose` tinyint(1) NOT NULL default '0',
  1393. `closeadd` tinyint(1) NOT NULL default '0',
  1394. `headersign` char(255) NOT NULL default '',
  1395. `openadmin` tinyint(1) NOT NULL default '0',
  1396. `rehtml` tinyint(4) NOT NULL default '0',
  1397. PRIMARY KEY (`pid`),
  1398. KEY `isclose` (`isclose`)
  1399. ) TYPE=MyISAM;
  1400. INSERT INTO `phome_enewsmoreport` VALUES (1, '主访问端', '', '', '', '', 0, 0, 0, 0, '', 0, 0);
  1401. # --------------------------------------------------------
  1402. DROP TABLE IF EXISTS `phome_enewsnotcj`;
  1403. CREATE TABLE `phome_enewsnotcj` (
  1404. `id` smallint(5) unsigned NOT NULL auto_increment,
  1405. `word` text NOT NULL,
  1406. PRIMARY KEY (`id`)
  1407. ) TYPE=MyISAM;
  1408. INSERT INTO `phome_enewsnotcj` VALUES (1, '<input type=hidden value=\'欢迎使用帝国网站管理系统:www.phome.net\'>');
  1409. INSERT INTO `phome_enewsnotcj` VALUES (2, '<phome 帝国网站管理系统,phome.net>');
  1410. INSERT INTO `phome_enewsnotcj` VALUES (3, '<!--帝国CMS,phome.net-->');
  1411. INSERT INTO `phome_enewsnotcj` VALUES (4, '<table style=display:none><tr><td>\r\nEmpire CMS,phome.net\r\n</td></tr></table>');
  1412. INSERT INTO `phome_enewsnotcj` VALUES (5, '<div style=display:none>\r\n拥有帝国一切,皆有可能。欢迎访问phome.net\r\n</div>');
  1413. # --------------------------------------------------------
  1414. DROP TABLE IF EXISTS `phome_enewsnotice`;
  1415. CREATE TABLE `phome_enewsnotice` (
  1416. `mid` int(10) unsigned NOT NULL auto_increment,
  1417. `title` varchar(80) NOT NULL default '',
  1418. `msgtext` text NOT NULL,
  1419. `haveread` tinyint(1) NOT NULL default '0',
  1420. `msgtime` datetime NOT NULL default '0000-00-00 00:00:00',
  1421. `to_username` varchar(30) NOT NULL default '',
  1422. `from_userid` int(10) unsigned NOT NULL default '0',
  1423. `from_username` varchar(30) NOT NULL default '',
  1424. PRIMARY KEY (`mid`),
  1425. KEY `to_username` (`to_username`)
  1426. ) TYPE=MyISAM;
  1427. # --------------------------------------------------------
  1428. DROP TABLE IF EXISTS `phome_enewspage`;
  1429. CREATE TABLE `phome_enewspage` (
  1430. `id` int(10) unsigned NOT NULL auto_increment,
  1431. `title` varchar(120) NOT NULL default '',
  1432. `pagetext` mediumtext NOT NULL,
  1433. `path` varchar(255) NOT NULL default '',
  1434. `classid` smallint(5) unsigned NOT NULL default '0',
  1435. `pagetitle` varchar(120) NOT NULL default '',
  1436. `pagekeywords` varchar(255) NOT NULL default '',
  1437. `pagedescription` varchar(255) NOT NULL default '',
  1438. `tempid` smallint(5) unsigned NOT NULL default '0',
  1439. PRIMARY KEY (`id`),
  1440. KEY `classid` (`classid`)
  1441. ) TYPE=MyISAM;
  1442. # --------------------------------------------------------
  1443. DROP TABLE IF EXISTS `phome_enewspageclass`;
  1444. CREATE TABLE `phome_enewspageclass` (
  1445. `classid` smallint(5) unsigned NOT NULL auto_increment,
  1446. `classname` varchar(30) NOT NULL default '',
  1447. PRIMARY KEY (`classid`)
  1448. ) TYPE=MyISAM;
  1449. # --------------------------------------------------------
  1450. DROP TABLE IF EXISTS `phome_enewspayapi`;
  1451. CREATE TABLE `phome_enewspayapi` (
  1452. `payid` smallint(5) unsigned NOT NULL auto_increment,
  1453. `paytype` varchar(20) NOT NULL default '',
  1454. `myorder` tinyint(4) NOT NULL default '0',
  1455. `payfee` varchar(10) NOT NULL default '',
  1456. `payuser` varchar(60) NOT NULL default '',
  1457. `partner` varchar(60) NOT NULL default '',
  1458. `paykey` varchar(120) NOT NULL default '',
  1459. `paylogo` varchar(200) NOT NULL default '',
  1460. `paysay` text NOT NULL,
  1461. `payname` varchar(120) NOT NULL default '',
  1462. `isclose` tinyint(1) NOT NULL default '0',
  1463. `payemail` varchar(120) NOT NULL default '',
  1464. `paymethod` tinyint(1) NOT NULL default '0',
  1465. PRIMARY KEY (`payid`),
  1466. UNIQUE KEY `paytype` (`paytype`)
  1467. ) TYPE=MyISAM;
  1468. INSERT INTO `phome_enewspayapi` VALUES (1, 'tenpay', 1, '0', '', '', '', '', '财付通(www.tenpay.com) - 腾讯旗下在线支付平台,通过国家权威安全认证,支持各大银行网上支付。', '财付通', 0, '', 0);
  1469. INSERT INTO `phome_enewspayapi` VALUES (2, 'chinabank', 2, '0', '', '', '', '', '网银在线与中国工商银行、招商银行、中国建设银行、农业银行、民生银行等数十家金融机构达成协议。全面支持全国19家银行的信用卡及借记卡实现网上支付。(网址:http://www.chinabank.com.cn)', '网银在线', 0, '', 0);
  1470. INSERT INTO `phome_enewspayapi` VALUES (3, 'alipay', 0, '0', '', '', '', '', '支付宝网站(www.alipay.com) 是国内先进的网上支付平台。', '支付宝接口', 0, '', 1);
  1471. # --------------------------------------------------------
  1472. DROP TABLE IF EXISTS `phome_enewspayrecord`;
  1473. CREATE TABLE `phome_enewspayrecord` (
  1474. `id` int(10) unsigned NOT NULL auto_increment,
  1475. `userid` int(10) unsigned NOT NULL default '0',
  1476. `username` varchar(30) NOT NULL default '',
  1477. `orderid` varchar(50) NOT NULL default '',
  1478. `money` varchar(20) NOT NULL default '',
  1479. `posttime` datetime NOT NULL default '0000-00-00 00:00:00',
  1480. `paybz` varchar(255) NOT NULL default '',
  1481. `type` varchar(12) NOT NULL default '',
  1482. `payip` varchar(20) NOT NULL default '',
  1483. PRIMARY KEY (`id`),
  1484. KEY `userid` (`userid`,`orderid`)
  1485. ) TYPE=MyISAM;
  1486. # --------------------------------------------------------
  1487. DROP TABLE IF EXISTS `phome_enewspic`;
  1488. CREATE TABLE `phome_enewspic` (
  1489. `picid` int(10) unsigned NOT NULL auto_increment,
  1490. `title` varchar(120) NOT NULL default '',
  1491. `pic_url` varchar(200) NOT NULL default '',
  1492. `url` varchar(200) NOT NULL default '',
  1493. `pic_width` varchar(20) NOT NULL default '',
  1494. `pic_height` varchar(20) NOT NULL default '',
  1495. `open_pic` varchar(20) NOT NULL default '',
  1496. `border` tinyint(1) NOT NULL default '0',
  1497. `pictext` text NOT NULL,
  1498. `classid` smallint(5) unsigned NOT NULL default '0',
  1499. PRIMARY KEY (`picid`),
  1500. KEY `classid` (`classid`)
  1501. ) TYPE=MyISAM;
  1502. # --------------------------------------------------------
  1503. DROP TABLE IF EXISTS `phome_enewspicclass`;
  1504. CREATE TABLE `phome_enewspicclass` (
  1505. `classid` smallint(5) unsigned NOT NULL auto_increment,
  1506. `classname` varchar(60) NOT NULL default '',
  1507. PRIMARY KEY (`classid`)
  1508. ) TYPE=MyISAM;
  1509. INSERT INTO `phome_enewspicclass` VALUES (1, '默认图片信息类别');
  1510. # --------------------------------------------------------
  1511. DROP TABLE IF EXISTS `phome_enewspl_1`;
  1512. CREATE TABLE `phome_enewspl_1` (
  1513. `plid` int(10) unsigned NOT NULL auto_increment,
  1514. `pubid` bigint(16) NOT NULL default '0',
  1515. `username` varchar(20) NOT NULL default '',
  1516. `sayip` varchar(20) NOT NULL default '',
  1517. `saytime` int(10) unsigned NOT NULL default '0',
  1518. `id` int(10) unsigned NOT NULL default '0',
  1519. `checked` tinyint(1) NOT NULL default '0',
  1520. `classid` smallint(5) unsigned NOT NULL default '0',
  1521. `zcnum` smallint(5) unsigned NOT NULL default '0',
  1522. `fdnum` smallint(5) unsigned NOT NULL default '0',
  1523. `userid` mediumint(8) unsigned NOT NULL default '0',
  1524. `isgood` tinyint(1) NOT NULL default '0',
  1525. `saytext` text NOT NULL,
  1526. `eipport` varchar(6) NOT NULL default '',
  1527. PRIMARY KEY (`plid`),
  1528. KEY `id` (`id`),
  1529. KEY `classid` (`classid`),
  1530. KEY `pubid` (`pubid`,`checked`,`plid`)
  1531. ) TYPE=MyISAM;
  1532. # --------------------------------------------------------
  1533. DROP TABLE IF EXISTS `phome_enewspl_set`;
  1534. CREATE TABLE `phome_enewspl_set` (
  1535. `id` tinyint(3) unsigned NOT NULL auto_increment,
  1536. `pltime` smallint(5) unsigned NOT NULL default '0',
  1537. `plsize` smallint(5) unsigned NOT NULL default '0',
  1538. `plincludesize` smallint(5) unsigned NOT NULL default '0',
  1539. `plkey_ok` tinyint(1) NOT NULL default '0',
  1540. `plface` text NOT NULL,
  1541. `plfacenum` tinyint(3) unsigned NOT NULL default '0',
  1542. `plgroupid` smallint(5) unsigned NOT NULL default '0',
  1543. `plclosewords` text NOT NULL,
  1544. `plf` text NOT NULL,
  1545. `plmustf` text NOT NULL,
  1546. `pldatatbs` text NOT NULL,
  1547. `defpltempid` smallint(5) unsigned NOT NULL default '0',
  1548. `pl_num` smallint(5) unsigned NOT NULL default '0',
  1549. `pldeftb` smallint(5) unsigned NOT NULL default '0',
  1550. `plurl` varchar(200) NOT NULL default '',
  1551. `plmaxfloor` smallint(5) unsigned NOT NULL default '0',
  1552. `plquotetemp` text NOT NULL,
  1553. PRIMARY KEY (`id`)
  1554. ) TYPE=MyISAM;
  1555. INSERT INTO `phome_enewspl_set` VALUES (1, 20, 500, 0, 1, '||[~e.jy~]##1.gif||[~e.kq~]##2.gif||[~e.se~]##3.gif||[~e.sq~]##4.gif||[~e.lh~]##5.gif||[~e.ka~]##6.gif||[~e.hh~]##7.gif||[~e.ys~]##8.gif||[~e.ng~]##9.gif||[~e.ot~]##10.gif||', 10, 0, '', '', '', ',1,', 1, 12, 1, '/ecms75/e/pl/', 0, '<div class=\\"ecomment\\">\r\n<span class=\\"ecommentauthor\\">网友 [!--username--] 的原文:</span>\r\n<p class=\\"ecommenttext\\">[!--pltext--]</p>\r\n</div>');
  1556. # --------------------------------------------------------
  1557. DROP TABLE IF EXISTS `phome_enewsplayer`;
  1558. CREATE TABLE `phome_enewsplayer` (
  1559. `id` smallint(5) unsigned NOT NULL auto_increment,
  1560. `player` varchar(30) NOT NULL default '',
  1561. `filename` varchar(20) NOT NULL default '',
  1562. `bz` varchar(255) NOT NULL default '',
  1563. PRIMARY KEY (`id`)
  1564. ) TYPE=MyISAM;
  1565. INSERT INTO `phome_enewsplayer` VALUES (1, 'RealPlayer', 'realplayer.php', 'RealPlayer播放器');
  1566. INSERT INTO `phome_enewsplayer` VALUES (2, 'MediaPlayer', 'mediaplayer.php', 'MediaPlayer播放器');
  1567. INSERT INTO `phome_enewsplayer` VALUES (3, 'FLASH', 'flasher.php', 'FLASH播放器');
  1568. INSERT INTO `phome_enewsplayer` VALUES (4, 'FLV播放器', 'flver.php', 'FLV播放器');
  1569. INSERT INTO `phome_enewsplayer` VALUES (5, 'HTML5Video', 'htmlvideo.php', 'HTML5的video播放标签');
  1570. INSERT INTO `phome_enewsplayer` VALUES (6, 'JWPlayer', 'jwplayer.php', 'JWPlayer播放器');
  1571. INSERT INTO `phome_enewsplayer` VALUES (7, 'HTML5Audio', 'htmlaudio.php', 'HTML5的audio播放标签');
  1572. # --------------------------------------------------------
  1573. DROP TABLE IF EXISTS `phome_enewsplf`;
  1574. CREATE TABLE `phome_enewsplf` (
  1575. `fid` smallint(5) unsigned NOT NULL auto_increment,
  1576. `f` varchar(30) NOT NULL default '',
  1577. `fname` varchar(30) NOT NULL default '',
  1578. `fzs` varchar(255) NOT NULL default '',
  1579. `ftype` varchar(30) NOT NULL default '',
  1580. `flen` varchar(20) NOT NULL default '',
  1581. `ismust` tinyint(1) NOT NULL default '0',
  1582. PRIMARY KEY (`fid`)
  1583. ) TYPE=MyISAM;
  1584. # --------------------------------------------------------
  1585. DROP TABLE IF EXISTS `phome_enewspostdata`;
  1586. CREATE TABLE `phome_enewspostdata` (
  1587. `postid` bigint(20) unsigned NOT NULL auto_increment,
  1588. `rnd` varchar(32) NOT NULL default '',
  1589. `postdata` varchar(255) NOT NULL default '',
  1590. `ispath` tinyint(1) NOT NULL default '0',
  1591. PRIMARY KEY (`postid`),
  1592. KEY `rnd` (`rnd`)
  1593. ) TYPE=MyISAM;
  1594. # --------------------------------------------------------
  1595. DROP TABLE IF EXISTS `phome_enewspostserver`;
  1596. CREATE TABLE `phome_enewspostserver` (
  1597. `pid` smallint(5) unsigned NOT NULL auto_increment,
  1598. `pname` varchar(60) NOT NULL default '',
  1599. `purl` varchar(255) NOT NULL default '',
  1600. `ptype` tinyint(1) NOT NULL default '0',
  1601. `ftphost` varchar(255) NOT NULL default '',
  1602. `ftpport` varchar(20) NOT NULL default '',
  1603. `ftpusername` varchar(120) NOT NULL default '',
  1604. `ftppassword` varchar(120) NOT NULL default '',
  1605. `ftppath` varchar(255) NOT NULL default '',
  1606. `ftpmode` tinyint(1) NOT NULL default '0',
  1607. `ftpssl` tinyint(1) NOT NULL default '0',
  1608. `ftppasv` tinyint(1) NOT NULL default '0',
  1609. `ftpouttime` smallint(5) unsigned NOT NULL default '0',
  1610. `lastposttime` int(10) unsigned NOT NULL default '0',
  1611. PRIMARY KEY (`pid`),
  1612. KEY `ptype` (`ptype`)
  1613. ) TYPE=MyISAM;
  1614. INSERT INTO `phome_enewspostserver` VALUES (1, '附件服务器', '', 1, '', '', '', '', '', 0, 0, 0, 0, 0);
  1615. # --------------------------------------------------------
  1616. DROP TABLE IF EXISTS `phome_enewspublic`;
  1617. CREATE TABLE `phome_enewspublic` (
  1618. `id` tinyint(3) unsigned NOT NULL auto_increment,
  1619. `newsurl` varchar(120) NOT NULL default '',
  1620. `sitename` varchar(60) NOT NULL default '',
  1621. `email` varchar(50) NOT NULL default '',
  1622. `filetype` text NOT NULL,
  1623. `filesize` int(11) NOT NULL default '0',
  1624. `hotnum` tinyint(4) NOT NULL default '0',
  1625. `newnum` tinyint(4) NOT NULL default '0',
  1626. `relistnum` int(11) NOT NULL default '0',
  1627. `renewsnum` int(11) NOT NULL default '0',
  1628. `min_keyboard` tinyint(4) NOT NULL default '0',
  1629. `max_keyboard` tinyint(4) NOT NULL default '0',
  1630. `search_num` tinyint(4) NOT NULL default '0',
  1631. `search_pagenum` tinyint(4) NOT NULL default '0',
  1632. `newslink` tinyint(4) NOT NULL default '0',
  1633. `checked` tinyint(1) NOT NULL default '0',
  1634. `searchtime` int(11) NOT NULL default '0',
  1635. `loginnum` smallint(6) NOT NULL default '0',
  1636. `logintime` int(11) NOT NULL default '0',
  1637. `addnews_ok` tinyint(1) NOT NULL default '0',
  1638. `register_ok` tinyint(1) NOT NULL default '0',
  1639. `indextype` varchar(10) NOT NULL default '',
  1640. `goodlencord` tinyint(4) NOT NULL default '0',
  1641. `goodtype` varchar(10) NOT NULL default '',
  1642. `goodnum` tinyint(4) NOT NULL default '0',
  1643. `searchtype` varchar(10) NOT NULL default '',
  1644. `exittime` smallint(6) NOT NULL default '0',
  1645. `smalltextlen` smallint(6) NOT NULL default '0',
  1646. `defaultgroupid` smallint(6) NOT NULL default '0',
  1647. `fileurl` varchar(255) NOT NULL default '',
  1648. `phpmode` tinyint(1) NOT NULL default '0',
  1649. `ftphost` varchar(255) NOT NULL default '',
  1650. `ftpport` varchar(20) NOT NULL default '21',
  1651. `ftpusername` varchar(120) NOT NULL default '',
  1652. `ftppassword` varchar(120) NOT NULL default '',
  1653. `ftppath` varchar(255) NOT NULL default '',
  1654. `ftpmode` tinyint(1) NOT NULL default '0',
  1655. `install` tinyint(1) NOT NULL default '0',
  1656. `hotplnum` tinyint(4) NOT NULL default '0',
  1657. `softversion` varchar(30) NOT NULL default '0',
  1658. `lctime` int(11) NOT NULL default '0',
  1659. `dorepnum` smallint(6) NOT NULL default '0',
  1660. `loadtempnum` smallint(6) NOT NULL default '0',
  1661. `firstnum` tinyint(4) NOT NULL default '0',
  1662. `bakdbpath` varchar(50) NOT NULL default '',
  1663. `bakdbzip` varchar(50) NOT NULL default '',
  1664. `downpass` varchar(32) NOT NULL default '',
  1665. `min_userlen` tinyint(4) NOT NULL default '0',
  1666. `max_userlen` tinyint(4) NOT NULL default '0',
  1667. `min_passlen` tinyint(4) NOT NULL default '0',
  1668. `max_passlen` tinyint(4) NOT NULL default '0',
  1669. `filechmod` tinyint(1) NOT NULL default '0',
  1670. `tid` smallint(6) NOT NULL default '0',
  1671. `tbname` varchar(60) NOT NULL default '',
  1672. `loginkey_ok` tinyint(1) NOT NULL default '0',
  1673. `limittype` tinyint(1) NOT NULL default '0',
  1674. `redodown` smallint(6) NOT NULL default '0',
  1675. `candocode` tinyint(1) NOT NULL default '0',
  1676. `opennotcj` tinyint(1) NOT NULL default '0',
  1677. `reuserpagenum` int(11) NOT NULL default '0',
  1678. `revotejsnum` int(11) NOT NULL default '0',
  1679. `readjsnum` int(11) NOT NULL default '0',
  1680. `qaddtran` tinyint(1) NOT NULL default '0',
  1681. `qaddtransize` int(11) NOT NULL default '0',
  1682. `ebakthisdb` tinyint(1) NOT NULL default '0',
  1683. `delnewsnum` int(11) NOT NULL default '0',
  1684. `markpos` tinyint(4) NOT NULL default '0',
  1685. `markimg` varchar(80) NOT NULL default '',
  1686. `marktext` varchar(80) NOT NULL default '',
  1687. `markfontsize` varchar(12) NOT NULL default '',
  1688. `markfontcolor` varchar(12) NOT NULL default '',
  1689. `markfont` varchar(80) NOT NULL default '',
  1690. `adminloginkey` tinyint(1) NOT NULL default '0',
  1691. `php_outtime` int(11) NOT NULL default '0',
  1692. `listpagefun` varchar(36) NOT NULL default '',
  1693. `textpagefun` varchar(36) NOT NULL default '',
  1694. `adfile` varchar(30) NOT NULL default '',
  1695. `notsaveurl` text NOT NULL,
  1696. `jstempid` smallint(6) NOT NULL default '0',
  1697. `rssnum` smallint(6) NOT NULL default '0',
  1698. `rsssub` smallint(6) NOT NULL default '0',
  1699. `savetxtf` text NOT NULL,
  1700. `dorepdlevelnum` int(11) NOT NULL default '0',
  1701. `listpagelistfun` varchar(36) NOT NULL default '',
  1702. `listpagelistnum` smallint(6) NOT NULL default '0',
  1703. `infolinknum` int(11) NOT NULL default '0',
  1704. `searchgroupid` smallint(6) NOT NULL default '0',
  1705. `opencopytext` tinyint(1) NOT NULL default '0',
  1706. `reuserjsnum` int(11) NOT NULL default '0',
  1707. `reuserlistnum` int(11) NOT NULL default '0',
  1708. `opentitleurl` tinyint(1) NOT NULL default '0',
  1709. `qaddtranimgtype` text NOT NULL,
  1710. `qaddtranfile` tinyint(1) NOT NULL default '0',
  1711. `qaddtranfilesize` int(11) NOT NULL default '0',
  1712. `qaddtranfiletype` text NOT NULL,
  1713. `sendmailtype` tinyint(1) NOT NULL default '0',
  1714. `smtphost` varchar(255) NOT NULL default '',
  1715. `fromemail` varchar(120) NOT NULL default '',
  1716. `loginemail` tinyint(1) NOT NULL default '0',
  1717. `emailusername` varchar(60) NOT NULL default '',
  1718. `emailpassword` varchar(60) NOT NULL default '',
  1719. `smtpport` varchar(20) NOT NULL default '',
  1720. `emailname` varchar(120) NOT NULL default '',
  1721. `deftempid` smallint(6) NOT NULL default '0',
  1722. `feedbacktfile` tinyint(1) NOT NULL default '0',
  1723. `feedbackfilesize` int(11) NOT NULL default '0',
  1724. `feedbackfiletype` text NOT NULL,
  1725. `searchtempvar` tinyint(1) NOT NULL default '0',
  1726. `showinfolevel` smallint(6) NOT NULL default '0',
  1727. `navfh` varchar(20) NOT NULL default '',
  1728. `spicwidth` smallint(6) NOT NULL default '0',
  1729. `spicheight` smallint(6) NOT NULL default '0',
  1730. `spickill` tinyint(1) NOT NULL default '0',
  1731. `jpgquality` tinyint(4) NOT NULL default '0',
  1732. `markpct` tinyint(4) NOT NULL default '0',
  1733. `redoview` smallint(6) NOT NULL default '0',
  1734. `reggetfen` smallint(6) NOT NULL default '0',
  1735. `regbooktime` smallint(6) NOT NULL default '0',
  1736. `revotetime` smallint(6) NOT NULL default '0',
  1737. `nreclass` text NOT NULL,
  1738. `nreinfo` text NOT NULL,
  1739. `nrejs` text NOT NULL,
  1740. `fpath` tinyint(1) NOT NULL default '0',
  1741. `filepath` varchar(30) NOT NULL default '',
  1742. `openmembertranimg` tinyint(1) NOT NULL default '0',
  1743. `memberimgsize` int(11) NOT NULL default '0',
  1744. `memberimgtype` text NOT NULL,
  1745. `openmembertranfile` tinyint(1) NOT NULL default '0',
  1746. `memberfilesize` int(11) NOT NULL default '0',
  1747. `memberfiletype` text NOT NULL,
  1748. `nottobq` text NOT NULL,
  1749. `defspacestyleid` smallint(6) NOT NULL default '0',
  1750. `canposturl` text NOT NULL,
  1751. `openspace` tinyint(1) NOT NULL default '0',
  1752. `defadminstyle` smallint(6) NOT NULL default '0',
  1753. `realltime` smallint(6) NOT NULL default '0',
  1754. `closeip` text NOT NULL,
  1755. `openip` text NOT NULL,
  1756. `hopenip` text NOT NULL,
  1757. `closewords` text NOT NULL,
  1758. `closewordsf` text NOT NULL,
  1759. `textpagelistnum` smallint(6) NOT NULL default '0',
  1760. `memberlistlevel` smallint(6) NOT NULL default '0',
  1761. `wapopen` tinyint(1) NOT NULL default '0',
  1762. `wapdefstyle` smallint(6) NOT NULL default '0',
  1763. `wapshowmid` varchar(255) NOT NULL default '',
  1764. `waplistnum` tinyint(4) NOT NULL default '0',
  1765. `wapsubtitle` tinyint(4) NOT NULL default '0',
  1766. `wapshowdate` varchar(50) NOT NULL default '',
  1767. `wapchar` tinyint(1) NOT NULL default '0',
  1768. `ebakcanlistdb` tinyint(1) NOT NULL default '0',
  1769. `paymoneytofen` int(11) NOT NULL default '0',
  1770. `payminmoney` int(11) NOT NULL default '0',
  1771. `keytog` tinyint(1) NOT NULL default '0',
  1772. `keyrnd` varchar(60) NOT NULL default '',
  1773. `keytime` int(11) NOT NULL default '0',
  1774. `regkey_ok` tinyint(1) NOT NULL default '0',
  1775. `opengetdown` tinyint(1) NOT NULL default '0',
  1776. `gbkey_ok` tinyint(1) NOT NULL default '0',
  1777. `fbkey_ok` tinyint(1) NOT NULL default '0',
  1778. `newaddinfotime` smallint(6) NOT NULL default '0',
  1779. `classnavline` smallint(6) NOT NULL default '0',
  1780. `classnavfh` varchar(120) NOT NULL default '',
  1781. `adminstyle` text NOT NULL,
  1782. `sitekey` varchar(255) NOT NULL default '',
  1783. `siteintro` text NOT NULL,
  1784. `docnewsnum` int(11) NOT NULL default '0',
  1785. `openschall` tinyint(1) NOT NULL default '0',
  1786. `schallfield` tinyint(1) NOT NULL default '0',
  1787. `schallminlen` tinyint(4) NOT NULL default '0',
  1788. `schallmaxlen` tinyint(4) NOT NULL default '0',
  1789. `schallnotcid` text NOT NULL,
  1790. `schallnum` smallint(6) NOT NULL default '0',
  1791. `schallpagenum` smallint(6) NOT NULL default '0',
  1792. `dtcanbq` tinyint(1) NOT NULL default '0',
  1793. `dtcachetime` int(11) NOT NULL default '0',
  1794. `regretime` smallint(6) NOT NULL default '0',
  1795. `regclosewords` text NOT NULL,
  1796. `regemailonly` tinyint(1) NOT NULL default '0',
  1797. `repkeynum` smallint(6) NOT NULL default '0',
  1798. `getpasstime` int(11) NOT NULL default '0',
  1799. `acttime` int(11) NOT NULL default '0',
  1800. `regacttype` tinyint(1) NOT NULL default '0',
  1801. `acttext` text NOT NULL,
  1802. `getpasstext` text NOT NULL,
  1803. `acttitle` varchar(120) NOT NULL default '',
  1804. `getpasstitle` varchar(120) NOT NULL default '',
  1805. `opengetpass` tinyint(1) NOT NULL default '0',
  1806. `hlistinfonum` int(11) NOT NULL default '0',
  1807. `qlistinfonum` int(11) NOT NULL default '0',
  1808. `dtncanbq` tinyint(1) NOT NULL default '0',
  1809. `dtncachetime` int(11) NOT NULL default '0',
  1810. `readdinfotime` smallint(6) NOT NULL default '0',
  1811. `qeditinfotime` int(11) NOT NULL default '0',
  1812. `ftpssl` tinyint(1) NOT NULL default '0',
  1813. `ftppasv` tinyint(1) NOT NULL default '0',
  1814. `ftpouttime` smallint(6) NOT NULL default '0',
  1815. `onclicktype` tinyint(1) NOT NULL default '0',
  1816. `onclickfilesize` int(11) NOT NULL default '0',
  1817. `onclickfiletime` int(11) NOT NULL default '0',
  1818. `schalltime` smallint(6) NOT NULL default '0',
  1819. `defprinttempid` smallint(6) NOT NULL default '0',
  1820. `opentags` tinyint(1) NOT NULL default '0',
  1821. `tagstempid` smallint(6) NOT NULL default '0',
  1822. `usetags` text NOT NULL,
  1823. `chtags` text NOT NULL,
  1824. `tagslistnum` smallint(6) NOT NULL default '0',
  1825. `closeqdt` tinyint(1) NOT NULL default '0',
  1826. `settop` tinyint(1) NOT NULL default '0',
  1827. `qlistinfomod` tinyint(1) NOT NULL default '0',
  1828. `gb_num` tinyint(4) NOT NULL default '0',
  1829. `member_num` tinyint(4) NOT NULL default '0',
  1830. `space_num` tinyint(4) NOT NULL default '0',
  1831. `opendoip` text NOT NULL,
  1832. `closedoip` text NOT NULL,
  1833. `doiptype` varchar(255) NOT NULL default '',
  1834. `filelday` int(11) NOT NULL default '0',
  1835. `infolday` int(11) NOT NULL default '0',
  1836. `baktempnum` tinyint(4) NOT NULL default '0',
  1837. `dorepkey` tinyint(1) NOT NULL default '0',
  1838. `dorepword` tinyint(1) NOT NULL default '0',
  1839. `onclickrnd` varchar(20) NOT NULL default '',
  1840. `indexpagedt` tinyint(1) NOT NULL default '0',
  1841. `keybgcolor` varchar(8) NOT NULL default '',
  1842. `keyfontcolor` varchar(8) NOT NULL default '',
  1843. `keydistcolor` varchar(8) NOT NULL default '',
  1844. `indexpageid` smallint(6) NOT NULL default '0',
  1845. `closeqdtmsg` varchar(255) NOT NULL default '',
  1846. `openfileserver` tinyint(1) NOT NULL default '0',
  1847. `closemods` varchar(255) NOT NULL default '',
  1848. `fieldandtop` tinyint(1) NOT NULL default '0',
  1849. `fieldandclosetb` text NOT NULL,
  1850. `filedatatbs` text NOT NULL,
  1851. `filedeftb` smallint(5) unsigned NOT NULL default '0',
  1852. `closelisttemp` varchar(255) NOT NULL default '',
  1853. `chclasscolor` varchar(8) NOT NULL default '',
  1854. `timeclose` varchar(255) NOT NULL default '',
  1855. `timeclosedo` varchar(255) NOT NULL default '',
  1856. `ipaddinfonum` int(10) unsigned NOT NULL default '0',
  1857. `ipaddinfotime` smallint(5) unsigned NOT NULL default '0',
  1858. `rewriteinfo` varchar(120) NOT NULL default '',
  1859. `rewriteclass` varchar(120) NOT NULL default '',
  1860. `rewriteinfotype` varchar(120) NOT NULL default '',
  1861. `rewritetags` varchar(120) NOT NULL default '',
  1862. `closehmenu` varchar(80) NOT NULL default '',
  1863. `indexaddpage` tinyint(1) NOT NULL default '0',
  1864. `rewritepl` varchar(150) NOT NULL default '',
  1865. `modmemberedittran` tinyint(1) NOT NULL default '0',
  1866. `modinfoedittran` tinyint(1) NOT NULL default '0',
  1867. `php_adminouttime` int(11) NOT NULL default '0',
  1868. `httptype` tinyint(1) NOT NULL default '0',
  1869. `qinfoaddfen` tinyint(1) NOT NULL default '0',
  1870. `bakescapetype` tinyint(1) NOT NULL default '0',
  1871. `hkeytime` int(11) NOT NULL default '0',
  1872. `hkeyrnd` varchar(60) NOT NULL default '',
  1873. `mhavedatedo` tinyint(1) NOT NULL default '0',
  1874. `reportkey` tinyint(1) NOT NULL default '0',
  1875. `wapchstyle` tinyint(1) NOT NULL default '0',
  1876. `usetotalnum` tinyint(1) NOT NULL default '0',
  1877. `spacegids` varchar(255) NOT NULL default '',
  1878. `candocodetag` tinyint(1) NOT NULL default '0',
  1879. `openern` varchar(255) NOT NULL default '',
  1880. `ernurl` varchar(200) NOT NULL default '',
  1881. PRIMARY KEY (`id`)
  1882. ) TYPE=MyISAM;
  1883. INSERT INTO `phome_enewspublic` VALUES (1, '/ecms75/', '帝国网站管理系统', 'admin@phome.net', '|.gif|.jpg|.swf|.rar|.zip|.mp3|.wmv|.txt|.doc|', 2048, 10, 10, 8, 100, 2, 20, 20, 10, 0, 0, 30, 5, 60, 0, 0, '.html', 0, '', 10, '.html', 40, 160, 1, '/ecms75/d/file/', 0, '', '21', '', '', '', 0, 0, 10, '7.2,1421510410', 1222406370, 300, 50, 10, 'bdata', 'zip', 'BEA0edeiQmotdkzjcA38', 3, 20, 6, 20, 1, 1, 'news', 0, 0, 1, 1, 0, 50, 100, 100, 1, 50, 1, 300, 5, '../data/mark/maskdef.gif', '', '5', '', '../data/mark/cour.ttf', 1, 0, 'sys_ShowListPage', 'sys_ShowTextPage', 'thea', '', 1, 50, 300, ',article.newstext,', 300, 'sys_ShowListMorePage', 10, 100, 0, 0, 100, 8, 1, '|.gif|.jpg|', 1, 500, '|.zip|.rar|', 1, 'smtp.163.com', 'ecms@163.com', 1, 'ecms', 'ecms', '25', '帝国CMS', 0, 1, 500, '|.zip|.rar|', 1, 0, '>', 105, 118, 1, 80, 65, 24, 0, 30, 30, ',', ',', ',', 1, 'Y/m-d', 1, 50, '|.gif|.jpg|', 1, 500, '|.zip|.rar|', ',', 1, '', 0, 1, 0, '', '', '', '', '', 6, 0, 1, 1, '', 10, 30, 'm-d', 2, 0, 10, 1, 2, '0ZR0hHW2Pgn0O49QoTh5FzinsUv9DdvGeT7cYoq0Js', 30, 0, 0, 0, 0, 0, 20, '&nbsp;|&nbsp;', ',1,2,', '帝国网站管理系统,EmpireCMS', '  帝国软件是一家专注于网络软件开发的科技公司,其主营产品“帝国网站管理系统(EmpireCMS)”是目前国内应用超高广泛的CMS程序。通过十多年的不断创新与完善,使系统集安全、稳定、强大、灵活于一身。目前EmpireCMS程序已经广泛应用在国内上百万家网站,覆盖国内数千万上网人群,并经过上千家知名网站的严格检测,被称为国内超高安全、超高稳定的开源CMS系统。', 300, 0, 1, 3, 20, ',,', 20, 10, 1, 43200, 0, '', 1, 0, 72, 720, 0, '[!--username--] ,\r\n这封信是由 [!--sitename--] 发送的。\r\n\r\n您收到这封邮件,是因为在我们网站的新用户注册 Email 使用\r\n了您的地址。如果您并没有访问过我们的网站,或没有进行上述操作,请忽\r\n略这封邮件。您不需要退订或进行其他进一步的操作。\r\n\r\n----------------------------------------------------------------------\r\n帐号激活说明\r\n----------------------------------------------------------------------\r\n\r\n您是我们网站的新用户,注册 Email 时使用了本地址,我们需\r\n要对您的地址有效性进行验证以避免垃圾邮件或地址被滥用。\r\n\r\n您只需点击下面的链接即可激活您的帐号:\r\n\r\n[!--pageurl--]\r\n\r\n(如果上面不是链接形式,请将地址手工粘贴到浏览器地址栏再访问)\r\n\r\n感谢您的访问,祝您使用愉快!\r\n\r\n\r\n\r\n此致\r\n\r\n[!--sitename--] 管理团队.\r\n[!--news.url--]', '[!--username--] ,\r\n这封信是由 [!--sitename--] 发送的。\r\n\r\n您收到这封邮件,是因为在我们的网站上这个邮箱地址被登记为用户邮箱,\r\n且该用户请求使用 Email 密码重置功能所致。\r\n\r\n----------------------------------------------------------------------\r\n重要!\r\n----------------------------------------------------------------------\r\n\r\n如果您没有提交密码重置的请求或不是我们网站的注册用户,请立即忽略\r\n并删除这封邮件。只在您确认需要重置密码的情况下,才继续阅读下面的\r\n内容。\r\n\r\n----------------------------------------------------------------------\r\n密码重置说明\r\n----------------------------------------------------------------------\r\n\r\n您只需在提交请求后的三天之内,通过点击下面的链接重置您的密码:\r\n\r\n[!--pageurl--]\r\n\r\n(如果上面不是链接形式,请将地址手工粘贴到浏览器地址栏再访问)\r\n\r\n上面的页面打开后,输入新的密码后提交,之后您即可使用新的密码登录\r\n网站了。您可以在用户控制面板中随时修改您的密码。\r\n\r\n\r\n\r\n此致\r\n\r\n[!--sitename--] 管理团队.\r\n[!--news.url--]', '[[!--sitename--]] Email 地址验证', '[[!--sitename--]] 取回密码说明', 0, 30, 25, 1, 43200, 60, 0, 0, 0, 0, 0, 10, 60, 0, 1, 1, 1, ',1,2,3,4,5,6,7,8,', '', 25, 0, 0, 0, 20, 20, 25, '', '', '', 0, 0, 3, 0, 0, '', 0, '', '', '', 0, '', 0, '', 0, '', ',1,', 1, '', '99C4E3', '', '', 0, 0, '', '', '', '', '', 0, '', 0, 0, 1000, 0, 0, 1, 30, 's065M0bBWmmJPPDdqYf2T4BXgKY1rOpc53C', 0, 0, 0, 0, '', 0, '', '');
  1884. UPDATE `phome_enewspublic` SET openspace=1,keytime='900',wapopen=0,memberlistlevel=2,showinfolevel=2,addnews_ok=1,closemods=',error,gb,fb,';
  1885. # --------------------------------------------------------
  1886. DROP TABLE IF EXISTS `phome_enewspublic_fc`;
  1887. CREATE TABLE `phome_enewspublic_fc` (
  1888. `id` tinyint(3) unsigned NOT NULL auto_increment,
  1889. `fclastindex` int(10) unsigned NOT NULL default '0',
  1890. PRIMARY KEY (`id`)
  1891. ) TYPE=MyISAM;
  1892. INSERT INTO `phome_enewspublic_fc` VALUES (1, 0);
  1893. # --------------------------------------------------------
  1894. DROP TABLE IF EXISTS `phome_enewspublic_up`;
  1895. CREATE TABLE `phome_enewspublic_up` (
  1896. `id` tinyint(3) unsigned NOT NULL auto_increment,
  1897. `lasttimeinfo` int(10) unsigned NOT NULL default '0',
  1898. `lasttimepl` int(10) unsigned NOT NULL default '0',
  1899. `lastnuminfo` int(10) unsigned NOT NULL default '0',
  1900. `lastnumpl` int(10) unsigned NOT NULL default '0',
  1901. `lastnuminfotb` text NOT NULL,
  1902. `lastnumpltb` text NOT NULL,
  1903. `todaytimeinfo` int(10) unsigned NOT NULL default '0',
  1904. `todaytimepl` int(10) unsigned NOT NULL default '0',
  1905. `todaynuminfo` int(10) unsigned NOT NULL default '0',
  1906. `yesterdaynuminfo` int(10) unsigned NOT NULL default '0',
  1907. `todaynumpl` int(10) unsigned NOT NULL default '0',
  1908. `yesterdaynumpl` int(10) unsigned NOT NULL default '0',
  1909. PRIMARY KEY (`id`)
  1910. ) TYPE=MyISAM;
  1911. INSERT INTO `phome_enewspublic_up` VALUES (1, 1355124469, 1355124476, 0, 0, '', '', 1408520771, 1408520771, 0, 0, 0, 0);
  1912. # --------------------------------------------------------
  1913. DROP TABLE IF EXISTS `phome_enewspublicadd`;
  1914. CREATE TABLE `phome_enewspublicadd` (
  1915. `id` tinyint(3) unsigned NOT NULL auto_increment,
  1916. `ctimeopen` tinyint(1) NOT NULL default '0',
  1917. `ctimelast` int(10) unsigned NOT NULL default '0',
  1918. `ctimeindex` int(11) NOT NULL default '0',
  1919. `ctimeclass` int(11) NOT NULL default '0',
  1920. `ctimelist` int(11) NOT NULL default '0',
  1921. `ctimetext` int(11) NOT NULL default '0',
  1922. `ctimett` int(11) NOT NULL default '0',
  1923. `ctimetags` int(11) NOT NULL default '0',
  1924. `ctimegids` varchar(255) NOT NULL default '',
  1925. `ctimecids` varchar(255) NOT NULL default '',
  1926. `ctimernd` varchar(60) NOT NULL default '',
  1927. `ctimeaddre` tinyint(4) NOT NULL default '0',
  1928. `ctimeqaddre` tinyint(4) NOT NULL default '0',
  1929. `autodoopen` tinyint(1) NOT NULL default '0',
  1930. `autodouser` varchar(30) NOT NULL default '',
  1931. `autodopass` varchar(32) NOT NULL default '',
  1932. `autodosalt` varchar(20) NOT NULL default '',
  1933. `autodoshowkey` tinyint(1) NOT NULL default '0',
  1934. `autodotime` int(11) NOT NULL default '0',
  1935. `autodoline` int(11) NOT NULL default '0',
  1936. `autodovar` varchar(20) NOT NULL default '',
  1937. `autodoval` varchar(60) NOT NULL default '',
  1938. `autodoshow` tinyint(1) NOT NULL default '0',
  1939. `autodofile` tinyint(1) NOT NULL default '0',
  1940. `autodopostpass` varchar(120) NOT NULL default '',
  1941. `autodoss` tinyint(1) NOT NULL default '0',
  1942. `autodoaction` varchar(200) NOT NULL default '',
  1943. `autodock` tinyint(1) NOT NULL default '0',
  1944. `digglevel` int(11) NOT NULL default '0',
  1945. `diggcmids` varchar(255) NOT NULL default '',
  1946. `toqjf` text NOT NULL,
  1947. `qtoqjf` text NOT NULL,
  1948. PRIMARY KEY (`id`)
  1949. ) TYPE=MyISAM;
  1950. INSERT INTO `phome_enewspublicadd` VALUES (1, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 'pLnmZpF4fqbKQmhv82WQAekQAyktoARuFccZjnLb21', 0, 0, 0, '', '', '', 0, 100, 12, '', '', 1, 0, 'EmpireCMS', 0, ',emp,', 0, 0, '', '', '');
  1951. # --------------------------------------------------------
  1952. DROP TABLE IF EXISTS `phome_enewspubvar`;
  1953. CREATE TABLE `phome_enewspubvar` (
  1954. `varid` smallint(5) unsigned NOT NULL auto_increment,
  1955. `myvar` varchar(60) NOT NULL default '',
  1956. `varname` varchar(20) NOT NULL default '',
  1957. `varvalue` text NOT NULL,
  1958. `varsay` varchar(255) NOT NULL default '',
  1959. `myorder` smallint(5) unsigned NOT NULL default '0',
  1960. `classid` smallint(5) unsigned NOT NULL default '0',
  1961. `tocache` tinyint(1) NOT NULL default '0',
  1962. PRIMARY KEY (`varid`),
  1963. UNIQUE KEY `varname` (`varname`),
  1964. KEY `classid` (`classid`),
  1965. KEY `tocache` (`tocache`)
  1966. ) TYPE=MyISAM;
  1967. # --------------------------------------------------------
  1968. DROP TABLE IF EXISTS `phome_enewspubvarclass`;
  1969. CREATE TABLE `phome_enewspubvarclass` (
  1970. `classid` smallint(5) unsigned NOT NULL auto_increment,
  1971. `classname` varchar(30) NOT NULL default '',
  1972. `classsay` varchar(255) NOT NULL default '',
  1973. PRIMARY KEY (`classid`)
  1974. ) TYPE=MyISAM;
  1975. # --------------------------------------------------------
  1976. DROP TABLE IF EXISTS `phome_enewsqmsg`;
  1977. CREATE TABLE `phome_enewsqmsg` (
  1978. `mid` int(10) unsigned NOT NULL auto_increment,
  1979. `title` varchar(80) NOT NULL default '',
  1980. `msgtext` text NOT NULL,
  1981. `haveread` tinyint(1) NOT NULL default '0',
  1982. `msgtime` datetime NOT NULL default '0000-00-00 00:00:00',
  1983. `to_username` varchar(30) NOT NULL default '',
  1984. `from_userid` int(10) unsigned NOT NULL default '0',
  1985. `from_username` varchar(30) NOT NULL default '',
  1986. `isadmin` tinyint(1) NOT NULL default '0',
  1987. `issys` tinyint(1) NOT NULL default '0',
  1988. PRIMARY KEY (`mid`),
  1989. KEY `to_username` (`to_username`)
  1990. ) TYPE=MyISAM;
  1991. # --------------------------------------------------------
  1992. DROP TABLE IF EXISTS `phome_enewssearch`;
  1993. CREATE TABLE `phome_enewssearch` (
  1994. `searchid` bigint(20) unsigned NOT NULL auto_increment,
  1995. `keyboard` varchar(255) NOT NULL default '',
  1996. `searchtime` int(10) unsigned NOT NULL default '0',
  1997. `searchclass` varchar(255) NOT NULL default '',
  1998. `result_num` int(10) unsigned NOT NULL default '0',
  1999. `searchip` varchar(20) NOT NULL default '',
  2000. `classid` varchar(255) NOT NULL default '',
  2001. `onclick` int(10) unsigned NOT NULL default '0',
  2002. `orderby` varchar(30) NOT NULL default '0',
  2003. `myorder` tinyint(1) NOT NULL default '0',
  2004. `checkpass` varchar(32) NOT NULL default '',
  2005. `tbname` varchar(60) NOT NULL default '',
  2006. `tempid` smallint(5) unsigned NOT NULL default '0',
  2007. `iskey` tinyint(1) NOT NULL default '0',
  2008. `andsql` text NOT NULL,
  2009. `trueclassid` smallint(5) unsigned NOT NULL default '0',
  2010. PRIMARY KEY (`searchid`),
  2011. KEY `checkpass` (`checkpass`)
  2012. ) TYPE=MyISAM;
  2013. # --------------------------------------------------------
  2014. DROP TABLE IF EXISTS `phome_enewssearchall`;
  2015. CREATE TABLE `phome_enewssearchall` (
  2016. `sid` int(10) unsigned NOT NULL auto_increment,
  2017. `id` int(10) unsigned NOT NULL default '0',
  2018. `classid` smallint(5) unsigned NOT NULL default '0',
  2019. `title` text NOT NULL,
  2020. `infotime` int(10) unsigned NOT NULL default '0',
  2021. `infotext` mediumtext NOT NULL,
  2022. PRIMARY KEY (`sid`),
  2023. KEY `id` (`id`,`classid`,`infotime`),
  2024. FULLTEXT KEY `title` (`title`,`infotext`)
  2025. ) TYPE=MyISAM;
  2026. # --------------------------------------------------------
  2027. DROP TABLE IF EXISTS `phome_enewssearchall_load`;
  2028. CREATE TABLE `phome_enewssearchall_load` (
  2029. `lid` smallint(5) unsigned NOT NULL auto_increment,
  2030. `tbname` varchar(60) NOT NULL default '',
  2031. `titlefield` varchar(30) NOT NULL default '',
  2032. `infotextfield` varchar(30) NOT NULL default '',
  2033. `smalltextfield` varchar(30) NOT NULL default '',
  2034. `loadnum` smallint(5) unsigned NOT NULL default '0',
  2035. `lasttime` int(10) unsigned NOT NULL default '0',
  2036. `lastid` int(10) unsigned NOT NULL default '0',
  2037. PRIMARY KEY (`lid`)
  2038. ) TYPE=MyISAM;
  2039. # --------------------------------------------------------
  2040. DROP TABLE IF EXISTS `phome_enewsshop_address`;
  2041. CREATE TABLE `phome_enewsshop_address` (
  2042. `addressid` int(10) unsigned NOT NULL auto_increment,
  2043. `addressname` char(50) NOT NULL default '',
  2044. `userid` mediumint(8) unsigned NOT NULL default '0',
  2045. `truename` char(20) NOT NULL default '',
  2046. `oicq` char(20) NOT NULL default '',
  2047. `msn` char(60) NOT NULL default '',
  2048. `email` char(60) NOT NULL default '',
  2049. `address` char(255) NOT NULL default '',
  2050. `zip` char(8) NOT NULL default '',
  2051. `mycall` char(30) NOT NULL default '',
  2052. `phone` char(30) NOT NULL default '',
  2053. `signbuild` char(100) NOT NULL default '',
  2054. `besttime` char(120) NOT NULL default '',
  2055. `isdefault` tinyint(1) NOT NULL default '0',
  2056. PRIMARY KEY (`addressid`),
  2057. KEY `userid` (`userid`)
  2058. ) TYPE=MyISAM;
  2059. # --------------------------------------------------------
  2060. DROP TABLE IF EXISTS `phome_enewsshop_ddlog`;
  2061. CREATE TABLE `phome_enewsshop_ddlog` (
  2062. `logid` int(10) unsigned NOT NULL auto_increment,
  2063. `ddid` int(10) unsigned NOT NULL default '0',
  2064. `userid` int(10) unsigned NOT NULL default '0',
  2065. `username` varchar(30) NOT NULL default '',
  2066. `ecms` varchar(30) NOT NULL default '',
  2067. `bz` varchar(255) NOT NULL default '',
  2068. `addbz` varchar(255) NOT NULL default '',
  2069. `logtime` datetime NOT NULL default '0000-00-00 00:00:00',
  2070. PRIMARY KEY (`logid`),
  2071. KEY `ddid` (`ddid`)
  2072. ) TYPE=MyISAM;
  2073. # --------------------------------------------------------
  2074. DROP TABLE IF EXISTS `phome_enewsshop_precode`;
  2075. CREATE TABLE `phome_enewsshop_precode` (
  2076. `id` int(10) unsigned NOT NULL auto_increment,
  2077. `prename` varchar(30) NOT NULL default '',
  2078. `precode` varchar(36) NOT NULL default '',
  2079. `premoney` int(10) unsigned NOT NULL default '0',
  2080. `pretype` tinyint(1) NOT NULL default '0',
  2081. `reuse` tinyint(1) NOT NULL default '0',
  2082. `addtime` int(10) unsigned NOT NULL default '0',
  2083. `endtime` int(10) unsigned NOT NULL default '0',
  2084. `groupid` varchar(255) NOT NULL default '',
  2085. `classid` text NOT NULL,
  2086. `musttotal` int(10) unsigned NOT NULL default '0',
  2087. `usenum` int(11) NOT NULL default '0',
  2088. `haveusenum` int(11) NOT NULL default '0',
  2089. PRIMARY KEY (`id`),
  2090. UNIQUE KEY `precode` (`precode`)
  2091. ) TYPE=MyISAM;
  2092. # --------------------------------------------------------
  2093. DROP TABLE IF EXISTS `phome_enewsshop_set`;
  2094. CREATE TABLE `phome_enewsshop_set` (
  2095. `id` tinyint(3) unsigned NOT NULL auto_increment,
  2096. `shopddgroupid` smallint(5) unsigned NOT NULL default '0',
  2097. `buycarnum` smallint(5) unsigned NOT NULL default '0',
  2098. `havefp` tinyint(1) NOT NULL default '0',
  2099. `fpnum` smallint(5) unsigned NOT NULL default '0',
  2100. `fpname` text NOT NULL,
  2101. `ddmust` text NOT NULL,
  2102. `haveatt` tinyint(1) NOT NULL default '0',
  2103. `shoptbs` varchar(255) NOT NULL default '',
  2104. `buystep` tinyint(3) unsigned NOT NULL default '0',
  2105. `shoppsmust` tinyint(1) NOT NULL default '0',
  2106. `shoppayfsmust` tinyint(1) NOT NULL default '0',
  2107. `dddeltime` smallint(5) unsigned NOT NULL default '0',
  2108. `cutnumtype` tinyint(1) NOT NULL default '0',
  2109. `cutnumtime` int(10) unsigned NOT NULL default '0',
  2110. `freepstotal` int(10) unsigned NOT NULL default '0',
  2111. `singlenum` int(10) unsigned NOT NULL default '0',
  2112. PRIMARY KEY (`id`)
  2113. ) TYPE=MyISAM;
  2114. INSERT INTO `phome_enewsshop_set` VALUES (1, 0, 0, 0, 10, '商品名称\r\n办公用品\r\n日用品', ',truename,mycall,address,', 0, ',shop,', 0, 1, 1, 0, 0, 120, 0, 0);
  2115. # --------------------------------------------------------
  2116. DROP TABLE IF EXISTS `phome_enewsshopdd`;
  2117. CREATE TABLE `phome_enewsshopdd` (
  2118. `ddid` int(10) unsigned NOT NULL auto_increment,
  2119. `ddno` varchar(30) NOT NULL default '',
  2120. `ddtime` datetime NOT NULL default '0000-00-00 00:00:00',
  2121. `userid` mediumint(8) unsigned NOT NULL default '0',
  2122. `username` varchar(30) NOT NULL default '',
  2123. `outproduct` tinyint(1) NOT NULL default '0',
  2124. `haveprice` tinyint(1) NOT NULL default '0',
  2125. `checked` tinyint(1) NOT NULL default '0',
  2126. `truename` varchar(20) NOT NULL default '',
  2127. `oicq` varchar(25) NOT NULL default '',
  2128. `msn` varchar(120) NOT NULL default '',
  2129. `email` varchar(120) NOT NULL default '',
  2130. `mycall` varchar(30) NOT NULL default '',
  2131. `phone` varchar(30) NOT NULL default '',
  2132. `address` varchar(255) NOT NULL default '',
  2133. `zip` varchar(8) NOT NULL default '',
  2134. `psid` smallint(6) NOT NULL default '0',
  2135. `psname` varchar(60) NOT NULL default '',
  2136. `pstotal` float(11,2) NOT NULL default '0.00',
  2137. `alltotal` float(11,2) NOT NULL default '0.00',
  2138. `payfsid` smallint(6) NOT NULL default '0',
  2139. `payfsname` varchar(60) NOT NULL default '',
  2140. `payby` tinyint(4) NOT NULL default '0',
  2141. `alltotalfen` float(11,2) NOT NULL default '0.00',
  2142. `fp` tinyint(1) NOT NULL default '0',
  2143. `fptt` varchar(255) NOT NULL default '',
  2144. `fptotal` float(11,2) NOT NULL default '0.00',
  2145. `fpname` varchar(50) NOT NULL default '',
  2146. `userip` varchar(20) NOT NULL default '',
  2147. `signbuild` varchar(100) NOT NULL default '',
  2148. `besttime` varchar(120) NOT NULL default '',
  2149. `pretotal` float(11,2) NOT NULL default '0.00',
  2150. `ddtruetime` int(10) unsigned NOT NULL default '0',
  2151. `havecutnum` tinyint(1) NOT NULL default '0',
  2152. PRIMARY KEY (`ddid`),
  2153. KEY `ddno` (`ddno`),
  2154. KEY `userid` (`userid`)
  2155. ) TYPE=MyISAM;
  2156. # --------------------------------------------------------
  2157. DROP TABLE IF EXISTS `phome_enewsshopdd_add`;
  2158. CREATE TABLE `phome_enewsshopdd_add` (
  2159. `ddid` int(10) unsigned NOT NULL default '0',
  2160. `buycar` mediumtext NOT NULL,
  2161. `bz` text NOT NULL,
  2162. `retext` text NOT NULL,
  2163. PRIMARY KEY (`ddid`)
  2164. ) TYPE=MyISAM;
  2165. # --------------------------------------------------------
  2166. DROP TABLE IF EXISTS `phome_enewsshoppayfs`;
  2167. CREATE TABLE `phome_enewsshoppayfs` (
  2168. `payid` smallint(5) unsigned NOT NULL auto_increment,
  2169. `payname` varchar(60) NOT NULL default '',
  2170. `payurl` varchar(255) NOT NULL default '',
  2171. `paysay` text NOT NULL,
  2172. `userpay` tinyint(1) NOT NULL default '0',
  2173. `userfen` tinyint(1) NOT NULL default '0',
  2174. `isclose` tinyint(1) NOT NULL default '0',
  2175. `isdefault` tinyint(1) NOT NULL default '0',
  2176. PRIMARY KEY (`payid`)
  2177. ) TYPE=MyISAM;
  2178. INSERT INTO `phome_enewsshoppayfs` VALUES (1, '邮政汇款', '', '邮政汇款地址:******', 0, 0, 0, 0);
  2179. INSERT INTO `phome_enewsshoppayfs` VALUES (2, '银行转帐', '', '银行转帐帐号:******', 0, 0, 0, 0);
  2180. INSERT INTO `phome_enewsshoppayfs` VALUES (3, '网银支付', '/ecms75/e/payapi/ShopPay.php?paytype=alipay', '<p>网银支付</p>', 0, 0, 0, 1);
  2181. INSERT INTO `phome_enewsshoppayfs` VALUES (4, '预付款支付', '', '预付款支付', 1, 0, 0, 0);
  2182. INSERT INTO `phome_enewsshoppayfs` VALUES (5, '货到付款(或上门收款)', '', '货到付款(或上门收款)说明', 0, 0, 0, 0);
  2183. INSERT INTO `phome_enewsshoppayfs` VALUES (6, '点数购买', '', '点数购买', 0, 1, 0, 0);
  2184. # --------------------------------------------------------
  2185. DROP TABLE IF EXISTS `phome_enewsshopps`;
  2186. CREATE TABLE `phome_enewsshopps` (
  2187. `pid` smallint(5) unsigned NOT NULL auto_increment,
  2188. `pname` varchar(60) NOT NULL default '',
  2189. `price` float(11,2) NOT NULL default '0.00',
  2190. `otherprice` text NOT NULL,
  2191. `psay` text NOT NULL,
  2192. `isclose` tinyint(1) NOT NULL default '0',
  2193. `isdefault` tinyint(1) NOT NULL default '0',
  2194. PRIMARY KEY (`pid`)
  2195. ) TYPE=MyISAM;
  2196. INSERT INTO `phome_enewsshopps` VALUES (1, '送货上门', '10.00', '', '送货上门', 0, 0);
  2197. INSERT INTO `phome_enewsshopps` VALUES (2, '特快专递(EMS)', '25.00', '', '特快专递(EMS)', 0, 0);
  2198. INSERT INTO `phome_enewsshopps` VALUES (3, '普通邮递', '5.00', '', '普通邮递', 0, 1);
  2199. INSERT INTO `phome_enewsshopps` VALUES (4, '邮局快邮', '12.00', '', '邮局快邮', 0, 0);
  2200. # --------------------------------------------------------
  2201. DROP TABLE IF EXISTS `phome_enewssp`;
  2202. CREATE TABLE `phome_enewssp` (
  2203. `spid` int(10) unsigned NOT NULL auto_increment,
  2204. `spname` varchar(30) NOT NULL default '',
  2205. `varname` varchar(30) NOT NULL default '',
  2206. `sppic` varchar(255) NOT NULL default '',
  2207. `spsay` varchar(255) NOT NULL default '',
  2208. `sptype` tinyint(1) NOT NULL default '0',
  2209. `cid` smallint(5) unsigned NOT NULL default '0',
  2210. `classid` smallint(5) unsigned NOT NULL default '0',
  2211. `tempid` smallint(5) unsigned NOT NULL default '0',
  2212. `maxnum` int(11) NOT NULL default '0',
  2213. `sptime` int(10) unsigned NOT NULL default '0',
  2214. `groupid` text NOT NULL,
  2215. `userclass` text NOT NULL,
  2216. `username` text NOT NULL,
  2217. `isclose` tinyint(1) NOT NULL default '0',
  2218. `cladd` tinyint(1) NOT NULL default '0',
  2219. `refile` tinyint(1) NOT NULL default '0',
  2220. `spfile` varchar(255) NOT NULL default '',
  2221. `spfileline` smallint(6) NOT NULL default '0',
  2222. `spfilesub` smallint(6) NOT NULL default '0',
  2223. PRIMARY KEY (`spid`),
  2224. UNIQUE KEY `varname` (`varname`),
  2225. KEY `refile` (`refile`)
  2226. ) TYPE=MyISAM;
  2227. # --------------------------------------------------------
  2228. DROP TABLE IF EXISTS `phome_enewssp_1`;
  2229. CREATE TABLE `phome_enewssp_1` (
  2230. `sid` int(10) unsigned NOT NULL auto_increment,
  2231. `spid` int(10) unsigned NOT NULL default '0',
  2232. `title` varchar(200) NOT NULL default '',
  2233. `titlepic` varchar(200) NOT NULL default '',
  2234. `bigpic` varchar(200) NOT NULL default '',
  2235. `titleurl` varchar(200) NOT NULL default '',
  2236. `smalltext` varchar(255) NOT NULL default '',
  2237. `titlefont` varchar(20) NOT NULL default '',
  2238. `newstime` int(10) unsigned NOT NULL default '0',
  2239. `titlepre` varchar(30) NOT NULL default '',
  2240. `titlenext` varchar(30) NOT NULL default '',
  2241. PRIMARY KEY (`sid`),
  2242. KEY `spid` (`spid`),
  2243. KEY `newstime` (`newstime`)
  2244. ) TYPE=MyISAM;
  2245. # --------------------------------------------------------
  2246. DROP TABLE IF EXISTS `phome_enewssp_2`;
  2247. CREATE TABLE `phome_enewssp_2` (
  2248. `sid` int(10) unsigned NOT NULL auto_increment,
  2249. `spid` int(10) unsigned NOT NULL default '0',
  2250. `classid` smallint(5) unsigned NOT NULL default '0',
  2251. `id` int(10) unsigned NOT NULL default '0',
  2252. `newstime` int(10) unsigned NOT NULL default '0',
  2253. PRIMARY KEY (`sid`),
  2254. KEY `spid` (`spid`),
  2255. KEY `newstime` (`newstime`)
  2256. ) TYPE=MyISAM;
  2257. # --------------------------------------------------------
  2258. DROP TABLE IF EXISTS `phome_enewssp_3`;
  2259. CREATE TABLE `phome_enewssp_3` (
  2260. `sid` int(10) unsigned NOT NULL auto_increment,
  2261. `spid` int(10) unsigned NOT NULL default '0',
  2262. `sptext` mediumtext NOT NULL,
  2263. PRIMARY KEY (`sid`),
  2264. UNIQUE KEY `spid` (`spid`)
  2265. ) TYPE=MyISAM;
  2266. # --------------------------------------------------------
  2267. DROP TABLE IF EXISTS `phome_enewssp_3_bak`;
  2268. CREATE TABLE `phome_enewssp_3_bak` (
  2269. `bid` int(10) unsigned NOT NULL auto_increment,
  2270. `sid` int(10) unsigned NOT NULL default '0',
  2271. `spid` int(10) unsigned NOT NULL default '0',
  2272. `sptext` mediumtext NOT NULL,
  2273. `lastuser` varchar(30) NOT NULL default '',
  2274. `lasttime` int(10) unsigned NOT NULL default '0',
  2275. PRIMARY KEY (`bid`),
  2276. KEY `sid` (`sid`),
  2277. KEY `spid` (`spid`)
  2278. ) TYPE=MyISAM;
  2279. # --------------------------------------------------------
  2280. DROP TABLE IF EXISTS `phome_enewsspacestyle`;
  2281. CREATE TABLE `phome_enewsspacestyle` (
  2282. `styleid` smallint(5) unsigned NOT NULL auto_increment,
  2283. `stylename` varchar(30) NOT NULL default '',
  2284. `stylepic` varchar(255) NOT NULL default '',
  2285. `stylesay` varchar(255) NOT NULL default '',
  2286. `stylepath` varchar(30) NOT NULL default '0',
  2287. `isdefault` tinyint(1) NOT NULL default '0',
  2288. `membergroup` varchar(255) NOT NULL default '',
  2289. PRIMARY KEY (`styleid`)
  2290. ) TYPE=MyISAM;
  2291. INSERT INTO `phome_enewsspacestyle` VALUES (1, '默认个人空间模板', '', '默认个人空间模板', 'default', 1, ',1,2,');
  2292. INSERT INTO `phome_enewsspacestyle` VALUES (2, '默认企业空间模板', '', '默认企业空间模板', 'comdefault', 0, ',3,4,');
  2293. # --------------------------------------------------------
  2294. DROP TABLE IF EXISTS `phome_enewsspclass`;
  2295. CREATE TABLE `phome_enewsspclass` (
  2296. `classid` smallint(5) unsigned NOT NULL auto_increment,
  2297. `classname` varchar(30) NOT NULL default '',
  2298. `classsay` varchar(255) NOT NULL default '',
  2299. PRIMARY KEY (`classid`)
  2300. ) TYPE=MyISAM;
  2301. # --------------------------------------------------------
  2302. DROP TABLE IF EXISTS `phome_enewssql`;
  2303. CREATE TABLE `phome_enewssql` (
  2304. `id` smallint(5) unsigned NOT NULL auto_increment,
  2305. `sqlname` varchar(60) NOT NULL default '',
  2306. `sqltext` text NOT NULL,
  2307. PRIMARY KEY (`id`)
  2308. ) TYPE=MyISAM;
  2309. # --------------------------------------------------------
  2310. DROP TABLE IF EXISTS `phome_enewstable`;
  2311. CREATE TABLE `phome_enewstable` (
  2312. `tid` smallint(5) unsigned NOT NULL auto_increment,
  2313. `tbname` varchar(60) NOT NULL default '',
  2314. `tname` varchar(60) NOT NULL default '',
  2315. `tsay` text NOT NULL,
  2316. `isdefault` tinyint(1) NOT NULL default '0',
  2317. `datatbs` text NOT NULL,
  2318. `deftb` varchar(6) NOT NULL default '',
  2319. `yhid` smallint(5) unsigned NOT NULL default '0',
  2320. `mid` smallint(5) unsigned NOT NULL default '0',
  2321. `intb` tinyint(1) NOT NULL default '0',
  2322. PRIMARY KEY (`tid`)
  2323. ) TYPE=MyISAM;
  2324. # --------------------------------------------------------
  2325. DROP TABLE IF EXISTS `phome_enewstags`;
  2326. CREATE TABLE `phome_enewstags` (
  2327. `tagid` int(10) unsigned NOT NULL auto_increment,
  2328. `tagname` char(20) NOT NULL default '',
  2329. `num` int(10) unsigned NOT NULL default '0',
  2330. `isgood` tinyint(1) NOT NULL default '0',
  2331. `cid` smallint(5) unsigned NOT NULL default '0',
  2332. `tagtitle` char(60) NOT NULL default '',
  2333. `tagkey` char(100) NOT NULL default '',
  2334. `tagdes` char(255) NOT NULL default '',
  2335. `fclast` int(10) unsigned NOT NULL default '0',
  2336. PRIMARY KEY (`tagid`),
  2337. UNIQUE KEY `tagname` (`tagname`),
  2338. KEY `isgood` (`isgood`),
  2339. KEY `cid` (`cid`),
  2340. KEY `num` (`num`)
  2341. ) TYPE=MyISAM;
  2342. # --------------------------------------------------------
  2343. DROP TABLE IF EXISTS `phome_enewstagsclass`;
  2344. CREATE TABLE `phome_enewstagsclass` (
  2345. `classid` smallint(5) unsigned NOT NULL auto_increment,
  2346. `classname` varchar(60) NOT NULL default '',
  2347. PRIMARY KEY (`classid`)
  2348. ) TYPE=MyISAM;
  2349. # --------------------------------------------------------
  2350. DROP TABLE IF EXISTS `phome_enewstagsdata`;
  2351. CREATE TABLE `phome_enewstagsdata` (
  2352. `tid` int(10) unsigned NOT NULL auto_increment,
  2353. `tagid` int(10) unsigned NOT NULL default '0',
  2354. `classid` smallint(5) unsigned NOT NULL default '0',
  2355. `id` int(10) unsigned NOT NULL default '0',
  2356. `newstime` int(10) unsigned NOT NULL default '0',
  2357. `mid` smallint(5) unsigned NOT NULL default '0',
  2358. PRIMARY KEY (`tid`),
  2359. KEY `tagid` (`tagid`),
  2360. KEY `classid` (`classid`),
  2361. KEY `id` (`id`),
  2362. KEY `newstime` (`newstime`),
  2363. KEY `mid` (`mid`)
  2364. ) TYPE=MyISAM;
  2365. # --------------------------------------------------------
  2366. DROP TABLE IF EXISTS `phome_enewstask`;
  2367. CREATE TABLE `phome_enewstask` (
  2368. `id` smallint(5) unsigned NOT NULL auto_increment,
  2369. `taskname` varchar(60) NOT NULL default '',
  2370. `userid` int(10) unsigned NOT NULL default '0',
  2371. `isopen` tinyint(1) NOT NULL default '0',
  2372. `filename` varchar(60) NOT NULL default '',
  2373. `lastdo` int(10) unsigned NOT NULL default '0',
  2374. `doweek` char(1) NOT NULL default '0',
  2375. `doday` char(2) NOT NULL default '0',
  2376. `dohour` char(2) NOT NULL default '0',
  2377. `dominute` varchar(255) NOT NULL default '',
  2378. PRIMARY KEY (`id`)
  2379. ) TYPE=MyISAM;
  2380. # --------------------------------------------------------
  2381. DROP TABLE IF EXISTS `phome_enewstogzts`;
  2382. CREATE TABLE `phome_enewstogzts` (
  2383. `togid` int(10) unsigned NOT NULL auto_increment,
  2384. `keyboard` varchar(255) NOT NULL default '',
  2385. `searchf` varchar(255) NOT NULL default '',
  2386. `query` text NOT NULL,
  2387. `specialsearch` varchar(255) NOT NULL default '',
  2388. `classid` smallint(5) unsigned NOT NULL default '0',
  2389. `retype` tinyint(1) NOT NULL default '0',
  2390. `startday` varchar(20) NOT NULL default '',
  2391. `endday` varchar(20) NOT NULL default '',
  2392. `startid` int(10) unsigned NOT NULL default '0',
  2393. `endid` int(10) unsigned NOT NULL default '0',
  2394. `pline` int(11) NOT NULL default '0',
  2395. `doecmszt` tinyint(1) NOT NULL default '0',
  2396. `togztname` varchar(30) NOT NULL default '',
  2397. PRIMARY KEY (`togid`),
  2398. KEY `togztname` (`togztname`)
  2399. ) TYPE=MyISAM;
  2400. # --------------------------------------------------------
  2401. DROP TABLE IF EXISTS `phome_enewsuser`;
  2402. CREATE TABLE `phome_enewsuser` (
  2403. `userid` int(10) unsigned NOT NULL auto_increment,
  2404. `username` varchar(30) NOT NULL default '',
  2405. `password` varchar(32) NOT NULL default '',
  2406. `rnd` varchar(20) NOT NULL default '',
  2407. `adminclass` mediumtext NOT NULL,
  2408. `groupid` smallint(5) unsigned NOT NULL default '0',
  2409. `checked` tinyint(1) NOT NULL default '0',
  2410. `styleid` smallint(5) unsigned NOT NULL default '0',
  2411. `filelevel` tinyint(1) NOT NULL default '0',
  2412. `salt` varchar(8) NOT NULL default '',
  2413. `loginnum` int(10) unsigned NOT NULL default '0',
  2414. `lasttime` int(10) unsigned NOT NULL default '0',
  2415. `lastip` varchar(20) NOT NULL default '',
  2416. `truename` varchar(20) NOT NULL default '',
  2417. `email` varchar(120) NOT NULL default '',
  2418. `classid` smallint(5) unsigned NOT NULL default '0',
  2419. `pretime` int(10) unsigned NOT NULL default '0',
  2420. `preip` varchar(20) NOT NULL default '',
  2421. `addtime` int(10) unsigned NOT NULL default '0',
  2422. `addip` varchar(20) NOT NULL default '',
  2423. `userprikey` varchar(50) NOT NULL default '',
  2424. `salt2` varchar(20) NOT NULL default '',
  2425. `lastipport` varchar(6) NOT NULL default '',
  2426. `preipport` varchar(6) NOT NULL default '',
  2427. `addipport` varchar(6) NOT NULL default '',
  2428. `uprnd` varchar(32) NOT NULL default '',
  2429. `wname` varchar(60) NOT NULL default '',
  2430. `tel` varchar(20) NOT NULL default '',
  2431. `wxno` varchar(80) NOT NULL default '',
  2432. `qq` varchar(20) NOT NULL default '',
  2433. PRIMARY KEY (`userid`),
  2434. UNIQUE KEY `username` (`username`)
  2435. ) TYPE=MyISAM;
  2436. # --------------------------------------------------------
  2437. DROP TABLE IF EXISTS `phome_enewsuseradd`;
  2438. CREATE TABLE `phome_enewsuseradd` (
  2439. `userid` int(10) unsigned NOT NULL auto_increment,
  2440. `equestion` tinyint(4) NOT NULL default '0',
  2441. `eanswer` varchar(32) NOT NULL default '',
  2442. `openip` text NOT NULL,
  2443. `certkey` varchar(60) NOT NULL default '',
  2444. `certtime` int(10) unsigned NOT NULL default '0',
  2445. PRIMARY KEY (`userid`)
  2446. ) TYPE=MyISAM;
  2447. # --------------------------------------------------------
  2448. DROP TABLE IF EXISTS `phome_enewsuserclass`;
  2449. CREATE TABLE `phome_enewsuserclass` (
  2450. `classid` smallint(5) unsigned NOT NULL auto_increment,
  2451. `classname` varchar(30) NOT NULL default '',
  2452. PRIMARY KEY (`classid`)
  2453. ) TYPE=MyISAM;
  2454. # --------------------------------------------------------
  2455. DROP TABLE IF EXISTS `phome_enewsuserjs`;
  2456. CREATE TABLE `phome_enewsuserjs` (
  2457. `jsid` smallint(5) unsigned NOT NULL auto_increment,
  2458. `jsname` varchar(60) NOT NULL default '',
  2459. `jssql` text NOT NULL,
  2460. `jstempid` smallint(5) unsigned NOT NULL default '0',
  2461. `jsfilename` varchar(120) NOT NULL default '',
  2462. `classid` smallint(5) unsigned NOT NULL default '0',
  2463. PRIMARY KEY (`jsid`),
  2464. KEY `classid` (`classid`)
  2465. ) TYPE=MyISAM;
  2466. # --------------------------------------------------------
  2467. DROP TABLE IF EXISTS `phome_enewsuserjsclass`;
  2468. CREATE TABLE `phome_enewsuserjsclass` (
  2469. `classid` smallint(5) unsigned NOT NULL auto_increment,
  2470. `classname` varchar(30) NOT NULL default '',
  2471. PRIMARY KEY (`classid`)
  2472. ) TYPE=MyISAM;
  2473. # --------------------------------------------------------
  2474. DROP TABLE IF EXISTS `phome_enewsuserlist`;
  2475. CREATE TABLE `phome_enewsuserlist` (
  2476. `listid` smallint(5) unsigned NOT NULL auto_increment,
  2477. `listname` varchar(60) NOT NULL default '',
  2478. `pagetitle` varchar(120) NOT NULL default '',
  2479. `filepath` varchar(120) NOT NULL default '',
  2480. `filetype` varchar(12) NOT NULL default '',
  2481. `totalsql` text NOT NULL,
  2482. `listsql` text NOT NULL,
  2483. `maxnum` int(11) NOT NULL default '0',
  2484. `lencord` int(11) NOT NULL default '0',
  2485. `listtempid` smallint(5) unsigned NOT NULL default '0',
  2486. `pagekeywords` varchar(255) NOT NULL default '',
  2487. `pagedescription` varchar(255) NOT NULL default '',
  2488. `classid` smallint(5) unsigned NOT NULL default '0',
  2489. PRIMARY KEY (`listid`),
  2490. KEY `classid` (`classid`)
  2491. ) TYPE=MyISAM;
  2492. # --------------------------------------------------------
  2493. DROP TABLE IF EXISTS `phome_enewsuserlistclass`;
  2494. CREATE TABLE `phome_enewsuserlistclass` (
  2495. `classid` smallint(5) unsigned NOT NULL auto_increment,
  2496. `classname` varchar(30) NOT NULL default '',
  2497. PRIMARY KEY (`classid`)
  2498. ) TYPE=MyISAM;
  2499. # --------------------------------------------------------
  2500. DROP TABLE IF EXISTS `phome_enewsuserloginck`;
  2501. CREATE TABLE `phome_enewsuserloginck` (
  2502. `userid` int(10) unsigned NOT NULL auto_increment,
  2503. `andauth` varchar(32) NOT NULL default '',
  2504. PRIMARY KEY (`userid`)
  2505. ) TYPE=MyISAM;
  2506. # --------------------------------------------------------
  2507. DROP TABLE IF EXISTS `phome_enewsvg`;
  2508. CREATE TABLE `phome_enewsvg` (
  2509. `vgid` smallint(5) unsigned NOT NULL auto_increment,
  2510. `gname` char(60) NOT NULL default '',
  2511. `gids` char(255) NOT NULL default '',
  2512. `ingids` char(255) NOT NULL default '',
  2513. `agids` char(255) NOT NULL default '',
  2514. `mlist` tinyint(1) NOT NULL default '0',
  2515. PRIMARY KEY (`vgid`)
  2516. ) TYPE=MyISAM;
  2517. # --------------------------------------------------------
  2518. DROP TABLE IF EXISTS `phome_enewsvglist`;
  2519. CREATE TABLE `phome_enewsvglist` (
  2520. `vgid` smallint(5) unsigned NOT NULL default '0',
  2521. `addtime` int(10) unsigned NOT NULL default '0',
  2522. `userid` int(10) unsigned NOT NULL default '0',
  2523. `outtime` int(10) unsigned NOT NULL default '0',
  2524. KEY `vgid` (`vgid`),
  2525. KEY `userid` (`userid`),
  2526. KEY `addtime` (`addtime`)
  2527. ) TYPE=MyISAM;
  2528. # --------------------------------------------------------
  2529. DROP TABLE IF EXISTS `phome_enewsvote`;
  2530. CREATE TABLE `phome_enewsvote` (
  2531. `voteid` int(10) unsigned NOT NULL auto_increment,
  2532. `title` varchar(120) NOT NULL default '',
  2533. `votenum` int(10) unsigned NOT NULL default '0',
  2534. `voteip` mediumtext NOT NULL,
  2535. `votetext` text NOT NULL,
  2536. `voteclass` tinyint(1) NOT NULL default '0',
  2537. `doip` tinyint(1) NOT NULL default '0',
  2538. `votetime` int(10) unsigned NOT NULL default '0',
  2539. `dotime` date NOT NULL default '0000-00-00',
  2540. `width` int(11) NOT NULL default '0',
  2541. `height` int(11) NOT NULL default '0',
  2542. `addtime` datetime NOT NULL default '0000-00-00 00:00:00',
  2543. `tempid` smallint(5) unsigned NOT NULL default '0',
  2544. PRIMARY KEY (`voteid`)
  2545. ) TYPE=MyISAM;
  2546. # --------------------------------------------------------
  2547. DROP TABLE IF EXISTS `phome_enewsvotemod`;
  2548. CREATE TABLE `phome_enewsvotemod` (
  2549. `voteid` smallint(5) unsigned NOT NULL auto_increment,
  2550. `title` varchar(120) NOT NULL default '',
  2551. `votetext` text NOT NULL,
  2552. `voteclass` tinyint(1) NOT NULL default '0',
  2553. `doip` tinyint(1) NOT NULL default '0',
  2554. `dotime` date NOT NULL default '0000-00-00',
  2555. `tempid` smallint(5) unsigned NOT NULL default '0',
  2556. `width` int(11) NOT NULL default '0',
  2557. `height` int(11) NOT NULL default '0',
  2558. `votenum` int(10) unsigned NOT NULL default '0',
  2559. `ysvotename` varchar(60) NOT NULL default '',
  2560. PRIMARY KEY (`voteid`)
  2561. ) TYPE=MyISAM;
  2562. # --------------------------------------------------------
  2563. DROP TABLE IF EXISTS `phome_enewswapstyle`;
  2564. CREATE TABLE `phome_enewswapstyle` (
  2565. `styleid` smallint(5) unsigned NOT NULL auto_increment,
  2566. `stylename` varchar(60) NOT NULL default '',
  2567. `path` smallint(5) unsigned NOT NULL default '0',
  2568. PRIMARY KEY (`styleid`)
  2569. ) TYPE=MyISAM;
  2570. INSERT INTO `phome_enewswapstyle` VALUES (1, '新闻模板', 1);
  2571. INSERT INTO `phome_enewswapstyle` VALUES (2, '分类信息模板', 2);
  2572. # --------------------------------------------------------
  2573. DROP TABLE IF EXISTS `phome_enewswfinfo`;
  2574. CREATE TABLE `phome_enewswfinfo` (
  2575. `id` int(10) unsigned NOT NULL default '0',
  2576. `classid` smallint(5) unsigned NOT NULL default '0',
  2577. `wfid` smallint(5) unsigned NOT NULL default '0',
  2578. `tid` int(10) unsigned NOT NULL default '0',
  2579. `groupid` text NOT NULL,
  2580. `userclass` text NOT NULL,
  2581. `username` text NOT NULL,
  2582. `checknum` tinyint(4) NOT NULL default '0',
  2583. `tstatus` varchar(30) NOT NULL default '0',
  2584. `checktno` tinyint(4) NOT NULL default '0',
  2585. KEY `id` (`id`,`classid`)
  2586. ) TYPE=MyISAM;
  2587. # --------------------------------------------------------
  2588. DROP TABLE IF EXISTS `phome_enewswfinfolog`;
  2589. CREATE TABLE `phome_enewswfinfolog` (
  2590. `logid` int(10) unsigned NOT NULL auto_increment,
  2591. `id` int(10) unsigned NOT NULL default '0',
  2592. `classid` smallint(5) unsigned NOT NULL default '0',
  2593. `wfid` smallint(5) unsigned NOT NULL default '0',
  2594. `tid` int(10) unsigned NOT NULL default '0',
  2595. `username` varchar(30) NOT NULL default '',
  2596. `checktime` int(10) unsigned NOT NULL default '0',
  2597. `checktext` text NOT NULL,
  2598. `checknum` tinyint(4) NOT NULL default '0',
  2599. `checktype` tinyint(1) NOT NULL default '0',
  2600. PRIMARY KEY (`logid`),
  2601. KEY `id` (`id`,`classid`)
  2602. ) TYPE=MyISAM;
  2603. # --------------------------------------------------------
  2604. DROP TABLE IF EXISTS `phome_enewswords`;
  2605. CREATE TABLE `phome_enewswords` (
  2606. `wordid` smallint(5) unsigned NOT NULL auto_increment,
  2607. `oldword` varchar(255) NOT NULL default '',
  2608. `newword` varchar(255) NOT NULL default '',
  2609. PRIMARY KEY (`wordid`)
  2610. ) TYPE=MyISAM;
  2611. # --------------------------------------------------------
  2612. DROP TABLE IF EXISTS `phome_enewsworkflow`;
  2613. CREATE TABLE `phome_enewsworkflow` (
  2614. `wfid` smallint(5) unsigned NOT NULL auto_increment,
  2615. `wfname` varchar(60) NOT NULL default '',
  2616. `wftext` varchar(255) NOT NULL default '',
  2617. `myorder` smallint(5) unsigned NOT NULL default '0',
  2618. `addtime` int(10) unsigned NOT NULL default '0',
  2619. `adduser` varchar(30) NOT NULL default '',
  2620. `canedit` tinyint(1) NOT NULL default '0',
  2621. PRIMARY KEY (`wfid`)
  2622. ) TYPE=MyISAM;
  2623. # --------------------------------------------------------
  2624. DROP TABLE IF EXISTS `phome_enewsworkflowitem`;
  2625. CREATE TABLE `phome_enewsworkflowitem` (
  2626. `tid` int(10) unsigned NOT NULL auto_increment,
  2627. `wfid` smallint(5) unsigned NOT NULL default '0',
  2628. `tname` varchar(60) NOT NULL default '',
  2629. `tno` int(11) NOT NULL default '0',
  2630. `ttext` varchar(255) NOT NULL default '',
  2631. `groupid` text NOT NULL,
  2632. `userclass` text NOT NULL,
  2633. `username` text NOT NULL,
  2634. `lztype` tinyint(1) NOT NULL default '0',
  2635. `tbdo` int(10) unsigned NOT NULL default '0',
  2636. `tddo` int(10) unsigned NOT NULL default '0',
  2637. `tstatus` varchar(30) NOT NULL default '',
  2638. PRIMARY KEY (`tid`),
  2639. KEY `wfid` (`wfid`),
  2640. KEY `tno` (`tno`)
  2641. ) TYPE=MyISAM;
  2642. # --------------------------------------------------------
  2643. DROP TABLE IF EXISTS `phome_enewswriter`;
  2644. CREATE TABLE `phome_enewswriter` (
  2645. `wid` smallint(5) unsigned NOT NULL auto_increment,
  2646. `writer` varchar(30) NOT NULL default '',
  2647. `email` varchar(120) NOT NULL default '',
  2648. PRIMARY KEY (`wid`)
  2649. ) TYPE=MyISAM;
  2650. # --------------------------------------------------------
  2651. DROP TABLE IF EXISTS `phome_enewsyh`;
  2652. CREATE TABLE `phome_enewsyh` (
  2653. `id` smallint(5) unsigned NOT NULL auto_increment,
  2654. `yhname` varchar(30) NOT NULL default '',
  2655. `yhtext` varchar(255) NOT NULL default '',
  2656. `hlist` int(11) NOT NULL default '0',
  2657. `qlist` int(11) NOT NULL default '0',
  2658. `bqnew` int(11) NOT NULL default '0',
  2659. `bqhot` int(11) NOT NULL default '0',
  2660. `bqpl` int(11) NOT NULL default '0',
  2661. `bqgood` int(11) NOT NULL default '0',
  2662. `bqfirst` int(11) NOT NULL default '0',
  2663. `bqdown` int(11) NOT NULL default '0',
  2664. `otherlink` int(11) NOT NULL default '0',
  2665. `qmlist` int(11) NOT NULL default '0',
  2666. `dobq` tinyint(1) NOT NULL default '0',
  2667. `dojs` tinyint(1) NOT NULL default '0',
  2668. `dosbq` tinyint(1) NOT NULL default '0',
  2669. `rehtml` int(11) NOT NULL default '0',
  2670. PRIMARY KEY (`id`)
  2671. ) TYPE=MyISAM;
  2672. # --------------------------------------------------------
  2673. DROP TABLE IF EXISTS `phome_enewszt`;
  2674. CREATE TABLE `phome_enewszt` (
  2675. `ztid` smallint(5) unsigned NOT NULL auto_increment,
  2676. `ztname` varchar(60) NOT NULL default '',
  2677. `onclick` int(10) unsigned NOT NULL default '0',
  2678. `ztnum` tinyint(3) unsigned NOT NULL default '0',
  2679. `listtempid` smallint(5) unsigned NOT NULL default '0',
  2680. `ztpath` varchar(255) NOT NULL default '',
  2681. `zttype` varchar(10) NOT NULL default '',
  2682. `zturl` varchar(200) NOT NULL default '',
  2683. `classid` smallint(5) unsigned NOT NULL default '0',
  2684. `islist` tinyint(1) NOT NULL default '0',
  2685. `maxnum` int(11) NOT NULL default '0',
  2686. `reorder` varchar(50) NOT NULL default '',
  2687. `intro` text NOT NULL,
  2688. `ztimg` varchar(255) NOT NULL default '',
  2689. `zcid` smallint(5) unsigned NOT NULL default '0',
  2690. `showzt` tinyint(1) NOT NULL default '0',
  2691. `ztpagekey` varchar(255) NOT NULL default '',
  2692. `classtempid` smallint(5) unsigned NOT NULL default '0',
  2693. `myorder` smallint(5) unsigned NOT NULL default '0',
  2694. `usezt` tinyint(1) NOT NULL default '0',
  2695. `yhid` smallint(5) unsigned NOT NULL default '0',
  2696. `endtime` int(10) unsigned NOT NULL default '0',
  2697. `closepl` tinyint(1) NOT NULL default '0',
  2698. `checkpl` tinyint(1) NOT NULL default '0',
  2699. `restb` tinyint(3) unsigned NOT NULL default '0',
  2700. `usernames` varchar(255) NOT NULL default '',
  2701. `addtime` int(10) unsigned NOT NULL default '0',
  2702. `pltempid` smallint(5) unsigned NOT NULL default '0',
  2703. PRIMARY KEY (`ztid`),
  2704. KEY `classid` (`classid`),
  2705. KEY `zcid` (`zcid`),
  2706. KEY `usezt` (`usezt`)
  2707. ) TYPE=MyISAM;
  2708. # --------------------------------------------------------
  2709. DROP TABLE IF EXISTS `phome_enewsztadd`;
  2710. CREATE TABLE `phome_enewsztadd` (
  2711. `ztid` smallint(5) unsigned NOT NULL default '0',
  2712. `classtext` mediumtext NOT NULL,
  2713. PRIMARY KEY (`ztid`)
  2714. ) TYPE=MyISAM;
  2715. # --------------------------------------------------------
  2716. DROP TABLE IF EXISTS `phome_enewsztclass`;
  2717. CREATE TABLE `phome_enewsztclass` (
  2718. `classid` smallint(5) unsigned NOT NULL auto_increment,
  2719. `classname` varchar(30) NOT NULL default '',
  2720. PRIMARY KEY (`classid`)
  2721. ) TYPE=MyISAM;
  2722. # --------------------------------------------------------
  2723. DROP TABLE IF EXISTS `phome_enewsztf`;
  2724. CREATE TABLE `phome_enewsztf` (
  2725. `fid` smallint(5) unsigned NOT NULL auto_increment,
  2726. `f` varchar(30) NOT NULL default '',
  2727. `fname` varchar(30) NOT NULL default '',
  2728. `fform` varchar(20) NOT NULL default '',
  2729. `fhtml` mediumtext NOT NULL,
  2730. `fzs` varchar(255) NOT NULL default '',
  2731. `myorder` smallint(5) unsigned NOT NULL default '0',
  2732. `ftype` varchar(30) NOT NULL default '',
  2733. `flen` varchar(20) NOT NULL default '',
  2734. `fvalue` text NOT NULL,
  2735. `fformsize` varchar(12) NOT NULL default '',
  2736. PRIMARY KEY (`fid`)
  2737. ) TYPE=MyISAM;
  2738. # --------------------------------------------------------
  2739. DROP TABLE IF EXISTS `phome_enewsztinfo`;
  2740. CREATE TABLE `phome_enewsztinfo` (
  2741. `zid` int(10) unsigned NOT NULL auto_increment,
  2742. `ztid` smallint(5) unsigned NOT NULL default '0',
  2743. `cid` mediumint(8) unsigned NOT NULL default '0',
  2744. `classid` smallint(5) unsigned NOT NULL default '0',
  2745. `id` int(10) unsigned NOT NULL default '0',
  2746. `newstime` int(10) unsigned NOT NULL default '0',
  2747. `mid` smallint(5) unsigned NOT NULL default '0',
  2748. `isgood` tinyint(1) unsigned NOT NULL default '0',
  2749. PRIMARY KEY (`zid`),
  2750. KEY `ztid` (`ztid`),
  2751. KEY `cid` (`cid`),
  2752. KEY `classid` (`classid`),
  2753. KEY `id` (`id`),
  2754. KEY `newstime` (`newstime`),
  2755. KEY `mid` (`mid`),
  2756. KEY `isgood` (`isgood`)
  2757. ) TYPE=MyISAM;
  2758. # --------------------------------------------------------
  2759. DROP TABLE IF EXISTS `phome_enewszttype`;
  2760. CREATE TABLE `phome_enewszttype` (
  2761. `cid` mediumint(8) unsigned NOT NULL auto_increment,
  2762. `ztid` smallint(5) unsigned NOT NULL default '0',
  2763. `cname` varchar(20) NOT NULL default '',
  2764. `myorder` smallint(5) unsigned NOT NULL default '0',
  2765. `islist` tinyint(1) NOT NULL default '0',
  2766. `listtempid` smallint(5) unsigned NOT NULL default '0',
  2767. `maxnum` int(10) unsigned NOT NULL default '0',
  2768. `tnum` tinyint(3) unsigned NOT NULL default '0',
  2769. `reorder` varchar(50) NOT NULL default '',
  2770. `ttype` varchar(10) NOT NULL default '',
  2771. `endtime` int(10) unsigned NOT NULL default '0',
  2772. `tfile` varchar(60) NOT NULL default '',
  2773. PRIMARY KEY (`cid`),
  2774. KEY `ztid` (`ztid`),
  2775. KEY `myorder` (`myorder`)
  2776. ) TYPE=MyISAM;
  2777. # --------------------------------------------------------
  2778. DROP TABLE IF EXISTS `phome_enewszttypeadd`;
  2779. CREATE TABLE `phome_enewszttypeadd` (
  2780. `cid` mediumint(8) unsigned NOT NULL default '0',
  2781. `classtext` mediumtext NOT NULL,
  2782. PRIMARY KEY (`cid`)
  2783. ) TYPE=MyISAM;