-- version phpStudy 2014
-- http://www.phpmyadmin.net
--
-- 主机: localhost
-- 生成日期: 2016 年 11 月 11 日 13:49
-- 服务器版本: 5.5.47-log
-- PHP 版本: 5.3.29




--
-- 数据库: `xinfu`
--

-- --------------------------------------------------------

--
-- 表的结构 `cmf_ad`
--

CREATE TABLE IF NOT EXISTS `cmf_ad` (
  `ad_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '广告id',
  `ad_name` varchar(255) NOT NULL COMMENT '广告名称',
  `ad_content` text COMMENT '广告内容',
  `status` int(2) NOT NULL DEFAULT '1' COMMENT '状态，1显示，0不显示',
  PRIMARY KEY (`ad_id`),
  KEY `ad_name` (`ad_name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- 表的结构 `cmf_admin_log`
--

CREATE TABLE IF NOT EXISTS `cmf_admin_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `ltime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '操作时间',
  `uid` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'uid',
  `info` varchar(255) NOT NULL DEFAULT '' COMMENT '内容',
  `ip` varchar(15) NOT NULL DEFAULT '' COMMENT 'IP',
  PRIMARY KEY (`id`),
  KEY `ltime` (`ltime`),
  KEY `uid` (`uid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4561 ;

-- --------------------------------------------------------

--
-- 表的结构 `cmf_article`
--

CREATE TABLE IF NOT EXISTS `cmf_article` (
  `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `catid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `title` varchar(160) NOT NULL DEFAULT '',
  `style` char(24) NOT NULL DEFAULT '',
  `thumb` varchar(100) NOT NULL DEFAULT '',
  `keywords` varchar(40) NOT NULL DEFAULT '',
  `description` mediumtext,
  `url` char(100) NOT NULL DEFAULT '',
  `moveurl` char(100) NOT NULL COMMENT '动态url地址',
  `listorder` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `status` tinyint(2) unsigned NOT NULL DEFAULT '1',
  `istop` tinyint(2) NOT NULL COMMENT '置顶 0否，1是',
  `recommend` tinyint(2) NOT NULL COMMENT '推荐 0否1是',
  `sysadd` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `islink` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `username` char(20) NOT NULL DEFAULT '',
  `inputtime` int(10) unsigned NOT NULL DEFAULT '0',
  `updatetime` int(10) unsigned NOT NULL DEFAULT '0',
  `prefix` varchar(255) NOT NULL DEFAULT '',
  `tags` varchar(255) NOT NULL DEFAULT '',
  `views` int(11) NOT NULL DEFAULT '0' COMMENT '点击总数',
  `yesterdayviews` int(11) NOT NULL DEFAULT '0' COMMENT '最日',
  `dayviews` int(10) NOT NULL DEFAULT '0' COMMENT '今日点击数',
  `weekviews` int(10) NOT NULL DEFAULT '0' COMMENT '本周访问数',
  `monthviews` int(10) NOT NULL DEFAULT '0' COMMENT '本月访问',
  `viewsupdatetime` int(10) NOT NULL DEFAULT '0' COMMENT '点击数更新时间',
  `seotitle` mediumtext,
  `seokeywords` mediumtext,
  `seodescription` mediumtext,
  `seourl` varchar(255) DEFAULT NULL,
  `isdelay` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否推迟',
  `is_del` tinyint(10) NOT NULL DEFAULT '0' COMMENT '0存在，1回收站',
  PRIMARY KEY (`id`),
  KEY `status` (`status`,`listorder`,`id`),
  KEY `listorder` (`catid`,`status`,`listorder`,`id`),
  KEY `catid` (`catid`,`weekviews`,`views`,`dayviews`,`monthviews`,`status`,`id`),
  KEY `thumb` (`thumb`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=49 ;

--
-- 转存表中的数据 `cmf_article`
--

INSERT INTO `cmf_article` (`id`, `catid`, `title`, `style`, `thumb`, `keywords`, `description`, `url`, `moveurl`, `listorder`, `status`, `istop`, `recommend`, `sysadd`, `islink`, `username`, `inputtime`, `updatetime`, `prefix`, `tags`, `views`, `yesterdayviews`, `dayviews`, `weekviews`, `monthviews`, `viewsupdatetime`, `seotitle`, `seokeywords`, `seodescription`, `seourl`, `isdelay`, `is_del`) VALUES
(20, 61, '这是动静子栏目2内容', '', '', '', 'adsfadsfasdf', 'http://192.168.0.68/thinkcmf/index.php?g=Content&m=Pagedis&a=show_art&catid=61&id=20', 'http://192.168.0.68/thinkcmf/index.php?g=Content&m=Pagedis&a=show_art&catid=61&id=20', 0, 99, 1, 0, 1, 0, 'admin', 1466760553, 1466760553, '', '', 0, 0, 0, 0, 0, 0, '这是动静子栏目2内容 Supply', '这是动静子栏目2内容  Manufacturer', '', 'lasldflasdfasdf', 0, 0),
(43, 96, 'woshifu', '', 'data/upload/20161024/580d7712536ab.jpg', '', '', 'http://localhost/xinxiangmu/news/43-43.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_art&catid=96&id=43', 0, 99, 0, 1, 1, 0, 'admin', 1477365369, 1477365369, '', '', 0, 0, 0, 0, 0, 0, 'How to carry out the welding of steel ... Supplier', 'How to carry out the welding of steel ...  Manufacturer', NULL, '43', 0, 0),
(46, 96, 'it is winter', '', 'data/upload/20161029/58140c6d44f71.jpg', '', 'it is winter', 'http://localhost/xinxiangmu/news/46-46.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_art&catid=96&id=46', 0, 99, 0, 0, 1, 0, 'admin', 1477708915, 1477708915, '', '', 0, 0, 0, 0, 0, 0, '', '', 'a:5:{s:4:"des1";N;s:7:"desc_mo";N;s:4:"des2";N;s:4:"des3";N;s:4:"des4";N;}', '46', 0, 0),
(31, 96, 'HIGH-QUALITY PRODUCTS', '', 'data/upload/20160924/57e5dfbb6e88e.jpg', '', '', 'http://localhost/xinxiangmu/news/31-31.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_art&catid=96&id=31', 0, 99, 1, 0, 1, 0, 'admin', 1474598033, 1474598033, '', '', 0, 0, 0, 0, 0, 0, 'China HIGH-QUALITY PRODUCTS', 'HIGH-QUALITY PRODUCTS Wholesale', NULL, '31', 0, 0),
(32, 96, 'PROFESSIONAL EXPORT EXPERINCE', '', 'data/upload/20160924/57e5dfd276ab4.jpg', '', '', 'http://localhost/xinxiangmu/news/32-32.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_art&catid=96&id=32', 0, 99, 1, 0, 1, 0, 'admin', 1474598101, 1474598101, '', '', 0, 0, 0, 0, 0, 0, 'ODM PROFESSIONAL EXPORT EXPERINCE', 'Sale PROFESSIONAL EXPORT EXPERINCE', NULL, '32', 0, 0),
(33, 96, 'MUTAL COOPRATION AND DEVELOPMENT', '', 'data/upload/20160924/57e5dfe788c91.jpg', '', '', 'http://localhost/xinxiangmu/news/33-33.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_art&catid=96&id=33', 0, 99, 1, 0, 1, 0, 'admin', 1474598158, 1474598158, '', '', 0, 0, 0, 0, 0, 0, 'MUTAL COOPRATION AND DEVELOPMENT Wholesaler', 'MUTAL COOPRATION AND DEVELOPMENT Wholesaler', NULL, '33', 0, 0),
(30, 96, 'WE ARE FACTORY', '', 'data/upload/20160924/57e5dffa4e742.jpg', '', '', 'http://localhost/xinxiangmu/news/30-30.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_art&catid=96&id=30', 0, 99, 1, 0, 1, 0, 'admin', 1474597967, 1474597967, '', '', 0, 0, 0, 0, 0, 0, 'Custom WE ARE FACTORY', 'WE ARE FACTORY for Sale', NULL, '30', 0, 0),
(38, 94, 'certificate5', '', 'data/upload/20160923/57e4c02c67a87.jpg', '', '', 'http://localhost/xinxiangmu/cn/certificates/38.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=show_art&catid=94&id=38', 0, 99, 0, 0, 1, 0, 'admin', 1474609198, 1474609198, '', '', 0, 0, 0, 0, 0, 0, 'certificate5 Wholesaler', 'rebar coupler', NULL, '38', 0, 0),
(41, 96, 'Professional Export Experince', '', 'data/upload/20161024/580d759937952.jpg', '', 'heloooooooo', 'http://localhost/xinxiangmu/news/41-41.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_art&catid=96&id=41', 2, 99, 0, 1, 1, 0, 'admin', 1474612706, 1474612706, '', '', 0, 0, 0, 0, 0, 0, 'rebar coupler', 'Professional Export Experince Exporter China', NULL, '41', 0, 0),
(42, 96, 'How to carry out the welding of steel...', '', 'data/upload/20161024/580d7712536ab.jpg', '', '', 'http://localhost/xinxiangmu/news/42-42.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_art&catid=96&id=42', 0, 99, 0, 1, 1, 0, 'admin', 1474612744, 1474612744, '', '', 0, 0, 0, 0, 0, 0, 'How to carry out the welding of steel ... Supplier', 'How to carry out the welding of steel ...  Manufacturer', NULL, '42', 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_article_data`
--

CREATE TABLE IF NOT EXISTS `cmf_article_data` (
  `id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `content` mediumtext,
  `paginationtype` tinyint(1) NOT NULL DEFAULT '0',
  `maxcharperpage` mediumint(6) NOT NULL DEFAULT '0',
  `template` varchar(30) NOT NULL DEFAULT '',
  `paytype` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `allow_comment` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `relation` varchar(255) NOT NULL DEFAULT '',
  `copyfrom` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `cmf_article_data`
--

INSERT INTO `cmf_article_data` (`id`, `content`, `paginationtype`, `maxcharperpage`, `template`, `paytype`, `allow_comment`, `relation`, `copyfrom`) VALUES
(1, '<p><img src="http://localhost/thinkcmf/data/upload/ueditor/20160606/575540af25bf9.jpg" title="download(1).jpg" alt="download(1).jpg"/>我是最新的新闻一</p>', 0, 0, '', 0, 1, '', ''),
(2, '<p style="white-space: normal;">Mid east customer visit Frengrass factory</p><p style="white-space: normal;"><br/></p><p style="white-space: normal;">Jan.18,\n mid east customer visit Frengrass factory, and check many landscaping \ngrass samples, at last they decide to buy 4 color grass the first order.</p><p><br/></p><p style="white-space: normal;">Mid east customer visit Frengrass factory</p><p style="white-space: normal;"><br/></p><p style="white-space: normal;">Jan.18,\n mid east customer visit Frengrass factory, and check many landscaping \ngrass samples, at last they decide to buy 4 color grass the first order.</p><p><br/></p>', 0, 0, '', 0, 1, '', ''),
(3, '<p>稀里哗啦的下雨啊<br/></p>', 0, 0, '', 0, 1, '', ''),
(20, '<p>adsfadsfasdf</p>', 0, 0, '', 0, 1, '', ''),
(31, '<p><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">All our products have passed ISO 9001-2008 quality system certification and CE certification because of our advanced production lines, top professional testing equipment, intelligent R&amp;D ...</span></p>', 0, 0, '', 0, 1, '', ''),
(30, '<p><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Established in 1958, Hebei XINYU Welding Co., Ltd, which mainly produces high strength steel welding wire, &nbsp;Non-copper-coated solid wire, &nbsp;submerged arc &amp; stainless steel welding wire. </span></p>', 0, 0, '', 0, 1, '', ''),
(0, '<p>炸弹打飞了。。。。</p><p><img alt="240914090494B.jpg" src="http://localhost/thinkcmf/data/upload/ueditor/20160818/57b571dfa44df.jpg" title="240914090494B.jpg"/></p>', 0, 0, '', 0, 1, '', ''),
(32, '<p><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Our Welding wires and welding wire equipment are exported to many countries and regions such as USA, Italy, Brazil, Russia and India etc...</span></p>', 0, 0, '', 0, 1, '', ''),
(33, '<p><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Hebei XINYU Welding Co., Ltd Welcome you to our factory any time.</span></p>', 0, 0, '', 0, 1, '', ''),
(34, '<p>one certificate</p>', 0, 0, '', 0, 1, '', ''),
(35, '<p>certificate2<br/></p>', 0, 0, '', 0, 1, '', ''),
(36, '<p>certificate3</p>', 0, 0, '', 0, 1, '', ''),
(37, '<p>certificate4</p>', 0, 0, '', 0, 1, '', ''),
(38, '<p>certificate5</p>', 0, 0, '', 0, 1, '', ''),
(39, '<p>what&#39;s your name</p>', 0, 0, '', 0, 1, '', ''),
(40, '<p>how old are you&nbsp;</p>', 0, 0, '', 0, 1, '', ''),
(41, '<p class="n2_wz">Hebei XINYU Welding Co., Ltd, which mainly produces high strength steel welding wire, &nbsp;Non-copper-coated solid wire, &nbsp;submerged arc &amp; stainless steel welding wire . Our products are widely applied to the welding of low-alloy high tensile large &amp; key steel structures in coal machinery, construction machinery, petrochemical machinery, pressure vessels or tanks, oil &amp; gas pipelines, military industry, shipbuilding, bridge and high-rise buildings etc.At the same time,we are the only interprise in the domestic which produces welding wire as well as welding wire equipment.</p>', 0, 0, '', 0, 1, '', ''),
(42, '<p>How to carry out the welding of steel ...</p>', 0, 0, '', 0, 1, '', ''),
(43, '<p>How to carry out the welding of steel ...</p>', 0, 0, '', 0, 1, '', ''),
(46, '<p>it is winter, and you?<img src="data/upload/ueditor/20161029/58140c61450ab.jpg" title="it is winter" alt="it is winter"/></p>', 0, 0, '', 0, 1, '', ''),
(47, '<p>It is a well-known fact that positioning equipment can assist welders in maneuvering and welding large assemblies. What might not be so well-known is that many small assemblies also can be mechanically positioned to provide the welding positioner with the same benefits.</p><p>The principles of positioning are the same for all weldments, large or small. The base product is affixed to the positioning equipment and then maneuvered by mechanical means into a position that allows the most effective welding and assembly. As parts or subassemblies are added, the entire weldment is moved to allow easy access to weld joints.</p><p>A properly positioned weldment, regardless of the size, reduces welder fatigue, increases safety, improves weld quality, and saves on production floor space. By moving the weldment using mechanical means and positioning the welding area into a comfortable range, welders are not forced to weld out of position or in an uncomfortable position.</p><p>Safety is improved when the weldment is anchored to a suitable positioning device. Cranes, chains, slings, and other nonrigid methods of moving a part might create uncontrolled motion, which can be dangerous. With the help of a positioner, welders don’t have to maneuver themselves underneath a possibly heavy weldment, reducing the risk of injury from falling sparks, slag, or parts.</p><p>Learn more at: www.weldingrotatorchina.com.</p><p><br/></p>', 0, 0, '', 0, 1, '', ''),
(48, '<p>It is a well-known fact that positioning equipment can assist welders in maneuvering and welding large assemblies. What might not be so well-known is that many small assemblies also can be mechanically positioned to provide the welding positioner with the same benefits.</p><p>The principles of positioning are the same for all weldments, large or small. The base product is affixed to the positioning equipment and then maneuvered by mechanical means into a position that allows the most effective welding and assembly. As parts or subassemblies are added, the entire weldment is moved to allow easy access to weld joints.</p><p>A properly positioned weldment, regardless of the size, reduces welder fatigue, increases safety, improves weld quality, and saves on production floor space. By moving the weldment using mechanical means and positioning the welding area into a comfortable range, welders are not forced to weld out of position or in an uncomfortable position.</p><p>Safety is improved when the weldment is anchored to a suitable positioning device. Cranes, chains, slings, and other nonrigid methods of moving a part might create uncontrolled motion, which can be dangerous. With the help of a positioner, welders don’t have to maneuver themselves underneath a possibly heavy weldment, reducing the risk of injury from falling sparks, slag, or parts.</p><p>Learn more at: www.weldingrotatorchina.com.</p><p><br/></p>', 0, 0, '', 0, 1, '', '');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_artpro`
--

CREATE TABLE IF NOT EXISTS `cmf_artpro` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `modelid` tinyint(4) NOT NULL DEFAULT '1' COMMENT '类型：1，文章，5，产品',
  `country` varchar(100) NOT NULL DEFAULT '中国' COMMENT '国家',
  `url` varchar(100) NOT NULL COMMENT '页面链接',
  `title` varchar(200) NOT NULL COMMENT '头部',
  `clicks` int(10) unsigned NOT NULL DEFAULT '1' COMMENT '点击量',
  `time` int(10) NOT NULL COMMENT '时间',
  PRIMARY KEY (`id`),
  KEY `modelid` (`modelid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=359 ;

-- --------------------------------------------------------

--
-- 表的结构 `cmf_asset`
--

CREATE TABLE IF NOT EXISTS `cmf_asset` (
  `aid` bigint(20) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户 id',
  `key` varchar(50) NOT NULL COMMENT '资源 key',
  `filename` varchar(50) DEFAULT NULL COMMENT '文件名',
  `filesize` int(11) DEFAULT NULL COMMENT '文件大小,单位Byte',
  `filepath` varchar(200) NOT NULL COMMENT '文件路径，相对于 upload 目录，可以为 url',
  `uploadtime` int(11) NOT NULL COMMENT '上传时间',
  `status` int(2) NOT NULL DEFAULT '1' COMMENT '状态，1：可用，0：删除，不可用',
  `meta` text COMMENT '其它详细信息，JSON格式',
  `suffix` varchar(50) DEFAULT NULL COMMENT '文件后缀名，不包括点',
  `download_times` int(11) NOT NULL DEFAULT '0' COMMENT '下载次数',
  PRIMARY KEY (`aid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- 表的结构 `cmf_auth_access`
--

CREATE TABLE IF NOT EXISTS `cmf_auth_access` (
  `role_id` mediumint(8) unsigned NOT NULL COMMENT '角色',
  `rule_name` varchar(255) NOT NULL COMMENT '规则唯一英文标识,全小写',
  `type` varchar(30) DEFAULT NULL COMMENT '权限规则分类，请加应用前缀,如admin_',
  KEY `role_id` (`role_id`),
  KEY `rule_name` (`rule_name`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8;



-- --------------------------------------------------------

--
-- 表的结构 `cmf_auth_rule`
--

CREATE TABLE IF NOT EXISTS `cmf_auth_rule` (
  `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT '规则id,自增主键',
  `module` varchar(20) NOT NULL COMMENT '规则所属module',
  `type` varchar(30) NOT NULL DEFAULT '1' COMMENT '权限规则分类，请加应用前缀,如admin_',
  `name` varchar(255) NOT NULL DEFAULT '' COMMENT '规则唯一英文标识,全小写',
  `param` varchar(255) DEFAULT NULL COMMENT '额外url参数',
  `title` varchar(20) NOT NULL DEFAULT '' COMMENT '规则中文描述',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否有效(0:无效,1:有效)',
  `condition` varchar(300) NOT NULL DEFAULT '' COMMENT '规则附加条件',
  PRIMARY KEY (`id`),
  KEY `module` (`module`,`status`,`type`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=389 ;



-- --------------------------------------------------------

--
-- 表的结构 `cmf_category`
--

CREATE TABLE IF NOT EXISTS `cmf_category` (
  `catid` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT '栏目ID',
  `module` varchar(15) NOT NULL DEFAULT '' COMMENT '所属模块',
  `type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '类别',
  `modelid` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '模型ID',
  `domain` varchar(200) NOT NULL DEFAULT '' COMMENT '栏目绑定域名',
  `parentid` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '父ID',
  `arrparentid` varchar(255) NOT NULL DEFAULT '' COMMENT '所有父ID',
  `child` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否存在子栏目，1存在',
  `arrchildid` mediumtext COMMENT '所有子栏目ID',
  `catname` varchar(30) NOT NULL DEFAULT '' COMMENT '栏目名称',
  `image` varchar(100) NOT NULL DEFAULT '' COMMENT '栏目图片',
  `description` mediumtext COMMENT '栏目描述',
  `parentdir` varchar(100) NOT NULL DEFAULT '' COMMENT '父目录',
  `catdir` varchar(30) NOT NULL DEFAULT '' COMMENT '栏目目录',
  `url` varchar(100) NOT NULL DEFAULT '' COMMENT '链接地址',
  `moveurl` varchar(100) NOT NULL COMMENT '动态URL路径',
  `hits` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '栏目点击数',
  `setting` mediumtext COMMENT '相关配置信息',
  `listorder` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '排序',
  `ismenu` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否显示',
  `sethtml` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否生成静态',
  `letter` varchar(30) NOT NULL DEFAULT '' COMMENT '栏目拼音',
  PRIMARY KEY (`catid`),
  KEY `module` (`module`,`parentid`,`listorder`,`catid`),
  KEY `siteid` (`type`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=103 ;

--
-- 转存表中的数据 `cmf_category`
--

INSERT INTO `cmf_category` (`catid`, `module`, `type`, `modelid`, `domain`, `parentid`, `arrparentid`, `child`, `arrchildid`, `catname`, `image`, `description`, `parentdir`, `catdir`, `url`, `moveurl`, `hits`, `setting`, `listorder`, `ismenu`, `sethtml`, `letter`) VALUES
(21, 'content', 1, 0, '', 0, '0', 1, '21,22', 'ABOUT US', '', '', '', 'about-us', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=lists&catid=21', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=lists&catid=21', 0, 'a:8:{s:6:"seturl";s:0:"";s:10:"meta_title";s:2:"22";s:13:"meta_keywords";s:2:"23";s:16:"meta_description";s:2:"24";s:13:"page_template";s:9:"page.html";s:6:"ishtml";s:1:"0";s:15:"category_ruleid";s:1:"1";s:11:"show_ruleid";N;}', 2, 1, 0, 'about us'),
(81, 'content', 0, 5, '', 72, '0,72', 0, '81', 'SAW wire', '', '', 'zwcp/', 'morenshengchengjingtai', 'http://localhost/xinxiangmu/zwcp/morenshengchengjingtai/', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=lists_pro&catid=81', 0, 'a:13:{s:6:"seturl";s:0:"";s:12:"generatehtml";s:1:"1";s:12:"generatelish";s:1:"0";s:10:"meta_title";s:77:" Supply, Manufacturer China, Supplier China,manufacturer & supplier in china ";s:13:"meta_keywords";s:32:" Company, for Sale,High Quality ";s:16:"meta_description";s:0:"";s:13:"list_template";s:13:"list_pro.html";s:13:"show_template";s:13:"show_pro.html";s:6:"ishtml";s:1:"1";s:9:"repagenum";s:0:"";s:14:"content_ishtml";s:1:"1";s:15:"category_ruleid";s:2:"26";s:11:"show_ruleid";s:2:"31";}', 0, 1, 1, 'saw wire'),
(91, 'content', 0, 5, '', 72, '0,72', 1, '91,97', 'Non-copper-coated wire', '', '', 'zwcp/', 'nonecopper', 'http://localhost/xinxiangmu/zwcp/nonecopper/', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=lists_pro&catid=91', 0, 'a:14:{s:6:"seturl";s:0:"";s:12:"generatehtml";s:1:"1";s:12:"generatelish";s:1:"0";s:10:"meta_title";s:57:"China , Supply, for Sale,manufacturer & supplier in china";s:13:"meta_keywords";s:42:"  Manufacturer,Manufacture , Factory China";s:16:"meta_description";s:0:"";s:17:"category_template";s:17:"category_pro.html";s:13:"list_template";s:13:"list_pro.html";s:13:"show_template";s:13:"show_pro.html";s:6:"ishtml";s:1:"1";s:9:"repagenum";s:0:"";s:14:"content_ishtml";s:1:"1";s:15:"category_ruleid";s:2:"26";s:11:"show_ruleid";s:2:"31";}', 0, 1, 1, 'non-copper-coated wire'),
(78, 'content', 0, 5, '', 72, '0,72', 0, '78', 'Stainless steel wire', '', '', 'zwcp/', 'sold', 'http://localhost/xinxiangmu/zwcp/sold/', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=lists_pro&catid=78', 0, 'a:13:{s:6:"seturl";s:0:"";s:12:"generatehtml";s:1:"1";s:12:"generatelish";s:1:"0";s:10:"meta_title";s:66:"  Manufacturer, Wholesale, Price,manufacturer & supplier in china ";s:13:"meta_keywords";s:41:"  Manufacturer,Manufacture ,rebar coupler";s:16:"meta_description";s:0:"";s:13:"list_template";s:13:"list_pro.html";s:13:"show_template";s:13:"show_pro.html";s:6:"ishtml";s:1:"1";s:9:"repagenum";s:0:"";s:14:"content_ishtml";s:1:"1";s:15:"category_ruleid";s:2:"26";s:11:"show_ruleid";s:2:"31";}', 0, 1, 1, 'stainless steel wire'),
(72, 'content', 0, 5, '', 0, '0', 1, '72,73,77,78,81,91,97', 'PRODUCTS', '', '<p>&nbsp;&nbsp;&nbsp;&nbsp;我是中文产品<br/></p>', '', 'zwcp', 'http://localhost/xinxiangmu/zwcp/', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=lists_pro&catid=72', 0, 'a:12:{s:6:"seturl";s:0:"";s:12:"generatehtml";s:1:"1";s:12:"generatelish";s:1:"0";s:10:"meta_title";s:69:"Manufacture ,Export , Factory China,manufacturer & supplier in china ";s:13:"meta_keywords";s:25:" Supply,Export , for Sale";s:16:"meta_description";s:7:"my desc";s:17:"category_template";s:17:"category_pro.html";s:6:"ishtml";s:1:"1";s:9:"repagenum";s:0:"";s:14:"content_ishtml";s:1:"0";s:15:"category_ruleid";s:2:"26";s:11:"show_ruleid";N;}', 0, 1, 1, 'products'),
(73, 'content', 0, 5, '', 72, '0,72', 0, '73', 'High tensile steel wire', '', '<p>中文产品二</p>', 'zwcp/', 'zwcpe', 'http://localhost/xinxiangmu/zwcp/zwcpe/', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=lists_pro&catid=73', 0, 'a:13:{s:6:"seturl";s:0:"";s:12:"generatehtml";s:1:"1";s:12:"generatelish";s:1:"0";s:10:"meta_title";s:59:" Factory,China , Supplier,manufacturer & supplier in china ";s:13:"meta_keywords";s:24:"China , from China,Sale ";s:16:"meta_description";s:8:"good....";s:13:"list_template";s:13:"list_pro.html";s:13:"show_template";s:13:"show_pro.html";s:6:"ishtml";s:1:"1";s:9:"repagenum";s:0:"";s:14:"content_ishtml";s:1:"1";s:15:"category_ruleid";s:2:"26";s:11:"show_ruleid";s:2:"31";}', 0, 1, 1, 'high tensile steel wire'),
(77, 'content', 0, 5, '', 72, '0,72', 0, '77,86', 'Co2 wire(TIG,MIG)', '', '', 'zwcp/', 'world', 'http://localhost/xinxiangmu/zwcp/world/', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=lists_pro&catid=77', 0, 'a:13:{s:6:"seturl";s:0:"";s:12:"generatehtml";s:1:"1";s:12:"generatelish";s:1:"0";s:10:"meta_title";s:66:"  Manufacturer, Wholesale, Price,manufacturer & supplier in china ";s:13:"meta_keywords";s:41:"  Manufacturer,Manufacture ,rebar coupler";s:16:"meta_description";s:0:"";s:13:"list_template";s:13:"list_pro.html";s:13:"show_template";s:13:"show_pro.html";s:6:"ishtml";s:1:"1";s:9:"repagenum";s:0:"";s:14:"content_ishtml";s:1:"1";s:15:"category_ruleid";s:2:"26";s:11:"show_ruleid";s:2:"31";}', 0, 1, 1, 'co2 wire(tig,mig)'),
(100, 'content', 1, 0, '', 0, '0', 0, '100', '搜索结果', '', '', '', 'sousuojieguo', 'http://localhost/xinxiangmu/html/sousuojieguo/', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=lists&catid=100', 0, 'a:8:{s:6:"seturl";s:0:"";s:10:"meta_title";s:67:" Price,rebar coupler,rebar coupler,manufacturer & supplier in china";s:13:"meta_keywords";s:21:" Price,,rebar coupler";s:16:"meta_description";s:0:"";s:13:"page_template";s:9:"page.html";s:6:"ishtml";s:1:"1";s:15:"category_ruleid";s:1:"2";s:11:"show_ruleid";N;}', 0, 0, 1, 'sousuojieguo'),
(101, 'content', 1, 0, '', 0, '0', 1, '101', 'CONTACT US', '', '', '', 'contactus', 'http://localhost/xinxiangmu/html/contactus/', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=lists&catid=101', 0, 'a:8:{s:6:"seturl";s:0:"";s:10:"meta_title";s:58:" Wholesale, Price,Custom ,manufacturer & supplier in china";s:13:"meta_keywords";s:26:" Supplier, Company,Custom ";s:16:"meta_description";s:0:"";s:13:"page_template";s:9:"page.html";s:6:"ishtml";s:1:"1";s:15:"category_ruleid";s:1:"2";s:11:"show_ruleid";N;}', 6, 1, 1, 'contact us'),
(102, 'content', 1, 0, '', 0, '0', 1, '102', 'CUSTOMERS', '', '', '', 'customers', 'http://localhost/xinxiangmu/html/customers/', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=lists&catid=102', 0, 'a:8:{s:6:"seturl";s:0:"";s:10:"meta_title";s:54:"China , Price,Custom ,manufacturer & supplier in china";s:13:"meta_keywords";s:25:" Wholesale, for Sale,ODM ";s:16:"meta_description";s:0:"";s:13:"page_template";s:9:"page.html";s:6:"ishtml";s:1:"1";s:15:"category_ruleid";s:1:"2";s:11:"show_ruleid";N;}', 0, 0, 1, 'customers'),
(97, 'content', 0, 5, '', 91, '0,72,91', 0, '97', 'child1', '', '', 'zwcp/nonecopper/', 'child1', 'http://localhost/xinxiangmu/zwcp/nonecopper/child1/', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=lists_pro&catid=97', 0, 'a:14:{s:6:"seturl";s:0:"";s:12:"generatehtml";s:1:"1";s:12:"generatelish";s:1:"0";s:10:"meta_title";s:66:"Export , for Sale, Exporter China,manufacturer & supplier in china";s:13:"meta_keywords";s:31:" Wholesale, Manufacturer China,";s:16:"meta_description";s:0:"";s:17:"category_template";s:17:"category_pro.html";s:13:"list_template";s:13:"list_pro.html";s:13:"show_template";s:13:"show_pro.html";s:6:"ishtml";s:1:"1";s:9:"repagenum";s:0:"";s:14:"content_ishtml";s:1:"1";s:15:"category_ruleid";s:2:"26";s:11:"show_ruleid";s:2:"31";}', 0, 1, 1, 'child1'),
(94, 'content', 0, 3, '', 0, '0', 0, '94', 'CERTIFICATES', '', '', '', 'certificates', 'http://localhost/xinxiangmu/certificates/', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=lists_pic&catid=94', 0, 'a:13:{s:6:"seturl";s:0:"";s:12:"generatehtml";s:1:"1";s:12:"generatelish";s:1:"0";s:10:"meta_title";s:65:" China, for Sale, Exporter China,manufacturer & supplier in china";s:13:"meta_keywords";s:32:" Company, Supplier,rebar coupler";s:16:"meta_description";s:0:"";s:13:"list_template";s:13:"list_pic.html";s:13:"show_template";s:13:"show_pic.html";s:6:"ishtml";s:1:"1";s:9:"repagenum";s:0:"";s:14:"content_ishtml";s:1:"1";s:15:"category_ruleid";s:2:"28";s:11:"show_ruleid";s:2:"29";}', 3, 1, 1, 'certificates'),
(95, 'content', 0, 31, '', 0, '0', 0, '95', 'FAQ', '', '', '', 'faq', 'http://localhost/xinxiangmu/faq/', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=lists_faq&catid=95', 0, 'a:13:{s:6:"seturl";s:0:"";s:12:"generatehtml";s:1:"1";s:12:"generatelish";s:1:"0";s:10:"meta_title";s:67:"Sale , Factory China,rebar coupler,manufacturer & supplier in china";s:13:"meta_keywords";s:31:" Supplier,Custom ,rebar coupler";s:16:"meta_description";s:0:"";s:13:"list_template";s:13:"list_faq.html";s:13:"show_template";s:13:"show_faq.html";s:6:"ishtml";s:1:"1";s:9:"repagenum";s:0:"";s:14:"content_ishtml";s:1:"1";s:15:"category_ruleid";s:2:"35";s:11:"show_ruleid";s:2:"36";}', 4, 1, 1, 'faq'),
(99, 'content', 0, 2, '', 0, '0', 0, '99', 'Factory tour', '', '', '', 'factory-tour', 'http://localhost/xinxiangmu/factory-tour/', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=lists_down&catid=99', 0, 'a:14:{s:6:"seturl";s:0:"";s:12:"generatehtml";s:1:"1";s:12:"generatelish";s:1:"0";s:10:"meta_title";s:57:" Factory, for Sale,Sale ,manufacturer & supplier in china";s:13:"meta_keywords";s:20:" Company, China,ODM ";s:16:"meta_description";s:0:"";s:17:"category_template";s:18:"category_down.html";s:13:"list_template";s:14:"list_down.html";s:13:"show_template";s:14:"show_down.html";s:6:"ishtml";s:1:"1";s:9:"repagenum";s:0:"";s:14:"content_ishtml";s:1:"1";s:15:"category_ruleid";s:2:"25";s:11:"show_ruleid";s:2:"32";}', 0, 0, 1, 'factory tour'),
(96, 'content', 0, 1, '', 0, '0', 0, '96', 'NEWS', '', '', '', 'news', 'http://localhost/xinxiangmu/news/', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=lists_art&catid=96', 0, 'a:13:{s:6:"seturl";s:0:"";s:12:"generatehtml";s:1:"1";s:12:"generatelish";s:1:"0";s:10:"meta_title";s:74:" Supplier, Exporter China, Supplier China,manufacturer & supplier in china";s:13:"meta_keywords";s:38:" Wholesale,High Quality ,rebar coupler";s:16:"meta_description";s:0:"";s:13:"list_template";s:13:"list_new.html";s:13:"show_template";s:13:"show_new.html";s:6:"ishtml";s:1:"1";s:9:"repagenum";s:0:"";s:14:"content_ishtml";s:1:"1";s:15:"category_ruleid";s:2:"27";s:11:"show_ruleid";s:2:"30";}', 5, 1, 1, 'news');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_category_field`
--

CREATE TABLE IF NOT EXISTS `cmf_category_field` (
  `fid` smallint(6) NOT NULL AUTO_INCREMENT COMMENT '自增长id',
  `catid` smallint(5) NOT NULL DEFAULT '0' COMMENT '栏目ID',
  `fieldname` varchar(30) NOT NULL DEFAULT '' COMMENT '字段名',
  `type` varchar(10) NOT NULL DEFAULT '' COMMENT '类型,input',
  `setting` mediumtext COMMENT '其他',
  `createtime` int(10) NOT NULL DEFAULT '0' COMMENT '创建时间',
  PRIMARY KEY (`fid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- 表的结构 `cmf_category_priv`
--

CREATE TABLE IF NOT EXISTS `cmf_category_priv` (
  `catid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `roleid` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '角色或者组ID',
  `is_admin` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否为管理员 1、管理员',
  `action` char(30) NOT NULL DEFAULT '' COMMENT '动作',
  KEY `catid` (`catid`,`roleid`,`is_admin`,`action`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `cmf_category_priv`
--

INSERT INTO `cmf_category_priv` (`catid`, `roleid`, `is_admin`, `action`) VALUES
(6, 2, 1, 'add'),
(6, 2, 1, 'edit'),
(11, 2, 1, 'delete'),
(11, 2, 1, 'edit'),
(11, 2, 1, 'listorder'),
(11, 2, 1, 'push'),
(11, 2, 1, 'remove'),
(81, 2, 1, 'add'),
(81, 2, 1, 'delete'),
(81, 2, 1, 'edit'),
(81, 2, 1, 'listorder'),
(81, 2, 1, 'push'),
(81, 2, 1, 'remove'),
(81, 3, 1, 'add'),
(81, 3, 1, 'delete'),
(81, 3, 1, 'edit'),
(81, 3, 1, 'listorder'),
(81, 3, 1, 'push'),
(81, 3, 1, 'remove'),
(81, 4, 1, 'add'),
(81, 4, 1, 'delete'),
(81, 4, 1, 'edit'),
(81, 4, 1, 'listorder'),
(81, 4, 1, 'push'),
(81, 4, 1, 'remove'),
(81, 5, 1, 'add'),
(81, 5, 1, 'delete'),
(81, 5, 1, 'edit'),
(81, 5, 1, 'listorder'),
(81, 5, 1, 'push'),
(81, 5, 1, 'remove'),
(91, 2, 1, 'add'),
(91, 2, 1, 'auth'),
(91, 2, 1, 'delete'),
(91, 2, 1, 'edit'),
(91, 2, 1, 'listorder'),
(91, 2, 1, 'push'),
(91, 2, 1, 'remove'),
(91, 3, 1, 'add'),
(91, 3, 1, 'auth'),
(91, 3, 1, 'delete'),
(91, 3, 1, 'edit'),
(91, 3, 1, 'listorder'),
(91, 3, 1, 'push'),
(91, 3, 1, 'remove'),
(91, 4, 1, 'add'),
(91, 4, 1, 'auth'),
(91, 4, 1, 'delete'),
(91, 4, 1, 'edit'),
(91, 4, 1, 'listorder'),
(91, 4, 1, 'push'),
(91, 4, 1, 'remove'),
(91, 5, 1, 'add'),
(91, 5, 1, 'auth'),
(91, 5, 1, 'delete'),
(91, 5, 1, 'edit'),
(91, 5, 1, 'listorder'),
(91, 5, 1, 'push'),
(91, 5, 1, 'remove'),
(94, 2, 1, 'add'),
(94, 2, 1, 'delete'),
(94, 2, 1, 'edit'),
(94, 2, 1, 'listorder'),
(94, 2, 1, 'push'),
(94, 2, 1, 'remove'),
(94, 3, 1, 'add'),
(94, 3, 1, 'delete'),
(94, 3, 1, 'edit'),
(94, 3, 1, 'listorder'),
(94, 3, 1, 'push'),
(94, 3, 1, 'remove'),
(94, 4, 1, 'add'),
(94, 4, 1, 'delete'),
(94, 4, 1, 'edit'),
(94, 4, 1, 'listorder'),
(94, 4, 1, 'push'),
(94, 4, 1, 'remove'),
(94, 5, 1, 'add'),
(94, 5, 1, 'delete'),
(94, 5, 1, 'edit'),
(94, 5, 1, 'listorder'),
(94, 5, 1, 'push'),
(94, 5, 1, 'remove'),
(95, 2, 1, 'add'),
(95, 2, 1, 'delete'),
(95, 2, 1, 'edit'),
(95, 2, 1, 'listorder'),
(95, 2, 1, 'push'),
(95, 2, 1, 'remove'),
(95, 3, 1, 'add'),
(95, 3, 1, 'delete'),
(95, 3, 1, 'edit'),
(95, 3, 1, 'listorder'),
(95, 3, 1, 'push'),
(95, 3, 1, 'remove'),
(95, 4, 1, 'add'),
(95, 4, 1, 'delete'),
(95, 4, 1, 'edit'),
(95, 4, 1, 'listorder'),
(95, 4, 1, 'push'),
(95, 4, 1, 'remove'),
(95, 5, 1, 'add'),
(95, 5, 1, 'delete'),
(95, 5, 1, 'edit'),
(95, 5, 1, 'listorder'),
(95, 5, 1, 'push'),
(95, 5, 1, 'remove'),
(96, 2, 1, 'add'),
(96, 2, 1, 'delete'),
(96, 2, 1, 'edit'),
(96, 2, 1, 'listorder'),
(96, 2, 1, 'push'),
(96, 2, 1, 'remove'),
(96, 3, 1, 'add'),
(96, 3, 1, 'delete'),
(96, 3, 1, 'edit'),
(96, 3, 1, 'listorder'),
(96, 3, 1, 'push'),
(96, 3, 1, 'remove'),
(96, 4, 1, 'add'),
(96, 4, 1, 'delete'),
(96, 4, 1, 'edit'),
(96, 4, 1, 'listorder'),
(96, 4, 1, 'push'),
(96, 4, 1, 'remove'),
(96, 5, 1, 'add'),
(96, 5, 1, 'delete'),
(96, 5, 1, 'edit'),
(96, 5, 1, 'listorder'),
(96, 5, 1, 'push'),
(96, 5, 1, 'remove'),
(97, 2, 1, 'add'),
(97, 2, 1, 'auth'),
(97, 2, 1, 'delete'),
(97, 2, 1, 'edit'),
(97, 2, 1, 'listorder'),
(97, 2, 1, 'push'),
(97, 2, 1, 'remove'),
(97, 3, 1, 'add'),
(97, 3, 1, 'auth'),
(97, 3, 1, 'delete'),
(97, 3, 1, 'edit'),
(97, 3, 1, 'listorder'),
(97, 3, 1, 'push'),
(97, 3, 1, 'remove'),
(97, 4, 1, 'add'),
(97, 4, 1, 'auth'),
(97, 4, 1, 'delete'),
(97, 4, 1, 'edit'),
(97, 4, 1, 'listorder'),
(97, 4, 1, 'push'),
(97, 4, 1, 'remove'),
(97, 5, 1, 'add'),
(97, 5, 1, 'auth'),
(97, 5, 1, 'delete'),
(97, 5, 1, 'edit'),
(97, 5, 1, 'listorder'),
(97, 5, 1, 'push'),
(97, 5, 1, 'remove'),
(99, 2, 1, 'add'),
(99, 2, 1, 'auth'),
(99, 2, 1, 'delete'),
(99, 2, 1, 'edit'),
(99, 2, 1, 'listorder'),
(99, 2, 1, 'push'),
(99, 2, 1, 'remove'),
(99, 3, 1, 'add'),
(99, 3, 1, 'auth'),
(99, 3, 1, 'delete'),
(99, 3, 1, 'edit'),
(99, 3, 1, 'listorder'),
(99, 3, 1, 'push'),
(99, 3, 1, 'remove'),
(99, 4, 1, 'add'),
(99, 4, 1, 'auth'),
(99, 4, 1, 'delete'),
(99, 4, 1, 'edit'),
(99, 4, 1, 'listorder'),
(99, 4, 1, 'push'),
(99, 4, 1, 'remove'),
(99, 5, 1, 'add'),
(99, 5, 1, 'auth'),
(99, 5, 1, 'delete'),
(99, 5, 1, 'edit'),
(99, 5, 1, 'listorder'),
(99, 5, 1, 'push'),
(99, 5, 1, 'remove'),
(100, 2, 1, 'add'),
(100, 2, 1, 'auth'),
(100, 2, 1, 'delete'),
(100, 2, 1, 'edit'),
(100, 2, 1, 'listorder'),
(100, 2, 1, 'push'),
(100, 2, 1, 'remove'),
(100, 3, 1, 'add'),
(100, 3, 1, 'auth'),
(100, 3, 1, 'delete'),
(100, 3, 1, 'edit'),
(100, 3, 1, 'listorder'),
(100, 3, 1, 'push'),
(100, 3, 1, 'remove'),
(100, 4, 1, 'add'),
(100, 4, 1, 'auth'),
(100, 4, 1, 'delete'),
(100, 4, 1, 'edit'),
(100, 4, 1, 'listorder'),
(100, 4, 1, 'push'),
(100, 4, 1, 'remove'),
(100, 5, 1, 'add'),
(100, 5, 1, 'auth'),
(100, 5, 1, 'delete'),
(100, 5, 1, 'edit'),
(100, 5, 1, 'listorder'),
(100, 5, 1, 'push'),
(100, 5, 1, 'remove'),
(101, 2, 1, 'add'),
(101, 2, 1, 'auth'),
(101, 2, 1, 'delete'),
(101, 2, 1, 'edit'),
(101, 2, 1, 'listorder'),
(101, 2, 1, 'push'),
(101, 2, 1, 'remove'),
(101, 3, 1, 'add'),
(101, 3, 1, 'auth'),
(101, 3, 1, 'delete'),
(101, 3, 1, 'edit'),
(101, 3, 1, 'listorder'),
(101, 3, 1, 'push'),
(101, 3, 1, 'remove'),
(101, 4, 1, 'add'),
(101, 4, 1, 'auth'),
(101, 4, 1, 'delete'),
(101, 4, 1, 'edit'),
(101, 4, 1, 'listorder'),
(101, 4, 1, 'push'),
(101, 4, 1, 'remove'),
(101, 5, 1, 'add'),
(101, 5, 1, 'auth'),
(101, 5, 1, 'delete'),
(101, 5, 1, 'edit'),
(101, 5, 1, 'listorder'),
(101, 5, 1, 'push'),
(101, 5, 1, 'remove'),
(102, 2, 1, 'add'),
(102, 2, 1, 'auth'),
(102, 2, 1, 'delete'),
(102, 2, 1, 'edit'),
(102, 2, 1, 'listorder'),
(102, 2, 1, 'push'),
(102, 2, 1, 'remove'),
(102, 3, 1, 'add'),
(102, 3, 1, 'auth'),
(102, 3, 1, 'delete'),
(102, 3, 1, 'edit'),
(102, 3, 1, 'listorder'),
(102, 3, 1, 'push'),
(102, 3, 1, 'remove'),
(102, 4, 1, 'add'),
(102, 4, 1, 'auth'),
(102, 4, 1, 'delete'),
(102, 4, 1, 'edit'),
(102, 4, 1, 'listorder'),
(102, 4, 1, 'push'),
(102, 4, 1, 'remove'),
(102, 5, 1, 'add'),
(102, 5, 1, 'auth'),
(102, 5, 1, 'delete'),
(102, 5, 1, 'edit'),
(102, 5, 1, 'listorder'),
(102, 5, 1, 'push'),
(102, 5, 1, 'remove');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_client`
--

CREATE TABLE IF NOT EXISTS `cmf_client` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `cname` varchar(100) DEFAULT NULL COMMENT '公司名称',
  `username` varchar(100) DEFAULT NULL COMMENT '姓名',
  `email` varchar(255) DEFAULT NULL COMMENT '邮箱',
  `telephone` varchar(50) DEFAULT NULL COMMENT '电话',
  `fax` varchar(50) DEFAULT NULL COMMENT '传真',
  `address` varchar(255) DEFAULT NULL COMMENT '详细地址',
  `country` varchar(50) DEFAULT NULL COMMENT '国家',
  `level` int(11) NOT NULL DEFAULT '8' COMMENT '客户所处阶段',
  `type` int(11) DEFAULT NULL COMMENT '类型',
  `guest_title` varchar(255) DEFAULT NULL COMMENT '留言标题',
  `guest_msg` text COMMENT '留言内容',
  `remark` text COMMENT '备注',
  `is_order` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否成交 1-未成交 2-成交(未使用)',
  `order_time` int(11) DEFAULT NULL COMMENT '成交时间(未使用)',
  `addtime` int(11) DEFAULT NULL COMMENT '添加时间',
  `uid` int(11) DEFAULT '0' COMMENT '归属业务员UID',
  `mid` int(11) DEFAULT '0' COMMENT '归属业务经理UID',
  `status` tinyint(1) DEFAULT '1' COMMENT '1-公海 2-归属 3-删除',
  `gtime` int(11) DEFAULT NULL COMMENT '抓取时间',
  `ktime` int(11) DEFAULT NULL COMMENT '飞出时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='CRM客户表' AUTO_INCREMENT=75 ;

--
-- 转存表中的数据 `cmf_client`
--

INSERT INTO `cmf_client` (`id`, `cname`, `username`, `email`, `telephone`, `fax`, `address`, `country`, `level`, `type`, `guest_title`, `guest_msg`, `remark`, `is_order`, `order_time`, `addtime`, `uid`, `mid`, `status`, `gtime`, `ktime`) VALUES
(1, '石家庄瑞诺', '陈枭', 'chenxiao@chenxiao.com', '18633452430', '详细地址', NULL, NULL, 5, 3, '询盘标题', '询盘留言', NULL, 2, 1469672070, 1469080424, 19, 19, 2, 1477276388, 1473147066),
(2, '公司2', '联系人2', 'chenxiao@chenxiao.com', '18766567890', 'ldsfka', '详细地址', 'China', 8, 5, '标题', '留言', NULL, 1, NULL, 1469080585, 21, 15, 2, 1473299217, 1469668446),
(3, '公司1', NULL, '111@11.com', '18788889981', '12345678', '地址1', '国家1', 4, 2, '留言1', '内容1', NULL, 1, NULL, 1469093157, 0, 0, 1, 1473299217, 1473468168),
(4, '公司5', '', '115@11.com', '18788889985', '12345678', '地址1', '国家1', 8, 5, '留言1', '内容1', '', 1, 0, 1469093157, 17, 19, 2, 1477277859, 1477277764),
(5, '公司11', '姓名1', '111@11.com', '18788889911', '12345678', '地址1', '国家1', 7, 2, '留言1', '内容1', '', 1, NULL, 1469093314, 19, 19, 2, 1472787935, NULL),
(7, '公司61', '姓名6', '116@11.com', '18788889916', '12345678', '地址1', '国家1', 5, 5, '留言1', '内容1', NULL, 1, NULL, 1469093314, 21, 15, 2, 1473299217, 1473147044),
(17, '杭州智慧鸟科技', '陈女士', '556737@qq.com', '18500000001', '', '杭州', '中国', 5, 3, '想订购商品', '', '', 1, NULL, 1472797047, 17, 19, 2, NULL, NULL),
(13, '瑞诺国际专门测试分配', '张先生', '123456@qq.com', '13800000000', '', '中国杭州啊啊啊啊', 'Afghanistan', 8, 4, '我来看看1', '想要订购产品', '这个客户好好跟', 1, 1472801136, 1470212904, 22, 19, 2, 1476931529, 1476931529),
(22, '杭州智慧鸟', '张女士', '12345555@qq.com', '13803200001', '', '中国杭州', '中国', 5, 4, '', '', '', 1, NULL, 1472804291, 19, 19, 2, 1472804338, NULL),
(24, '公司2号', '2号联系人', '222222@qq.com', '13800000022', '', '石家庄', '中国', 9, 3, '', '', '上次添加没有保存添加人到阶段表', 2, 1477106990, 1472862827, 17, 19, 2, 1472868989, 1472864374),
(20, '瑞诺国际石家庄', '张女士', 'reanod@qq.com', '13803200000', '', '石家庄', '中国', 7, 5, '', '', '', 1, NULL, 1472802497, 17, 19, 2, 1472803969, NULL),
(23, '公司1号', '1号联系人', '11111@qq.com', '13800000011', '', '石家庄', '中国', 4, 2, '', '', '', 1, NULL, 1472862622, 0, 19, 2, 1472864523, 1472864089),
(25, NULL, 'chenxiao', 'chenxiao@chenxiao.com', '', NULL, NULL, NULL, 8, NULL, 'title', 'nice', '', 1, NULL, 1473152147, 0, 15, 3, 1473152147, NULL),
(35, NULL, 'wangwu', 'wangwu@qq.com', '15511111111', NULL, NULL, NULL, 8, NULL, '', 'hahahahaha', '', 1, NULL, 1473390280, 0, 20, 3, 1473390280, NULL),
(36, NULL, '姓名', 'qq@qq.com', '', NULL, NULL, NULL, 8, NULL, '', '内容', '', 1, NULL, 1473390585, 0, 21, 3, 1473390585, NULL),
(39, NULL, '123321', '123321@qq.com', '15511111111', NULL, NULL, NULL, 4, NULL, '', '123123123', '给了cxtest', 1, NULL, 1473407222, 19, 0, 3, NULL, NULL),
(41, NULL, '123321', '123321@qq.com', '15511111111', NULL, NULL, NULL, 4, NULL, '', '123123123', '给了cxtest', 1, NULL, 1473407299, 19, 0, 3, NULL, NULL),
(43, NULL, '郝仁', '369@qq.com', '', NULL, NULL, NULL, 4, NULL, '房子免费不要钱', '不要，不要，真不要', '', 1, NULL, 1473474915, 0, 19, 3, NULL, NULL),
(44, NULL, '老好人', '789@qq.com', '', NULL, NULL, NULL, 4, NULL, '扳子要不要钱？', '不要，还给你钱', '', 1, NULL, 1473475047, 0, 15, 3, NULL, NULL),
(45, NULL, '郝仁', '369@qq.com', '', NULL, NULL, NULL, 5, NULL, '房子免费不要钱', '不要，不要，真不要', '', 1, NULL, 1473475047, 21, 15, 3, 1473475047, NULL),
(46, NULL, '郝仁', '369@qq.com', '', NULL, NULL, NULL, 4, NULL, '房子免费不要钱', '不要，不要，真不要', 'fdadf', 1, NULL, 1473475100, 0, 15, 3, NULL, NULL),
(47, NULL, '帅气', 'sdu@qq.com', '', NULL, NULL, NULL, 4, NULL, '', '这是太好了，你好的', 'test', 1, NULL, 1473475042, 0, 19, 3, NULL, NULL),
(48, NULL, '老好人', '789@qq.com', '', NULL, NULL, NULL, 5, NULL, '扳子要不要钱？', '不要，还给你钱', 'asdfr', 1, NULL, 1473475097, 17, 19, 3, 1473475097, NULL),
(49, NULL, '郝仁', '369@qq.com', '', NULL, NULL, NULL, 4, NULL, '房子免费不要钱', '不要，不要，真不要', 'asdr', 1, NULL, 1473475098, 0, 19, 3, NULL, NULL),
(50, NULL, '老好人', '789@qq.com', '', NULL, NULL, NULL, 4, NULL, '扳子要不要钱？', '不要，还给你钱', '你又来了', 1, NULL, 1473475468, 0, 19, 3, NULL, NULL),
(51, NULL, '郝仁', '369@qq.com', '', NULL, NULL, NULL, 5, NULL, '房子免费不要钱', '不要，不要，真不要', '我又来了', 1, NULL, 1473475469, 17, 19, 3, 1473475469, NULL),
(52, '杭州达利', '李先生', '789@qq.com', '', '', '', '', 9, 0, '扳子要不要钱？', '不要，还给你钱', '一个个', 2, 1476865698, 1473475826, 17, 19, 2, 1474684952, NULL),
(53, NULL, '郝仁', '369@qq.com', '', NULL, NULL, NULL, 5, NULL, '房子免费不要钱', '不要，不要，真不要', '我看看', 1, NULL, 1473475826, 17, 19, 3, 1473475826, NULL),
(54, '深圳起点科技', '张小二', '778458745@qq.com', '13800003692', '', '深圳市长风街', '法国', 4, 4, '网站服务', '网站做的不错，哪个公司做的', '这个客户要好好跟啊', 1, NULL, 1473649897, 0, 19, 2, NULL, NULL),
(55, NULL, '帅气', 'sdu@qq.com', '', NULL, NULL, NULL, 5, NULL, '', '这是太好了，你好的', '分配给你', 1, NULL, 1474187957, 17, 19, 2, 1474684964, NULL),
(56, NULL, '郝仁', '369@qq.com', '', NULL, NULL, NULL, 5, NULL, '房子免费不要钱', '不要，不要，真不要', '分配', 1, NULL, 1474188073, 17, 19, 2, 1474188073, NULL),
(57, NULL, 'chen11', '445768@123.com', '', NULL, NULL, NULL, 4, NULL, '测试添加', '有添加成功吗', '分配给业务员，是否正确', 1, NULL, 1474275663, 0, 19, 2, 1474275663, NULL),
(58, NULL, 'chen123', '12321@qq.com', '', NULL, NULL, NULL, 5, NULL, 'lala', 'neirong', '啊啊阿斯蒂芬 ', 1, NULL, 1474276930, 17, 19, 2, 1474276930, NULL),
(59, NULL, 'who am i ', 'youknow@11.11', '', NULL, NULL, NULL, 5, NULL, 'klr', '我知道你是谁', '', 1, NULL, 1474344229, 21, 15, 2, 1474344229, NULL),
(60, NULL, '我是谁', 'whowho@11.11', '', NULL, NULL, NULL, 5, NULL, 'who am i ', 'i dont know', '', 1, NULL, 1474346795, 21, 15, 2, 1474346795, NULL),
(61, NULL, '我是谁', 'niknow@11.11', '', NULL, NULL, NULL, 5, NULL, 'mytitle', 'mycontent', '', 1, NULL, 1474346960, 17, 19, 2, 1474346960, NULL),
(62, NULL, '123123', '1111@qq.com', '15511111111', NULL, NULL, NULL, 5, NULL, '1', '111', '', 1, NULL, 1474347224, 21, 15, 2, 1474347224, NULL),
(63, NULL, 'asdfas', 'asdfa@qq.com', '', NULL, NULL, NULL, 5, NULL, 'afdsfds', 'asfd', '', 1, NULL, 1474348224, 21, 15, 2, 1474348224, NULL),
(64, 'dfa432345', 'afdsa', 'aasdfsaaa@qq.com', '', '', '', 'Bahamas', 5, NULL, 'asfd', 'ssfas', 'asdfasdddddddddddddddddddddddddddddddddddddddddddddddd', 1, NULL, 1474348426, 21, 15, 2, 1474348426, NULL),
(65, NULL, 'asf', 'sdu@qq.com', 'asdfsaf', '', '', 'Bahamas', 5, NULL, 'asdfasdf', 'asdfasfd', 'afdsa', 1, NULL, 1474348516, 21, 15, 2, 1474348516, NULL),
(66, NULL, 'asdfa', 'asjdddkfjalk@qq.com', '', '', '', 'Bahrain', 5, NULL, 'dfasdf', 'asdf', 'sdfasdfsaasdfd', 1, NULL, 1474348516, 17, 19, 2, 1474348516, NULL),
(67, NULL, 'asdfasa', 'asdfasdf@qq.com', '', '', '', 'Barbados', 5, NULL, 'asdfas', 'ddd', 'dfasasdf', 1, NULL, 1474348763, 17, 19, 2, 1474348763, NULL),
(68, NULL, 'asdfas', 'asfdd@qq.com', '', '', '', 'Bahamas', 5, NULL, 'adfsdfsad', 'dsafsddgff', 'fgfhjfgjhghjghhhh', 1, NULL, 1474348899, 21, 15, 2, 1474348899, NULL),
(69, NULL, 'dfgh', 'dfhdfg@qq.com', '', '', '', 'Bahrain', 5, NULL, 'df', 'dfgsdfgdsfg', 'asdfghf6878678', 1, NULL, 1474348964, 17, 19, 2, 1474348964, NULL),
(70, 'dfgd4444', 'fdh', 'dfhf@qq.com', '', '', '', 'Azerbaijan', 5, NULL, 'asdf213', 'fsdgfdsg', 'afdsdfrty5555555555555', 1, NULL, 1474349103, 17, 19, 2, 1474349103, NULL),
(71, 'reanod', '测试haaaa', 'djfh@ww.com', '15712345678', '', '', 'china', 5, NULL, NULL, NULL, '分配给张三', 1, NULL, 1477357354, 21, 15, 2, 1477357354, NULL),
(72, 'bad', 'aaaaaaa', 'aaaaa@qq.com', '', '', '', 'china', 4, NULL, NULL, NULL, '给经理', 1, NULL, 1477357486, 0, 15, 2, 1477357486, NULL),
(73, 'china', 'hello11', '78910@qq.com', '15712345678', '', '', '', 4, NULL, NULL, NULL, '给经理', 1, NULL, 1477358040, 0, 19, 2, 1477358040, NULL),
(74, '批量导入公司3', '姓名6', 'cx133@qq.com', '18738889916', '12345678', '地址1', 'Anguilla', 5, 5, '留言1', '内容1', NULL, 1, NULL, 1478577620, 17, 19, 2, NULL, NULL);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_client_branch`
--

CREATE TABLE IF NOT EXISTS `cmf_client_branch` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `cname` varchar(255) NOT NULL COMMENT '分公司名',
  `addtime` int(11) NOT NULL COMMENT '添加时间',
  `mids` varchar(100) DEFAULT NULL COMMENT '下属业务经理',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='分公司表' AUTO_INCREMENT=4 ;

--
-- 转存表中的数据 `cmf_client_branch`
--

INSERT INTO `cmf_client_branch` (`id`, `cname`, `addtime`, `mids`) VALUES
(2, '石家庄本部', 1473216842, '19'),
(3, '深圳分公司', 1473298972, '15');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_client_contact`
--

CREATE TABLE IF NOT EXISTS `cmf_client_contact` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `cid` int(11) NOT NULL COMMENT 'client ID',
  `uid` int(11) NOT NULL COMMENT '业务员ID',
  `addtime` int(11) NOT NULL COMMENT '添加时间',
  `nexttime` int(11) NOT NULL COMMENT '下次拜访时间',
  `remark` text NOT NULL COMMENT '备注',
  `upload_file` text COMMENT '上传文件 类型和路径 realize格式化',
  `level` varchar(100) NOT NULL COMMENT '所处阶段',
  `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT ' 0-未拜访 1-已拜访',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='沟通记录表' AUTO_INCREMENT=36 ;

--
-- 转存表中的数据 `cmf_client_contact`
--

INSERT INTO `cmf_client_contact` (`id`, `cid`, `uid`, `addtime`, `nexttime`, `remark`, `upload_file`, `level`, `status`) VALUES
(1, 2, 1, 1469499510, 0, '沟通不错', '5', '', 1),
(2, 2, 1, 1469499540, 0, '沟通2', '3', '', 1),
(3, 2, 1, 1469581277, 0, '沟通3', '4', '', 1),
(4, 2, 1, 1469581291, 0, '沟通4', '5', '', 1),
(5, 2, 1, 1469581334, 0, '沟通6', '5', '', 1),
(6, 1, 19, 1469582808, 0, '沟通1', '5', '', 1),
(7, 1, 19, 1469582977, 0, '勾通2', '4', '', 1),
(8, 1, 19, 1469582992, 0, '沟通3', '3', '', 1),
(9, 1, 19, 1469583010, 0, '沟通5', '1', '', 1),
(10, 1, 1, 1470643299, 0, '讨论了半年和全年的折扣，客户要同老板商量\n讨论了半年和全年的折扣，客户要同老板商量\n讨论了半年和全年的折扣，客户要同老板商量\n讨论了半年和全年的折扣，客户要同老板商量\n讨论了半年和全年的折扣，客户要同老板商量', '5', '', 1),
(11, 5, 19, 1462035600, 0, '这条记录会被记录到有多少个沟通', '5', '', 1),
(12, 5, 19, 1473386518, 0, '这又是一个记录啊。怎么没有星级', '4', '', 1),
(13, 5, 19, 1473386551, 0, '这是一个问题', '5', '', 1),
(14, 5, 19, 1473386714, 0, 'firefox 不兼容星级插件', '5', '', 1),
(15, 5, 19, 1474352368, 0, '沟通的很好', '4', '', 1),
(16, 5, 19, 1474352400, 0, '有分页吗', '1', '', 1),
(17, 70, 1, 1474680955, 0, '第一次沟通', '5', '', 1),
(18, 2, 1, 1476429243, 0, '这是一个测试', 'a:3:{i:0;a:2:{s:4:"type";s:1:"1";s:4:"path";s:39:"data/upload/20161014//580085baf0bb4.png";}i:1;a:2:{s:4:"type";s:1:"3";s:4:"path";s:39:"data/upload/20161014//580085baf270c.png";}i:2;a:2:{s:4:"type";s:1:"6";s:4:"path";s:39:"data/upload/20161014//580085bb03abd.png";}}', '', 1),
(19, 2, 1, 1476431960, 0, 'asdf', '', '', 1),
(20, 2, 1, 1476432374, 0, 'fasdf', 'a:1:{i:0;a:2:{s:4:"type";s:1:"3";s:4:"path";s:38:"data/upload/20161014/580091f63291b.zip";}}', '签单阶段', 1),
(21, 20, 17, 1476434902, 0, '新的沟通记录', 'a:1:{i:0;a:2:{s:4:"type";s:1:"1";s:4:"path";s:38:"data/upload/20161014/58009bd6d225a.jpg";}}', '沟通阶段', 1),
(22, 20, 17, 1476437335, 0, '拉萨的了', '', '沟通阶段', 1),
(23, 13, 17, 0, 0, '这是一个沟通记录', 'a:1:{i:0;a:2:{s:4:"type";s:1:"3";s:4:"path";s:38:"data/upload/20161018/58059618dc6e9.png";}}', '报价阶段', 1),
(24, 13, 17, 1476761360, 0, '再来一次啊啊', 'a:1:{i:0;a:2:{s:4:"type";s:1:"3";s:4:"path";s:38:"data/upload/20161018/58059710dfd25.png";}}', '报价阶段', 1),
(25, 13, 17, 1476762010, 0, '我来第三次', 'a:1:{i:0;a:2:{s:4:"type";s:1:"4";s:4:"path";s:38:"data/upload/20161018/5805999a16b09.png";}}', '报价阶段', 1),
(26, 2, 1, 1476846589, 0, 'asdf', 'a:2:{i:0;a:2:{s:4:"type";s:1:"2";s:4:"path";s:38:"data/upload/20161019/5806e3f93c069.zip";}i:1;a:2:{s:4:"type";s:1:"2";s:4:"path";s:38:"data/upload/20161019/5806e3f95a0e8.zip";}}', '签单阶段', 1),
(27, 2, 1, 1476846616, 0, 'asdrddddddd', '', '签单阶段', 1),
(28, 24, 17, 1476847048, 0, '拉上的人', 'a:1:{i:0;a:2:{s:4:"type";s:1:"2";s:4:"path";s:38:"data/upload/20161019/5806e5c2cf48f.zip";}}', '签单阶段', 1),
(29, 24, 17, 1476847237, 0, '这是合同啊啊啊', 'a:1:{i:0;a:2:{s:4:"type";s:1:"2";s:4:"path";s:38:"data/upload/20161019/5806e6804703a.zip";}}', '签单阶段', 1),
(30, 24, 17, 1476848454, 0, '打瞌睡的人', 'a:1:{i:0;a:2:{s:4:"type";s:1:"1";s:4:"path";s:38:"data/upload/20161019/5806eb41d7754.png";}}', '签单阶段', 1),
(31, 4, 17, 1477278749, 0, '这是一次沟通内容', '', '沟通阶段', 1),
(32, 4, 17, 1477281193, 0, '这是报价', 'a:2:{i:0;a:2:{s:4:"type";s:1:"1";s:4:"path";s:38:"data/upload/20161024/580d85a052834.png";}i:1;a:2:{s:4:"type";s:1:"1";s:4:"path";s:38:"data/upload/20161024/580d85a0c2177.zip";}}', '沟通阶段', 1),
(33, 4, 17, 1477289092, 0, '的点点滴滴', '', '报价阶段', 1),
(34, 4, 17, 1478501757, 2016, '我来添加一条记录', '', '签单收款阶段', 1),
(35, 4, 17, 1478501801, 1478624461, '我又来了', '', '签单收款阶段', 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_client_level`
--

CREATE TABLE IF NOT EXISTS `cmf_client_level` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL COMMENT '名字',
  `desc` varchar(100) NOT NULL COMMENT '描述',
  `addtime` int(11) NOT NULL COMMENT '添加时间',
  `sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='客户级别表' AUTO_INCREMENT=10 ;

--
-- 转存表中的数据 `cmf_client_level`
--

INSERT INTO `cmf_client_level` (`id`, `name`, `desc`, `addtime`, `sort`) VALUES
(5, '沟通阶段', '<p>客户有回复</p>', 1468910011, 1),
(6, '报价阶段', '<p><span style="font-size:14px;font-family:宋体">按客户要求，非主动，发送报价单</span></p>', 1468910022, 2),
(7, '订单细节阶段', '<p><span style="font-size:14px;font-family:宋体">寄送样品、产品颜色、包装等</span></p>', 1468910034, 3),
(8, '签单收款阶段', '<p><span style="font-size:14px;font-family:宋体">货物已出运、收到客户回款</span></p>', 1468910045, 4),
(4, '线索阶段', '<p>分配询盘</p>', 1473385526, 0),
(9, '已成单阶段', '<p><span style="font-size:14px;font-family:宋体">此阶段经理确认后，进入已成单客户</span></p>', 1472623968, 5);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_client_offer`
--

CREATE TABLE IF NOT EXISTS `cmf_client_offer` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `cid` int(11) NOT NULL,
  `uid` int(11) NOT NULL COMMENT '申请人UID',
  `reqtime` int(11) NOT NULL COMMENT '申请时间',
  `content` text COMMENT '内容',
  `path` varchar(255) DEFAULT NULL COMMENT '附件路径',
  `con_user` int(11) DEFAULT '0' COMMENT '审批人UID',
  `con_time` int(11) DEFAULT NULL COMMENT '审批时间',
  `con_content` text COMMENT '审批内容',
  `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '审批状态 0-未审批 1-已审批 2-拒绝',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='报价表' AUTO_INCREMENT=7 ;

--
-- 转存表中的数据 `cmf_client_offer`
--

INSERT INTO `cmf_client_offer` (`id`, `cid`, `uid`, `reqtime`, `content`, `path`, `con_user`, `con_time`, `con_content`, `status`) VALUES
(1, 17, 1, 1476688273, '报价啦', 'data/upload/20161017/580479919d586.zip', 1, 1476757913, '不错', 1),
(2, 13, 17, 1476689482, '我来申请报价审批来了', 'data/upload/20161017/58047e4ad3d41.zip', 19, 1476862134, '通过', 1),
(3, 24, 17, 1476848813, '这是报价审批', 'data/upload/20161019/5806ecac8a7dd.rar', 0, NULL, NULL, 0),
(4, 20, 17, 1476932227, '2000', 'data/upload/20161020/58083283955c7.zip', 19, 1476932262, '可以', 1),
(5, 4, 17, 1477288094, '爱上仍然', 'data/upload/20161024/580da09e44a6f.zip', 19, 1477288965, '人', 2),
(6, 4, 17, 1477288979, '爱上的人仍然', 'data/upload/20161024/580da4136d16b.zip', 19, 1477289121, '已阅', 1);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_client_order`
--

CREATE TABLE IF NOT EXISTS `cmf_client_order` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `order_sn` varchar(100) NOT NULL COMMENT '订单编号',
  `cname` varchar(255) NOT NULL COMMENT '客户名',
  `cid` int(11) NOT NULL COMMENT '客户UID',
  `uname` varchar(255) NOT NULL COMMENT '业务员名',
  `uid` int(11) NOT NULL COMMENT '业务员UID',
  `mid` int(11) NOT NULL COMMENT '业务经理ID',
  `mname` varchar(255) NOT NULL COMMENT '业务经理名',
  `addtime` int(11) NOT NULL COMMENT '下订单时间',
  `shipping` int(11) NOT NULL COMMENT '预计出运时间',
  `description` text COMMENT '订单描述',
  `totalmoney` float(10,2) NOT NULL DEFAULT '0.00' COMMENT '订单总额 元',
  `remark` text COMMENT '订单备注',
  `path` varchar(255) DEFAULT NULL COMMENT '订单附件',
  `path_ys` varchar(255) DEFAULT NULL COMMENT '订单附件',
  `ownmoney` float(10,2) NOT NULL DEFAULT '0.00' COMMENT '回款总额 元',
  `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1-完成  0-未完成 2-申请完成 3-取消',
  `endtime` int(11) NOT NULL DEFAULT '0' COMMENT '订单完成时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='订单表' AUTO_INCREMENT=19 ;

--
-- 转存表中的数据 `cmf_client_order`
--

INSERT INTO `cmf_client_order` (`id`, `order_sn`, `cname`, `cid`, `uname`, `uid`, `mid`, `mname`, `addtime`, `shipping`, `description`, `totalmoney`, `remark`, `path`, `path_ys`, `ownmoney`, `status`, `endtime`) VALUES
(3, '20160905152138', '公司2号', 24, 'chenxiao', 17, 19, 'cxtest', 1473060109, 0, '1W订单当面付，啦啦啦啦', 10000.00, '这是这是', NULL, NULL, 1000.00, 1, 1451667677),
(4, '20160908094829', '公司2', 2, '张三', 21, 15, 'ywjl', 1473299322, 1478620800, '大订单', 200000.00, '请批准', NULL, NULL, 2000.00, 0, 0),
(5, '20161018163212', '公司2号', 24, 'chenxiao', 17, 19, 'cxtest', 1476779610, 0, '在来一个订单', 10000.00, '又一个订单', '', NULL, 0.00, 1, 1451667699),
(6, '20161018163356', '公司2号', 24, 'chenxiao', 17, 19, 'cxtest', 1476779651, 0, '哈哈', 30000.00, '又一个', '', NULL, 0.00, 3, 0),
(7, '20161018163500', '公司2号', 24, 'chenxiao', 17, 19, 'cxtest', 1476779835, 0, '阿斯蒂芬', 77777.00, '阿斯蒂芬', '', NULL, 0.00, 3, 0),
(8, '', '', 0, 'chenxiao', 17, 19, 'cxtest', 1476780078, 0, '', 0.00, '', '', NULL, 0.00, 3, 0),
(9, '20161019114801', '公司2号', 24, 'chenxiao', 17, 19, 'cxtest', 1476849081, 0, '续费订单', 500000.00, '这是个老用户', 'data/upload/20161019/5806edb9267b7.zip', NULL, 405100.00, 3, 0),
(10, '20161019162251', '杭州达利', 52, 'chenxiao', 17, 19, 'cxtest', 1476865389, 0, '这是个订单', 5000.00, '啊啊', 'data/upload/20161019/58072d6d7410e.rar', NULL, 2000.00, 1, 1451667661),
(11, '20161020094434', '瑞诺国际专门测试分配', 13, 'chenxiao', 17, 19, 'cxtest', 1476927897, 0, '订单描述', 1000.00, '专门测试分配', 'data/upload/20161020/580821993c82d.rar', NULL, 0.00, 1, 1451577600),
(12, '20161020094434', '瑞诺国际专门测试分配', 13, 'chenxiao', 22, 19, 'cxtest', 1476931529, 0, '订单描述', 1000.00, '客户重新分配业务员，订单拆分。专门测试分配', 'data/upload/20161020/580821993c82d.rar', NULL, 0.00, 3, 0),
(13, '20161024140627', '公司5', 4, 'chenxiao', 17, 19, 'cxtest', 1477289433, 0, '这是一个订单', 10000.00, '拉萨的日日', 'data/upload/20161024/580da5d9d93dc.zip', NULL, 0.00, 3, 0),
(14, 'SN20161108135223', '公司2号', 24, 'chenxiao', 17, 19, 'cxtest', 1478584524, 1479225600, '这次订单还可以', 30000.00, '改了时间了', 'data/upload/20161108/582168cc1c865.zip', NULL, 0.00, 0, 0),
(15, 'SN20161109144324', '公司5', 4, 'chenxiao', 17, 19, 'cxtest', 1478673823, 1479398400, 'asdf', 2000.00, 'asdf', 'data/upload/20161109/5822c59fc1152.pdf', 'data/upload/20161109/5822c59fc1152.pdf20161109/5822c59fcc11c.zip', 0.00, 0, 0),
(16, 'SN20161109144714', '公司5', 4, 'chenxiao', 17, 19, 'cxtest', 1478674120, 1479484800, 'asrrrrrr', 10000.00, 'eeeeeeeee', 'data/upload/20161109/5822c6c80802a.pdf', 'data/upload/20161109/5822c6c80802a.pdf20161109/5822c6c8137c4.zip', 0.00, 0, 0),
(17, 'SN20161109144858', '公司5', 4, 'chenxiao', 17, 19, 'cxtest', 1478674461, 1479398400, 'afsdf', 666.00, 'asdfsadf', 'data/upload/20161109/5822c81cef93f.pdf', 'data/upload/20161109/5822c81d05729.zip', 0.00, 0, 0),
(18, 'SN20161109152213', '公司5', 4, 'chenxiao', 17, 19, 'cxtest', 1478676160, 1478707200, '这是一个excel', 111111.00, 'adsr', 'data/upload/20161109/5822cec09aab5.xls', 'data/upload/', 0.00, 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_client_second_user`
--

CREATE TABLE IF NOT EXISTS `cmf_client_second_user` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `cid` int(11) NOT NULL COMMENT 'client ID',
  `username` varchar(50) NOT NULL COMMENT '用户名',
  `telephone` varchar(50) DEFAULT NULL COMMENT '手机号',
  `email` varchar(50) DEFAULT NULL COMMENT '邮箱',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='CRM客户第二联系人表' AUTO_INCREMENT=5 ;

--
-- 转存表中的数据 `cmf_client_second_user`
--

INSERT INTO `cmf_client_second_user` (`id`, `cid`, `username`, `telephone`, `email`) VALUES
(2, 2, 'adfddf', '18922234343', 'asdf@ad.com'),
(3, 1, '张三', '18633452430', '445712421@qq.com'),
(4, 56, '李先生', '13800001234', '');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_client_status`
--

CREATE TABLE IF NOT EXISTS `cmf_client_status` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `cid` int(11) NOT NULL COMMENT '客户UID',
  `uid` int(11) NOT NULL COMMENT '业务员UID',
  `status` tinyint(1) DEFAULT '0' COMMENT '1-申请状态  0-没有申请状态',
  `confirm` tinyint(1) DEFAULT '0' COMMENT '1-已确认  0-未确认 2-已否定',
  `req_time` int(11) DEFAULT '0' COMMENT '申请时间',
  `con_time` int(11) DEFAULT '0' COMMENT '确认时间',
  `con_user` int(11) NOT NULL COMMENT '确认人UID',
  `remark` varchar(255) DEFAULT NULL COMMENT '备注',
  `type` int(1) NOT NULL COMMENT '状态ID',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='归属客户阶段状态表' AUTO_INCREMENT=131 ;

--
-- 转存表中的数据 `cmf_client_status`
--

INSERT INTO `cmf_client_status` (`id`, `cid`, `uid`, `status`, `confirm`, `req_time`, `con_time`, `con_user`, `remark`, `type`) VALUES
(10, 5, 19, 1, 1, 1472787935, 1472787935, 19, '分配客户给业务员', 5),
(3, 13, 17, 1, 1, 1472778649, 1472778649, 19, '分配客户给业务员', 5),
(123, 4, 17, 1, 1, 1477278200, 1477281347, 19, '通过了', 6),
(15, 21, 0, 1, 1, 1472803863, 1472803863, 19, '添加新客户到公海', 4),
(14, 17, 17, 1, 1, 1472797047, 1472797047, 17, '添加新客户', 5),
(16, 20, 17, 1, 1, 1472803969, 1472803969, 19, '分配客户给业务员', 5),
(17, 22, 0, 1, 1, 1472804291, 1472804291, 0, '添加新客户到公海', 4),
(18, 22, 19, 1, 1, 1472804338, 1472804338, 19, '从公海抓取客户', 5),
(42, 7, 0, 1, 1, 1473147044, 1473147044, 1, '重新回到公海', 4),
(65, 42, 0, 1, 1, 1473474676, 1473474676, 0, '询盘分配', 4),
(36, 24, 17, 1, 1, 1472877645, 1472883949, 19, '不错，通过了', 6),
(37, 24, 17, 1, 2, 1472884533, 1472884668, 19, '不行，定价太低', 7),
(38, 24, 17, 1, 2, 1472884782, 1472884805, 19, '定价还是底， 按照130%报价', 7),
(35, 24, 17, 1, 1, 1472868989, 1472868989, 19, '分配客户给业务员', 5),
(33, 23, 0, 1, 1, 1472864523, 1472864523, 19, '分配客户给业务经理', 4),
(34, 24, 0, 1, 1, 1472864523, 1472864523, 19, '分配客户给业务经理', 4),
(39, 24, 17, 1, 1, 1472884831, 1472884852, 19, '这次可以了', 7),
(40, 24, 17, 1, 1, 1472885088, 1472885104, 19, '', 8),
(43, 1, 0, 1, 1, 1473147066, 1473147066, 1, '重新回到公海', 4),
(44, 2, 21, 1, 1, 1473299217, 1473299217, 21, '从公海抓取客户', 5),
(62, 3, 0, 1, 1, 1473468168, 1473468168, 0, '椋炲叆鍏?捣', 4),
(64, 6, 0, 1, 1, 1473468667, 1473468667, 0, '飞入公海', 4),
(47, 7, 21, 1, 1, 1473299217, 1473299217, 21, '从公海抓取客户', 5),
(48, 2, 21, 1, 1, 1473299232, 1473299246, 15, '通过', 6),
(49, 2, 21, 1, 1, 1473299264, 1473299277, 15, '通过', 7),
(50, 2, 21, 1, 1, 1473299288, 1473299303, 15, '不错，签单很快', 8),
(51, 32, 20, 1, 1, 1473390072, 1473390072, 0, '询盘分配', 4),
(52, 32, 20, 1, 1, 1473390072, 1473390072, 0, '询盘分配', 5),
(53, 33, 21, 1, 1, 1473390142, 1473390142, 0, '询盘分配', 4),
(54, 33, 21, 1, 1, 1473390142, 1473390142, 0, '询盘分配', 5),
(55, 34, 20, 1, 1, 1473390224, 1473390224, 0, '询盘分配', 4),
(56, 34, 20, 1, 1, 1473390224, 1473390224, 0, '询盘分配', 5),
(57, 35, 20, 1, 1, 1473390280, 1473390280, 0, '询盘分配', 4),
(58, 35, 20, 1, 1, 1473390280, 1473390280, 0, '询盘分配', 5),
(59, 36, 21, 1, 1, 1473390585, 1473390585, 0, '询盘分配', 4),
(60, 36, 21, 1, 1, 1473390585, 1473390585, 0, '询盘分配', 5),
(61, 41, 0, 1, 1, 1473407299, 1473407299, 0, '询盘分配', 4),
(66, 43, 0, 1, 1, 1473474915, 1473474915, 0, '询盘分配', 4),
(67, 46, 0, 1, 1, 1473475100, 1473475100, 0, '询盘分配', 4),
(68, 47, 0, 1, 1, 1473475042, 1473475042, 0, '询盘分配', 4),
(69, 50, 0, 1, 1, 1473475468, 1473475468, 0, '询盘分配', 4),
(70, 51, 17, 1, 1, 1473475469, 1473475469, 0, '询盘分配', 4),
(71, 51, 17, 1, 1, 1473475469, 1473475469, 0, '询盘分配', 5),
(72, 52, 0, 1, 1, 1473475826, 1473475826, 1, '询盘分配', 4),
(73, 53, 17, 1, 1, 1473475826, 1473475826, 1, '询盘分配', 4),
(74, 53, 17, 1, 1, 1473475826, 1473475826, 1, '询盘分配', 5),
(75, 54, 19, 1, 1, 1473649897, 1473649897, 19, '添加新客户', 4),
(76, 13, 17, 1, 1, 1473651016, 1473651073, 19, '速度跟进', 6),
(77, 55, 0, 1, 1, 1474187957, 1474187957, 1, '询盘分配', 4),
(78, 56, 17, 1, 1, 1474188073, 1474188073, 1, '询盘分配', 4),
(79, 56, 17, 1, 1, 1474188073, 1474188073, 1, '询盘分配', 5),
(80, 57, 0, 1, 1, 1474275663, 1474275663, 1, '询盘分配', 4),
(81, 58, 17, 1, 1, 1474276930, 1474276930, 1, '询盘分配', 4),
(82, 58, 17, 1, 1, 1474276930, 1474276930, 1, '询盘分配', 5),
(83, 59, 21, 1, 1, 1474344230, 1474344230, 1, '询盘分配', 4),
(84, 59, 21, 1, 1, 1474344230, 1474344230, 1, '询盘分配', 5),
(85, 60, 21, 1, 1, 1474346795, 1474346795, 1, '询盘分配', 4),
(86, 60, 21, 1, 1, 1474346795, 1474346795, 1, '询盘分配', 5),
(87, 61, 17, 1, 1, 1474346960, 1474346960, 1, '询盘分配', 4),
(88, 61, 17, 1, 1, 1474346960, 1474346960, 1, '询盘分配', 5),
(89, 62, 21, 1, 1, 1474347224, 1474347224, 1, '询盘分配', 4),
(90, 62, 21, 1, 1, 1474347224, 1474347224, 1, '询盘分配', 5),
(91, 63, 21, 1, 1, 1474348224, 1474348224, 1, '询盘分配', 4),
(92, 63, 21, 1, 1, 1474348224, 1474348224, 1, '询盘分配', 5),
(93, 64, 21, 1, 1, 1474348426, 1474348426, 1, '询盘分配', 4),
(94, 64, 21, 1, 1, 1474348426, 1474348426, 1, '询盘分配', 5),
(95, 65, 21, 1, 1, 1474348516, 1474348516, 1, '询盘分配', 5),
(96, 66, 17, 1, 1, 1474348516, 1474348516, 1, '询盘分配', 5),
(97, 67, 17, 1, 1, 1474348763, 1474348763, 1, '询盘分配', 5),
(98, 68, 21, 1, 1, 1474348899, 1474348899, 1, '询盘分配', 5),
(99, 69, 17, 1, 1, 1474348964, 1474348964, 1, '询盘分配', 5),
(100, 70, 17, 1, 1, 1474349103, 1474349103, 1, '询盘分配', 5),
(101, 2, 1, 1, 0, 1474622433, 0, 0, NULL, 9),
(102, 5, 1, 1, 1, 1474681003, 1474681036, 1, '可以', 6),
(103, 5, 1, 1, 1, 1474681081, 1474681094, 1, '看', 7),
(104, 52, 17, 1, 1, 1474684952, 1474684952, 1, '分配客户给业务员', 5),
(105, 55, 17, 1, 1, 1474684964, 1474684964, 1, '分配客户给业务员', 5),
(106, 20, 1, 1, 1, 1476496576, 1476496594, 1, '很好', 6),
(109, 13, 17, 1, 1, 1476862145, 1476862198, 19, '通过', 8),
(110, 24, 17, 1, 1, 1476863082, 1476864506, 19, '批准订单完成', 9),
(111, 52, 17, 1, 1, 1476865349, 1476865361, 19, '可以', 7),
(112, 52, 17, 1, 1, 1476865568, 1476865584, 19, '提示回款吧', 8),
(113, 52, 17, 1, 1, 1476865684, 1476865698, 19, '批准订单完成', 9),
(114, 13, 17, 1, 1, 1476927745, 1476927754, 19, '', 7),
(115, 13, 17, 1, 1, 1476928029, 1476928040, 19, '', 8),
(116, 20, 17, 1, 1, 1476932278, 1476932287, 19, '', 7),
(117, 24, 17, 1, 1, 1477104772, 1477106990, 19, '批准订单完成', 9),
(118, 1, 19, 1, 1, 1477276388, 1477276388, 19, '从公海抓取客户', 5),
(122, 4, 17, 1, 1, 1477277859, 1477277859, 17, '从公海抓取客户', 5),
(121, 4, 0, 1, 1, 1477277764, 1477277764, 19, '重新回到公海', 4),
(124, 4, 17, 1, 1, 1477289157, 1477289170, 19, '可以', 7),
(125, 4, 17, 1, 1, 1477289833, 1477289847, 19, 'arr', 8),
(126, 71, 21, 1, 1, 1477357354, 1477357354, 1, '询盘分配', 4),
(127, 71, 21, 1, 1, 1477357354, 1477357354, 1, '询盘分配', 5),
(128, 72, 0, 1, 1, 1477357486, 1477357486, 1, '询盘分配', 4),
(129, 73, 0, 1, 1, 1477358040, 1477358040, 1, '询盘分配', 4),
(130, 74, 17, 1, 1, 1478577620, 1478577620, 17, '批量添加客户', 5);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_client_type`
--

CREATE TABLE IF NOT EXISTS `cmf_client_type` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL COMMENT '名字',
  `desc` varchar(100) NOT NULL COMMENT '描述',
  `addtime` int(11) NOT NULL COMMENT '添加时间',
  `sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='客户级别表' AUTO_INCREMENT=6 ;

--
-- 转存表中的数据 `cmf_client_type`
--

INSERT INTO `cmf_client_type` (`id`, `name`, `desc`, `addtime`, `sort`) VALUES
(2, '大卖场', '<p>类型1</p>', 1468912045, 0),
(3, '综合进口商', '<p>类型2</p>', 1468912062, 0),
(4, '专业进口商', '<p>类型3</p>', 1468912074, 0),
(5, '中小进口商', '<p>类型4</p>', 1468912085, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_comments`
--

CREATE TABLE IF NOT EXISTS `cmf_comments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `post_table` varchar(100) NOT NULL COMMENT '评论内容所在表，不带表前缀',
  `post_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '评论内容 id',
  `url` varchar(255) DEFAULT NULL COMMENT '原文地址',
  `uid` int(11) NOT NULL DEFAULT '0' COMMENT '发表评论的用户id',
  `to_uid` int(11) NOT NULL DEFAULT '0' COMMENT '被评论的用户id',
  `full_name` varchar(50) DEFAULT NULL COMMENT '评论者昵称',
  `email` varchar(255) DEFAULT NULL COMMENT '评论者邮箱',
  `createtime` datetime NOT NULL DEFAULT '2000-01-01 00:00:00' COMMENT '评论时间',
  `content` text NOT NULL COMMENT '评论内容',
  `type` smallint(1) NOT NULL DEFAULT '1' COMMENT '评论类型；1实名评论',
  `parentid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '被回复的评论id',
  `path` varchar(500) DEFAULT NULL,
  `status` smallint(1) NOT NULL DEFAULT '1' COMMENT '状态，1已审核，0未审核',
  PRIMARY KEY (`id`),
  KEY `comment_post_ID` (`post_id`),
  KEY `comment_approved_date_gmt` (`status`),
  KEY `comment_parent` (`parentid`),
  KEY `table_id_status` (`post_table`,`post_id`,`status`),
  KEY `createtime` (`createtime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- 表的结构 `cmf_common_action_log`
--

CREATE TABLE IF NOT EXISTS `cmf_common_action_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user` bigint(20) DEFAULT '0' COMMENT '用户id',
  `object` varchar(100) DEFAULT NULL COMMENT '访问对象的id,格式：不带前缀的表名+id;如posts1表示xx_posts表里id为1的记录',
  `action` varchar(50) DEFAULT NULL COMMENT '操作名称；格式规定为：应用名+控制器+操作名；也可自己定义格式只要不发生冲突且惟一；',
  `count` int(11) DEFAULT '0' COMMENT '访问次数',
  `last_time` int(11) DEFAULT '0' COMMENT '最后访问的时间戳',
  `ip` varchar(15) DEFAULT NULL COMMENT '访问者最后访问ip',
  PRIMARY KEY (`id`),
  KEY `user_object_action` (`user`,`object`,`action`),
  KEY `user_object_action_ip` (`user`,`object`,`action`,`ip`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

--
-- 转存表中的数据 `cmf_common_action_log`
--

INSERT INTO `cmf_common_action_log` (`id`, `user`, `object`, `action`, `count`, `last_time`, `ip`) VALUES
(1, 10, 'posts1', 'Portal-Article-do_like', 1, 1463738383, '0.0.0.0');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_contact`
--

CREATE TABLE IF NOT EXISTS `cmf_contact` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `contant_name` varchar(255) NOT NULL COMMENT '联系方式',
  `contant_value` varchar(255) NOT NULL COMMENT '联系方式值',
  `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
  `alt_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `contant_name` (`contant_name`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=22 ;

--
-- 转存表中的数据 `cmf_contact`
--

INSERT INTO `cmf_contact` (`id`, `contant_name`, `contant_value`, `create_time`, `alt_time`) VALUES
(10, 'Tel.', '+86 317 7807 633', '2016-09-28 01:54:44', '0000-00-00 00:00:00'),
(11, 'E-mail', 'hbxyhy@163.com', '2016-09-28 02:05:27', '0000-00-00 00:00:00'),
(12, 'Add.', 'No. 38 Jianshe Road, Dongguang County,     Hebei Province, China.', '2016-09-28 01:56:03', '0000-00-00 00:00:00'),
(13, 'Fax', '+86 317 7722 909', '2016-09-28 01:55:22', '0000-00-00 00:00:00'),
(14, '联系人', '岳云鹏', '2016-07-28 01:03:06', '0000-00-00 00:00:00'),
(17, '电话1', '15100108598', '2016-07-28 05:50:56', '0000-00-00 00:00:00'),
(19, '电话"', '15100108598''', '2016-07-28 07:50:24', '0000-00-00 00:00:00'),
(20, 'phone', '+86 15100108598', '2016-08-03 08:15:45', '0000-00-00 00:00:00'),
(21, 'Skype', 'hbxyhy', '2016-09-28 02:05:42', '0000-00-00 00:00:00');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_contact_require`
--

CREATE TABLE IF NOT EXISTS `cmf_contact_require` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL COMMENT '业务员UID',
  `con_user` int(11) DEFAULT '0' COMMENT '审批人UID',
  `cid` int(11) NOT NULL COMMENT '客户ID',
  `reqtime` int(11) NOT NULL COMMENT '申请时间',
  `contactid` int(11) NOT NULL COMMENT '沟通记录ID',
  `content` text NOT NULL COMMENT '经理回复',
  `replytime` int(11) NOT NULL COMMENT '回复时间',
  `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0-没有回复， 1-已经回复',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='沟通记录申请关注表' AUTO_INCREMENT=12 ;

--
-- 转存表中的数据 `cmf_contact_require`
--

INSERT INTO `cmf_contact_require` (`id`, `uid`, `con_user`, `cid`, `reqtime`, `contactid`, `content`, `replytime`, `status`) VALUES
(1, 17, 19, 20, 1476436609, 21, '我来回复一下', 1476496178, 1),
(8, 17, 19, 24, 1476847972, 28, '阿斯顿发斯蒂芬', 1476848322, 1),
(7, 17, 0, 24, 1476847970, 29, '', 0, 0),
(9, 17, 0, 24, 1476848460, 30, '', 0, 0),
(10, 17, 0, 13, 1476927621, 25, '', 0, 0),
(11, 17, 19, 4, 1477289048, 32, '好好跟进', 1477289070, 1);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_crm_log`
--

CREATE TABLE IF NOT EXISTS `cmf_crm_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL COMMENT '操作人UID',
  `cid` int(11) NOT NULL COMMENT '公司UID',
  `content` text NOT NULL COMMENT '操作说明',
  `type` tinyint(1) NOT NULL COMMENT '1-抓取 2-飞出 3-分配 4-删除客户 5-修改 6-扔入公海 7-恢复 8-永久删除 9-下订单',
  `addtime` int(11) NOT NULL COMMENT '操作时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='crm操作log' AUTO_INCREMENT=124 ;

-- --------------------------------------------------------

--
-- 表的结构 `cmf_crm_monthdata`
--

CREATE TABLE IF NOT EXISTS `cmf_crm_monthdata` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL COMMENT '部门经理UID',
  `month_1` float(10,2) NOT NULL DEFAULT '0.00' COMMENT '1月',
  `month_2` float(10,2) NOT NULL DEFAULT '0.00' COMMENT '2月',
  `month_3` float(10,2) NOT NULL DEFAULT '0.00' COMMENT '3月',
  `month_4` float(10,2) NOT NULL DEFAULT '0.00' COMMENT '4月',
  `month_5` float(10,2) NOT NULL DEFAULT '0.00' COMMENT '5月',
  `month_6` float(10,2) NOT NULL DEFAULT '0.00' COMMENT '6月',
  `month_7` float(10,2) NOT NULL DEFAULT '0.00' COMMENT '7月',
  `month_8` float(10,2) NOT NULL DEFAULT '0.00' COMMENT '8月',
  `month_9` float(10,2) NOT NULL DEFAULT '0.00' COMMENT '9月',
  `month_10` float(10,2) NOT NULL DEFAULT '0.00' COMMENT '10月',
  `month_11` float(10,2) NOT NULL DEFAULT '0.00' COMMENT '11月',
  `month_12` float(10,2) NOT NULL DEFAULT '0.00' COMMENT '12月',
  `year` int(11) NOT NULL DEFAULT '0' COMMENT '第几年的数据',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='经理指定目标数据表' AUTO_INCREMENT=6 ;

--
-- 转存表中的数据 `cmf_crm_monthdata`
--

INSERT INTO `cmf_crm_monthdata` (`id`, `uid`, `month_1`, `month_2`, `month_3`, `month_4`, `month_5`, `month_6`, `month_7`, `month_8`, `month_9`, `month_10`, `month_11`, `month_12`, `year`) VALUES
(2, 19, 1.10, 2.10, 3.10, 4.10, 5.10, 6.10, 7.10, 8.10, 9.10, 10.10, 11.10, 12.10, 2016),
(4, 15, 1.00, 2.00, 3.00, 4.00, 5.00, 6.00, 7.00, 8.00, 9.00, 10.00, 11.00, 12.00, 2016),
(5, 23, 11.00, 22.00, 33.00, 44.00, 55.00, 66.00, 77.00, 88.00, 99.00, 10.00, 110.00, 120.00, 2016);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_crm_option`
--

CREATE TABLE IF NOT EXISTS `cmf_crm_option` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `sale_num` int(11) NOT NULL COMMENT ' 业务员可占有用户数 999-不限',
  `manager_num` int(11) NOT NULL COMMENT '业务经理可占有客户数 999-不限',
  `fly_day` int(11) NOT NULL COMMENT '未联系飞入公海天数  999-不限',
  `back_day` int(11) NOT NULL COMMENT '飞入公海再次占有间隔，0-可马上抓取 999-不能抓取',
  `begin_day` int(3) DEFAULT '0' COMMENT '有沟通飞出时间间隔， 999-不限',
  `remind_day` int(11) NOT NULL DEFAULT '0' COMMENT '飞入公海开始提醒提前天数',
  `shipping_day` int(11) NOT NULL COMMENT '出运订单提醒',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='crm常规设置' AUTO_INCREMENT=2 ;

--
-- 转存表中的数据 `cmf_crm_option`
--

INSERT INTO `cmf_crm_option` (`id`, `sale_num`, `manager_num`, `fly_day`, `back_day`, `begin_day`, `remind_day`, `shipping_day`) VALUES
(1, 999, 200, 7, 20, 30, 4, 30);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_crm_user`
--

CREATE TABLE IF NOT EXISTS `cmf_crm_user` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL COMMENT '业务员UID',
  `mid` int(11) NOT NULL DEFAULT '0' COMMENT '业务经理UID',
  `addtime` int(11) NOT NULL COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='业务员与业务经理UID对应表' AUTO_INCREMENT=13 ;

--
-- 转存表中的数据 `cmf_crm_user`
--

INSERT INTO `cmf_crm_user` (`id`, `uid`, `mid`, `addtime`) VALUES
(8, 17, 19, 1469582720),
(5, 19, 19, 1469410764),
(9, 20, 15, 1472777914),
(10, 21, 15, 1473299186),
(11, 22, 19, 1476927667);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_demotem`
--

CREATE TABLE IF NOT EXISTS `cmf_demotem` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `color` int(2) NOT NULL COMMENT '颜色',
  `type` int(2) NOT NULL COMMENT '模板类型',
  `ifcost` tinyint(1) DEFAULT '1' COMMENT '1-免费 2-商业',
  `url` varchar(100) DEFAULT NULL COMMENT '模板保存地址',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='模板保存表' AUTO_INCREMENT=3 ;

--
-- 转存表中的数据 `cmf_demotem`
--

INSERT INTO `cmf_demotem` (`id`, `color`, `type`, `ifcost`, `url`) VALUES
(1, 22, 1, 1, 'http://192.168.0.209/demo/demotemp/');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_download`
--

CREATE TABLE IF NOT EXISTS `cmf_download` (
  `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `catid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `typeid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `title` char(80) NOT NULL DEFAULT '',
  `style` char(24) NOT NULL DEFAULT '',
  `thumb` char(100) NOT NULL DEFAULT '',
  `keywords` char(40) NOT NULL DEFAULT '',
  `tags` varchar(255) NOT NULL DEFAULT '',
  `description` mediumtext,
  `url` char(100) NOT NULL DEFAULT '',
  `moveurl` char(100) NOT NULL COMMENT '动态url地址',
  `listorder` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `status` tinyint(2) unsigned NOT NULL DEFAULT '1',
  `istop` tinyint(2) NOT NULL COMMENT '置顶 0否，1是',
  `recommend` tinyint(2) NOT NULL COMMENT '推荐 0否1是',
  `sysadd` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `islink` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `username` char(20) NOT NULL DEFAULT '',
  `inputtime` int(10) unsigned NOT NULL DEFAULT '0',
  `updatetime` int(10) unsigned NOT NULL DEFAULT '0',
  `views` int(11) NOT NULL DEFAULT '0' COMMENT '点击总数',
  `yesterdayviews` int(11) NOT NULL DEFAULT '0' COMMENT '最日',
  `dayviews` int(10) NOT NULL DEFAULT '0' COMMENT '今日点击数',
  `weekviews` int(10) NOT NULL DEFAULT '0' COMMENT '本周访问数',
  `monthviews` int(10) NOT NULL DEFAULT '0' COMMENT '本月访问',
  `viewsupdatetime` int(10) NOT NULL DEFAULT '0' COMMENT '点击数更新时间',
  `prefix` varchar(255) NOT NULL DEFAULT '',
  `seotitle` mediumtext,
  `seokeywords` mediumtext,
  `seodescription` mediumtext,
  `seourl` varchar(255) DEFAULT NULL,
  `isdelay` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否推迟',
  `is_del` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `status` (`status`,`listorder`,`id`),
  KEY `listorder` (`catid`,`status`,`listorder`,`id`),
  KEY `catid` (`catid`,`weekviews`,`views`,`dayviews`,`monthviews`,`status`,`id`),
  KEY `thumb` (`thumb`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=10 ;

--
-- 转存表中的数据 `cmf_download`
--

INSERT INTO `cmf_download` (`id`, `catid`, `typeid`, `title`, `style`, `thumb`, `keywords`, `tags`, `description`, `url`, `moveurl`, `listorder`, `status`, `istop`, `recommend`, `sysadd`, `islink`, `username`, `inputtime`, `updatetime`, `views`, `yesterdayviews`, `dayviews`, `weekviews`, `monthviews`, `viewsupdatetime`, `prefix`, `seotitle`, `seokeywords`, `seodescription`, `seourl`, `isdelay`, `is_del`) VALUES
(5, 99, 0, 'factory tour1', '', 'data/upload/20160926/57e888aed269d.jpg', '', '', 'Hebei XINYU Welding Co., Ltd Welcome you to our factory any time.', 'http://localhost/xinxiangmu/factory-tour/5-5.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_down&catid=99&id=5', 0, 99, 1, 0, 1, 0, 'admin', 1474857144, 1474857144, 0, 0, 0, 0, 0, 0, '', 'factory tour1 Supplier', 'factory tour1  Manufacturer', NULL, '5', 0, 0),
(6, 99, 0, 'factory tour2', '', 'data/upload/20160926/57e888aed269d.jpg', '', '', 'Hebei XINYU Welding Co., Ltd Welcome you to our factory any time.', 'http://localhost/xinxiangmu/factory-tour/6-6.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_down&catid=99&id=6', 0, 99, 1, 0, 1, 0, 'admin', 1474858172, 1474858172, 0, 0, 0, 0, 0, 0, '', 'factory tour1 Supplier', 'factory tour1  Manufacturer', NULL, '6', 0, 0),
(7, 99, 0, 'factory tour3', '', 'data/upload/20160926/57e888aed269d.jpg', '', '', 'Hebei XINYU Welding Co., Ltd Welcome you to our factory any time.', 'http://localhost/xinxiangmu/factory-tour/7-7.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_down&catid=99&id=7', 0, 99, 1, 0, 1, 0, 'admin', 1474858172, 1474858172, 0, 0, 0, 0, 0, 0, '', 'factory tour1 Supplier', 'factory tour1  Manufacturer', NULL, '7', 0, 0),
(8, 99, 0, 'factory tour4', '', 'data/upload/20160926/57e888aed269d.jpg', '', '', 'Hebei XINYU Welding Co., Ltd Welcome you to our factory any time.', 'http://localhost/xinxiangmu/factory-tour/8-8.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_down&catid=99&id=8', 0, 99, 1, 0, 1, 0, 'admin', 1474858172, 1474858172, 0, 0, 0, 0, 0, 0, '', 'factory tour1 Supplier', 'factory tour1  Manufacturer', NULL, '8', 0, 0),
(9, 99, 0, 'factory tour5', '', 'data/upload/20160926/57e888aed269d.jpg', '', '', 'Hebei XINYU Welding Co., Ltd Welcome you to our factory any time.', 'http://localhost/xinxiangmu/factory-tour/9-9.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_down&catid=99&id=9', 0, 99, 1, 0, 1, 0, 'admin', 1474858172, 1474858172, 0, 0, 0, 0, 0, 0, '', 'factory tour1 Supplier', 'factory tour1  Manufacturer', NULL, '9', 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_download_data`
--

CREATE TABLE IF NOT EXISTS `cmf_download_data` (
  `id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `template` varchar(30) NOT NULL DEFAULT '',
  `paytype` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `allow_comment` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `relation` varchar(255) NOT NULL DEFAULT '',
  `download` text,
  `full_content` mediumtext,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `cmf_download_data`
--

INSERT INTO `cmf_download_data` (`id`, `template`, `paytype`, `allow_comment`, `relation`, `download`, `full_content`) VALUES
(4, '', 0, 1, '', '[{"fileurl":"\\/thinkcmf\\/data\\/upload\\/20160531\\/574d4d062bef6.zip","filename":"reanod"}]', NULL),
(5, '', 0, 1, '', '[]', '<p>Hebei XINYU Welding Co., Ltd, which mainly produces high strength steel welding wire, Non-copper-coated solid wire, submerged arc &amp; stainless steel welding wire . Our products are widely applied to the welding of low-alloy high tensile large &amp; key steel structures in coal machinery, construction machinery, petrochemical machinery, pressure vessels or tanks, oil &amp; gas pipelines, military industry, shipbuilding, bridge and high-rise buildings etc.At the same time,we are the only interprise in the domestic which produces welding wire as well as welding wire equipment.</p><p>All our products have passed ISO 9001-2008 quality system certification and CE certification because of our advanced production lines, top professional testing equipment, intelligent R&amp;D team and scientific management system. Meanwhile, we get 7 invention patents including a national one. We are a member of China Mechanical Engineering Association and China Welding Association. Other honors are “ Consumer Trusting Products in Hebei province” “ Famous Brand products in Hebei province” “ Good Credit Enterprise in Hebei Province” and “China Key &amp;Leading Enterprise in high tensile steel welding wire”.</p><p><br/></p>'),
(6, '', 0, 1, '', '[]', '<p>Hebei XINYU Welding Co., Ltd, which mainly produces high strength steel welding wire, Non-copper-coated solid wire, submerged arc &amp; stainless steel welding wire . Our products are widely applied to the welding of low-alloy high tensile large &amp; key steel structures in coal machinery, construction machinery, petrochemical machinery, pressure vessels or tanks, oil &amp; gas pipelines, military industry, shipbuilding, bridge and high-rise buildings etc.At the same time,we are the only interprise in the domestic which produces welding wire as well as welding wire equipment.</p><p>All our products have passed ISO 9001-2008 quality system certification and CE certification because of our advanced production lines, top professional testing equipment, intelligent R&amp;D team and scientific management system. Meanwhile, we get 7 invention patents including a national one. We are a member of China Mechanical Engineering Association and China Welding Association. Other honors are “ Consumer Trusting Products in Hebei province” “ Famous Brand products in Hebei province” “ Good Credit Enterprise in Hebei Province” and “China Key &amp;Leading Enterprise in high tensile steel welding wire”.</p><p><br/></p>'),
(7, '', 0, 1, '', '[]', '<p>Hebei XINYU Welding Co., Ltd, which mainly produces high strength steel welding wire, Non-copper-coated solid wire, submerged arc &amp; stainless steel welding wire . Our products are widely applied to the welding of low-alloy high tensile large &amp; key steel structures in coal machinery, construction machinery, petrochemical machinery, pressure vessels or tanks, oil &amp; gas pipelines, military industry, shipbuilding, bridge and high-rise buildings etc.At the same time,we are the only interprise in the domestic which produces welding wire as well as welding wire equipment.</p><p>All our products have passed ISO 9001-2008 quality system certification and CE certification because of our advanced production lines, top professional testing equipment, intelligent R&amp;D team and scientific management system. Meanwhile, we get 7 invention patents including a national one. We are a member of China Mechanical Engineering Association and China Welding Association. Other honors are “ Consumer Trusting Products in Hebei province” “ Famous Brand products in Hebei province” “ Good Credit Enterprise in Hebei Province” and “China Key &amp;Leading Enterprise in high tensile steel welding wire”.</p><p><br/></p>'),
(8, '', 0, 1, '', '[]', '<p>Hebei XINYU Welding Co., Ltd, which mainly produces high strength steel welding wire, Non-copper-coated solid wire, submerged arc &amp; stainless steel welding wire . Our products are widely applied to the welding of low-alloy high tensile large &amp; key steel structures in coal machinery, construction machinery, petrochemical machinery, pressure vessels or tanks, oil &amp; gas pipelines, military industry, shipbuilding, bridge and high-rise buildings etc.At the same time,we are the only interprise in the domestic which produces welding wire as well as welding wire equipment.</p><p>All our products have passed ISO 9001-2008 quality system certification and CE certification because of our advanced production lines, top professional testing equipment, intelligent R&amp;D team and scientific management system. Meanwhile, we get 7 invention patents including a national one. We are a member of China Mechanical Engineering Association and China Welding Association. Other honors are “ Consumer Trusting Products in Hebei province” “ Famous Brand products in Hebei province” “ Good Credit Enterprise in Hebei Province” and “China Key &amp;Leading Enterprise in high tensile steel welding wire”.</p><p>Hebei XINYU Welding Co., Ltd, which mainly produces high strength steel welding wire, Non-copper-coated solid wire, submerged arc &amp; stainless steel welding wire . Our products are widely applied to the welding of low-alloy high tensile large &amp; key steel structures in coal machinery, construction machinery, petrochemical machinery, pressure vessels or tanks, oil &amp; gas pipelines, military industry, shipbuilding, bridge and high-rise buildings etc.At the same time,we are the only interprise in the domestic which produces welding wire as well as welding wire equipment.</p><p>All our products have passed ISO 9001-2008 quality system certification and CE certification because of our advanced production lines, top professional testing equipment, intelligent R&amp;D team and scientific management system. Meanwhile, we get 7 invention patents including a national one. We are a member of China Mechanical Engineering Association and China Welding Association. Other honors are “ Consumer Trusting Products in Hebei province” “ Famous Brand products in Hebei province” “ Good Credit Enterprise in Hebei Province” and “China Key &amp;Leading Enterprise in high tensile steel welding wire”.</p><p><br/></p>'),
(9, '', 0, 1, '', '[]', '<p>Hebei XINYU Welding Co., Ltd, which mainly produces high strength steel welding wire, Non-copper-coated solid wire, submerged arc &amp; stainless steel welding wire . Our products are widely applied to the welding of low-alloy high tensile large &amp; key steel structures in coal machinery, construction machinery, petrochemical machinery, pressure vessels or tanks, oil &amp; gas pipelines, military industry, shipbuilding, bridge and high-rise buildings etc.At the same time,we are the only interprise in the domestic which produces welding wire as well as welding wire equipment.</p><p>All our products have passed ISO 9001-2008 quality system certification and CE certification because of our advanced production lines, top professional testing equipment, intelligent R&amp;D team and scientific management system. Meanwhile, we get 7 invention patents including a national one. We are a member of China Mechanical Engineering Association and China Welding Association. Other honors are “ Consumer Trusting Products in Hebei province” “ Famous Brand products in Hebei province” “ Good Credit Enterprise in Hebei Province” and “China Key &amp;Leading Enterprise in high tensile steel welding wire”.</p><p>Hebei XINYU Welding Co., Ltd, which mainly produces high strength steel welding wire, Non-copper-coated solid wire, submerged arc &amp; stainless steel welding wire . Our products are widely applied to the welding of low-alloy high tensile large &amp; key steel structures in coal machinery, construction machinery, petrochemical machinery, pressure vessels or tanks, oil &amp; gas pipelines, military industry, shipbuilding, bridge and high-rise buildings etc.At the same time,we are the only interprise in the domestic which produces welding wire as well as welding wire equipment.</p><p>All our products have passed ISO 9001-2008 quality system certification and CE certification because of our advanced production lines, top professional testing equipment, intelligent R&amp;D team and scientific management system. Meanwhile, we get 7 invention patents including a national one. We are a member of China Mechanical Engineering Association and China Welding Association. Other honors are “ Consumer Trusting Products in Hebei province” “ Famous Brand products in Hebei province” “ Good Credit Enterprise in Hebei Province” and “China Key &amp;Leading Enterprise in high tensile steel welding wire”.</p><p>Hebei XINYU Welding Co., Ltd, which mainly produces high strength steel welding wire, Non-copper-coated solid wire, submerged arc &amp; stainless steel welding wire . Our products are widely applied to the welding of low-alloy high tensile large &amp; key steel structures in coal machinery, construction machinery, petrochemical machinery, pressure vessels or tanks, oil &amp; gas pipelines, military industry, shipbuilding, bridge and high-rise buildings etc.At the same time,we are the only interprise in the domestic which produces welding wire as well as welding wire equipment.</p><p>All our products have passed ISO 9001-2008 quality system certification and CE certification because of our advanced production lines, top professional testing equipment, intelligent R&amp;D team and scientific management system. Meanwhile, we get 7 invention patents including a national one. We are a member of China Mechanical Engineering Association and China Welding Association. Other honors are “ Consumer Trusting Products in Hebei province” “ Famous Brand products in Hebei province” “ Good Credit Enterprise in Hebei Province” and “China Key &amp;Leading Enterprise in high tensile steel welding wire”.</p><p>Hebei XINYU Welding Co., Ltd, which mainly produces high strength steel welding wire, Non-copper-coated solid wire, submerged arc &amp; stainless steel welding wire . Our products are widely applied to the welding of low-alloy high tensile large &amp; key steel structures in coal machinery, construction machinery, petrochemical machinery, pressure vessels or tanks, oil &amp; gas pipelines, military industry, shipbuilding, bridge and high-rise buildings etc.At the same time,we are the only interprise in the domestic which produces welding wire as well as welding wire equipment.</p><p>All our products have passed ISO 9001-2008 quality system certification and CE certification because of our advanced production lines, top professional testing equipment, intelligent R&amp;D team and scientific management system. Meanwhile, we get 7 invention patents including a national one. We are a member of China Mechanical Engineering Association and China Welding Association. Other honors are “ Consumer Trusting Products in Hebei province” “ Famous Brand products in Hebei province” “ Good Credit Enterprise in Hebei Province” and “China Key &amp;Leading Enterprise in high tensile steel welding wire”.</p><p><br/></p>');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_email`
--

CREATE TABLE IF NOT EXISTS `cmf_email` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `email` varchar(100) NOT NULL COMMENT '留言者邮箱',
  `status` smallint(2) NOT NULL DEFAULT '1' COMMENT '留言状态，1：正常，0：删除',
  `del_time` int(10) NOT NULL COMMENT '删除时间',
  PRIMARY KEY (`id`),
  KEY `email` (`email`),
  KEY `status` (`status`),
  KEY `del_time` (`del_time`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

--
-- 转存表中的数据 `cmf_email`
--

INSERT INTO `cmf_email` (`id`, `email`, `status`, `del_time`) VALUES
(1, '123@qq.com', 1, 0),
(2, '12342@qq.com', 1, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_faq`
--

CREATE TABLE IF NOT EXISTS `cmf_faq` (
  `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `catid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `typeid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL DEFAULT '',
  `style` varchar(24) NOT NULL DEFAULT '',
  `thumb` varchar(255) NOT NULL DEFAULT '',
  `description` mediumtext,
  `url` varchar(255) NOT NULL DEFAULT '',
  `listorder` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `status` tinyint(2) unsigned NOT NULL DEFAULT '1',
  `istop` tinyint(2) unsigned NOT NULL DEFAULT '0',
  `recommend` tinyint(2) unsigned NOT NULL DEFAULT '0',
  `sysadd` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `islink` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `username` char(20) NOT NULL DEFAULT '',
  `inputtime` int(10) unsigned NOT NULL DEFAULT '0',
  `updatetime` int(10) unsigned NOT NULL DEFAULT '0',
  `views` int(11) NOT NULL DEFAULT '0' COMMENT '点击总数',
  `yesterdayviews` int(11) NOT NULL DEFAULT '0' COMMENT '最日',
  `dayviews` int(10) NOT NULL DEFAULT '0' COMMENT '今日点击数',
  `weekviews` int(10) NOT NULL DEFAULT '0' COMMENT '本周访问数',
  `monthviews` int(10) NOT NULL DEFAULT '0' COMMENT '本月访问',
  `viewsupdatetime` int(10) NOT NULL DEFAULT '0' COMMENT '点击数更新时间',
  `seotitle` varchar(110) NOT NULL DEFAULT '',
  `seokeywords` varchar(200) NOT NULL DEFAULT '',
  `seodescription` mediumtext,
  `moveurl` varchar(255) NOT NULL DEFAULT '' COMMENT '动态url地址',
  `seourl` varchar(255) NOT NULL DEFAULT '',
  `isdelay` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否推迟',
  `is_del` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否在回收',
  PRIMARY KEY (`id`),
  KEY `status` (`status`,`listorder`,`id`),
  KEY `listorder` (`catid`,`status`,`listorder`,`id`),
  KEY `catid` (`catid`,`weekviews`,`views`,`dayviews`,`monthviews`,`status`,`id`),
  KEY `thumb` (`thumb`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;

--
-- 转存表中的数据 `cmf_faq`
--

INSERT INTO `cmf_faq` (`id`, `catid`, `typeid`, `title`, `style`, `thumb`, `description`, `url`, `listorder`, `status`, `istop`, `recommend`, `sysadd`, `islink`, `username`, `inputtime`, `updatetime`, `views`, `yesterdayviews`, `dayviews`, `weekviews`, `monthviews`, `viewsupdatetime`, `seotitle`, `seokeywords`, `seodescription`, `moveurl`, `seourl`, `isdelay`, `is_del`) VALUES
(1, 95, 0, 'Where is Hebei XINYU Welding', '', '', '', 'http://localhost/xinxiangmu/faq/1.html', 0, 99, 0, 0, 1, 0, 'admin', 1474852441, 1474852441, 0, 0, 0, 0, 0, 0, 'Where is Hebei XINYU Welding Manufacturer China', 'Where is Hebei XINYU Welding China', '', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_faq&catid=95&id=1', '', 0, 0),
(2, 95, 0, 'Where is Hebei XINYU Welding2', '', '', '', 'http://localhost/xinxiangmu/faq/2.html', 0, 99, 0, 0, 1, 0, 'admin', 1474852494, 1474852494, 0, 0, 0, 0, 0, 0, 'Where is Hebei XINYU Welding2 Wholesale', 'Where is Hebei XINYU Welding2 Supplier', '', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_faq&catid=95&id=2', '', 0, 0),
(3, 95, 0, 'xiaopingguo', '', '', '', 'http://localhost/xinxiangmu/faq/3-3.html', 0, 99, 0, 0, 1, 0, 'admin', 1475022391, 1475022391, 0, 0, 0, 0, 0, 0, 'Where is Hebei XINYU Welding2 Wholesale', 'Where is Hebei XINYU Welding2 Supplier', '', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_faq&catid=95&id=3', '3', 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_faq_data`
--

CREATE TABLE IF NOT EXISTS `cmf_faq_data` (
  `id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `content` text,
  `paginationtype` tinyint(1) NOT NULL DEFAULT '0',
  `maxcharperpage` mediumint(6) NOT NULL DEFAULT '0',
  `template` varchar(30) NOT NULL DEFAULT '',
  `paytype` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `allow_comment` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `relation` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `cmf_faq_data`
--

INSERT INTO `cmf_faq_data` (`id`, `content`, `paginationtype`, `maxcharperpage`, `template`, `paytype`, `allow_comment`, `relation`) VALUES
(1, '<p><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Shielded metal arc welding, submerged arc welding and gas shielded welding and other welding methods, can be used...</span><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Shielded metal arc welding, submerged arc welding and gas shielded welding and other welding methods, can be used...</span><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Shielded metal arc welding, submerged arc welding and gas shielded welding and other welding methods, can be used...</span></p>', 0, 0, '', 0, 1, ''),
(2, '<p><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Shielded metal arc welding, submerged arc welding and gas shielded welding and other welding methods, can be used...</span><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Shielded metal arc welding, submerged arc welding and gas shielded welding and other welding methods, can be used...</span><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Shielded metal arc welding, submerged arc welding and gas shielded welding and other welding methods, can be used...</span><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Shielded metal arc welding, submerged arc welding and gas shielded welding and other welding methods, can be used...</span><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Shielded metal arc welding, submerged arc welding and gas shielded welding and other welding methods, can be used...</span><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Shielded metal arc welding, submerged arc welding and gas shielded welding and other welding methods, can be used...</span></p>', 0, 0, '', 0, 1, ''),
(3, '<p><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Shielded metal arc welding, submerged arc welding and gas shielded welding and other welding methods, can be used...</span><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Shielded metal arc welding, submerged arc welding and gas shielded welding and other welding methods, can be used...</span><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Shielded metal arc welding, submerged arc welding and gas shielded welding and other welding methods, can be used...</span><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Shielded metal arc welding, submerged arc welding and gas shielded welding and other welding methods, can be used...</span><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Shielded metal arc welding, submerged arc welding and gas shielded welding and other welding methods, can be used...</span><span style="color: rgb(34, 34, 34); font-family: Consolas, &#39;Lucida Console&#39;, monospace; font-size: 12px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">Shielded metal arc welding, submerged arc welding and gas shielded welding and other welding methods, can be used...</span></p>', 0, 0, '', 0, 1, '');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_follow_us_rela`
--

CREATE TABLE IF NOT EXISTS `cmf_follow_us_rela` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `type_id` varchar(36) NOT NULL COMMENT '分类id',
  `is_show` int(11) NOT NULL COMMENT '0-显示 1-不显示',
  `socially_id` varchar(36) NOT NULL COMMENT '社交平台ID',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=24 ;

--
-- 转存表中的数据 `cmf_follow_us_rela`
--

INSERT INTO `cmf_follow_us_rela` (`id`, `type_id`, `is_show`, `socially_id`) VALUES
(23, 'FI0lVtdteMUxrFmHaxOHzwcgSIXeqpmWHcul', 0, 'CViKHlDPIYovdYvIzkLNjFeCSmRxNMDJMfNR'),
(22, 'FI0lVtdteMUxrFmHaxOHzwcgSIXeqpmWHcul', 0, 'QeFDjoYRbRW0uVqcCzgRdzGTsXPifpbNeLVB');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_follow_us_type`
--

CREATE TABLE IF NOT EXISTS `cmf_follow_us_type` (
  `id` tinyint(4) NOT NULL AUTO_INCREMENT,
  `typeid` varchar(36) NOT NULL COMMENT '类别ID',
  `typename` varchar(25) NOT NULL COMMENT '类别名称',
  `createtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `typename` (`typename`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

--
-- 转存表中的数据 `cmf_follow_us_type`
--

INSERT INTO `cmf_follow_us_type` (`id`, `typeid`, `typename`, `createtime`) VALUES
(1, 'FI0lVtdteMUxrFmHaxOHzwcgSIXeqpmWHcul', '底部显示', '2016-08-11 02:46:26');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_google_api`
--

CREATE TABLE IF NOT EXISTS `cmf_google_api` (
  `id` int(20) NOT NULL AUTO_INCREMENT,
  `key` varchar(255) NOT NULL,
  `cx` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

--
-- 转存表中的数据 `cmf_google_api`
--

INSERT INTO `cmf_google_api` (`id`, `key`, `cx`) VALUES
(1, 'AIzaSyCmsDqmScSy2TNVbRRxDxll2RWTt3TxyzQ', '014669375805372418625:hpevqrxmf-0'),
(2, 'AIzaSyDE3iv2Oi7dvJFgB14oyb6-6QeD-7YNNIY', '007596137184564669798:vieduydhj9w');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_guestbook`
--

CREATE TABLE IF NOT EXISTS `cmf_guestbook` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `full_name` varchar(50) NOT NULL COMMENT '留言者姓名',
  `email` varchar(100) NOT NULL COMMENT '留言者邮箱',
  `title` varchar(255) DEFAULT '' COMMENT '留言标题',
  `msg` text NOT NULL COMMENT '留言内容',
  `company_name` varchar(200) NOT NULL DEFAULT '' COMMENT '公司名称',
  `tel` varchar(20) NOT NULL DEFAULT '' COMMENT '电话',
  `fax` varchar(20) NOT NULL DEFAULT '' COMMENT '传真',
  `address` varchar(200) NOT NULL DEFAULT '' COMMENT '地址',
  `pid` text NOT NULL COMMENT '产品',
  `createtime` datetime NOT NULL COMMENT '留言时间',
  `salesman` char(20) NOT NULL DEFAULT '',
  `content` varchar(255) NOT NULL DEFAULT '' COMMENT '管理员备注',
  `status` smallint(2) NOT NULL DEFAULT '1' COMMENT '留言状态，1：正常，0：删除',
  `del_time` int(10) NOT NULL COMMENT '删除时间',
  `from_country` varchar(255) NOT NULL DEFAULT '' COMMENT '询盘客户来自哪个国家',
  `from_country_ip` varchar(100) NOT NULL DEFAULT '中国' COMMENT '客户IP',
  `type` tinyint(1) NOT NULL COMMENT '0:联系我们,1:底部,2:详情,3:侧栏',
  `file` varchar(255) DEFAULT NULL COMMENT '附件URL',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=37 ;

--
-- 转存表中的数据 `cmf_guestbook`
--

INSERT INTO `cmf_guestbook` (`id`, `full_name`, `email`, `title`, `msg`, `company_name`, `tel`, `fax`, `address`, `pid`, `createtime`, `salesman`, `content`, `status`, `del_time`, `from_country`, `from_country_ip`, `type`, `file`) VALUES
(12, 'wangwu', 'wangwu@qq.com', '', 'hahahahaha', 'reanod', '15511111111', '15511111111', 'sjz', '\n    &lt;a href=&quot;http://192.168.0.68/thinkcmf/index.php?g=Content&amp;m=Pagedis&amp;a=show_pro&amp;catid=10&amp;id=2&quot; title=&quot;dachuizi1222&quot;&gt;dachuizi1222&lt;/a&gt;&lt;a href=&quot;http://192.168.0.68/thinkcmf/index.php?g=Content&amp;m=Pagedis&amp;a=show_pro&amp;catid=10&amp;id=5&quot; title=&quot;futou&quot;&gt;futou&lt;/a&gt;&lt;a href=&quot;http://192.168.0.68/thinkcmf/index.php?g=Content&amp;m=Pagedis&amp;a=show_pro&amp;catid=10&amp;id=8&quot; title=&quot;小钳子&quot;&gt;小钳子&lt;/a&gt;&lt;a href=&quot;http://192.168.0.68/thinkcmf/index.php?g=Content&amp;m=Pagedis&amp;a=show_pro&amp;catid=10&amp;id=30&quot; title=&quot;修理工具&quot;&gt;修理工具&lt;/a&gt;    ', '2016-06-13 16:41:50', '20', '', 1, 1473399635, 'china', '中国', 0, NULL),
(36, 'chenxiao', '445712421@qq.com', '', 'lasdirjir', '', '', '', '', '\r\n                                                ', '2016-10-25 15:46:03', '', '', 1, 0, '', '', 0, ''),
(33, 'aaaaaaa', 'aaaaa@qq.com', '', 'ddddddddddddddddddd', 'bad', '', '', '', '\r\n                                                ', '2016-10-14 10:22:53', '15', '给经理', 1, 0, 'china', '', 2, ''),
(34, 'xinjia1', '1111@qq.com', '', 'ceshiyong', '', '', '', '', '\r\n                                                ', '2016-10-25 11:40:47', '', '', 1, 0, '', '', 0, ''),
(35, 'xinfa2', '3233816752@qq.com', '', 'ceshiyong', 'asjlkdf', '', '', '', '\r\n                                                ', '2016-10-25 11:41:18', '', '', 1, 0, 'China', '', 0, ''),
(30, 'hello11', '78910@qq.com', '', 'very good', 'china', '15712345678', '', '', '', '2016-09-27 17:57:04', '', '', 1, 0, '', '', 0, ''),
(31, '测试haaaa', 'djfh@ww.com', '', '发财了', 'reanod', '15712345678', '', '', '&lt;a href=&quot;http://localhost/xinxiangmu/morenshengchengjingtai/98.html&quot; title=&quot;product 1&quot;&gt;product 1&lt;/a&gt;&lt;a href=&quot;http://localhost/xinxiangmu/morenshengchengjingtai/productrr-99.html&quot; title=&quot;product2&quot;&gt;product2&lt;/a&gt;', '2016-09-28 09:37:44', '', '', 1, 0, 'china', '', 0, ''),
(32, 'chenxiao', '3434343@qq.com', '', 'my inquery', 'xiaoren', '17678388', '', '', '\r\n                        &lt;a href=&quot;http://localhost/xinxiangmu/index.php?g=Content&amp;m=Pagedis&amp;a=shows_pro&amp;catid=73&amp;id=83&quot; title=&quot;钻石&quot; target=&quot;_blank&quot;&gt;钻石&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://localhost/xinxiangmu/index.php?g=Content&amp;m=Pagedis&amp;a=shows_pro&amp;catid=81&amp;id=98&quot; title=&quot;product 1&quot; target=&quot;_blank&quot;&gt;product 1&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://localhost/xinxiangmu/index.php?g=Content&amp;m=Pagedis&amp;a=shows_pro&amp;catid=81&amp;id=99&quot; title=&quot;product2&quot; target=&quot;_blank&quot;&gt;product2&lt;/a&gt;&lt;br /&gt;                        ', '2016-09-29 15:24:51', '17', '给了chenxiao业务', 1, 0, 'china', '', 0, '');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_guestbook_data`
--

CREATE TABLE IF NOT EXISTS `cmf_guestbook_data` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `guestbook_group_id` int(11) NOT NULL COMMENT 'guestbook_group ID',
  `fieldid` int(11) NOT NULL COMMENT 'guestbook_field ID 选择了哪个字段',
  `if_show` tinyint(1) NOT NULL DEFAULT '2' COMMENT '1-显示 2-不显示',
  `if_require` tinyint(1) NOT NULL DEFAULT '2' COMMENT '是否必须  1-必须 2-否',
  `addtime` int(11) DEFAULT NULL COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='询盘所需字段表' AUTO_INCREMENT=32 ;

--
-- 转存表中的数据 `cmf_guestbook_data`
--

INSERT INTO `cmf_guestbook_data` (`id`, `guestbook_group_id`, `fieldid`, `if_show`, `if_require`, `addtime`) VALUES
(1, 1, 1, 2, 2, 1468830651),
(2, 1, 2, 1, 1, 1468830651),
(3, 1, 3, 2, 2, 1468830651),
(4, 1, 4, 2, 2, 1468830651),
(5, 1, 5, 2, 2, 1468830651),
(6, 1, 6, 2, 2, 1468830651),
(7, 1, 7, 2, 2, 1468830651),
(8, 1, 8, 2, 2, 1468830651),
(9, 1, 9, 2, 2, 1468830651),
(20, 1, 11, 2, 2, 1468830651),
(19, 1, 10, 2, 2, 1468830651),
(21, 2, 1, 1, 1, 1468830651),
(22, 2, 2, 2, 2, 1468830651),
(23, 2, 3, 1, 2, 1468830651),
(24, 2, 4, 2, 2, 1468830651),
(25, 2, 5, 1, 1, 1468830651),
(26, 2, 6, 2, 2, 1468830651),
(27, 2, 7, 1, 1, 1468830651),
(28, 2, 8, 2, 2, 1468830651),
(29, 2, 9, 1, 1, 1468830651),
(30, 2, 10, 2, 2, 1468830651),
(31, 2, 11, 1, 1, 1468830651);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_guestbook_field`
--

CREATE TABLE IF NOT EXISTS `cmf_guestbook_field` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL COMMENT '字段名',
  `desc` varchar(50) DEFAULT NULL,
  `url` varchar(100) DEFAULT NULL COMMENT '验证码地址',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='询盘显示字段管理表' AUTO_INCREMENT=12 ;

--
-- 转存表中的数据 `cmf_guestbook_field`
--

INSERT INTO `cmf_guestbook_field` (`id`, `name`, `desc`, `url`) VALUES
(1, 'full_name', '询盘人姓名', NULL),
(2, 'email', '询盘人邮箱', NULL),
(3, 'title', '标题', NULL),
(4, 'msg', '内容', NULL),
(5, 'company_name', '公司名称', NULL),
(6, 'tel', '电话', NULL),
(7, 'fax', '传真', NULL),
(8, 'address', '地址', NULL),
(9, 'from_country', '国家', NULL),
(10, 'verify', '验证码', NULL),
(11, 'file', '附件', NULL);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_guestbook_group`
--

CREATE TABLE IF NOT EXISTS `cmf_guestbook_group` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL COMMENT '询盘类型 ：footer , 其他',
  `addtime` int(11) NOT NULL COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='询盘类别表' AUTO_INCREMENT=3 ;

--
-- 转存表中的数据 `cmf_guestbook_group`
--

INSERT INTO `cmf_guestbook_group` (`id`, `name`, `addtime`) VALUES
(1, 'footer询盘', 1468830651),
(2, '边栏询盘', 1468889825);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_guestbook_set`
--

CREATE TABLE IF NOT EXISTS `cmf_guestbook_set` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `zkey` varchar(255) NOT NULL DEFAULT '' COMMENT '标识',
  `zvalue` longtext COMMENT '值',
  PRIMARY KEY (`id`),
  KEY `zkey` (`zkey`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

--
-- 转存表中的数据 `cmf_guestbook_set`
--

INSERT INTO `cmf_guestbook_set` (`id`, `zkey`, `zvalue`) VALUES
(1, 'fenpei', '2'),
(2, 'yangshi', '2');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_langset`
--

CREATE TABLE IF NOT EXISTS `cmf_langset` (
  `id` tinyint(4) NOT NULL AUTO_INCREMENT,
  `lsign` char(100) NOT NULL DEFAULT '' COMMENT '语种标识',
  `lname` char(100) NOT NULL DEFAULT '' COMMENT '语种描述',
  `def` tinyint(4) NOT NULL DEFAULT '0' COMMENT '默认语言',
  `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态:1：以启用，0：未启用',
  PRIMARY KEY (`id`),
  UNIQUE KEY `lsign` (`lsign`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;

--
-- 转存表中的数据 `cmf_langset`
--

INSERT INTO `cmf_langset` (`id`, `lsign`, `lname`, `def`, `status`) VALUES
(1, 'zh-cn', '中文', 0, 1),
(2, 'en-us', '英文', 1, 1),
(3, 'fg-fh', '法文', 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_links`
--

CREATE TABLE IF NOT EXISTS `cmf_links` (
  `link_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `link_url` varchar(255) NOT NULL COMMENT '友情链接地址',
  `link_name` varchar(255) NOT NULL COMMENT '友情链接名称',
  `link_image` varchar(255) DEFAULT NULL COMMENT '友情链接图标',
  `link_target` varchar(25) NOT NULL DEFAULT '_blank' COMMENT '友情链接打开方式',
  `link_description` text NOT NULL COMMENT '友情链接描述',
  `link_time` datetime DEFAULT NULL COMMENT '友情链接添加时间',
  `link_status` int(2) NOT NULL DEFAULT '1' COMMENT '状态，1显示，0不显示',
  `link_rating` int(11) NOT NULL DEFAULT '0' COMMENT '友情链接评级',
  `link_rel` varchar(255) DEFAULT NULL COMMENT '链接与网站的关系',
  `listorder` int(10) NOT NULL DEFAULT '0' COMMENT '排序',
  PRIMARY KEY (`link_id`),
  KEY `link_visible` (`link_status`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=15 ;

--
-- 转存表中的数据 `cmf_links`
--

INSERT INTO `cmf_links` (`link_id`, `link_url`, `link_name`, `link_image`, `link_target`, `link_description`, `link_time`, `link_status`, `link_rating`, `link_rel`, `listorder`) VALUES
(14, 'www.reanod.com', 'Reanod', 'data/upload/20161025/580eb23fbc07d.png', '_blank', '瑞诺国际', '2016-10-25 09:16:16', 1, 0, '', 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_locking`
--

CREATE TABLE IF NOT EXISTS `cmf_locking` (
  `userid` int(11) NOT NULL COMMENT '用户ID',
  `username` varchar(30) NOT NULL DEFAULT '' COMMENT '用户名',
  `catid` smallint(5) NOT NULL DEFAULT '0' COMMENT '栏目ID',
  `id` mediumint(8) NOT NULL DEFAULT '0' COMMENT '信息ID',
  `locktime` int(10) NOT NULL DEFAULT '0' COMMENT '锁定时间',
  KEY `userid` (`userid`),
  KEY `onlinetime` (`locktime`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `cmf_locking`
--

INSERT INTO `cmf_locking` (`userid`, `username`, `catid`, `id`, `locktime`) VALUES
(1, 'admin', 81, 103, 1478757347),
(1, 'admin', 99, 9, 1478757354),
(1, 'admin', 96, 41, 1478757373),
(1, 'admin', 94, 8, 1478757377);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_menu`
--

CREATE TABLE IF NOT EXISTS `cmf_menu` (
  `id` smallint(6) unsigned NOT NULL AUTO_INCREMENT,
  `parentid` smallint(6) unsigned NOT NULL DEFAULT '0',
  `app` char(20) NOT NULL COMMENT '应用名称app',
  `model` char(20) NOT NULL COMMENT '控制器',
  `action` char(20) NOT NULL COMMENT '操作名称',
  `data` char(50) NOT NULL COMMENT '额外参数',
  `type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '菜单类型  1：权限认证+菜单；0：只作为菜单',
  `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '状态，1显示，0不显示',
  `name` varchar(50) NOT NULL COMMENT '菜单名称',
  `icon` varchar(50) DEFAULT NULL COMMENT '菜单图标',
  `remark` varchar(255) NOT NULL COMMENT '备注',
  `listorder` smallint(6) unsigned NOT NULL DEFAULT '0' COMMENT '排序ID',
  PRIMARY KEY (`id`),
  KEY `status` (`status`),
  KEY `parentid` (`parentid`),
  KEY `model` (`model`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=371 ;



-- --------------------------------------------------------

--
-- 表的结构 `cmf_model`
--

CREATE TABLE IF NOT EXISTS `cmf_model` (
  `modelid` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `name` char(30) NOT NULL DEFAULT '' COMMENT '模型名称',
  `menuid` int(200) NOT NULL COMMENT '菜单id',
  `description` char(100) NOT NULL DEFAULT '' COMMENT '描述',
  `tablename` char(20) NOT NULL DEFAULT '' COMMENT '表名',
  `setting` text COMMENT '配置信息',
  `addtime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  `items` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '信息数',
  `enablesearch` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否开启全站搜索',
  `disabled` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否禁用 1禁用',
  `default_style` char(30) NOT NULL DEFAULT '' COMMENT '风格',
  `category_template` char(30) NOT NULL DEFAULT '' COMMENT '栏目模板',
  `list_template` char(30) NOT NULL DEFAULT '' COMMENT '列表模板',
  `show_template` char(30) NOT NULL DEFAULT '' COMMENT '内容模板',
  `js_template` varchar(30) NOT NULL DEFAULT '' COMMENT 'JS模板',
  `sort` tinyint(3) NOT NULL DEFAULT '0' COMMENT '排序',
  `type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '模块标识',
  PRIMARY KEY (`modelid`),
  KEY `type` (`type`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=37 ;

--
-- 转存表中的数据 `cmf_model`
--

INSERT INTO `cmf_model` (`modelid`, `name`, `menuid`, `description`, `tablename`, `setting`, `addtime`, `items`, `enablesearch`, `disabled`, `default_style`, `category_template`, `list_template`, `show_template`, `js_template`, `sort`, `type`) VALUES
(1, '文章模型', 342, '文章模型', 'article', '', 1403150253, 0, 1, 0, '', '', '', '', '', 0, 0),
(2, 'factory tour', 343, 'factory tour', 'download', '', 1403153866, 0, 1, 0, '', '', '', '', '', 0, 0),
(3, '证书模型', 344, '图片模型', 'photo', '', 1403153881, 0, 1, 0, '', '', '', '', '', 0, 0),
(5, '产品', 345, '产品模型', 'product', '', 1463623520, 0, 0, 0, '', '', '', '', '', 0, 0),
(31, 'FAQ2', 348, 'faq2', 'faq', '', 1474624158, 0, 0, 0, '', '', '', '', '', 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_model_field`
--

CREATE TABLE IF NOT EXISTS `cmf_model_field` (
  `fieldid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `modelid` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '模型ID',
  `field` varchar(20) NOT NULL DEFAULT '' COMMENT '字段名',
  `name` varchar(30) NOT NULL DEFAULT '' COMMENT '别名',
  `tips` text COMMENT '字段提示',
  `css` varchar(30) NOT NULL DEFAULT '' COMMENT '表单样式',
  `minlength` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最小值',
  `maxlength` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最大值',
  `pattern` varchar(255) NOT NULL DEFAULT '' COMMENT '数据校验正则',
  `errortips` varchar(255) NOT NULL DEFAULT '' COMMENT '数据校验未通过的提示信息',
  `formtype` varchar(20) NOT NULL DEFAULT '' COMMENT '字段类型',
  `setting` mediumtext,
  `formattribute` varchar(255) NOT NULL DEFAULT '',
  `unsetgroupids` varchar(255) NOT NULL DEFAULT '',
  `unsetroleids` varchar(255) NOT NULL DEFAULT '',
  `iscore` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否内部字段 1是',
  `issystem` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否系统字段 1 是',
  `isunique` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '值唯一',
  `isbase` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '作为基本信息',
  `issearch` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '作为搜索条件',
  `isadd` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '在前台投稿中显示',
  `isfulltext` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '作为全站搜索信息',
  `isposition` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否入库到推荐位',
  `listorder` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `disabled` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '1 禁用 0启用',
  `isomnipotent` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`fieldid`),
  KEY `modelid` (`modelid`,`disabled`),
  KEY `field` (`field`,`modelid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=737 ;

--
-- 转存表中的数据 `cmf_model_field`
--

INSERT INTO `cmf_model_field` (`fieldid`, `modelid`, `field`, `name`, `tips`, `css`, `minlength`, `maxlength`, `pattern`, `errortips`, `formtype`, `setting`, `formattribute`, `unsetgroupids`, `unsetroleids`, `iscore`, `issystem`, `isunique`, `isbase`, `issearch`, `isadd`, `isfulltext`, `isposition`, `listorder`, `disabled`, `isomnipotent`) VALUES
(1, 1, 'status', '状态', '', '', 0, 2, '', '', 'box', 'a:8:{s:7:"options";s:0:"";s:9:"fieldtype";s:7:"varchar";s:5:"width";s:0:"";s:4:"size";s:0:"";s:12:"defaultvalue";s:0:"";s:10:"outputtype";s:1:"0";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0),
(2, 1, 'username', '用户名', '', '', 0, 20, '', '', 'text', 'a:5:{s:4:"size";s:0:"";s:12:"defaultvalue";s:0:"";s:10:"ispassword";s:1:"0";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 16, 0, 0),
(3, 1, 'islink', '转向链接', '', '', 0, 0, '', '', 'islink', 'a:3:{s:4:"size";s:0:"";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 0, 0, 1, 0, 0, 17, 0, 0),
(4, 1, 'template', '内容页模板', '', '', 0, 30, '', '', 'template', 'a:2:{s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '-99', '-99', 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0),
(5, 1, 'allow_comment', '允许评论', '', '', 0, 0, '', '', 'box', 'a:10:{s:7:"options";s:32:"允许评论|1\n不允许评论|0";s:7:"boxtype";s:5:"radio";s:9:"fieldtype";s:7:"tinyint";s:9:"minnumber";s:1:"1";s:5:"width";s:2:"88";s:4:"size";s:0:"";s:12:"defaultvalue";s:1:"1";s:10:"outputtype";s:1:"1";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0),
(7, 1, 'inputtime', '真实发布时间', '', '', 0, 0, '', '', 'datetime', 'a:5:{s:9:"fieldtype";s:3:"int";s:6:"format";s:11:"Y-m-d H:i:s";s:11:"defaulttype";s:1:"0";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 1, 1, 0, 0, 0, 0, 0, 1, 11, 0, 0),
(140, 4, 'istop', '置顶', '', '', 0, 2, '', '', 'box', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0),
(141, 4, 'recommend', '推荐', '', '', 0, 2, '', '', 'box', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0),
(9, 1, 'url', 'URL', '', '', 0, 100, '', '', 'text', 'a:5:{s:4:"size";s:0:"";s:12:"defaultvalue";s:0:"";s:10:"ispassword";s:1:"0";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 1, 1, 0, 1, 0, 0, 0, 1, 12, 0, 0),
(10, 1, 'listorder', '排序', '', '', 0, 6, '', '', 'number', 'a:7:{s:9:"minnumber";s:0:"";s:9:"maxnumber";s:0:"";s:13:"decimaldigits";s:1:"0";s:4:"size";s:0:"";s:12:"defaultvalue";s:0:"";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 18, 0, 0),
(11, 1, 'relation', '相关文章', '', '', 0, 255, '', '', 'omnipotent', 'a:4:{s:8:"formtext";s:464:"<input type="hidden" name="info[relation]" id="relation" value="{FIELD_VALUE}" style="50" >\n<ul class="list-dot" id="relation_text">\n</ul>\n<input type="button" value="添加相关" onClick="omnipotent(''selectid'',GV.DIMAUB+''index.php?a=public_relationlist&m=Content&g=Content&modelid={MODELID}'',''添加相关文章'',1)" class="btn">\n<span class="edit_content">\n  <input type="button" value="显示已有" onClick="show_relation({MODELID},{ID})" class="btn">\n</span>";s:9:"fieldtype";s:7:"varchar";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 0, 0, 0, 0, 0, 1, 0, 8, 0, 0),
(12, 1, 'thumb', '缩略图', '', '', 0, 100, '', '', 'image', 'a:10:{s:5:"width";s:0:"";s:12:"defaultvalue";s:0:"";s:9:"show_type";s:1:"1";s:15:"upload_allowext";s:20:"jpg|jpeg|gif|png|bmp";s:9:"watermark";s:1:"0";s:13:"isselectimage";s:1:"1";s:12:"images_width";s:0:"";s:13:"images_height";s:0:"";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 0, 0, 1, 0, 1, 7, 0, 0),
(13, 1, 'catid', '栏目', '', '', 1, 6, '/^[0-9]{1,6}$/', '请选择栏目', 'catid', 'a:2:{s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '-99', '-99', 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0),
(15, 1, 'title', '标题', '', 'inputtitle', 1, 80, '', '请输入标题', 'title', 'a:2:{s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 3, 0, 0),
(17, 1, 'tags', 'TAGS', '多关之间用空格或者“,”隔开', '', 0, 0, '', '', 'tags', 'a:4:{s:12:"backstagefun";s:0:"";s:17:"backstagefun_type";s:1:"1";s:8:"frontfun";s:0:"";s:13:"frontfun_type";s:1:"1";}', '', '', '', 0, 1, 0, 1, 0, 0, 0, 0, 4, 1, 0),
(18, 1, 'description', '摘要', '', '', 0, 350, '', '', 'textarea', 'a:7:{s:5:"width";s:2:"99";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 0, 1, 1, 1, 5, 0, 0),
(19, 1, 'updatetime', '发布时间', '', '', 0, 0, '', '', 'datetime', 'a:5:{s:9:"fieldtype";s:3:"int";s:6:"format";s:11:"Y-m-d H:i:s";s:11:"defaulttype";s:1:"0";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 0, 0, 0, 0, 0, 23, 0, 0),
(20, 1, 'content', '内容', '', '', 1, 999999, '', '内容不能为空', 'editor', 'a:7:{s:7:"toolbar";s:4:"full";s:12:"defaultvalue";s:0:"";s:15:"enablesaveimage";s:1:"1";s:6:"height";s:0:"";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 0, 0, 1, 0, 1, 1, 0, 6, 0, 0),
(21, 1, 'copyfrom', '来源', '', '', 0, 0, '', '', 'copyfrom', 'a:4:{s:12:"defaultvalue";s:0:"";s:5:"width";s:0:"";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 0, 0, 1, 0, 1, 0, 0, 5, 0, 0),
(26, 2, 'username', '用户名', '', '', 0, 20, '', '', 'text', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 16, 0, 0),
(27, 2, 'islink', '转向链接', '', '', 0, 0, '', '', 'islink', '', '', '', '', 0, 1, 0, 0, 0, 1, 0, 0, 17, 0, 0),
(28, 2, 'template', '内容页模板', '', '', 0, 30, '', '', 'template', 'a:2:{s:4:"size";s:0:"";s:12:"defaultvalue";s:0:"";}', '', '-99', '-99', 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0),
(29, 2, 'allow_comment', '允许评论', '', '', 0, 0, '', '', 'box', 'a:9:{s:7:"options";s:33:"允许评论|1\n不允许评论|0";s:7:"boxtype";s:5:"radio";s:9:"fieldtype";s:7:"tinyint";s:9:"minnumber";s:1:"1";s:5:"width";s:2:"88";s:4:"size";s:0:"";s:12:"defaultvalue";s:1:"1";s:10:"outputtype";s:1:"1";s:10:"filtertype";s:1:"0";}', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0),
(24, 1, 'prefix', '自定义文件名', '', '', 0, 255, '', '', 'text', 'a:5:{s:4:"size";s:3:"180";s:12:"defaultvalue";s:0:"";s:10:"ispassword";s:1:"0";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 0, 0, 0, 0, 0, 17, 0, 0),
(66, 3, 'prefix', '自定义文件名', '', '', 0, 0, '', '', 'text', 'a:7:{s:4:"size";s:2:"50";s:12:"defaultvalue";s:0:"";s:10:"ispassword";s:1:"0";s:12:"backstagefun";s:0:"";s:17:"backstagefun_type";s:1:"1";s:8:"frontfun";s:0:"";s:13:"frontfun_type";s:1:"1";}', '', '', '', 0, 1, 0, 0, 0, 0, 0, 0, 8, 0, 0),
(25, 2, 'status', '状态', '', '', 0, 2, '', '', 'box', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0),
(65, 2, 'prefix', '自定义文件名', '', '', 0, 0, '', '', 'text', 'a:7:{s:4:"size";s:3:"180";s:12:"defaultvalue";s:0:"";s:10:"ispassword";s:1:"0";s:12:"backstagefun";s:0:"";s:17:"backstagefun_type";s:1:"1";s:8:"frontfun";s:0:"";s:13:"frontfun_type";s:1:"1";}', '', '', '', 0, 1, 0, 0, 0, 0, 0, 0, 17, 0, 0),
(31, 2, 'inputtime', '真实发布时间', '', '', 0, 0, '', '', 'datetime', 'a:3:{s:9:"fieldtype";s:3:"int";s:6:"format";s:11:"Y-m-d H:i:s";s:11:"defaulttype";s:1:"0";}', '', '', '', 1, 1, 0, 0, 0, 0, 0, 1, 11, 0, 0),
(137, 2, 'recommend', '推荐', '', '', 0, 2, '', '', 'box', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0),
(138, 3, 'istop', '置顶', '', '', 0, 2, '', '', 'box', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0),
(139, 3, 'recommend', '推荐', '', '', 0, 2, '', '', 'box', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0),
(33, 2, 'url', 'URL', '', '', 0, 100, '', '', 'text', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 1, 12, 0, 0),
(34, 2, 'listorder', '排序', '', '', 0, 6, '', '', 'number', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 18, 0, 0),
(35, 2, 'relation', '相关下载', '', '', 0, 255, '', '', 'omnipotent', 'a:4:{s:8:"formtext";s:464:"<input type="hidden" name="info[relation]" id="relation" value="{FIELD_VALUE}" style="50" >\n<ul class="list-dot" id="relation_text">\n</ul>\n<input type="button" value="添加相关" onClick="omnipotent(''selectid'',GV.DIMAUB+''index.php?a=public_relationlist&m=Content&g=Content&modelid={MODELID}'',''添加相关信息'',1)" class="btn">\n<span class="edit_content">\n  <input type="button" value="显示已有" onClick="show_relation({MODELID},{ID})" class="btn">\n</span>";s:9:"fieldtype";s:7:"varchar";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 0, 0, 0, 0, 0, 1, 0, 8, 0, 0),
(36, 2, 'thumb', '缩略图', '', '', 0, 100, '', '', 'image', 'a:9:{s:4:"size";s:2:"50";s:12:"defaultvalue";s:0:"";s:9:"show_type";s:1:"1";s:14:"upload_maxsize";s:4:"1024";s:15:"upload_allowext";s:20:"jpg|jpeg|gif|png|bmp";s:9:"watermark";s:1:"0";s:13:"isselectimage";s:1:"1";s:12:"images_width";s:0:"";s:13:"images_height";s:0:"";}', '', '', '', 0, 1, 0, 0, 0, 1, 0, 1, 7, 0, 0),
(37, 2, 'catid', '栏目', '', '', 1, 6, '/^[0-9]{1,6}$/', '请选择栏目', 'catid', 'a:1:{s:12:"defaultvalue";s:0:"";}', '', '-99', '-99', 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0),
(38, 2, 'typeid', '类别', '', '', 0, 0, '', '', 'typeid', 'a:2:{s:9:"minnumber";s:0:"";s:12:"defaultvalue";s:0:"";}', '', '', '', 1, 1, 0, 1, 1, 1, 0, 0, 2, 0, 0),
(39, 2, 'title', '标题', '', 'inputtitle', 1, 80, '', '请输入标题', 'title', '', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 3, 0, 0),
(41, 2, 'tags', 'TAGS', '多关之间用空格或者“,”隔开', '', 0, 0, '', '', 'tags', 'a:4:{s:12:"backstagefun";s:0:"";s:17:"backstagefun_type";s:1:"1";s:8:"frontfun";s:0:"";s:13:"frontfun_type";s:1:"1";}', '', '', '', 0, 1, 0, 1, 0, 0, 0, 0, 4, 1, 0),
(42, 2, 'description', '摘要', '', '', 0, 350, '', '', 'textarea', 'a:7:{s:5:"width";s:2:"98";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 0, 1, 1, 1, 5, 0, 0),
(43, 2, 'updatetime', '发布时间', '', '', 0, 0, '', '', 'datetime', 'a:3:{s:9:"fieldtype";s:3:"int";s:6:"format";s:11:"Y-m-d H:i:s";s:11:"defaulttype";s:1:"0";}', '', '', '', 0, 1, 0, 0, 0, 0, 0, 0, 23, 0, 0),
(45, 3, 'status', '状态', '', '', 0, 2, '', '', 'box', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0),
(46, 3, 'username', '用户名', '', '', 0, 20, '', '', 'text', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 16, 0, 0),
(47, 3, 'islink', '转向链接', '', '', 0, 0, '', '', 'islink', '', '', '', '', 0, 1, 0, 0, 0, 1, 0, 0, 17, 0, 0),
(48, 3, 'template', '内容页模板', '', '', 0, 30, '', '', 'template', 'a:2:{s:4:"size";s:0:"";s:12:"defaultvalue";s:0:"";}', '', '-99', '-99', 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0),
(49, 3, 'allow_comment', '允许评论', '', '', 0, 0, '', '', 'box', 'a:9:{s:7:"options";s:33:"允许评论|1\n不允许评论|0";s:7:"boxtype";s:5:"radio";s:9:"fieldtype";s:7:"tinyint";s:9:"minnumber";s:1:"1";s:5:"width";s:2:"88";s:4:"size";s:0:"";s:12:"defaultvalue";s:1:"1";s:10:"outputtype";s:1:"1";s:10:"filtertype";s:1:"0";}', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0),
(67, 2, 'download', '文件下载', '', '', 0, 0, '', '', 'downfiles', 'a:9:{s:15:"upload_allowext";s:20:"gif|jpg|jpeg|png|bmp";s:13:"isselectimage";s:1:"0";s:13:"upload_number";s:2:"10";s:10:"statistics";s:0:"";s:12:"downloadlink";s:1:"1";s:12:"backstagefun";s:0:"";s:17:"backstagefun_type";s:1:"1";s:8:"frontfun";s:0:"";s:13:"frontfun_type";s:1:"1";}', '', '', '', 0, 0, 0, 1, 0, 1, 0, 0, 4, 0, 0),
(51, 3, 'inputtime', '真实发布时间', '', '', 0, 0, '', '', 'datetime', 'a:3:{s:9:"fieldtype";s:3:"int";s:6:"format";s:11:"Y-m-d H:i:s";s:11:"defaulttype";s:1:"0";}', '', '', '', 1, 1, 0, 0, 0, 0, 0, 1, 11, 0, 0),
(136, 2, 'istop', '置顶', '', '', 0, 2, '', '', 'box', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0),
(53, 3, 'url', 'URL', '', '', 0, 100, '', '', 'text', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 1, 12, 0, 0),
(54, 3, 'listorder', '排序', '', '', 0, 6, '', '', 'number', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 18, 0, 0),
(55, 3, 'relation', '相关图片', '', '', 0, 255, '', '', 'omnipotent', 'a:4:{s:8:"formtext";s:464:"<input type="hidden" name="info[relation]" id="relation" value="{FIELD_VALUE}" style="50" >\n<ul class="list-dot" id="relation_text">\n</ul>\n<input type="button" value="添加相关" onClick="omnipotent(''selectid'',GV.DIMAUB+''index.php?a=public_relationlist&m=Content&g=Content&modelid={MODELID}'',''添加相关信息'',1)" class="btn">\n<span class="edit_content">\n  <input type="button" value="显示已有" onClick="show_relation({MODELID},{ID})" class="btn">\n</span>";s:9:"fieldtype";s:7:"varchar";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 0, 0, 0, 0, 0, 1, 0, 8, 0, 0),
(56, 3, 'thumb', '缩略图', '', '', 0, 100, '', '', 'image', 'a:9:{s:4:"size";s:2:"50";s:12:"defaultvalue";s:0:"";s:9:"show_type";s:1:"1";s:14:"upload_maxsize";s:4:"1024";s:15:"upload_allowext";s:20:"jpg|jpeg|gif|png|bmp";s:9:"watermark";s:1:"0";s:13:"isselectimage";s:1:"1";s:12:"images_width";s:0:"";s:13:"images_height";s:0:"";}', '', '', '', 0, 1, 0, 0, 0, 1, 0, 1, 7, 0, 0),
(57, 3, 'catid', '栏目', '', '', 1, 6, '/^[0-9]{1,6}$/', '请选择栏目', 'catid', 'a:1:{s:12:"defaultvalue";s:0:"";}', '', '-99', '-99', 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0),
(59, 3, 'title', '标题', '', 'inputtitle', 1, 80, '', '请输入标题', 'title', '', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 3, 0, 0),
(382, 1, 'seourl', 'seourl', '', 'inputtitle', 1, 80, '', '', 'seourl', '', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 3, 0, 0),
(383, 2, 'seourl', 'seourl', '', 'inputtitle', 1, 80, '', '', 'seourl', '', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 3, 0, 0),
(61, 3, 'tags', 'TAGS', '多关之间用空格或者“,”隔开', '', 0, 0, '', '', 'tags', 'a:4:{s:12:"backstagefun";s:0:"";s:17:"backstagefun_type";s:1:"1";s:8:"frontfun";s:0:"";s:13:"frontfun_type";s:1:"1";}', '', '', '', 0, 1, 0, 1, 0, 0, 0, 0, 4, 1, 0),
(62, 3, 'description', '摘要', '', '', 0, 350, '', '', 'textarea', 'a:7:{s:5:"width";s:2:"98";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 0, 1, 1, 1, 5, 0, 0),
(63, 3, 'updatetime', '发布时间', '', '', 0, 0, '', '', 'datetime', 'a:3:{s:9:"fieldtype";s:3:"int";s:6:"format";s:11:"Y-m-d H:i:s";s:11:"defaulttype";s:1:"0";}', '', '', '', 0, 1, 0, 0, 0, 0, 0, 0, 23, 0, 0),
(68, 3, 'imgs', '图片列表', '', '', 0, 0, '', '', 'images', 'a:8:{s:15:"upload_allowext";s:20:"gif|jpg|jpeg|png|bmp";s:13:"isselectimage";s:1:"0";s:13:"upload_number";s:2:"10";s:9:"watermark";s:1:"0";s:12:"backstagefun";s:0:"";s:17:"backstagefun_type";s:1:"1";s:8:"frontfun";s:0:"";s:13:"frontfun_type";s:1:"1";}', '', '', '', 0, 0, 0, 1, 0, 1, 0, 0, 8, 0, 0),
(69, 4, 'status', '状态', '', '', 0, 2, '', '', 'box', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0),
(70, 4, 'username', '用户名', '', '', 0, 20, '', '', 'text', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 16, 0, 0),
(71, 4, 'islink', '转向链接', '', '', 0, 0, '', '', 'islink', '', '', '', '', 0, 1, 0, 0, 0, 1, 0, 0, 17, 0, 0),
(72, 4, 'template', '内容页模板', '', '', 0, 30, '', '', 'template', 'a:2:{s:4:"size";s:0:"";s:12:"defaultvalue";s:0:"";}', '', '-99', '-99', 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0),
(73, 4, 'allow_comment', '允许评论', '', '', 0, 0, '', '', 'box', 'a:9:{s:7:"options";s:33:"允许评论|1\n不允许评论|0";s:7:"boxtype";s:5:"radio";s:9:"fieldtype";s:7:"tinyint";s:9:"minnumber";s:1:"1";s:5:"width";s:2:"88";s:4:"size";s:0:"";s:12:"defaultvalue";s:1:"1";s:10:"outputtype";s:1:"1";s:10:"filtertype";s:1:"0";}', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0),
(75, 4, 'inputtime', '真实发布时间', '', '', 0, 0, '', '', 'datetime', 'a:3:{s:9:"fieldtype";s:3:"int";s:6:"format";s:11:"Y-m-d H:i:s";s:11:"defaulttype";s:1:"0";}', '', '', '', 1, 1, 0, 0, 0, 0, 0, 1, 11, 0, 0),
(77, 4, 'url', 'URL', '', '', 0, 100, '', '', 'text', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 1, 12, 0, 0),
(78, 4, 'listorder', '排序', '', '', 0, 6, '', '', 'number', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 18, 0, 0),
(79, 4, 'relation', '相关文章', '', '', 0, 255, '', '', 'omnipotent', 'a:4:{s:8:"formtext";s:464:"<input type="hidden" name="info[relation]" id="relation" value="{FIELD_VALUE}" style="50" >\n<ul class="list-dot" id="relation_text">\n</ul>\n<input type="button" value="添加相关" onClick="omnipotent(''selectid'',GV.DIMAUB+''index.php?a=public_relationlist&m=Content&g=Content&modelid={MODELID}'',''添加相关文章'',1)" class="btn">\n<span class="edit_content">\n  <input type="button" value="显示已有" onClick="show_relation({MODELID},{ID})" class="btn">\n</span>";s:9:"fieldtype";s:7:"varchar";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 0, 0, 0, 0, 0, 1, 0, 8, 0, 0),
(80, 4, 'thumb', '缩略图', '', '', 0, 100, '', '', 'image', 'a:9:{s:4:"size";s:2:"50";s:12:"defaultvalue";s:0:"";s:9:"show_type";s:1:"1";s:14:"upload_maxsize";s:4:"1024";s:15:"upload_allowext";s:20:"jpg|jpeg|gif|png|bmp";s:9:"watermark";s:1:"0";s:13:"isselectimage";s:1:"1";s:12:"images_width";s:0:"";s:13:"images_height";s:0:"";}', '', '', '', 0, 1, 0, 0, 0, 1, 0, 1, 7, 0, 0),
(81, 4, 'catid', '栏目', '', '', 1, 6, '/^[0-9]{1,6}$/', '请选择栏目', 'catid', 'a:1:{s:12:"defaultvalue";s:0:"";}', '', '-99', '-99', 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0),
(82, 4, 'typeid', '类别', '', '', 0, 0, '', '', 'typeid', 'a:2:{s:9:"minnumber";s:0:"";s:12:"defaultvalue";s:0:"";}', '', '', '', 1, 1, 0, 1, 1, 1, 0, 0, 2, 0, 0),
(83, 4, 'title', '标题', '', 'inputtitle', 1, 80, '', '请输入标题', 'title', '', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 3, 0, 0),
(384, 3, 'seourl', 'seourl', '', 'inputtitle', 1, 80, '', '', 'seourl', '', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 3, 0, 0),
(85, 4, 'tags', 'TAGS', '多关之间用空格或者“,”隔开', '', 0, 0, '', '', 'tags', 'a:4:{s:12:"backstagefun";s:0:"";s:17:"backstagefun_type";s:1:"1";s:8:"frontfun";s:0:"";s:13:"frontfun_type";s:1:"1";}', '', '', '', 0, 1, 0, 1, 0, 0, 0, 0, 4, 0, 0),
(86, 4, 'description', '摘要', '', '', 0, 255, '', '', 'textarea', 'a:4:{s:5:"width";s:2:"98";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";}', '', '', '', 0, 1, 0, 1, 0, 1, 1, 1, 5, 0, 0),
(87, 4, 'updatetime', '发布时间', '', '', 0, 0, '', '', 'datetime', 'a:3:{s:9:"fieldtype";s:3:"int";s:6:"format";s:11:"Y-m-d H:i:s";s:11:"defaulttype";s:1:"0";}', '', '', '', 0, 1, 0, 0, 0, 0, 0, 0, 10, 0, 0),
(88, 4, 'content', '内容', '', '', 1, 999999, '', '内容不能为空', 'editor', 'a:6:{s:7:"toolbar";s:4:"full";s:12:"defaultvalue";s:0:"";s:13:"enablekeylink";s:1:"1";s:10:"replacenum";s:1:"2";s:9:"link_mode";s:1:"0";s:15:"enablesaveimage";s:1:"1";}', '', '', '', 0, 0, 0, 1, 0, 1, 1, 0, 6, 0, 0),
(89, 5, 'status', '状态', '', '', 0, 2, '', '', 'box', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 18, 0, 0),
(90, 5, 'username', '用户名', '', '', 0, 20, '', '', 'text', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 21, 0, 0),
(91, 5, 'islink', '转向链接', '', '', 0, 0, '', '', 'islink', '', '', '', '', 0, 1, 0, 0, 0, 1, 0, 0, 22, 0, 0),
(92, 5, 'template', '内容页模板', '', '', 0, 30, '', '', 'template', 'a:2:{s:4:"size";s:0:"";s:12:"defaultvalue";s:0:"";}', '', '-99', '-99', 0, 0, 0, 0, 0, 0, 0, 0, 16, 0, 0),
(93, 5, 'allow_comment', '允许评论', '', '', 0, 0, '', '', 'box', 'a:9:{s:7:"options";s:33:"允许评论|1\n不允许评论|0";s:7:"boxtype";s:5:"radio";s:9:"fieldtype";s:7:"tinyint";s:9:"minnumber";s:1:"1";s:5:"width";s:2:"88";s:4:"size";s:0:"";s:12:"defaultvalue";s:1:"1";s:10:"outputtype";s:1:"1";s:10:"filtertype";s:1:"0";}', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0),
(95, 5, 'inputtime', '真实发布时间', '', '', 0, 0, '', '', 'datetime', 'a:3:{s:9:"fieldtype";s:3:"int";s:6:"format";s:11:"Y-m-d H:i:s";s:11:"defaulttype";s:1:"0";}', '', '', '', 1, 1, 0, 0, 0, 0, 0, 1, 14, 0, 0),
(135, 1, 'recommend', '推荐', '', '', 0, 2, '', '', 'box', 'a:8:{s:7:"options";s:0:"";s:9:"fieldtype";s:7:"varchar";s:5:"width";s:0:"";s:4:"size";s:0:"";s:12:"defaultvalue";s:0:"";s:10:"outputtype";s:1:"0";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0),
(97, 5, 'url', 'URL', '', '', 0, 100, '', '', 'text', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 1, 15, 0, 0),
(98, 5, 'listorder', '排序', '', '', 0, 6, '', '', 'number', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 23, 0, 0),
(99, 5, 'relation', '相关产品', '', '', 0, 255, '', '', 'omnipotent', 'a:4:{s:8:"formtext";s:470:"<input type="hidden" name="info[relation]" id="relation" value="{FIELD_VALUE}" style="50" >\n<ul class="list-dot" id="relation_text">\n</ul>\n<input type="button" value="添加相关" onClick="omnipotent(''selectid'',GV.DIMAUB+''index.php?a=public_relationlist&m=Content&g=Content&modelid={MODELID}'',''添加相关文章'',1)" class="btn">\n<span class="edit_content">\n  <input type="button" value="显示已有" onClick="show_relation({MODELID},{ID})" class="btn">\n</span>";s:9:"fieldtype";s:7:"varchar";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 0, 0, 0, 0, 0, 1, 0, 12, 0, 0),
(100, 5, 'thumb', '缩略图', '', '', 0, 100, '', '', 'image', 'a:9:{s:4:"size";s:2:"50";s:12:"defaultvalue";s:0:"";s:9:"show_type";s:1:"1";s:14:"upload_maxsize";s:4:"1024";s:15:"upload_allowext";s:20:"jpg|jpeg|gif|png|bmp";s:9:"watermark";s:1:"0";s:13:"isselectimage";s:1:"1";s:12:"images_width";s:0:"";s:13:"images_height";s:0:"";}', '', '', '', 0, 1, 0, 0, 0, 1, 0, 1, 11, 0, 0),
(101, 5, 'catid', '栏目', '', '', 1, 6, '/^[0-9]{1,6}$/', '请选择栏目', 'catid', 'a:1:{s:12:"defaultvalue";s:0:"";}', '', '-99', '-99', 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0),
(102, 5, 'typeid', '类别', '', '', 0, 0, '', '', 'typeid', 'a:2:{s:9:"minnumber";s:0:"";s:12:"defaultvalue";s:0:"";}', '', '', '', 1, 1, 0, 1, 1, 1, 0, 0, 3, 0, 0),
(103, 5, 'title', '产品名称', '', 'inputtitle', 1, 80, '', '请输入标题', 'title', 'a:2:{s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0),
(105, 5, 'tags', 'TAGS', '多关之间用空格或者“,”隔开', '', 0, 0, '', '', 'tags', 'a:4:{s:12:"backstagefun";s:0:"";s:17:"backstagefun_type";s:1:"1";s:8:"frontfun";s:0:"";s:13:"frontfun_type";s:1:"1";}', '', '', '', 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0),
(106, 5, 'description', '摘要', '', '', 0, 350, '', '', 'textarea', 'a:7:{s:5:"width";s:2:"98";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 7, 0, 0),
(107, 5, 'updatetime', '发布时间', '', '', 0, 0, '', '', 'datetime', 'a:3:{s:9:"fieldtype";s:3:"int";s:6:"format";s:11:"Y-m-d H:i:s";s:11:"defaulttype";s:1:"0";}', '', '', '', 0, 1, 0, 0, 0, 0, 0, 0, 24, 0, 0),
(108, 5, 'content', '产品描述', '', '', 1, 999999, '', '内容不能为空', 'editor', 'a:7:{s:7:"toolbar";s:4:"full";s:12:"defaultvalue";s:0:"";s:15:"enablesaveimage";s:1:"1";s:6:"height";s:0:"";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 0, 0, 1, 0, 1, 1, 0, 10, 0, 0),
(110, 5, 'size', '产品型号', '', '', 1, 50, '/^[0-9.-]+$/', '型号输入不对啊', 'text', 'a:7:{s:4:"size";s:2:"30";s:12:"defaultvalue";s:0:"";s:10:"ispassword";s:1:"0";s:12:"backstagefun";s:0:"";s:17:"backstagefun_type";s:1:"1";s:8:"frontfun";s:0:"";s:13:"frontfun_type";s:1:"1";}', '', '', '', 0, 1, 0, 1, 1, 1, 1, 0, 6, 0, 0),
(109, 5, 'price', '价格', '', '', 0, 7, '/^[0-9.-]+$/', '请填写价格！', 'text', 'a:7:{s:4:"size";s:0:"";s:12:"defaultvalue";s:0:"";s:10:"ispassword";s:1:"0";s:12:"backstagefun";s:0:"";s:17:"backstagefun_type";s:1:"1";s:8:"frontfun";s:0:"";s:13:"frontfun_type";s:1:"1";}', '', '', '', 0, 1, 0, 1, 0, 1, 0, 0, 6, 0, 0),
(134, 1, 'istop', '置顶', '', '', 0, 2, '', '', 'box', 'a:8:{s:7:"options";s:0:"";s:9:"fieldtype";s:7:"varchar";s:5:"width";s:0:"";s:4:"size";s:0:"";s:12:"defaultvalue";s:0:"";s:10:"outputtype";s:1:"0";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0),
(142, 5, 'istop', '置顶', '', '', 0, 2, '', '', 'box', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 19, 0, 0),
(143, 5, 'recommend', '推荐', '', '', 0, 2, '', '', 'box', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 20, 0, 0),
(197, 1, 'seotitle', 'SEO标题', '', 'inputtitle', 0, 110, '', '请输入标题', 'textarea', 'a:7:{s:5:"width";s:3:"100";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 3, 0, 0),
(198, 2, 'seotitle', 'SEO标题', '', 'inputtitle', 0, 110, '', '请输入标题', 'textarea', 'a:7:{s:5:"width";s:3:"100";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 3, 0, 0),
(199, 3, 'seotitle', 'SEO标题', '', 'inputtitle', 0, 60, '', '请输入标题', 'textarea', 'a:7:{s:5:"width";s:3:"100";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 3, 0, 0),
(200, 5, 'seotitle', 'SEO标题', '', 'inputtitle', 0, 110, '', '请输入标题', 'textarea', 'a:7:{s:5:"width";s:3:"100";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 8, 0, 0),
(201, 1, 'seokeywords', 'SEO关键字', '', '', 0, 200, '', '', 'textarea', 'a:7:{s:5:"width";s:3:"100";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 0, 1, 1, 1, 5, 0, 0),
(202, 2, 'seokeywords', 'SEO关键字', '', '', 0, 200, '', '', 'textarea', 'a:7:{s:5:"width";s:3:"100";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 0, 1, 1, 1, 5, 0, 0),
(203, 3, 'seokeywords', 'SEO关键字', '', '', 0, 100, '', '', 'textarea', 'a:7:{s:5:"width";s:3:"100";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 0, 1, 1, 1, 5, 0, 0),
(204, 5, 'seokeywords', 'SEO关键字', '', '', 0, 200, '', '', 'textarea', 'a:7:{s:5:"width";s:3:"100";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 0, 1, 1, 1, 8, 0, 0),
(205, 1, 'seodescription', 'SEO描述', '', '', 0, 300, '', '', 'textarea', 'a:7:{s:5:"width";s:2:"98";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 0, 1, 1, 1, 5, 0, 0),
(206, 2, 'seodescription', 'SEO描述', '', '', 0, 300, '', '', 'textarea', 'a:7:{s:5:"width";s:2:"98";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 0, 1, 1, 1, 5, 0, 0),
(207, 3, 'seodescription', 'SEO描述', '', '', 0, 200, '', '', 'textarea', 'a:7:{s:5:"width";s:2:"98";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 0, 1, 1, 1, 5, 0, 0),
(208, 5, 'seodescription', 'SEO描述', '', '', 0, 300, '', '', 'textarea', 'a:7:{s:5:"width";s:2:"98";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 0, 1, 1, 1, 9, 0, 0),
(209, 5, 'mopic', '轮播图', '', '', 0, 0, '', '', 'images', 'a:5:{s:15:"upload_allowext";s:20:"gif|jpg|jpeg|png|bmp";s:13:"isselectimage";s:1:"0";s:13:"upload_number";s:1:"5";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 0, 0, 1, 0, 1, 0, 0, 7, 0, 0),
(381, 5, 'seourl', 'seourl', '', 'inputtitle', 1, 80, '', '', 'seourl', 'a:2:{s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 5, 0, 0),
(689, 2, 'full_content', '内容', '', '', 0, 0, '', '', 'editor', 'a:8:{s:7:"toolbar";s:5:"basic";s:9:"mbtoolbar";s:5:"basic";s:12:"defaultvalue";s:0:"";s:15:"enablesaveimage";s:1:"0";s:6:"height";s:3:"200";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0),
(690, 5, 'spec_description', '产品属性', '', '', 0, 0, '', '', 'editor', 'a:8:{s:7:"toolbar";s:4:"full";s:9:"mbtoolbar";s:4:"full";s:12:"defaultvalue";s:0:"";s:15:"enablesaveimage";s:1:"0";s:6:"height";s:3:"200";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0),
(687, 31, 'isdelay', '是否推迟', '', '', 0, 2, '', '', 'box', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0),
(686, 31, 'seourl', 'seourl', '', 'inputtitle', 1, 80, '', '', 'seourl', '', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 3, 0, 0),
(685, 31, 'seodescription', 'SEO描述', '', '', 0, 300, '', '', 'textarea', 'a:7:{s:5:"width";s:2:"98";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 0, 1, 1, 1, 5, 0, 0),
(684, 31, 'seokeywords', 'SEO关键字', '', '', 0, 200, '', '', 'keyword', 'a:2:{s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '-99', '-99', 0, 1, 0, 1, 1, 1, 1, 0, 4, 0, 0),
(683, 31, 'seotitle', 'SEO标题', '', 'inputtitle', 1, 110, '', '请输入标题', 'title', 'a:2:{s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 3, 0, 0),
(682, 31, 'content', '内容', '', '', 1, 999999, '', '内容不能为空', 'editor', 'a:6:{s:7:"toolbar";s:4:"full";s:12:"defaultvalue";s:0:"";s:13:"enablekeylink";s:1:"1";s:10:"replacenum";s:1:"2";s:9:"link_mode";s:1:"0";s:15:"enablesaveimage";s:1:"1";}', '', '', '', 0, 0, 0, 1, 0, 1, 1, 0, 6, 0, 0),
(681, 31, 'updatetime', '发布时间', '', '', 0, 0, '', '', 'datetime', 'a:3:{s:9:"fieldtype";s:3:"int";s:6:"format";s:11:"Y-m-d";s:11:"defaulttype";s:1:"0";}', '', '', '', 0, 1, 0, 0, 0, 0, 0, 0, 10, 0, 0),
(679, 31, 'title', '标题', '', 'inputtitle', 1, 80, '', '请输入标题', 'title', '', '', '', '', 0, 1, 0, 1, 1, 1, 1, 1, 3, 0, 0),
(680, 31, 'description', '摘要', '', '', 0, 350, '', '', 'textarea', 'a:7:{s:5:"width";s:2:"98";s:6:"height";s:2:"46";s:12:"defaultvalue";s:0:"";s:10:"enablehtml";s:1:"0";s:9:"fieldtype";s:10:"mediumtext";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 1, 0, 1, 0, 1, 1, 1, 5, 0, 0),
(677, 31, 'catid', '栏目', '', '', 1, 6, '/^[0-9]{1,6}$/', '请选择栏目', 'catid', 'a:1:{s:12:"defaultvalue";s:0:"";}', '', '-99', '-99', 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0),
(678, 31, 'typeid', '类别', '', '', 0, 0, '', '', 'typeid', 'a:2:{s:9:"minnumber";s:0:"";s:12:"defaultvalue";s:0:"";}', '', '', '', 1, 1, 0, 1, 1, 1, 0, 0, 2, 0, 0),
(676, 31, 'thumb', '缩略图', '', '', 0, 100, '', '', 'image', 'a:9:{s:4:"size";s:2:"50";s:12:"defaultvalue";s:0:"";s:9:"show_type";s:1:"1";s:14:"upload_maxsize";s:4:"1024";s:15:"upload_allowext";s:20:"jpg|jpeg|gif|png|bmp";s:9:"watermark";s:1:"0";s:13:"isselectimage";s:1:"1";s:12:"images_width";s:0:"";s:13:"images_height";s:0:"";}', '', '', '', 0, 1, 0, 0, 0, 1, 0, 1, 7, 0, 0),
(675, 31, 'relation', '相关文章', '', '', 0, 255, '', '', 'omnipotent', 'a:4:{s:8:"formtext";s:464:"<input type="hidden" name="info[relation]" id="relation" value="{FIELD_VALUE}" style="50" >\n<ul class="list-dot" id="relation_text">\n</ul>\n<input type="button" value="添加相关" onClick="omnipotent(''selectid'',''{RUL}index.php?g=Content&m=Contentshow&a=public_relationlist&modelid={MODELID}'',''添加相关文章'',1)" class="btn">\n<span class="edit_content">\n  <input type="button" value="显示已有" onClick="show_relation({MODELID},{ID})" class="btn">\n</span>";s:9:"fieldtype";s:7:"varchar";s:12:"backstagefun";s:0:"";s:8:"frontfun";s:0:"";}', '', '', '', 0, 0, 0, 0, 0, 0, 1, 0, 8, 0, 0),
(673, 31, 'url', 'URL', '', '', 0, 100, '', '', 'text', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 1, 12, 0, 0),
(674, 31, 'listorder', '排序', '', '', 0, 6, '', '', 'number', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 18, 0, 0),
(672, 31, 'inputtime', '真实发布时间', '', '', 0, 0, '', '', 'datetime', 'a:3:{s:9:"fieldtype";s:3:"int";s:6:"format";s:11:"Y-m-d H:i:s";s:11:"defaulttype";s:1:"0";}', '', '', '', 1, 1, 0, 0, 0, 0, 0, 1, 11, 0, 0),
(671, 31, 'allow_comment', '允许评论', '', '', 0, 0, '', '', 'box', 'a:9:{s:7:"options";s:33:"允许评论|1\r\n不允许评论|0";s:7:"boxtype";s:5:"radio";s:9:"fieldtype";s:7:"tinyint";s:9:"minnumber";s:1:"1";s:5:"width";s:2:"88";s:4:"size";s:0:"";s:12:"defaultvalue";s:1:"1";s:10:"outputtype";s:1:"1";s:10:"filtertype";s:1:"0";}', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 14, 0, 0),
(670, 31, 'template', '内容页模板', '', '', 0, 30, '', '', 'template', 'a:2:{s:4:"size";s:0:"";s:12:"defaultvalue";s:0:"";}', '', '-99', '-99', 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0),
(667, 31, 'recommend', '推荐', '', '', 0, 2, '', '', 'box', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0),
(668, 31, 'username', '用户名', '', '', 0, 20, '', '', 'text', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 16, 0, 0),
(669, 31, 'islink', '转向链接', '', '', 0, 0, '', '', 'islink', '', '', '', '', 0, 1, 0, 0, 0, 1, 0, 0, 17, 0, 0),
(666, 31, 'istop', '置顶', '', '', 0, 2, '', '', 'box', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0),
(665, 31, 'status', '状态', '', '', 0, 2, '', '', 'box', '', '', '', '', 1, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_module`
--

CREATE TABLE IF NOT EXISTS `cmf_module` (
  `module` varchar(15) NOT NULL COMMENT '模块',
  `modulename` varchar(20) NOT NULL DEFAULT '' COMMENT '模块名称',
  `sign` varchar(255) NOT NULL DEFAULT '' COMMENT '签名',
  `iscore` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '内置模块',
  `disabled` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否可用',
  `version` varchar(50) NOT NULL DEFAULT '' COMMENT '版本',
  `setting` mediumtext COMMENT '设置信息',
  `installtime` int(10) NOT NULL DEFAULT '0' COMMENT '安装时间',
  `updatetime` int(10) NOT NULL DEFAULT '0' COMMENT '更新时间',
  `listorder` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '排序',
  PRIMARY KEY (`module`),
  KEY `sign` (`sign`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `cmf_module`
--

INSERT INTO `cmf_module` (`module`, `modulename`, `sign`, `iscore`, `disabled`, `version`, `setting`, `installtime`, `updatetime`, `listorder`) VALUES
('Search', '搜索', '2e01dfe1d6be7e454aea66c442639b7e', 0, 1, '1.0.2', 'a:6:{s:7:"modelid";a:5:{i:0;s:1:"1";i:1;s:1:"2";i:2;s:1:"3";i:3;s:1:"5";i:4;s:2:"31";}s:13:"relationenble";s:1:"1";s:7:"segment";s:1:"0";s:9:"dzsegment";s:1:"0";s:8:"pagesize";s:0:"";s:9:"cachetime";s:0:"";}', 1466567829, 1466567829, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_nav`
--

CREATE TABLE IF NOT EXISTS `cmf_nav` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `cid` int(11) NOT NULL COMMENT '导航分类 id',
  `parentid` int(11) NOT NULL COMMENT '导航父 id',
  `label` varchar(255) NOT NULL COMMENT '导航标题',
  `target` varchar(50) DEFAULT NULL COMMENT '打开方式',
  `href` varchar(255) NOT NULL COMMENT '导航链接',
  `icon` varchar(255) NOT NULL COMMENT '导航图标',
  `status` int(2) NOT NULL DEFAULT '1' COMMENT '状态，1显示，0不显示',
  `listorder` int(6) DEFAULT '0' COMMENT '排序',
  `path` varchar(255) NOT NULL DEFAULT '0' COMMENT '层级关系',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;

--
-- 转存表中的数据 `cmf_nav`
--

INSERT INTO `cmf_nav` (`id`, `cid`, `parentid`, `label`, `target`, `href`, `icon`, `status`, `listorder`, `path`) VALUES
(1, 1, 0, '首页', '', 'home', '', 1, 0, '0-1'),
(2, 1, 0, '列表演示', '', 'a:2:{s:6:"action";s:17:"Portal/List/index";s:5:"param";a:1:{s:2:"id";s:1:"1";}}', '', 1, 0, '0-2'),
(3, 1, 0, '瀑布流', '', 'a:2:{s:6:"action";s:17:"Portal/List/index";s:5:"param";a:1:{s:2:"id";s:1:"2";}}', '', 1, 0, '0-3');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_nav_cat`
--

CREATE TABLE IF NOT EXISTS `cmf_nav_cat` (
  `navcid` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL COMMENT '导航分类名',
  `active` int(1) NOT NULL DEFAULT '1' COMMENT '是否为主菜单，1是，0不是',
  `remark` text COMMENT '备注',
  PRIMARY KEY (`navcid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

--
-- 转存表中的数据 `cmf_nav_cat`
--

INSERT INTO `cmf_nav_cat` (`navcid`, `name`, `active`, `remark`) VALUES
(1, '主导航', 1, '主导航');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_oauth_user`
--

CREATE TABLE IF NOT EXISTS `cmf_oauth_user` (
  `id` int(20) NOT NULL AUTO_INCREMENT,
  `from` varchar(20) NOT NULL COMMENT '用户来源key',
  `name` varchar(30) NOT NULL COMMENT '第三方昵称',
  `head_img` varchar(200) NOT NULL COMMENT '头像',
  `uid` int(20) NOT NULL COMMENT '关联的本站用户id',
  `create_time` datetime NOT NULL COMMENT '绑定时间',
  `last_login_time` datetime NOT NULL COMMENT '最后登录时间',
  `last_login_ip` varchar(16) NOT NULL COMMENT '最后登录ip',
  `login_times` int(6) NOT NULL COMMENT '登录次数',
  `status` tinyint(2) NOT NULL,
  `access_token` varchar(512) NOT NULL,
  `expires_date` int(11) NOT NULL COMMENT 'access_token过期时间',
  `openid` varchar(40) NOT NULL COMMENT '第三方用户id',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- 表的结构 `cmf_options`
--

CREATE TABLE IF NOT EXISTS `cmf_options` (
  `option_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `option_name` varchar(64) NOT NULL COMMENT '配置名',
  `option_value` longtext NOT NULL COMMENT '配置值',
  `autoload` int(2) NOT NULL DEFAULT '1' COMMENT '是否自动加载',
  PRIMARY KEY (`option_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ;

-- --------------------------------------------------------

--
-- 表的结构 `cmf_order_refund`
--

CREATE TABLE IF NOT EXISTS `cmf_order_refund` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `order_sn` varchar(100) NOT NULL COMMENT '订单号',
  `bank` varchar(100) NOT NULL COMMENT '回款银行',
  `refund_time` int(11) NOT NULL COMMENT '回款时间',
  `refund_money` float(10,2) NOT NULL COMMENT '回款金额',
  `cid` int(11) NOT NULL COMMENT '客户ID',
  `addtime` int(11) NOT NULL COMMENT '添加记录时间',
  `remark` text COMMENT '备注',
  `uid` int(11) NOT NULL COMMENT '添加此记录的用户',
  `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1-已确认  0-未确认',
  `con_uid` int(11) NOT NULL DEFAULT '0' COMMENT '确认人UID',
  `con_time` int(11) NOT NULL COMMENT '确认时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COMMENT='回款记录表' AUTO_INCREMENT=20 ;

--
-- 转存表中的数据 `cmf_order_refund`
--

INSERT INTO `cmf_order_refund` (`id`, `order_sn`, `bank`, `refund_time`, `refund_money`, `cid`, `addtime`, `remark`, `uid`, `status`, `con_uid`, `con_time`) VALUES
(1, '20160905152138', '中国银行', 1473004800, 100000.00, 24, 1473069743, '第一次回款', 17, 1, 1, 1473132056),
(3, '20160905152138', '农业银行', 1473091200, 3000.00, 24, 1473125396, '第三次回款', 17, 0, 0, 0),
(4, '20160905152138', '人民银行', 1473091200, 5000.00, 24, 1473133426, '最后一次回款', 1, 0, 0, 0),
(6, '20160908094829', '中国银行', 1473264000, 20000.00, 2, 1473299342, '', 21, 1, 15, 1473299744),
(7, '20160908094829', '20', 1473436800, 20.00, 2, 1473469623, '', 1, 0, 0, 0),
(9, '20160905152138', '邯郸银行', 1476720000, 5000.00, 24, 1476773385, '你知道吗', 17, 0, 0, 0),
(10, '20161019114801', '人民银行', 1476806400, 1000.00, 24, 1476849177, '挺快的', 17, 1, 19, 1476849236),
(11, '20161019114801', '工商银行', 1476806400, 5000.00, 24, 1476849278, '第三笔还清', 17, 1, 19, 1476849287),
(12, '20161019114801', '按收入', 1476806400, 100.00, 24, 1476849568, '阿斯蒂芬', 17, 1, 19, 1476849575),
(13, '20161019114801', '农业银行', 1476806400, 400000.00, 24, 1476855021, '余额', 17, 1, 19, 1476855055),
(14, '20160905152138', '大观', 1476806400, 1000.00, 24, 1476863082, '导入', 17, 0, 0, 0),
(15, '20161019162251', '中国', 1476806400, 1000.00, 52, 1476865606, '第一次回款', 17, 1, 19, 1476865661),
(16, '20161019162251', '中国', 1476806400, 1000.00, 52, 1476865606, '第一次回款', 17, 1, 19, 1476865659),
(17, '20161019162251', '外国银行', 1476806400, 3000.00, 52, 1476865684, '打算', 17, 0, 0, 0),
(18, '20161020094434', '人民银行', 1476892800, 300.00, 13, 1476928062, '第一次回款', 17, 0, 0, 0),
(19, '20161018163212', '人民银行', 1477065600, 1000.00, 24, 1477104772, '爱上的人', 17, 0, 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_page`
--

CREATE TABLE IF NOT EXISTS `cmf_page` (
  `catid` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '栏目ID',
  `title` varchar(160) NOT NULL DEFAULT '' COMMENT '标题',
  `style` varchar(24) NOT NULL DEFAULT '' COMMENT '样式',
  `intro` varchar(40) NOT NULL DEFAULT '' COMMENT '摘要',
  `content` text COMMENT '内容',
  `languages` char(20) NOT NULL DEFAULT 'en-us' COMMENT '语言',
  `template` varchar(30) NOT NULL DEFAULT '',
  `updatetime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  `thumb` varchar(100) NOT NULL,
  `photo` varchar(200) NOT NULL COMMENT '相册',
  `seotitle` varchar(200) NOT NULL,
  `seokeywords` varchar(200) NOT NULL,
  `seodescription` varchar(200) NOT NULL,
  PRIMARY KEY (`catid`),
  KEY `catid` (`catid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `cmf_page`
--

INSERT INTO `cmf_page` (`catid`, `title`, `style`, `intro`, `content`, `languages`, `template`, `updatetime`, `thumb`, `photo`, `seotitle`, `seokeywords`, `seodescription`) VALUES
(30, '下雨啦33333333', '', '哈啊啊', '<p>下雨啦33333333下雨啦33333333下雨啦33333333下雨啦33333333下雨啦33333333下雨啦33333333下雨啦33333333下雨啦33333333</p>', 'en-us', '', 1464059369, '', '', '', '', ''),
(31, 'hello', '', 'well', '<p>哈哈大数据飞洒尽快发辣死了<br/></p>', 'en-us', '', 1464603003, '', '', '', '', ''),
(23, '公司证书', '', 'welll haihaia', '<p><img src="http://localhost/thinkcmf/data/upload/ueditor/20160531/574cf20bf127e.jpg" title="download(1).jpg" alt="download(1).jpg" style="width: 500px;" height="border=&quot;0&quot;" vspace="0" width="500"/>我是公司证书我是公司证书我是公司证书我是公司证书我是公司证书我是公司证书我是公司证书我是公司证书我是公司证书我是公司证书我是公司证书我是公司证书我是公司证书我是公司证书</p>', 'en-us', '', 1464665422, '', '[{"url":"20160531\\/574cec18944e4.jpg","alt":"11"},{"url":"20160531\\/574cec1e1ae5a.png","alt":"22"}]', 'hello Factory', 'hello Factory', '{"des1":"Pin","desc_mo":"Manufacturer China in many factory","des2":"solid","des3":"ying","des4":""}'),
(22, '公司介绍', '', '公司介绍', '<p>这是我们公司最全面的介绍，是最好的了<br/></p>', 'zh-cn', '', 1473733180, '', 'null', '', '', '{"des1":"","desc_mo":"","des2":"","des3":"","des4":""}'),
(25, '联系我们', '', '', '<p>欢迎给我留言。<br/></p>', 'en-us', '', 1464663727, '', '', '', '', ''),
(21, '简介', '', '关于我们', '\r\n\r\n<div class="bg">\r\n<div class="body a">\r\n  <div class="zong">\r\n      \r\n        <div class="a_top">\r\n          <div class="a_nr1">\r\n              <div class="a_tleft">\r\n                  <img src="http://localhost/xinxiangmu/themes/simplebootx/xinyu/images/about-date1.png" alt="" title="">\r\n                </div>\r\n                <div class="a_tright">\r\n                  <div class="a_tnr1">\r\n                        <span class="a_twz1">Dongguang No. 2 Machinery Factory </span>( state owned)\r\n                    </div>\r\n                </div>\r\n                <div class="clear"></div>\r\n            </div>\r\n            <div class="a_nr2">\r\n              <div class="a_tleft">\r\n                  <img src="http://localhost/xinxiangmu/themes/simplebootx/xinyu/images/about-date2.png" alt="" title="">\r\n                </div>\r\n                <div class="a_tright">\r\n                  <div class="a_tnr2">\r\n                        <span class="a_twz1">DONGGANG Welding Materials Co.,Ltd, </span>\r\n                        which was founded by Hebei University of Technology and Hongkong Community Service Center,mainly produces High antirust CO2 gas-shield welding wire, Submerged arc welding wire, Stainless steel welding wire &amp; Flux-cored welding wire.\r\n                    </div>\r\n                </div>\r\n                <div class="clear"></div>\r\n            </div>\r\n            <div class="a_nr3">\r\n              <div class="a_tleft">\r\n                  <img src="http://localhost/xinxiangmu/themes/simplebootx/xinyu/images/about-date3.png" alt="" title="">\r\n                </div>\r\n                <div class="a_tright">\r\n                  <div class="a_tnr3">\r\n                        <span class="a_twz1">Hebei XINYU Welding Co., Ltd, </span>\r\n                        which mainly produces \r\n                        <span>high strength steel welding wire,  Non-copper-coated solid wire,  submerged arc &amp; stainless steel welding wire . </span>\r\n                        Our products are widely applied to the welding of low-alloy high tensile large &amp; key steel structures in coal machinery, construction machinery, petrochemical machinery, pressure vessels or tanks, oil &amp; gas pipelines, military industry, shipbuilding, bridge and high-rise buildings etc.\r\n                        <span>At the same time,we are the only interprise in the domestic which produces welding wire as well as welding wire equipment.</span>\r\n                    </div>\r\n                </div>\r\n                <div class="clear"></div>\r\n            </div>\r\n\r\n            <div class="clear"></div>\r\n        </div>\r\n        <div class="a_center">\r\n          <div class="bottom30">\r\n             All our products have passed <span>ISO 9001-2008 quality system certification and CE certification </span>because of our advanced production lines, top professional testing equipment, intelligent R&amp;D team and scientific management system. Meanwhile, we get 7 invention patents including a national one. We are a member of China Mechanical Engineering Association and China Welding Association. Other honors are “ Consumer Trusting Products in Hebei province” “ Famous Brand products in Hebei province” “ Good Credit Enterprise in Hebei Province” and “China Key &amp;Leading Enterprise in high tensile steel welding wire”.\r\n            </div>\r\n            <div class="bottom30">Our <span> Welding wires and welding wire equipment </span>are exported to USA, Italy, Brazil, Russia and India etc.</div>\r\n            <div>Welcome you to our factory any time.</div>\r\n        </div>\r\n        \r\n        <div class="a_pic">\r\n          <img src="http://localhost/xinxiangmu/themes/simplebootx/xinyu/images/about-pic1.jpg" alt="" title="">\r\n        </div>\r\n    \r\n    </div>\r\n</div>\r\n</div>\r\n', 'en-us', '', 1474619924, '', 'null', 'hello Factory', 'hello Factory', '{"des1":"Pin","desc_mo":"","des2":"solid","des3":"","des4":""}'),
(102, 'hello', '', 'welll haihaia', '<p>ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddhaaaaaaaaaaaaaaaaaaaafgfgf222<br/></p>', 'en-us', '', 1475054364, '', 'null', 'Export hello', 'hello Price', '{"des1":"","desc_mo":"","des2":"","des3":"","des4":""}');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_partner`
--

CREATE TABLE IF NOT EXISTS `cmf_partner` (
  `id` tinyint(4) NOT NULL AUTO_INCREMENT,
  `partner_url` varchar(255) NOT NULL COMMENT '合作伙伴链接',
  `languages` char(20) NOT NULL DEFAULT 'en-us' COMMENT '语言',
  `partner_name` varchar(255) NOT NULL COMMENT '合作伙伴名称',
  `partner_image` varchar(255) DEFAULT NULL COMMENT '合作伙伴图标',
  `partner_target` varchar(25) NOT NULL DEFAULT '_blank' COMMENT '合作伙伴打开方式',
  `partner_description` text NOT NULL COMMENT '合作伙伴描述',
  `partner_time` datetime DEFAULT NULL COMMENT '合作伙伴添加时间',
  `partner_status` int(2) NOT NULL DEFAULT '1' COMMENT '状态，1显示，0不显示',
  `partner_rating` int(11) NOT NULL DEFAULT '0' COMMENT '合作伙伴评级',
  `partner_rel` varchar(255) DEFAULT NULL COMMENT '合作伙伴与网站的关系',
  `listorder` int(10) NOT NULL DEFAULT '0' COMMENT '排序',
  PRIMARY KEY (`id`),
  KEY `partner_visible` (`partner_status`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;

--
-- 转存表中的数据 `cmf_partner`
--

INSERT INTO `cmf_partner` (`id`, `partner_url`, `languages`, `partner_name`, `partner_image`, `partner_target`, `partner_description`, `partner_time`, `partner_status`, `partner_rating`, `partner_rel`, `listorder`) VALUES
(3, 'http://www.oschina.net/', 'en-us', '开源中国', 'http://static.oschina.net/uploads/space/2013/0304/160442_8Fw6_179699.png', '_blank', '', '2016-08-22 17:53:48', 1, 0, NULL, 1),
(4, 'http://36kr.com/', 'en-us', '36Kr', 'http://sta.36krcnd.com/36krhome-dev/images/qr.png', '_blank', '这是一个测试', '2016-08-22 17:56:16', 1, 0, NULL, 2);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_photo`
--

CREATE TABLE IF NOT EXISTS `cmf_photo` (
  `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `catid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `title` char(80) NOT NULL DEFAULT '',
  `style` char(24) NOT NULL DEFAULT '',
  `thumb` char(100) NOT NULL DEFAULT '',
  `keywords` char(40) NOT NULL DEFAULT '',
  `tags` varchar(255) NOT NULL DEFAULT '',
  `description` mediumtext,
  `url` char(100) NOT NULL DEFAULT '',
  `moveurl` char(100) NOT NULL COMMENT '动态url地址',
  `listorder` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `status` tinyint(2) unsigned NOT NULL DEFAULT '1',
  `istop` tinyint(2) NOT NULL COMMENT '置顶 0否1是',
  `recommend` tinyint(2) NOT NULL COMMENT '推荐 0否1是',
  `sysadd` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `islink` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `username` char(20) NOT NULL DEFAULT '',
  `inputtime` int(10) unsigned NOT NULL DEFAULT '0',
  `updatetime` int(10) unsigned NOT NULL DEFAULT '0',
  `views` int(11) NOT NULL DEFAULT '0' COMMENT '点击总数',
  `yesterdayviews` int(11) NOT NULL DEFAULT '0' COMMENT '最日',
  `dayviews` int(10) NOT NULL DEFAULT '0' COMMENT '今日点击数',
  `weekviews` int(10) NOT NULL DEFAULT '0' COMMENT '本周访问数',
  `monthviews` int(10) NOT NULL DEFAULT '0' COMMENT '本月访问',
  `viewsupdatetime` int(10) NOT NULL DEFAULT '0' COMMENT '点击数更新时间',
  `prefix` varchar(255) NOT NULL DEFAULT '',
  `seotitle` mediumtext,
  `seokeywords` mediumtext,
  `seodescription` mediumtext,
  `seourl` varchar(255) DEFAULT NULL,
  `isdelay` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否推迟',
  `is_del` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `status` (`status`,`listorder`,`id`),
  KEY `listorder` (`catid`,`status`,`listorder`,`id`),
  KEY `catid` (`catid`,`weekviews`,`views`,`dayviews`,`monthviews`,`status`,`id`),
  KEY `thumb` (`thumb`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ;

--
-- 转存表中的数据 `cmf_photo`
--

INSERT INTO `cmf_photo` (`id`, `catid`, `title`, `style`, `thumb`, `keywords`, `tags`, `description`, `url`, `moveurl`, `listorder`, `status`, `istop`, `recommend`, `sysadd`, `islink`, `username`, `inputtime`, `updatetime`, `views`, `yesterdayviews`, `dayviews`, `weekviews`, `monthviews`, `viewsupdatetime`, `prefix`, `seotitle`, `seokeywords`, `seodescription`, `seourl`, `isdelay`, `is_del`) VALUES
(4, 94, 'certificate5', '', 'data/upload/20160923/57e4f1934b662.jpg', '', '', '', 'http://localhost/xinxiangmu/certificates/4-4.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pic&catid=94&id=4', 0, 99, 1, 0, 1, 0, 'admin', 1474616577, 1474616577, 0, 0, 0, 0, 0, 0, '', 'China certificate', 'certificate  Manufacturer', NULL, '4', 0, 0),
(5, 94, 'certificate4', '', 'data/upload/20160923/57e4f1b3d6c51.jpg', '', '', '', 'http://localhost/xinxiangmu/certificates/5-5.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pic&catid=94&id=5', 0, 99, 0, 0, 1, 0, 'admin', 1474621880, 1474621880, 0, 0, 0, 0, 0, 0, '', 'China certificate4', 'certificate4 Wholesaler', NULL, '5', 0, 0),
(6, 94, 'certificate3', '', 'data/upload/20160923/57e4f1c63e31c.jpg', '', '', '', 'http://localhost/xinxiangmu/certificates/6-6.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pic&catid=94&id=6', 0, 99, 1, 0, 1, 0, 'admin', 1474621896, 1474621896, 0, 0, 0, 0, 0, 0, '', 'certificate3 Supplier China', 'certificate3 Supplier China', NULL, '6', 0, 0),
(7, 94, 'certificate2', '', 'data/upload/20160923/57e4f1d569600.jpg', '', '', '', 'http://localhost/xinxiangmu/certificates/7-7.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pic&catid=94&id=7', 0, 99, 1, 0, 1, 0, 'admin', 1474621911, 1474621911, 0, 0, 0, 0, 0, 0, '', 'Custom certificate2', 'ODM certificate2', NULL, '7', 0, 0),
(8, 94, 'certificate1', '', 'data/upload/20160923/57e4f1e34d7e2.jpg', '', '', '', 'http://localhost/xinxiangmu/certificates/8-8.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pic&catid=94&id=8', 0, 99, 1, 0, 1, 0, 'admin', 1474621926, 1474621926, 0, 0, 0, 0, 0, 0, '', 'certificate1 Price', 'Sale certificate1', NULL, '8', 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_photo_data`
--

CREATE TABLE IF NOT EXISTS `cmf_photo_data` (
  `id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `template` varchar(30) NOT NULL DEFAULT '',
  `paytype` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `allow_comment` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `relation` varchar(255) NOT NULL DEFAULT '',
  `imgs` text,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `cmf_photo_data`
--

INSERT INTO `cmf_photo_data` (`id`, `template`, `paytype`, `allow_comment`, `relation`, `imgs`) VALUES
(1, '', 0, 1, '', '1'),
(2, '', 0, 1, '', '[]'),
(3, '', 0, 1, '', '[{"url":"\\/thinkcmf\\/data\\/upload\\/20160531\\/574d4bd3c8ef7.jpg","alt":"11"},{"url":"\\/thinkcmf\\/data\\/upload\\/20160531\\/574d4bd950a6a.png","alt":"22"}]'),
(4, '', 0, 1, '', '[]'),
(5, '', 0, 1, '', '[]'),
(6, '', 0, 1, '', '[]'),
(7, '', 0, 1, '', '[]'),
(8, '', 0, 1, '', '[]');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_platform`
--

CREATE TABLE IF NOT EXISTS `cmf_platform` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) DEFAULT NULL COMMENT '平台名称',
  `platform_url` varchar(255) DEFAULT NULL COMMENT '平台网址',
  `register_url` varchar(255) DEFAULT NULL COMMENT '注册网址',
  `login_url` varchar(255) DEFAULT NULL COMMENT '登录网址',
  `post_url` varchar(255) DEFAULT NULL COMMENT '产品添加网址',
  `usable` varchar(255) DEFAULT NULL COMMENT '是否停用：1：正常；0：停用。',
  `remark` varchar(255) DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`),
  UNIQUE KEY `ID` (`id`) COMMENT 'ID索引'
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- 表的结构 `cmf_plugins`
--

CREATE TABLE IF NOT EXISTS `cmf_plugins` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增id',
  `name` varchar(50) NOT NULL COMMENT '插件名，英文',
  `title` varchar(50) NOT NULL DEFAULT '' COMMENT '插件名称',
  `description` text COMMENT '插件描述',
  `type` tinyint(2) DEFAULT '0' COMMENT '插件类型, 1:网站；8;微信',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态；1开启；',
  `config` text COMMENT '插件配置',
  `hooks` varchar(255) DEFAULT NULL COMMENT '实现的钩子;以“，”分隔',
  `has_admin` tinyint(2) DEFAULT '0' COMMENT '插件是否有后台管理界面',
  `author` varchar(50) DEFAULT '' COMMENT '插件作者',
  `version` varchar(20) DEFAULT '' COMMENT '插件版本号',
  `createtime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '插件安装时间',
  `listorder` smallint(6) NOT NULL DEFAULT '0' COMMENT '排序',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- 表的结构 `cmf_position`
--

CREATE TABLE IF NOT EXISTS `cmf_position` (
  `posid` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT '推荐位id',
  `modelid` char(30) NOT NULL DEFAULT '' COMMENT '模型id',
  `catid` varchar(255) NOT NULL DEFAULT '' COMMENT '栏目id',
  `name` char(30) NOT NULL DEFAULT '' COMMENT '推荐位名称',
  `maxnum` smallint(5) NOT NULL DEFAULT '20' COMMENT '最大存储数据量',
  `extention` char(100) NOT NULL DEFAULT '',
  `listorder` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '排序',
  PRIMARY KEY (`posid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;

--
-- 转存表中的数据 `cmf_position`
--

INSERT INTO `cmf_position` (`posid`, `modelid`, `catid`, `name`, `maxnum`, `extention`, `listorder`) VALUES
(1, '0', '0', '首页幻灯片', 10, '', 0),
(2, '0', '0', '首页文字头条', 10, '', 0),
(3, '0', '0', '首页站长推荐', 10, '', 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_posts`
--

CREATE TABLE IF NOT EXISTS `cmf_posts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `post_author` bigint(20) unsigned DEFAULT '0' COMMENT '发表者id',
  `post_keywords` varchar(150) NOT NULL COMMENT 'seo keywords',
  `post_source` varchar(150) DEFAULT NULL COMMENT '转载文章的来源',
  `post_date` datetime DEFAULT '2000-01-01 00:00:00' COMMENT 'post创建日期，永久不变，一般不显示给用户',
  `post_content` longtext COMMENT 'post内容',
  `post_title` text COMMENT 'post标题',
  `post_excerpt` text COMMENT 'post摘要',
  `post_status` int(2) DEFAULT '1' COMMENT 'post状态，1已审核，0未审核',
  `comment_status` int(2) DEFAULT '1' COMMENT '评论状态，1允许，0不允许',
  `post_modified` datetime DEFAULT '2000-01-01 00:00:00' COMMENT 'post更新时间，可在前台修改，显示给用户',
  `post_content_filtered` longtext,
  `post_parent` bigint(20) unsigned DEFAULT '0' COMMENT 'post的父级post id,表示post层级关系',
  `post_type` int(2) DEFAULT NULL,
  `post_mime_type` varchar(100) DEFAULT '',
  `comment_count` bigint(20) DEFAULT '0',
  `smeta` text COMMENT 'post的扩展字段，保存相关扩展属性，如缩略图；格式为json',
  `post_hits` int(11) DEFAULT '0' COMMENT 'post点击数，查看数',
  `post_like` int(11) DEFAULT '0' COMMENT 'post赞数',
  `istop` tinyint(1) NOT NULL DEFAULT '0' COMMENT '置顶 1置顶； 0不置顶',
  `recommended` tinyint(1) NOT NULL DEFAULT '0' COMMENT '推荐 1推荐 0不推荐',
  PRIMARY KEY (`id`),
  KEY `type_status_date` (`post_type`,`post_status`,`post_date`,`id`),
  KEY `post_parent` (`post_parent`),
  KEY `post_author` (`post_author`),
  KEY `post_date` (`post_date`) USING BTREE
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;

--
-- 转存表中的数据 `cmf_posts`
--

INSERT INTO `cmf_posts` (`id`, `post_author`, `post_keywords`, `post_source`, `post_date`, `post_content`, `post_title`, `post_excerpt`, `post_status`, `comment_status`, `post_modified`, `post_content_filtered`, `post_parent`, `post_type`, `post_mime_type`, `comment_count`, `smeta`, `post_hits`, `post_like`, `istop`, `recommended`) VALUES
(1, 1, '', '', '2016-05-13 16:15:31', '<p>我是全部<strong>内容</strong></p>', '我是新加的2', '我是摘要', 1, 1, '2016-05-13 16:15:03', '', 0, 0, '', 0, '{"thumb":"","photo":[{"url":"20160531\\/574cf2c100801.jpg","alt":"11"},{"url":"20160531\\/574cf2c67d743.png","alt":"22"}]}', 6, 1, 0, 0),
(2, 1, 'about us', '', '2016-05-23 15:05:41', '<p>about usabout usabout usabout usabout us</p>', 'about us', 'about us', 1, 1, '2016-05-23 15:05:08', '', 0, 2, '', 0, '{"template":"page","thumb":""}', 0, 0, 0, 0),
(3, 1, 'China Grinding Balls, Grinding Steel Balls Manufacturer', '', '2016-08-08 17:01:32', '<p>Other factors effect&nbsp;grinding balls&nbsp;are as followings:</p><p>Molybdenum (Mo):&nbsp;Molybdenum’s role is matrix refinement. It can refine carbide, improve the electrode potential of matrix and balls corrosion resistance. In the metal casting conditions, adding a small amount can take effect, it mainly used for special grinding ball.</p><p>Sulfur (S):&nbsp;Due to the high content of manganese in steel, large amount of MnS generated and discharged from the slag. But because it is melted in basic slag, the sulfur can be successfully reduced to 0.03%. Such a low sulfur content will not significantly affected the steel strength, toughness and wear resistance.</p><p>Phosphorus (P):&nbsp;Phosphorus rarely dissolved in the steel separately, it often reduces the steel strength, toughness and wear resistance as Fe2p, Fe3P form on grain boundaries. High content carbon increase phosphorus precipitation in form of eutectic crystal. In order to guarantee grinding media balls performance, it should follow the below relationship: C% = 11.27-2.761 × P%. Make sure the phosphorus content ≤0.08% in production, and important, complex and thick pieces≤0.07%.</p><p>Silicon(SI):&nbsp;Silicon is an important element for grinding ball, it is not only effectively reduce the chilling tendency and increase the amount of ferrite, but also refine eutectic and enhance ball roundness. However, silicon also improve brittle transition temperature of cast iron, thus reduce the impact toughness. Therefore, the silicon content should not be too high, especially for situation that the cast iron manganese and phosphorus content is higher.</p><p><br/></p>', 'Which factors effect grinding ball?', 'Other factors effect grinding balls are as followings', 1, 1, '2016-08-08 16:58:44', NULL, 0, NULL, '', 0, '{"thumb":"http:\\/\\/www.huaminsteelball.com\\/fckeditor\\/php\\/upload\\/42761470368925.jpg","photo":[{"url":"http:\\/\\/www.huaminsteelball.com\\/fckeditor\\/php\\/upload\\/42761470368925.jpg","alt":""}]}', 0, 0, 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_product`
--

CREATE TABLE IF NOT EXISTS `cmf_product` (
  `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `catid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `typeid` smallint(5) unsigned NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL DEFAULT '',
  `style` varchar(24) NOT NULL DEFAULT '',
  `thumb` varchar(255) NOT NULL DEFAULT '',
  `keywords` varchar(255) NOT NULL DEFAULT '',
  `tags` varchar(255) NOT NULL DEFAULT '',
  `description` mediumtext,
  `url` varchar(255) NOT NULL DEFAULT '',
  `moveurl` varchar(255) NOT NULL COMMENT '动态url地址',
  `listorder` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `status` tinyint(2) unsigned NOT NULL DEFAULT '1',
  `istop` tinyint(2) NOT NULL COMMENT '置顶 0否1是',
  `recommend` tinyint(2) NOT NULL COMMENT '推荐 0否1是',
  `sysadd` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `islink` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `username` char(20) NOT NULL DEFAULT '',
  `inputtime` int(10) unsigned NOT NULL DEFAULT '0',
  `updatetime` int(10) unsigned NOT NULL DEFAULT '0',
  `views` int(11) NOT NULL DEFAULT '0' COMMENT '点击总数',
  `yesterdayviews` int(11) NOT NULL DEFAULT '0' COMMENT '最日',
  `dayviews` int(10) NOT NULL DEFAULT '0' COMMENT '今日点击数',
  `weekviews` int(10) NOT NULL DEFAULT '0' COMMENT '本周访问数',
  `monthviews` int(10) NOT NULL DEFAULT '0' COMMENT '本月访问',
  `viewsupdatetime` int(10) NOT NULL DEFAULT '0' COMMENT '点击数更新时间',
  `price` varchar(7) NOT NULL DEFAULT '',
  `size` varchar(50) NOT NULL DEFAULT '',
  `seotitle` mediumtext,
  `seokeywords` mediumtext,
  `seodescription` mediumtext,
  `seourl` varchar(255) DEFAULT NULL,
  `isdelay` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否推迟 0-不推迟 1-推迟',
  `is_del` tinyint(2) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `status` (`status`,`listorder`,`id`),
  KEY `listorder` (`catid`,`status`,`listorder`,`id`),
  KEY `catid` (`catid`,`weekviews`,`views`,`dayviews`,`monthviews`,`status`,`id`),
  KEY `thumb` (`thumb`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=104 ;

--
-- 转存表中的数据 `cmf_product`
--

INSERT INTO `cmf_product` (`id`, `catid`, `typeid`, `title`, `style`, `thumb`, `keywords`, `tags`, `description`, `url`, `moveurl`, `listorder`, `status`, `istop`, `recommend`, `sysadd`, `islink`, `username`, `inputtime`, `updatetime`, `views`, `yesterdayviews`, `dayviews`, `weekviews`, `monthviews`, `viewsupdatetime`, `price`, `size`, `seotitle`, `seokeywords`, `seodescription`, `seourl`, `isdelay`, `is_del`) VALUES
(72, 54, 0, 'asfcs"asfbs', '', '/thinkcmf/data/upload/20160816/57b2b928b6e87.jpg', '', '', 'asfda', 'http://local.thinkcmf.cn/index.php?g=Content&m=Pagedis&a=show_pro&catid=54&id=72', 'http://local.thinkcmf.cn/index.php?g=Content&m=Pagedis&a=show_pro&catid=54&id=72', 0, 99, 1, 1, 1, 0, 'admin', 1471330644, 1472227200, 0, 0, 0, 0, 0, 0, '25', 'asd', 'asfcdsdcf', 'asfcs&quot;asfbs Company', '', 'asefca', 0, 0),
(74, 73, 0, 'seourl', '', '', '', '', '', 'http://localhost/xinxiangmu/zwcpe/seourl-74.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=73&id=74', 0, 99, 0, 0, 1, 0, 'admin', 1471416869, 1471416869, 0, 0, 0, 0, 0, 0, '144', '', 'seourl Company', 'ODM seourl', '', 'seourl', 0, 1),
(75, 73, 0, 'titltr', '', '', '', '', '', 'http://localhost/xinxiangmu/zwcpe/seourlll-75.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=73&id=75', 0, 99, 0, 0, 1, 0, 'admin', 1471418393, 1471418393, 0, 0, 0, 0, 0, 0, '222', '', 'titltr  Manufacturer', 'titltr  Manufacturer', '', 'seourlll', 0, 1),
(76, 73, 0, 'ceshiseourl', '', 'http://local.thinkcmf.cn/data/upload/ueditor/20160818/57b571c18da67.png', '', '', '', 'http://localhost/xinxiangmu/zwcpe/soso91199-76.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=73&id=76', 0, 99, 0, 0, 1, 0, 'admin', 1471418655, 1471418655, 0, 0, 0, 0, 0, 0, '12', '11', 'ceshiseourl Supplier', 'rebar coupler', '', 'soso91199', 0, 1),
(77, 73, 0, '美美哒', '', '', '', '', '', 'http://localhost/xinxiangmu/zwcpe/77-77.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=73&id=77', 0, 99, 0, 0, 1, 0, 'admin', 1471499383, 1471499383, 0, 0, 0, 0, 0, 0, '', '', 'rebar coupler', ' Price', NULL, '77', 0, 0),
(78, 73, 0, '美美哒', '', '', '', '', '', 'http://localhost/xinxiangmu/zwcpe/78-78.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=73&id=78', 0, 99, 0, 0, 1, 0, 'admin', 1471499433, 1471499433, 0, 0, 0, 0, 0, 0, '', '', '美美哒 Wholesaler', '美美哒 for Sale', NULL, '78', 0, 1),
(79, 73, 0, '就一个', '', '', '', '', '', 'http://localhost/xinxiangmu/zwcpe/79-79.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=73&id=79', 0, 99, 0, 0, 1, 0, 'admin', 1471500631, 1471500631, 0, 0, 0, 0, 0, 0, '', '', '', '', NULL, '79', 0, 1),
(80, 73, 0, 'trety', '', '', '', '', '', 'http://localhost/xinxiangmu/zwcpe/erter-80.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=73&id=80', 0, 99, 0, 0, 1, 0, 'admin', 1471500767, 1471500767, 0, 0, 0, 0, 0, 0, 'xb', '', 'trety Wholesale', 'ODM trety', NULL, 'erter', 0, 0),
(81, 78, 0, 'one one oen', '', '', '', '', '', 'http://localhost/xinxiangmu/sold/one-81.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=78&id=81', 0, 99, 0, 0, 1, 0, 'admin', 1471567819, 1471567819, 0, 0, 0, 0, 0, 0, '', '', 'one one oen Factory', 'one one oen Wholesale', NULL, 'one', 0, 0),
(82, 73, 0, '小碗儿', '', '', '', '', '小碗儿', 'http://localhost/xinxiangmu/zwcpe/xiao-82.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=73&id=82', 0, 99, 0, 0, 1, 0, 'admin', 1471568645, 1471568645, 0, 0, 0, 0, 0, 0, '10', '1', 'rebar coupler', '小碗儿 Supplier', NULL, 'xiao', 0, 0),
(83, 73, 0, '钻石', '', '', '', '', '钻石', 'http://localhost/xinxiangmu/zwcpe/zuanshi-83.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=73&id=83', 0, 99, 0, 0, 1, 0, 'admin', 1471573159, 1471573159, 0, 0, 0, 0, 0, 0, '60', '1', '钻石 Factory', '钻石 Manufacturer China', NULL, 'zuanshi', 0, 0),
(84, 73, 0, '水杯', '', '', '', '', '水杯', 'http://localhost/xinxiangmu/zwcpe/shuibei-84.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=73&id=84', 0, 99, 0, 0, 1, 0, 'admin', 1471573714, 1471573714, 0, 0, 0, 0, 0, 0, '15', '', 'Manufacture 水杯', '水杯', NULL, 'shuibei', 0, 0),
(87, 73, 0, '烟酒', '', '', '', '', '烟酒', 'http://localhost/xinxiangmu/zwcpe/yanjiu-87.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=73&id=87', 0, 99, 1, 0, 1, 0, 'admin', 1471581865, 1471581865, 0, 0, 0, 0, 0, 0, '11', '1', '烟酒 Supplier China', '烟酒 Manufacturer China', NULL, 'yanjiu', 0, 0),
(88, 78, 0, '烟酒copy', '', '', '', '', '烟酒', 'http://localhost/xinxiangmu/sold/88-88.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=78&id=88', 0, 99, 1, 0, 1, 0, 'admin', 1471589352, 1471589352, 0, 0, 0, 0, 0, 0, '11', '1', '烟酒 Supplier China', '烟酒 Manufacturer China', NULL, '88', 0, 0),
(90, 73, 0, '1223coo', '', '', '', '', '烟酒', 'http://localhost/xinxiangmu/zwcpe/90-90.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=73&id=90', 0, 99, 1, 0, 1, 0, 'admin', 1472179337, 1472179337, 0, 0, 0, 0, 0, 0, '11', '1', '烟酒 Supplier China', '烟酒 Manufacturer China', NULL, '90', 0, 0),
(91, 78, 0, '烟酒 intro', '', '', '', '', '烟酒', 'http://localhost/xinxiangmu/sold/91-91.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=78&id=91', 0, 99, 0, 0, 1, 0, 'admin', 1472179531, 1472179531, 0, 0, 0, 0, 0, 0, '11', '1', '烟酒 Supplier China', '烟酒 Manufacturer China', NULL, '91', 0, 0),
(92, 78, 0, 'asdf', '', '', '', '', '烟酒', 'http://localhost/xinxiangmu/sold/asdf-92.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=78&id=92', 0, 99, 1, 0, 1, 0, 'admin', 1472179723, 1472179723, 0, 0, 0, 0, 0, 0, '11', '1', '烟酒 Supplier China', '烟酒 Manufacturer China', NULL, 'asdf', 0, 0),
(93, 78, 0, '烟酒coo11', '', '', '', '', '烟酒', 'http://localhost/xinxiangmu/sold/93-93.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=78&id=93', 0, 99, 1, 0, 1, 0, 'admin', 1472180347, 1472180347, 0, 0, 0, 0, 0, 0, '11', '1', '烟酒 Supplier China', '烟酒 Manufacturer China', NULL, '93', 0, 0),
(94, 78, 0, '烟酒coo22', '', 'data/upload/20160930/57edb99c41f9c.jpg', '', '', '烟酒', 'http://localhost/xinxiangmu/sold/94-94.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=78&id=94', 0, 99, 0, 1, 1, 0, 'admin', 1472180347, 1472180347, 0, 0, 0, 0, 0, 0, '11', '1', '烟酒 Supplier China', '烟酒 Manufacturer China', NULL, '94', 0, 0),
(95, 78, 0, '烟酒coo55', '', 'data/upload/20161010/57fb5b55d135e.jpg', '', '', '烟酒', 'http://localhost/xinxiangmu/sold/11-95.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=78&id=95', 0, 99, 0, 1, 1, 0, 'admin', 1472180533, 1472180533, 0, 0, 0, 0, 0, 0, '11', '1', '烟酒 Supplier China', '烟酒 Manufacturer China', NULL, '11', 0, 0),
(98, 81, 0, 'product 1', '', 'data/upload/20160922/57e36c582973d.jpg', '', '', 'new product 1', 'http://localhost/xinxiangmu/morenshengchengjingtai/98.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=81&id=98', 0, 99, 1, 1, 1, 0, 'admin', 1474522205, 1474522205, 0, 0, 0, 0, 0, 0, '100', '1', 'rebar coupler', 'product 1 Exporter China', NULL, '', 0, 0),
(99, 81, 0, 'product2', '', 'data/upload/20160924/57e5cee769cd6.jpg', '', '', 'new product 2', 'http://localhost/xinxiangmu/morenshengchengjingtai/productrr-99.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=81&id=99', 0, 99, 1, 1, 1, 0, 'admin', 1474522761, 1474522761, 0, 0, 0, 0, 0, 0, '101', '2', 'Manufacture product2', 'China product2', NULL, 'productrr', 0, 0),
(100, 77, 0, 'Co2 wire product', '', 'data/upload/20160922/57e36f2d99d8f.jpg', '', '', 'Co2 wire product', 'http://localhost/xinxiangmu/world/100-100.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=77&id=100', 0, 99, 1, 1, 1, 0, 'admin', 1474522928, 1474522928, 0, 0, 0, 0, 0, 0, '103', '1', '', 'Co2 wire product Supplier', NULL, '100', 0, 0),
(101, 77, 0, 'Co2 wire product 2', '', 'data/upload/20160922/57e37d45ec7c1.jpg', '', '', '', 'http://localhost/xinxiangmu/world/101-101.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=77&id=101', 0, 99, 1, 1, 1, 0, 'admin', 1474526538, 1474526538, 0, 0, 0, 0, 0, 0, '103', '1', 'Co2 wire product 2 Exporter China', 'High Quality Co2 wire product 2', NULL, '101', 0, 0),
(102, 97, 0, '测试展开', '', 'data/upload/20160928/57eb2c8f6bd22.png', '', '', '', 'http://localhost/xinxiangmu/child1/102-102.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=97&id=102', 0, 99, 0, 1, 1, 0, 'admin', 1475030166, 1475030166, 0, 0, 0, 0, 0, 0, '200', '2', 'High Quality 测试展开', '测试展开 Factory China', NULL, '102', 0, 0),
(103, 81, 0, 'aaa', '', 'data/upload/20160924/57e5cee769cd6.jpg', '', '', 'new product 2', 'http://localhost/xinxiangmu/morenshengchengjingtai/aaa-103.html', 'http://localhost/xinxiangmu/index.php?g=Content&m=Pagedis&a=shows_pro&catid=81&id=103', 0, 99, 1, 1, 1, 0, 'admin', 1477376458, 1477376458, 0, 0, 0, 0, 0, 0, '101', '2', 'Manufacture product2', 'China product2', NULL, 'aaa', 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_product_data`
--

CREATE TABLE IF NOT EXISTS `cmf_product_data` (
  `id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `content` mediumtext,
  `paginationtype` tinyint(1) NOT NULL DEFAULT '0',
  `maxcharperpage` mediumint(6) NOT NULL DEFAULT '0',
  `template` varchar(30) NOT NULL DEFAULT '',
  `paytype` tinyint(1) unsigned DEFAULT '0',
  `allow_comment` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `relation` varchar(255) NOT NULL DEFAULT '',
  `mopic` text,
  `spec_description` mediumtext,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `cmf_product_data`
--

INSERT INTO `cmf_product_data` (`id`, `content`, `paginationtype`, `maxcharperpage`, `template`, `paytype`, `allow_comment`, `relation`, `mopic`, `spec_description`) VALUES
(72, '<p>asgvsgvrwehyofgv</p>', 0, 0, '', 0, 1, '|5,70|5,70|5,70|5,70|5,70', '[{"url":"\\/thinkcmf\\/data\\/upload\\/20160816\\/57b2b8ca819d4.jpg","alt":"banner2_1"}]', NULL),
(73, '<p>asfc<img src="http://192.168.0.68/thinkcmf/data/upload/ueditor/20160816/57b2ba6fba055.jpg" title="aad&quot;asdfwae" alt="aad&quot;asdfwae" width="1680" height="450" border="0" vspace="0" style="width: 1680px; height: 450px;"/></p>', 0, 0, '', 0, 1, '', '[{"url":"data\\/upload\\/20160825\\/57bea4f0ef4eb.jpg","alt":"\\u6700\\u65b0\\u52a0\\u7684","seq":"0"}]', NULL),
(2, '<p>大锤子大锤子大锤子大锤子大锤子大锤子大锤子大锤子大锤子大锤子大锤子大锤子大锤子大锤子大锤子大锤子大锤子大锤子大锤子</p>', 0, 0, '', 0, 1, '|5,45|5,44|5,46|5,45|5,44', '[]', NULL),
(3, '<p>小扳手小扳手小扳手小扳手小扳手小扳手小扳手小扳手小扳手</p>', 0, 0, '', 0, 1, '8|5,7|5,6', '[]', NULL),
(4, '<p>高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发高品质沙发111</p>', 0, 0, '', 0, 1, '', '[]', NULL),
(5, '<p>made inChinamade inChinamade inChinamade inChinamade inChinamade inChinamade inChina<img alt="201103054683425.jpg" src="http://localhost/thinkcmf/data/upload/ueditor/20160606/57550e22e99d6.jpg" title="201103054683425.jpg"/></p>', 0, 0, '', 0, 1, '5|5,4|5,2', '[{"url":"\\/thinkcmf\\/data\\/upload\\/20160530\\/574bf2d1db8b0.jpg","alt":"11"},{"url":"\\/thinkcmf\\/data\\/upload\\/20160530\\/574bf2d86bd16.png","alt":"22"},{"url":"\\/thinkcmf\\/data\\/upload\\/20160602\\/574f8ce15c39d.png","alt":"cli_1000px"}]', NULL),
(8, '<p>We can supply all kinds of pliers, you can order as you want. Welcome to our company.We can supply all kinds of pliers, you can order as you want. Welcome to our company.</p>', 0, 0, '', 0, 1, '', '[{"url":".\\/data\\/upload\\/20160825\\/thumb_105_64_57be86e21cdc9.jpg","alt":"inews-pic1","seq":"0"},{"url":"\\/thinkcmf\\/data\\/upload\\/20160825\\/57be86e21cdc9.jpg","alt":"news-pic1","seq":"0"}]', NULL),
(30, '<p>这是测试这是测试</p>', 0, 0, '', 0, 1, '', '[]', NULL),
(49, '', 0, 0, '', 0, 1, '', '[]', NULL),
(45, '', 0, 0, '', 0, 1, '', '[]', NULL),
(46, '', 0, 0, '', 0, 1, '', '[]', NULL),
(66, '<p>这是产品描述</p>', 0, 0, '', 0, 1, '', '[]', NULL),
(51, '<p>23123123123</p>', 0, 0, '', 0, 1, '', '[]', NULL),
(52, '<p><a href="http://192.168.0.68/thinkcmf/index.php?g=Content&m=Pagedis&a=show_pro&catid=10&id=8" target="_blank">小钳子</a></p>', 0, 0, '', 0, 1, '', '[{"url":"\\/thinkcmf\\/data\\/upload\\/20160615\\/57611fee0f3f0.jpg","alt":"20160422103406754"},{"url":"\\/thinkcmf\\/data\\/upload\\/20160615\\/57611fee4ffe0.jpg","alt":"20160422103445553"},{"url":"\\/thinkcmf\\/data\\/upload\\/20160615\\/57611fee7db21.jpg","alt":"20160422103455720"}]', NULL),
(57, '<p>产品描述</p>', 0, 0, '', 0, 1, '', '[]', NULL),
(74, '<p>sdfsdr</p>', 0, 0, '', 0, 1, '', '[]', NULL),
(75, '<p>asdf<br/></p>', 0, 0, '', 0, 1, '', '[]', NULL),
(76, '<p><img src="http://local.thinkcmf.cn/data/upload/ueditor/20160819/57b6604e2e062.png" style="" title="ceshiseourl_1471569998.png"/></p><p><img src="http://local.thinkcmf.cn/data/upload/ueditor/20160819/57b6604e378bc.png" style="" title="ceshiseourl_1471569998.png"/></p><p><br/></p>', 0, 0, '', 0, 1, '', '[{"url":"\\/thinkcmf\\/data\\/upload\\/20160825\\/57be69f488423.jpg","alt":"\\u8ba2\\u9605\\u53f7","seq":null},{"url":"\\/thinkcmf\\/data\\/upload\\/20160824\\/57bcf10fac4c7.png","alt":"\\u8fd9\\u662f\\u554a\\u554a","seq":"0"}]', NULL),
(0, '<p>烟酒</p>', 0, 0, '', 0, 1, '', '[{"url":".\\/data\\/upload\\/20160819\\/thumb_448_303_57b68ea38e23b.jpg","alt":"0","seq":"2"},{"url":"\\/thinkcmf\\/data\\/upload\\/20160819\\/57b68ea3a2673.jpg","alt":"1","seq":"7"},{"url":"\\/thinkcmf\\/data\\/upload\\/20160819\\/57b68ea3b245b.jpg","alt":"2","seq":"1"},{"url":"\\/thinkcmf\\/data\\/upload\\/20160819\\/57b68ea3c168b.jpg","alt":"3","seq":"4"},{"url":"\\/thinkcmf\\/data\\/upload\\/20160819\\/57b68ea3d1473.jpg","alt":"4","seq":"5"}]', NULL),
(77, NULL, 0, 0, '', 0, 1, '', '[]', NULL),
(78, NULL, 0, 0, '', 0, 1, '', '[]', NULL),
(79, NULL, 0, 0, '', 0, 1, '', '[]', NULL),
(80, NULL, 0, 0, '', 0, 1, '', '[]', NULL),
(81, NULL, 0, 0, '', 0, 1, '', '[]', NULL),
(82, '<p>小碗儿</p>', 0, 0, '', 0, 1, '', '[{"url":".\\/data\\/upload\\/20160819\\/thumb_369_369_57b659ce05aa3.png","alt":"\\u652f\\u6301\\u5fae\\u4fe1\\u626b\\u4e00\\u626b"},{"url":"\\/thinkcmf\\/data\\/upload\\/20160819\\/57b65b3f0f6e3.png","alt":"\\u652f\\u6301\\u5fae\\u4fe1\\u626b\\u4e00\\u626b"}]', NULL),
(83, '<p>钻石</p>', 0, 0, '', 0, 1, '', '[{"url":".\\/data\\/upload\\/20160823\\/thumb_280_280_57b66b2da2e43.png","alt":"\\u652f\\u6301\\u5fae\\u4fe1\\u626b\\u4e00\\u626b","seq":"2"},{"url":"\\/thinkcmf\\/data\\/upload\\/20160819\\/57b66b36eae9b.png","alt":"\\u652f\\u6301\\u5fae\\u4fe1\\u626b\\u4e00\\u626b","seq":"4"}]', NULL),
(84, '<p>水杯</p>', 0, 0, '', 0, 1, '', '[{"url":"\\/thinkcmf\\/data\\/upload\\/20160819\\/57b66ec1d9943.jpg","alt":"chanpin","seq":"1"},{"url":"\\/thinkcmf\\/data\\/upload\\/20160819\\/57b66ec20200b.jpg","alt":"chanpin2","seq":"3"},{"url":"\\/thinkcmf\\/data\\/upload\\/20160819\\/57b66ec20b863.jpg","alt":"chanpin3","seq":"5"}]', NULL),
(87, '<p>烟酒aaaaasdfgasdf</p>', 0, 0, '', 0, 1, '', '[{"url":".\\/data\\/upload\\/20160826\\/thumb_312_196_57bfa6573cfc8.jpg","alt":"\\u8ba2\\u9605\\u53f7","seq":"0"},{"url":".\\/data\\/upload\\/20160826\\/thumb_316_179_57bfa683d6ee1.jpg","alt":"\\u8ba2\\u9605\\u53f7","seq":"0"},{"url":".\\/data\\/upload\\/20160825\\/thumb_489_356_57b6b0b55485b.jpg","alt":"iabout-pic","seq":"1"}]', NULL),
(90, '<p>烟酒aaaaasdfgasdf</p>', 0, 0, '', 0, 1, '', '[{"url":".\\/data\\/upload\\/20160826\\/thumb_312_196_57bfa6573cfc8.jpg","alt":"\\u8ba2\\u9605\\u53f7","seq":"0"},{"url":".\\/data\\/upload\\/20160826\\/thumb_316_179_57bfa683d6ee1.jpg","alt":"\\u8ba2\\u9605\\u53f7","seq":"0"},{"url":".\\/data\\/upload\\/20160825\\/thumb_489_356_57b6b0b55485b.jpg","alt":"iabout-pic","seq":"1"}]', NULL),
(92, '<p>烟酒aaaaasdfgasdf</p>', 0, 0, '', 0, 1, '', '[{"url":".\\/data\\/upload\\/20160826\\/thumb_312_196_57bfa6573cfc8.jpg","alt":"\\u8ba2\\u9605\\u53f7","seq":"0"},{"url":".\\/data\\/upload\\/20160826\\/thumb_316_179_57bfa683d6ee1.jpg","alt":"\\u8ba2\\u9605\\u53f7","seq":"0"},{"url":".\\/data\\/upload\\/20160825\\/thumb_489_356_57b6b0b55485b.jpg","alt":"iabout-pic","seq":"1"}]', NULL),
(93, '<p>烟酒aaaaasdfgasdf</p>', 0, 0, '', 0, 1, '', '[{"url":".\\/data\\/upload\\/20160826\\/thumb_312_196_57bfa6573cfc8.jpg","alt":"\\u8ba2\\u9605\\u53f7","seq":"0"},{"url":".\\/data\\/upload\\/20160826\\/thumb_316_179_57bfa683d6ee1.jpg","alt":"\\u8ba2\\u9605\\u53f7","seq":"0"},{"url":".\\/data\\/upload\\/20160825\\/thumb_489_356_57b6b0b55485b.jpg","alt":"iabout-pic","seq":"1"}]', NULL),
(94, '<p>烟酒aaaaasdfgasdf</p>', 0, 0, '', 0, 1, '', '[{"url":".\\/data\\/upload\\/20160826\\/thumb_312_196_57bfa6573cfc8.jpg","alt":"\\u8ba2\\u9605\\u53f7","seq":"0"},{"url":".\\/data\\/upload\\/20160826\\/thumb_316_179_57bfa683d6ee1.jpg","alt":"\\u8ba2\\u9605\\u53f7","seq":"0"},{"url":".\\/data\\/upload\\/20160825\\/thumb_489_356_57b6b0b55485b.jpg","alt":"iabout-pic","seq":"1"}]', NULL),
(95, '<p>烟酒aaaaasdfgasdf</p>', 0, 0, '', 0, 1, '', '[{"url":".\\/data\\/upload\\/20160826\\/thumb_312_196_57bfa6573cfc8.jpg","alt":"\\u8ba2\\u9605\\u53f7","seq":"0"},{"url":".\\/data\\/upload\\/20160826\\/thumb_316_179_57bfa683d6ee1.jpg","alt":"\\u8ba2\\u9605\\u53f7","seq":"0"},{"url":".\\/data\\/upload\\/20160825\\/thumb_489_356_57b6b0b55485b.jpg","alt":"iabout-pic","seq":"1"}]', NULL),
(98, '<p>this is a new product<br/></p>', 0, 0, '', 0, 1, '', '[]', NULL),
(99, '<p><span style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 30px;">This product is the general MAG / CO2 welding wire and suitable for all-position welding</span></p>', 0, 0, '', 0, 1, '', '[{"url":"data\\/upload\\/20160927\\/57e9e1e86dbdc.jpg","alt":"ipart3-04","seq":"0"},{"url":"data\\/upload\\/20160927\\/57e9d0cfbfe81.jpg","alt":"factory-pic1","seq":"1"},{"url":"data\\/upload\\/20160927\\/57e9d0cfea958.jpg","alt":"ipart3-pic1","seq":"2"},{"url":"data\\/upload\\/20160927\\/57e9d0d010916.jpg","alt":"ipart3-pic2","seq":"3"}]', '<table class="p2_table" cellspacing="0"><tbody><tr class="p2_kuan1"><td class="p2_kuan1">Specification:</td><td class="p2_kuan2">ISO</td><td class="p2_kuan3">G42 4 M21 3Si1</td></tr><tr class="p2_kuan1"><td class="p2_kuan1"><br/></td><td class="p2_kuan2">AWS</td><td class="p2_kuan3">ER70S-6</td></tr><tr class="p2_kuan1"><td class="p2_kuan1"><br/></td><td class="p2_kuan2">GB</td><td class="p2_kuan3">ER50-6</td></tr><tr class="p2_kuan1"><td class="p2_kuan1">Shieding Gas:</td><td colspan="2">C02</td></tr></tbody></table>'),
(100, '<p>this is Co2 wire product</p>', 0, 0, '', 0, 1, '', '[]', NULL),
(101, '<p>看看是否有</p>', 0, 0, '', 0, 1, '', '[{"url":"data\\/upload\\/20161008\\/57f8b1a5c5826.jpg","alt":"ipart3-01","seq":"0"},{"url":"data\\/upload\\/20161008\\/57f8b1a5f1b38.jpg","alt":"ipart3-02","seq":"1"},{"url":"data\\/upload\\/20161008\\/57f8b1a618a97.jpg","alt":"ipart3-03","seq":"2"},{"url":"data\\/upload\\/20161008\\/57f8b1a62abab.jpg","alt":"ipart3-04","seq":"3"}]', NULL),
(102, NULL, 0, 0, '', 0, 1, '', '[]', '<p>测试二级菜单下左侧是否可展开</p>'),
(103, '<p><span style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 30px;">This product is the general MAG / CO2 welding wire and suitable for all-position welding</span></p>', 0, 0, '', 0, 1, '102|5,101|5,100', '[{"url":"data\\/upload\\/20160927\\/57e9e1e86dbdc.jpg","alt":"ipart3-04","seq":"0"},{"url":"data\\/upload\\/20160927\\/57e9d0cfbfe81.jpg","alt":"factory-pic1","seq":"1"},{"url":"data\\/upload\\/20160927\\/57e9d0cfea958.jpg","alt":"ipart3-pic1","seq":"2"},{"url":"data\\/upload\\/20160927\\/57e9d0d010916.jpg","alt":"ipart3-pic2","seq":"3"}]', '<table class="p2_table" cellspacing="0"><tbody><tr class="p2_kuan1"><td class="p2_kuan1">Specification:</td><td class="p2_kuan2">ISO</td><td class="p2_kuan3">G42 4 M21 3Si1</td></tr><tr class="p2_kuan1"><td class="p2_kuan1"><br/></td><td class="p2_kuan2">AWS</td><td class="p2_kuan3">ER70S-6</td></tr><tr class="p2_kuan1"><td class="p2_kuan1"><br/></td><td class="p2_kuan2">GB</td><td class="p2_kuan3">ER50-6</td></tr><tr class="p2_kuan1"><td class="p2_kuan1">Shieding Gas:</td><td colspan="2">C02</td></tr></tbody></table>');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_reminder`
--

CREATE TABLE IF NOT EXISTS `cmf_reminder` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `type` tinyint(1) NOT NULL COMMENT '1-服务器  2-域名',
  `endtime` int(11) NOT NULL COMMENT '到期时间',
  `addtime` int(11) NOT NULL COMMENT '添加时间',
  `btime` int(11) NOT NULL COMMENT '开始提醒时间',
  `content` text NOT NULL COMMENT '描述',
  `rday` int(11) NOT NULL COMMENT '提前提醒天数',
  `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0-未过期  1-已过期',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;

--
-- 转存表中的数据 `cmf_reminder`
--

INSERT INTO `cmf_reminder` (`id`, `type`, `endtime`, `addtime`, `btime`, `content`, `rday`, `status`) VALUES
(2, 1, 1467993600, 1466666170, 1466992433, '人人人人人人人', 4, 1),
(4, 2, 1479488461, 1466666241, 1470931200, '马上到期啦', 7, 0),
(5, 2, 1467993600, 1466666273, 1467388800, '到期了啊啊', 7, 1);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_report_comment`
--

CREATE TABLE IF NOT EXISTS `cmf_report_comment` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `addtime` int(11) NOT NULL COMMENT '添加时间',
  `title` varchar(255) NOT NULL COMMENT '评论标题',
  `text` text NOT NULL COMMENT '评论内容',
  `uid` int(11) NOT NULL COMMENT '添加用户',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;

--
-- 转存表中的数据 `cmf_report_comment`
--

INSERT INTO `cmf_report_comment` (`id`, `addtime`, `title`, `text`, `uid`) VALUES
(1, 1466145742, '是订饭它它', '<p>对方的回复给回复个韩国进口款</p>', 1),
(2, 1466147421, '阿斯顿发斯蒂芬', '<p>阿萨德法师打发斯蒂芬</p>', 1),
(3, 1466147557, '阿斯顿发斯蒂芬', '<p>阿萨德法师打发斯蒂芬柔柔弱弱</p><p><br/></p><p>阿斯蒂芬</p><p><br/></p><p><strong>ffz</strong><br/></p>', 1);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_role`
--

CREATE TABLE IF NOT EXISTS `cmf_role` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(20) NOT NULL COMMENT '角色名称',
  `pid` smallint(6) DEFAULT NULL COMMENT '父角色ID',
  `status` tinyint(1) unsigned DEFAULT NULL COMMENT '状态',
  `remark` varchar(255) DEFAULT NULL COMMENT '备注',
  `create_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
  `update_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  `listorder` int(3) NOT NULL DEFAULT '0' COMMENT '排序字段',
  `admin_main_index` varchar(200) NOT NULL DEFAULT 'index' COMMENT '后台首页页面',
  PRIMARY KEY (`id`),
  KEY `parentId` (`pid`),
  KEY `status` (`status`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ;

--
-- 转存表中的数据 `cmf_role`
--

INSERT INTO `cmf_role` (`id`, `name`, `pid`, `status`, `remark`, `create_time`, `update_time`, `listorder`, `admin_main_index`) VALUES
(1, '超级管理员', 0, 1, '拥有网站最高管理员权限！', 1329633709, 1329633709, 0, 'main_boss'),
(2, '编辑', 0, 1, '管理产品', 1463387819, 1477883486, 0, 'main_yxtj'),
(3, '文章管理', 0, 1, '文章管理', 1465713522, 0, 0, 'index'),
(4, '业务经理', NULL, 1, 'CRM业务经理', 1468916092, 1477300610, 0, 'main_manager'),
(5, '业务员', NULL, 1, 'CRM业务员', 1468916102, 1477298042, 0, 'main_salesman'),
(6, '老板', 0, 1, '老板', 1477892527, 1477892550, 0, 'main_boss'),
(7, '营销统计', 0, 1, '营销统计', 1477907029, 0, 0, 'main_yxtj');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_role_user`
--

CREATE TABLE IF NOT EXISTS `cmf_role_user` (
  `role_id` int(11) unsigned DEFAULT '0' COMMENT '角色 id',
  `user_id` int(11) DEFAULT '0' COMMENT '用户id',
  KEY `group_id` (`role_id`),
  KEY `user_id` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `cmf_role_user`
--

INSERT INTO `cmf_role_user` (`role_id`, `user_id`) VALUES
(1, 12),
(3, 14),
(2, 14),
(1, 14),
(4, 15),
(4, 19),
(5, 17),
(5, 19),
(5, 21),
(1, 22),
(1, 23),
(6, 24),
(7, 25);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_route`
--

CREATE TABLE IF NOT EXISTS `cmf_route` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '路由id',
  `full_url` varchar(255) DEFAULT NULL COMMENT '完整url， 如：portal/list/index?id=1',
  `url` varchar(255) DEFAULT NULL COMMENT '实际显示的url',
  `listorder` int(5) DEFAULT '0' COMMENT '排序，优先级，越小优先级越高',
  `status` tinyint(1) DEFAULT '1' COMMENT '状态，1：启用 ;0：不启用',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- 表的结构 `cmf_salesman`
--

CREATE TABLE IF NOT EXISTS `cmf_salesman` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `uname` char(40) NOT NULL DEFAULT '0' COMMENT '用户名',
  `email` char(40) NOT NULL DEFAULT '0' COMMENT '邮箱',
  `content` text COMMENT '备注',
  `status` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT '0:关闭，1：启用',
  PRIMARY KEY (`id`),
  KEY `status` (`status`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

--
-- 转存表中的数据 `cmf_salesman`
--

INSERT INTO `cmf_salesman` (`id`, `uname`, `email`, `content`, `status`) VALUES
(1, '赵四', '514583562@qq.com', '最新添加', 1),
(2, '张三', '3233816752@qq.com', '测试用的', 1);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_search`
--

CREATE TABLE IF NOT EXISTS `cmf_search` (
  `searchid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT '信息id',
  `catid` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '栏目id',
  `modelid` smallint(5) NOT NULL COMMENT '模型id',
  `adddate` int(10) unsigned NOT NULL COMMENT '添加时间',
  `data` text NOT NULL COMMENT '数据',
  PRIMARY KEY (`searchid`),
  KEY `id` (`id`,`catid`,`adddate`) USING BTREE,
  KEY `modelid` (`modelid`,`catid`),
  FULLTEXT KEY `data` (`data`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=42 ;

--
-- 转存表中的数据 `cmf_search`
--

INSERT INTO `cmf_search` (`searchid`, `id`, `catid`, `modelid`, `adddate`, `data`) VALUES
(1, 20, 61, 1, 1466760553, '61这是动静子栏目2内容lasldflasdfasdf这是动静子栏目2内容Supply'),
(2, 30, 96, 1, 1474597967, '96WEAREFACTORY30CustomWEAREFACTORY'),
(3, 31, 96, 1, 1474598033, '96HIGH-QUALITYPRODUCTS31ChinaHIGH-QUALITYPRODUCTS'),
(4, 32, 96, 1, 1474598101, '96PROFESSIONALEXPORTEXPERINCE32ODMPROFESSIONALEXPORTEXPERINCE'),
(5, 33, 96, 1, 1474598158, '96MUTALCOOPRATIONANDDEVELOPMENT33MUTALCOOPRATIONANDDEVELOPMENTWholesaler'),
(6, 38, 94, 1, 1474609198, '94certificate538certificate5Wholesaler'),
(7, 41, 96, 1, 1474612706, '96ProfessionalExportExperince41rebarcoupler'),
(8, 42, 96, 1, 1474612744, '96Howtocarryouttheweldingofsteel...42Howtocarryouttheweldingofsteel...Supplier'),
(9, 5, 99, 2, 1474857144, '990factorytour15factorytour1Supplier'),
(10, 6, 99, 2, 1474858172, '990factorytour26factorytour1Supplier'),
(11, 7, 99, 2, 1474858172, '990factorytour37factorytour1Supplier'),
(12, 8, 99, 2, 1474858172, '990factorytour48factorytour1Supplier'),
(13, 9, 99, 2, 1474858172, '990factorytour59factorytour1Supplier'),
(14, 4, 94, 3, 1474616577, '94certificate54Chinacertificate'),
(15, 5, 94, 3, 1474621880, '94certificate45Chinacertificate4'),
(16, 6, 94, 3, 1474621896, '94certificate36certificate3SupplierChina'),
(17, 7, 94, 3, 1474621911, '94certificate27Customcertificate2'),
(18, 8, 94, 3, 1474621926, '94certificate18certificate1Price'),
(19, 72, 54, 5, 1471330644, '540asfcs\\"asfbsasfdaasdasfcdsdcfasefca'),
(20, 77, 73, 5, 1471499383, '730美美哒rebarcoupler77'),
(21, 80, 73, 5, 1471500767, '730tretytretyWholesaleerter'),
(22, 81, 78, 5, 1471567819, '780oneoneoenoneoneoenFactoryone'),
(23, 82, 73, 5, 1471568645, '730小碗儿小碗儿1rebarcouplerxiao'),
(24, 83, 73, 5, 1471573159, '730钻石钻石1钻石Factoryzuanshi'),
(25, 84, 73, 5, 1471573714, '730水杯水杯Manufacture水杯shuibei'),
(26, 87, 73, 5, 1471581865, '730烟酒烟酒1烟酒SupplierChinayanjiu'),
(27, 88, 78, 5, 1471589352, '780烟酒copy烟酒1烟酒SupplierChina88'),
(28, 90, 73, 5, 1472179337, '7301223coo烟酒1烟酒SupplierChina90'),
(29, 91, 78, 5, 1472179531, '780烟酒intro烟酒1烟酒SupplierChina91'),
(30, 92, 78, 5, 1472179723, '780asdf烟酒1烟酒SupplierChinaasdf'),
(31, 93, 78, 5, 1472180347, '780烟酒coo11烟酒1烟酒SupplierChina93'),
(32, 94, 78, 5, 1472180347, '780烟酒coo22烟酒1烟酒SupplierChina94'),
(33, 95, 78, 5, 1472180533, '780烟酒coo55烟酒1烟酒SupplierChina11'),
(34, 98, 81, 5, 1474522205, '810product1newproduct11rebarcoupler'),
(35, 99, 81, 5, 1474522761, '810product2newproduct22Manufactureproduct2productrr'),
(36, 100, 77, 5, 1474522928, '770Co2wireproductCo2wireproduct1100'),
(37, 101, 77, 5, 1474526538, '770Co2wireproduct21Co2wireproduct2ExporterChina101'),
(38, 102, 97, 5, 1475030166, '970测试展开2HighQuality测试展开102'),
(39, 1, 95, 31, 1474852441, 'WhereisHebeiXINYUWeldingChinaWhereisHebeiXINYUWeldingManufacturerChinaWhereisHebeiXINYUWelding950'),
(40, 2, 95, 31, 1474852494, 'WhereisHebeiXINYUWelding2SupplierWhereisHebeiXINYUWelding2WholesaleWhereisHebeiXINYUWelding2950'),
(41, 3, 95, 31, 1475022391, '3WhereisHebeiXINYUWelding2SupplierWhereisHebeiXINYUWelding2Wholesalexiaopingguo950');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_search_keyword`
--

CREATE TABLE IF NOT EXISTS `cmf_search_keyword` (
  `keyword` char(20) NOT NULL COMMENT '关键字',
  `pinyin` char(20) NOT NULL COMMENT '关键字拼音',
  `searchnums` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '搜索次数',
  `data` char(20) NOT NULL,
  UNIQUE KEY `keyword` (`keyword`),
  UNIQUE KEY `pinyin` (`pinyin`),
  FULLTEXT KEY `data` (`data`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `cmf_search_keyword`
--

INSERT INTO `cmf_search_keyword` (`keyword`, `pinyin`, `searchnums`, `data`) VALUES
('222', '222', 6, ''),
('22', '22', 2, ''),
('123', '123', 4, ''),
('子', 'zi', 1, ''),
('shoutao', 'shoutao', 1, ''),
('德国', 'deguo', 1, ''),
('ss', 'ss', 4, ''),
('天气', 'tianqi', 4, ''),
('dachuizi', 'dachuizi', 4, ''),
('中', 'zhong', 1, ''),
('union', 'union', 3, ''),
('asfbs', 'asfbs', 1, ''),
('79', '79', 1, ''),
('pliers', 'pliers', 6, ''),
('sadf', 'sadf', 1, ''),
('11', '11', 5, ''),
('factory', 'factory', 231, ''),
('tour', 'tour', 32, ''),
('asd', 'asd', 4, ''),
('sdf', 'sdf', 1, ''),
('product', 'product', 2, ''),
('certificate', 'certificate', 4, ''),
('cer', 'cer', 69, ''),
('asdf', 'asdf', 6, ''),
('aa', 'aa', 1, '');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_slide`
--

CREATE TABLE IF NOT EXISTS `cmf_slide` (
  `slide_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `slide_cid` int(11) NOT NULL COMMENT '幻灯片分类 id',
  `slide_name` varchar(255) NOT NULL COMMENT '幻灯片名称',
  `slide_pic` varchar(255) DEFAULT NULL COMMENT '幻灯片图片',
  `slide_url` varchar(255) DEFAULT NULL COMMENT '幻灯片链接',
  `slide_des` varchar(255) DEFAULT NULL COMMENT '幻灯片描述',
  `slide_content` text COMMENT '幻灯片内容',
  `slide_status` int(2) NOT NULL DEFAULT '1' COMMENT '状态，1显示，0不显示',
  `listorder` int(10) DEFAULT '0' COMMENT '排序',
  PRIMARY KEY (`slide_id`),
  KEY `slide_cid` (`slide_cid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

--
-- 转存表中的数据 `cmf_slide`
--

INSERT INTO `cmf_slide` (`slide_id`, `slide_cid`, `slide_name`, `slide_pic`, `slide_url`, `slide_des`, `slide_content`, `slide_status`, `listorder`) VALUES
(1, 1, 'ABC', '\\thinkcmf//data/upload//20160518/573bd44c7f758.jpg', '', '', '阿萨德法师', 1, 0),
(2, 1, '22222222', '\\thinkcmf//data/upload//20160719/578d867a73299.png', '', '', '222222222222222', 1, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_slide_cat`
--

CREATE TABLE IF NOT EXISTS `cmf_slide_cat` (
  `cid` int(11) NOT NULL AUTO_INCREMENT,
  `cat_name` varchar(255) NOT NULL COMMENT '幻灯片分类',
  `cat_idname` varchar(255) NOT NULL COMMENT '幻灯片分类标识',
  `cat_remark` text COMMENT '分类备注',
  `cat_status` int(2) NOT NULL DEFAULT '1' COMMENT '状态，1显示，0不显示',
  PRIMARY KEY (`cid`),
  KEY `cat_idname` (`cat_idname`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;

--
-- 转存表中的数据 `cmf_slide_cat`
--

INSERT INTO `cmf_slide_cat` (`cid`, `cat_name`, `cat_idname`, `cat_remark`, `cat_status`) VALUES
(1, '首页轮播', 'bannerlun', '首页轮播图', 1),
(2, '分页轮播', 'fenlun', '分页轮播', 1),
(3, '中间轮播', 'zhonglun', '中间轮播', 1);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_tdks`
--

CREATE TABLE IF NOT EXISTS `cmf_tdks` (
  `id` int(100) NOT NULL AUTO_INCREMENT,
  `catid` int(100) NOT NULL,
  `title` varchar(200) NOT NULL,
  `keywords` varchar(200) NOT NULL,
  `description` varchar(200) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=13 ;

--
-- 转存表中的数据 `cmf_tdks`
--

INSERT INTO `cmf_tdks` (`id`, `catid`, `title`, `keywords`, `description`) VALUES
(1, 10, 's:29:"Manufacturer,Supplier,Factory";', 's:39:"Maker,Manufacturer China,Supplier China";', 'a:2:{s:7:"iswrite";s:1:"0";s:13:"description_j";s:0:"";}'),
(2, 23, 's:38:"Manufacturer,Supplier,Factory,Exporter";', 's:44:"Manufacturer,Supplier,Factory,Exporter,Maker";', 'a:2:{s:7:"iswrite";s:1:"0";s:13:"description_j";s:0:"";}'),
(3, 22, 's:38:"Manufacturer,Supplier,Factory,Exporter";', 's:44:"Manufacturer,Supplier,Factory,Exporter,Maker";', 'a:2:{s:7:"iswrite";s:1:"0";s:13:"description_j";s:0:"";}'),
(4, 29, 's:32:"Landscape Grass, Landscape Grass";', 's:103:"Landscape Grass, Landscape Grass,Landscape xxxxxGrass, Landscape Grass,Landscape Grass, Landscape Grass";', 'a:2:{s:7:"iswrite";s:1:"1";s:13:"description_j";s:104:"ssssssLandscape Grass, Landscape Grass,Landscape Grass, Landscape Grass,Landscape Grass, Landscape Grass";}'),
(5, 30, 's:5:"News1";', 's:5:"News2";', 'a:2:{s:7:"iswrite";s:1:"0";s:13:"description_j";s:5:"News3";}'),
(6, 9, 's:53:"Manufacturer,Supplier,Factory,Exporter,China,for sale";', 's:39:"Maker,Manufacturer China,Supplier China";', 'a:2:{s:7:"iswrite";s:1:"0";s:13:"description_j";s:0:"";}'),
(7, 1, 's:71:"china,Buy * in China,* Supplier China,* Maker Chinaq,* for sale,* China";', 's:97:"china,Buy * in China,Wholesale *,* Exporter China,* Factory China,* Manufacturer China,* for sale";', 'a:2:{s:7:"iswrite";s:1:"0";s:13:"description_j";s:0:"";}'),
(8, 6, 's:34:"* China,* Factory China,* for sale";', 's:59:"* Manufacturer China,* Factory China,Buy * in China,* China";', 'a:2:{s:7:"iswrite";s:1:"0";s:13:"description_j";s:0:"";}'),
(9, 67, 's:114:"* Supplier,*  Manufacturer,* Company,* China,Export *,* Supplier,* Wholesaler,* Manufacturer China,* Factory China";', 's:48:"* Supplier,* Factory,* China,Export *,* for Sale";', 'a:2:{s:7:"iswrite";s:1:"1";s:13:"description_j";s:0:"";}'),
(10, 72, 's:0:"";', 's:0:"";', 'a:2:{s:7:"iswrite";s:1:"1";s:13:"description_j";s:0:"";}'),
(11, 73, 's:0:"";', 's:0:"";', 'a:2:{s:7:"iswrite";s:1:"1";s:13:"description_j";s:0:"";}'),
(12, 96, 's:0:"";', 's:0:"";', 'a:2:{s:7:"iswrite";s:1:"0";s:13:"description_j";s:0:"";}');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_terms`
--

CREATE TABLE IF NOT EXISTS `cmf_terms` (
  `term_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '分类id',
  `name` varchar(200) DEFAULT NULL COMMENT '分类名称',
  `slug` varchar(200) DEFAULT '',
  `taxonomy` varchar(32) DEFAULT NULL COMMENT '分类类型',
  `description` longtext COMMENT '分类描述',
  `parent` bigint(20) unsigned DEFAULT '0' COMMENT '分类父id',
  `count` bigint(20) DEFAULT '0' COMMENT '分类文章数',
  `path` varchar(500) DEFAULT NULL COMMENT '分类层级关系路径',
  `seo_title` varchar(500) DEFAULT NULL,
  `seo_keywords` varchar(500) DEFAULT NULL,
  `seo_description` varchar(500) DEFAULT NULL,
  `list_tpl` varchar(50) DEFAULT NULL COMMENT '分类列表模板',
  `one_tpl` varchar(50) DEFAULT NULL COMMENT '分类文章页模板',
  `listorder` int(5) NOT NULL DEFAULT '0' COMMENT '排序',
  `status` int(2) NOT NULL DEFAULT '1' COMMENT '状态，1发布，0不发布',
  `modelid` int(11) NOT NULL COMMENT '模型表modelid',
  PRIMARY KEY (`term_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;

--
-- 转存表中的数据 `cmf_terms`
--

INSERT INTO `cmf_terms` (`term_id`, `name`, `slug`, `taxonomy`, `description`, `parent`, `count`, `path`, `seo_title`, `seo_keywords`, `seo_description`, `list_tpl`, `one_tpl`, `listorder`, `status`, `modelid`) VALUES
(1, '列表演示', '', 'article', '', 0, 0, '0-1', '', '', '', 'list', 'article', 0, 1, 0),
(2, '瀑布流', '', 'article', '', 0, 0, '0-2', '', '', '', 'list_masonry', 'article', 0, 1, 0),
(3, '分类1', '', 'article', '这是分类1', 1, 0, '0-1-3', '', '', '', 'list', 'article', 0, 1, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_term_relationships`
--

CREATE TABLE IF NOT EXISTS `cmf_term_relationships` (
  `tid` bigint(20) NOT NULL AUTO_INCREMENT,
  `object_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'posts表里文章id',
  `term_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '分类id',
  `listorder` int(10) NOT NULL DEFAULT '0' COMMENT '排序',
  `status` int(2) NOT NULL DEFAULT '1' COMMENT '状态，1发布，0不发布',
  PRIMARY KEY (`tid`),
  KEY `term_taxonomy_id` (`term_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

--
-- 转存表中的数据 `cmf_term_relationships`
--

INSERT INTO `cmf_term_relationships` (`tid`, `object_id`, `term_id`, `listorder`, `status`) VALUES
(1, 1, 1, 0, 1),
(2, 3, 3, 0, 1);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_tert_ss_data`
--

CREATE TABLE IF NOT EXISTS `cmf_tert_ss_data` (
  `id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `content` text,
  `paginationtype` tinyint(1) NOT NULL DEFAULT '0',
  `maxcharperpage` mediumint(6) NOT NULL DEFAULT '0',
  `template` varchar(30) NOT NULL DEFAULT '',
  `paytype` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `allow_comment` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `relation` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- 表的结构 `cmf_tks_library`
--

CREATE TABLE IF NOT EXISTS `cmf_tks_library` (
  `id` int(255) NOT NULL AUTO_INCREMENT,
  `keywords` varchar(255) NOT NULL COMMENT '关键词',
  `c_num` int(200) NOT NULL COMMENT '使用次数',
  `is_use` int(10) NOT NULL COMMENT '是否使用',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=30 ;

--
-- 转存表中的数据 `cmf_tks_library`
--

INSERT INTO `cmf_tks_library` (`id`, `keywords`, `c_num`, `is_use`) VALUES
(1, '* Supplier', 0, 0),
(2, '*  Manufacturer', 0, 0),
(3, '* Factory', 0, 0),
(4, '* Company', 0, 0),
(5, 'China *', 0, 0),
(6, '* China', 0, 0),
(7, '* Supply', 0, 0),
(8, 'Manufacture *', 0, 0),
(9, 'Export *', 0, 0),
(10, '* Wholesale', 0, 0),
(11, '* Supplier', 0, 0),
(12, '* for Sale', 0, 0),
(13, 'Sale *', 0, 0),
(14, '* Wholesaler', 0, 0),
(15, '* Manufacturer China', 0, 0),
(16, '* Exporter China', 0, 0),
(17, '* Factory China', 0, 0),
(18, '* Supplier China', 0, 0),
(19, '* Price', 0, 0),
(20, 'High Quality *', 0, 0),
(21, 'Custom *', 0, 0),
(22, 'ODM *', 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `cmf_urlrule`
--

CREATE TABLE IF NOT EXISTS `cmf_urlrule` (
  `urlruleid` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT '规则id',
  `module` varchar(15) NOT NULL DEFAULT '' COMMENT '所属模块',
  `file` varchar(20) NOT NULL DEFAULT '' COMMENT '所属文件',
  `ishtml` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '生成静态规则 1 静态',
  `urlrule` varchar(255) NOT NULL DEFAULT '' COMMENT 'url规则',
  `example` varchar(255) NOT NULL DEFAULT '' COMMENT '示例',
  PRIMARY KEY (`urlruleid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=37 ;

--
-- 转存表中的数据 `cmf_urlrule`
--

INSERT INTO `cmf_urlrule` (`urlruleid`, `module`, `file`, `ishtml`, `urlrule`, `example`) VALUES
(1, 'content', 'category', 0, 'index.php?g=Content&m=Pagedis&a=lists&catid={$catid}|index.php?g=Content&m=Pagedis&a=lists&catid={$catid}&p={page}', '动态：index.php?g=Content&m=Pagedis&a=lists&catid=1&page=1'),
(2, 'content', 'category', 1, 'html/{$categorydir}{$catdir}/index.html|html/{$categorydir}{$catdir}/index_{$page}.html', '静态：html/news/china/1000.html'),
(3, 'content', 'show', 1, 'html/{$year}/{$catdir}_{$month}/{$id}.html|html/{$year}/{$catdir}_{$month}/{$id}_{$page}.html', '静态：html/2010/catdir_07/1_2.html'),
(4, 'content', 'show', 0, 'index.php?g=Content&m=Pagedis&a=shows&catid={$catid}&id={$id}|index.php?g=Content&m=Pgedis&a=shows&catid={$catid}&id={$id}&page={$page}', '动态：index.php?g=Content&m=Pagedis&a=shows&catid=1&id=1'),
(5, 'content', 'category', 1, 'news/{$catid}.html|news/{$catid}-{$page}.html', '静态：news/1.html'),
(6, 'content', 'category', 0, 'list-{$catid}.html|list-{$catid}-{$page}.html', '伪静态：list-1-1.html'),
(7, 'content', 'tags', 0, 'index.php?a=tags&amp;tagid={$tagid}|index.php?a=tags&amp;tagid={$tagid}&amp;page={$page}', '动态：index.php?a=tags&amp;tagid=1'),
(8, 'content', 'tags', 0, 'index.php?a=tags&amp;tag={$tag}|/index.php?a=tags&amp;tag={$tag}&amp;page={$page}', '动态：index.php?a=tags&amp;tag=标签'),
(9, 'content', 'tags', 0, 'tag-{$tag}.html|tag-{$tag}-{$page}.html', '伪静态：tag-标签.html'),
(10, 'content', 'tags', 0, 'tag-{$tagid}.html|tag-{$tagid}-{$page}.html', '伪静态：tag-1.html'),
(11, 'content', 'index', 1, 'index.html|index_{$page}.html', '静态：index_2.html'),
(12, 'content', 'index', 0, 'index.html|index_{$page}.html', '伪静态：index_2.html'),
(13, 'content', 'index', 0, 'index.php|index.php?page={$page}', '动态：index.php?page=2'),
(14, 'content', 'category', 1, 'download.html|download_{$page}.html', '静态：download.html'),
(15, 'content', 'show', 1, '{$categorydir}{$id}.html|{$categorydir}{$id}_{$page}.html', '静态：/父栏目/1.html'),
(16, 'content', 'show', 1, '{$catdir}/{$id}.html|{$catdir}/{$id}_{$page}.html', '示例：/栏目/1.html'),
(17, 'content', 'category', 0, 'index.php?g=Content&m=Pagedis&a=lists_pic&catid={$catid}|index.php?g=Content&m=Pagedis&a=lists_pic&catid={$catid}&p={page}', '动态图片：index.php?g=Content&m=Pagedis&a=lists_pic&catid=1&page=1'),
(18, 'content', 'category', 0, 'index.php?g=Content&m=Pagedis&a=lists_art&catid={$catid}|index.php?g=Content&m=Pagedis&a=lists_art&catid={$catid}&p={page}', '动态文章：index.php?g=Content&m=Pagedis&a=lists_art&catid=1&page=1'),
(19, 'content', 'category', 0, 'index.php?g=Content&m=Pagedis&a=lists_pro&catid={$catid}|index.php?g=Content&m=Pagedis&a=lists_pro&catid={$catid}&p={page}', '动态产品：index.php?g=Content&m=Pagedis&a=lists_pro&catid=1&page=1'),
(20, 'content', 'category', 0, 'index.php?g=Content&m=Pagedis&a=lists_down&catid={$catid}|index.php?g=Content&m=Pagedis&a=lists_down&catid={$catid}&p={page}', '动态下载：index.php?g=Content&m=Pagedis&a=lists_down&catid=1&page=1'),
(21, 'content', 'show', 0, 'index.php?g=Content&m=Pagedis&a=shows_pic&catid={$catid}&id={$id}|index.php?g=Content&m=Pgedis&a=shows_pic&catid={$catid}&id={$id}&page={$page}', '动态图片：index.php?g=Content&m=Pagedis&a=shows_pic&catid=1&id=1'),
(22, 'content', 'show', 0, 'index.php?g=Content&m=Pagedis&a=shows_art&catid={$catid}&id={$id}|index.php?g=Content&m=Pgedis&a=shows_art&catid={$catid}&id={$id}&page={$page}', '动态文章：index.php?g=Content&m=Pagedis&a=shows_art&catid=1&id=1'),
(23, 'content', 'show', 0, 'index.php?g=Content&m=Pagedis&a=shows_pro&catid={$catid}&id={$id}|index.php?g=Content&m=Pgedis&a=shows_pro&catid={$catid}&id={$id}&page={$page}', '动态产品：index.php?g=Content&m=Pagedis&a=shows_pro&catid=1&id=1'),
(24, 'content', 'show', 0, 'index.php?g=Content&m=Pagedis&a=shows_down&catid={$catid}&id={$id}|index.php?g=Content&m=Pgedis&a=shows_down&catid={$catid}&id={$id}&page={$page}', '动态下载：index.php?g=Content&m=Pagedis&a=shows_down&catid=1&id=1'),
(25, 'content', 'category', 1, '{$categorydir}{$catdir}/index.html|{$categorydir}{$catdir}/index_{$page}.html', '静态下载: html/download/reanod/1.html'),
(26, 'content', 'category', 1, '{$categorydir}{$catdir}/index.html|{$categorydir}{$catdir}/index-{page}.html', '静态产品: html/product/reanod/1.html'),
(27, 'content', 'category', 1, '{$categorydir}{$catdir}/index.html|{$categorydir}{$catdir}/index_{page}.html', '静态文章:  html/article/reanod/1.html'),
(28, 'content', 'category', 1, '{$categorydir}{$catdir}/index.html|{$categorydir}{$catdir}/index_{$page}.html', '静态图片: html/picture/reanod/1.html'),
(29, 'content', 'show', 1, '{$catdir}/{$id}.html|{$catdir}/{$id}_{$page}.html', '静态图片：/栏目/1.html'),
(30, 'content', 'show', 1, '{$catdir}/{$id}.html|{$catdir}/{$id}_{$page}.html', '静态文章：/栏目/1.html'),
(31, 'content', 'show', 1, '{$catdir}/{$id}.html|{$catdir}/{$id}_{$page}.html', '静态产品：/栏目/1.html'),
(32, 'content', 'show', 1, '{$catdir}/{$id}.html|{$catdir}/{$id}_{$page}.html', '静态下载：/栏目/1.html'),
(33, 'content', 'category', 0, 'index.php?g=Content&m=Pagedis&a=lists_faq&catid={$catid}|index.php?g=Content&m=Pagedis&a=lists_faq&catid={$catid}&p={page}', '动态faq：index.php?g=Content&m=Pagedis&a=lists_faq&catid=1&page=1'),
(34, 'content', 'show', 0, 'index.php?g=Content&m=Pagedis&a=shows_faq&catid={$catid}&id={$id}|index.php?g=Content&m=Pgedis&a=shows_faq&catid={$catid}&id={$id}&page={$page}', '动态faq：index.php?g=Content&m=Pagedis&a=shows_faq&catid=1&id=1'),
(35, 'content', 'category', 1, '{$categorydir}{$catdir}/index.html|{$categorydir}{$catdir}/index_{page}.html', '静态faq:  html/faq/reanod/1.html'),
(36, 'content', 'show', 1, '{$catdir}/{$id}.html|{$catdir}/{$id}_{$page}.html', '静态faq：/栏目/1.html');

-- --------------------------------------------------------

--
-- 表的结构 `cmf_user_favorites`
--

CREATE TABLE IF NOT EXISTS `cmf_user_favorites` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` bigint(20) DEFAULT NULL COMMENT '用户 id',
  `title` varchar(255) DEFAULT NULL COMMENT '收藏内容的标题',
  `url` varchar(255) DEFAULT NULL COMMENT '收藏内容的原文地址，不带域名',
  `description` varchar(500) DEFAULT NULL COMMENT '收藏内容的描述',
  `table` varchar(50) DEFAULT NULL COMMENT '收藏实体以前所在表，不带前缀',
  `object_id` int(11) DEFAULT NULL COMMENT '收藏内容原来的主键id',
  `createtime` int(11) DEFAULT NULL COMMENT '收藏时间',
  PRIMARY KEY (`id`),
  KEY `uid` (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

-- --------------------------------------------------------

--
-- 表的结构 `cmf_visits`
--

CREATE TABLE IF NOT EXISTS `cmf_visits` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `ip` varchar(100) NOT NULL,
  `country` varchar(100) DEFAULT NULL COMMENT '国家',
  `url` varchar(100) NOT NULL COMMENT '页面链接',
  `title` varchar(200) NOT NULL COMMENT '头部',
  `clicks` int(10) unsigned NOT NULL DEFAULT '1' COMMENT '点击量',
  `time` int(10) NOT NULL COMMENT '时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1792 ;

