<?php
@include("../../inc/header.php");

/*
		SoftName : Ebak
		Author   : wm_chief
		Copyright: Power by www.phome.net
*/

$empire->query("DROP TABLE IF EXISTS `phome_enewszt`;");
$empire->query("CREATE TABLE `phome_enewszt` (
  `ztid` smallint(6) NOT NULL auto_increment,
  `ztname` varchar(60) NOT NULL default '',
  `onclick` int(11) NOT NULL default '0',
  `ztnum` tinyint(4) NOT NULL default '0',
  `listtempid` smallint(6) NOT NULL default '0',
  `ztpath` varchar(20) NOT NULL default '',
  `zttype` varchar(10) NOT NULL default '',
  `newline` int(11) NOT NULL default '0',
  `newstrlen` int(11) NOT NULL default '0',
  `newshowdate` tinyint(1) NOT NULL default '0',
  `zturl` varchar(200) NOT NULL default '',
  `hotline` tinyint(4) NOT NULL default '0',
  `hotshowdate` tinyint(1) NOT NULL default '0',
  `hotstrlen` tinyint(4) NOT NULL default '0',
  `goodline` tinyint(4) NOT NULL default '0',
  `goodshowdate` tinyint(1) NOT NULL default '0',
  `goodstrlen` tinyint(4) NOT NULL default '0',
  `classid` smallint(6) NOT NULL default '0',
  `hotplline` tinyint(4) NOT NULL default '0',
  `hotplshowdate` tinyint(1) NOT NULL default '0',
  `hotplstrlen` tinyint(4) NOT NULL default '0',
  `firstline` tinyint(4) NOT NULL default '0',
  `firststrlen` tinyint(4) NOT NULL default '0',
  `firstshowdate` tinyint(1) NOT NULL default '0',
  `indextext` mediumtext NOT NULL,
  `islist` tinyint(1) NOT NULL default '0',
  `maxnum` int(11) NOT NULL default '0',
  `tid` smallint(6) NOT NULL default '0',
  `tbname` varchar(60) NOT NULL default '',
  `reorderf` varchar(30) NOT NULL default '',
  `reorder` varchar(4) NOT NULL default '',
  `intro` text NOT NULL,
  `ztimg` varchar(255) NOT NULL default '',
  `jstempid` smallint(6) NOT NULL default '0',
  `zcid` smallint(6) NOT NULL default '0',
  `showzt` tinyint(1) NOT NULL default '0',
  `ztpagekey` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`ztid`),
  KEY `classid` (`classid`),
  KEY `zcid` (`zcid`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk");

@include("../../inc/footer.php");
?>