--
-- 表的结构 `xy_admin_user`
--

CREATE TABLE IF NOT EXISTS `xy_admin_user` (
  `id` int(8) NOT NULL AUTO_INCREMENT,
  `xyname` varchar(255) NOT NULL,
  `xypwd` varchar(255) NOT NULL,
  `login_num` int(11) NOT NULL DEFAULT '0',
  `login_date` int(11) NOT NULL,
  `c_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 表的结构 `xy_admin_user_count`
--

CREATE TABLE IF NOT EXISTS `xy_admin_user_count` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `login_name` varchar(255) NOT NULL,
  `login_date` int(11) NOT NULL,
  `login_ip` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 表的结构 `xy_ads`
--

CREATE TABLE IF NOT EXISTS `xy_ads` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `ad_bs` varchar(255) NOT NULL,
  `c_id` int(6) NOT NULL DEFAULT '0',
  `link_url` varchar(255) NOT NULL,
  `link_img` text NOT NULL,
  `link_w` int(6) NOT NULL,
  `link_h` int(6) NOT NULL,
  `link_file` text NOT NULL,
  `c_order` int(6) NOT NULL,
  `c_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 表的结构 `xy_article`
--

CREATE TABLE IF NOT EXISTS `xy_article` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `typeid` smallint(5) NOT NULL,
  `catid` int(11) NOT NULL,
  `title` varchar(100) NOT NULL,
  `a_bold` varchar(255) NOT NULL,
  `a_color` varchar(30) NOT NULL,
  `a_url` varchar(255) NOT NULL,
  `keywords` varchar(100) NOT NULL,
  `description` varchar(255) NOT NULL,
  `content` text NOT NULL,
  `thumb` text NOT NULL,
  `v_url` text NOT NULL,
  `a_author` varchar(100) NOT NULL,
  `a_from` varchar(100) NOT NULL,
  `a_order` int(11) NOT NULL DEFAULT '0',
  `c_date` int(11) NOT NULL,
  `u_date` int(11) NOT NULL,
  `is_hot` int(10) NOT NULL DEFAULT '0',
  `hits` int(11) NOT NULL DEFAULT '1',
  `f_path` varchar(255) NOT NULL,
  `a_zt` int(4) NOT NULL DEFAULT '1',
  `xy_price` varchar(255) NOT NULL,
  `xy_model` varchar(255) NOT NULL,
  `xy_spec` varchar(255) NOT NULL,
  `xy_addr` varchar(255) NOT NULL,
  `xy_indus` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 表的结构 `xy_book`
--

CREATE TABLE IF NOT EXISTS `xy_book` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `f_name` varchar(50) NOT NULL,
  `title` varchar(255) NOT NULL,
  `f_tel` varchar(50) NOT NULL,
  `content` text NOT NULL,
  `reply_content` text NOT NULL,
  `is_view` int(4) NOT NULL DEFAULT '0',
  `c_order` int(10) NOT NULL,
  `b_ip` varchar(50) NOT NULL,
  `c_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 表的结构 `xy_category`
--

CREATE TABLE IF NOT EXISTS `xy_category` (
  `cid` int(6) NOT NULL AUTO_INCREMENT,
  `cname` varchar(32) NOT NULL,
  `keywords` varchar(255) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `content` text NOT NULL,
  `pid` int(11) DEFAULT NULL,
  `c_order` int(11) NOT NULL,
  `thumb` varchar(255) NOT NULL,
  `folder` varchar(255) NOT NULL,
  `folderpath` varchar(255) NOT NULL,
  `s_id` varchar(11) NOT NULL,
  `s_path` varchar(255) NOT NULL,
  `c_type` int(11) NOT NULL,
  `c_lev` int(11) NOT NULL,
  `c_date` int(11) NOT NULL,
  PRIMARY KEY (`cid`),
  KEY `pid` (`pid`),
  KEY `cname` (`cname`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 表的结构 `xy_config`
--

CREATE TABLE IF NOT EXISTS `xy_config` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `wzname` varchar(255) NOT NULL,
  `wztitle` varchar(255) NOT NULL,
  `wzkeys` varchar(255) NOT NULL,
  `wzdec` varchar(255) NOT NULL,
  `wzurl` varchar(255) NOT NULL,
  `wzlogo` varchar(255) NOT NULL,
  `wxlogo` varchar(255) NOT NULL,
  `wzicp` varchar(50) NOT NULL,
  `wztel` varchar(30) NOT NULL,
  `wzemail` varchar(255) NOT NULL,
  `wzaddress` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 表的结构 `xy_jdt`
--

CREATE TABLE IF NOT EXISTS `xy_jdt` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `link_url` varchar(255) NOT NULL,
  `link_img` varchar(255) NOT NULL,
  `c_order` int(6) NOT NULL,
  `c_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 表的结构 `xy_kfs`
--

CREATE TABLE IF NOT EXISTS `xy_kfs` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `kf_code` text NOT NULL,
  `c_order` int(4) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 表的结构 `xy_links`
--

CREATE TABLE IF NOT EXISTS `xy_links` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `c_id` int(6) NOT NULL,
  `link_url` varchar(255) NOT NULL,
  `link_img` varchar(255) NOT NULL,
  `c_order` int(6) NOT NULL,
  `c_date` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 表的结构 `xy_menu`
--

CREATE TABLE IF NOT EXISTS `xy_menu` (
  `cid` int(6) NOT NULL AUTO_INCREMENT,
  `cname` varchar(32) NOT NULL,
  `pid` int(11) DEFAULT NULL,
  `c_order` int(11) NOT NULL,
  `url` varchar(255) NOT NULL,
  `open_method` varchar(255) NOT NULL,
  `c_lev` int(11) NOT NULL DEFAULT '1',
  `c_date` int(11) NOT NULL,
  PRIMARY KEY (`cid`),
  KEY `pid` (`pid`),
  KEY `cname` (`cname`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
