
--
-- 表的结构 `#~eifr~#_ad`
--

DROP TABLE IF EXISTS `#~eifr~#_ad`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_ad` (
  `id` int(4) NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL DEFAULT '',
  `channel_id` text NOT NULL,
  `layout_id` int(4) NOT NULL DEFAULT '0',
  `addtime` int(11) NOT NULL DEFAULT '0',
  `ip` varchar(20) NOT NULL DEFAULT '',
  `starttime` int(11) NOT NULL DEFAULT '0',
  `endtime` int(11) NOT NULL DEFAULT '0',
  `content_open` text NOT NULL,
  `content_stop` text NOT NULL,
  `flag` tinyint(1) NOT NULL DEFAULT '0',
  `uid` int(8) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `#~eifr~#_ad`
--

INSERT INTO `#~eifr~#_ad` (`id`, `title`, `channel_id`, `layout_id`, `addtime`, `ip`, `starttime`, `endtime`, `content_open`, `content_stop`, `flag`, `uid`) VALUES
(1, 'google 728x90', '-1', 23, 1174797741, '127.0.0.1', 1173069660, 0, '<script type="text/javascript"><!--\r\ngoogle_ad_client = "ca-pub-9807678503835540";\r\n/* 728x90, 创建于 09-8-14 */\r\ngoogle_ad_slot = "8019582235";\r\ngoogle_ad_width = 728;\r\ngoogle_ad_height = 90;\r\n//-->\r\n</script>\r\n<script type="text/javascript"\r\nsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js">\r\n</script>', '<a href="http://www.eifr.com" target="_blank"><img src="linkfiles/igame_468x60.gif" border="0"></a>', 1, 0),
(2, 'google 728x90', '-1', 34, 1174804446, '127.0.0.1', 0, 0, '<script type="text/javascript"><!--\r\ngoogle_ad_client = "ca-pub-9807678503835540";\r\n/* 728x90, 创建于 09-8-14 */\r\ngoogle_ad_slot = "8019582235";\r\ngoogle_ad_width = 728;\r\ngoogle_ad_height = 90;\r\n//-->\r\n</script>\r\n<script type="text/javascript"\r\nsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js">\r\n</script>', '<a href="http://www.eifr.com" target="_blank"><img src="linkfiles/igame_468x60.gif" border="0"></a>', 1, 0),
(3, 'google 728x90', '-1', 35, 1175318708, '127.0.0.1', 1173331490, 0, '<script type="text/javascript"><!--\r\ngoogle_ad_client = "ca-pub-9807678503835540";\r\n/* 728x90, 创建于 09-8-14 */\r\ngoogle_ad_slot = "8019582235";\r\ngoogle_ad_width = 728;\r\ngoogle_ad_height = 90;\r\n//-->\r\n</script>\r\n<script type="text/javascript"\r\nsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js">\r\n</script>', '<a href="http://www.eifr.com" target="_blank"><img src="linkfiles/igame_468x60.gif" border="0"></a>', 1, 0),
(4, 'google 728x90', '-1', 36, 1175332384, '127.0.0.1', 1173085963, 0, '<script type="text/javascript"><!--\r\ngoogle_ad_client = "ca-pub-9807678503835540";\r\n/* 728x90, 创建于 09-8-14 */\r\ngoogle_ad_slot = "8019582235";\r\ngoogle_ad_width = 728;\r\ngoogle_ad_height = 90;\r\n//-->\r\n</script>\r\n<script type="text/javascript"\r\nsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js">\r\n</script>', '<a href="http://www.eifr.com" target="_blank"><img src="linkfiles/igame_468x60.gif" border="0"></a>', 1, 0),
(5, 'google 728x90', '-1', 50, 1175332444, '127.0.0.1', 1173696630, 0, '<script type="text/javascript"><!--\r\ngoogle_ad_client = "ca-pub-9807678503835540";\r\n/* 728x90, 创建于 09-8-14 */\r\ngoogle_ad_slot = "8019582235";\r\ngoogle_ad_width = 728;\r\ngoogle_ad_height = 90;\r\n//-->\r\n</script>\r\n<script type="text/javascript"\r\nsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js">\r\n</script>', '<a href="http://www.eifr.com" target="_blank"><img src="linkfiles/igame_468x60.gif" border="0"></a>', 1, 0),
(6, 'google 728x90', '-1', 38, 1175332524, '127.0.0.1', 0, 0, '<script type="text/javascript"><!--\r\ngoogle_ad_client = "ca-pub-9807678503835540";\r\n/* 728x90, 创建于 09-8-14 */\r\ngoogle_ad_slot = "8019582235";\r\ngoogle_ad_width = 728;\r\ngoogle_ad_height = 90;\r\n//-->\r\n</script>\r\n<script type="text/javascript"\r\nsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js">\r\n</script>', '<a href="http://www.eifr.com" target="_blank"><img src="linkfiles/igame_468x60.gif" border="0"></a>', 1, 0),
(7, 'google 728x90 txt', '', 72, 1175332575, '127.0.0.1', 0, 0, '<div style="margin-top:10px;">\r\n<script type="text/javascript"><!--\r\ngoogle_ad_client = "ca-pub-9807678503835540";\r\n/* 728*90 txt */\r\ngoogle_ad_slot = "3262927478";\r\ngoogle_ad_width = 728;\r\ngoogle_ad_height = 90;\r\n//-->\r\n</script>\r\n<script type="text/javascript"\r\nsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js">\r\n</script>\r\n</div>', '<a href="http://www.eifr.com" target="_blank"><img src="linkfiles/igame_468x60.gif" border="0"></a>', 1, 0),
(8, 'google 120x90 *2', '-1', 71, 1175332722, '127.0.0.1', 0, 0, '<div style="padding:10px 0 0 10px; ">\r\n<script type="text/javascript"><!--\r\ngoogle_ad_client = "ca-pub-9807678503835540";\r\n/* 120x90 - 1 */\r\ngoogle_ad_slot = "1092767684";\r\ngoogle_ad_width = 120;\r\ngoogle_ad_height = 90;\r\n//-->\r\n</script>\r\n<script type="text/javascript"\r\nsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js">\r\n</script>\r\n<script type="text/javascript"><!--\r\ngoogle_ad_client = "ca-pub-9807678503835540";\r\n/* 120x90 - 2 */\r\ngoogle_ad_slot = "0620796078";\r\ngoogle_ad_width = 120;\r\ngoogle_ad_height = 90;\r\n//-->\r\n</script>\r\n<script type="text/javascript"\r\nsrc="http://pagead2.googlesyndication.com/pagead/show_ads.js">\r\n</script>\r\n</div>', '<a href="http://www.eifr.com" target="_blank"><img src="linkfiles/image/eifr_ad3.gif" border="0"></a>', 1, 0);

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

--
-- 表的结构 `#~eifr~#_address`
--

DROP TABLE IF EXISTS `#~eifr~#_address`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_address` (
  `id` varchar(20) NOT NULL DEFAULT '',
  `title` varchar(255) NOT NULL DEFAULT '',
  `ordernum` int(2) NOT NULL DEFAULT '0',
  `uid` int(6) NOT NULL DEFAULT '0',
  `ip` varchar(20) NOT NULL DEFAULT '',
  `addtime` int(11) NOT NULL DEFAULT '0',
  `flag` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `#~eifr~#_address`
--


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

--
-- 表的结构 `#~eifr~#_adminmenu`
--

DROP TABLE IF EXISTS `#~eifr~#_adminmenu`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_adminmenu` (
  `id` varchar(20) NOT NULL DEFAULT '',
  `title` varchar(20) NOT NULL DEFAULT '',
  `tourl` varchar(255) NOT NULL DEFAULT '',
  `fileurl` varchar(255) NOT NULL DEFAULT '',
  `acl` int(4) NOT NULL DEFAULT '0',
  `parameter` text NOT NULL,
  `ordernum` int(2) NOT NULL DEFAULT '0',
  `intro` text NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `type` tinyint(1) NOT NULL DEFAULT '0',
  `uid` int(10) NOT NULL DEFAULT '0',
  `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `#~eifr~#_adminmenu`
--

INSERT INTO `#~eifr~#_adminmenu` (`id`, `title`, `tourl`, `fileurl`, `acl`, `parameter`, `ordernum`, `intro`, `status`, `type`, `uid`, `is_delete`) VALUES
('0201', '所有文章', 'mod_article/article.php', '', 31, '', 1, '', 0, 0, 0, 0),
('0101', '频道分类', 'mod_channel/channel.php', '', 31, '', 1, '', 0, 0, 0, 0),
('02', '文章管理', '../mod_article/article.php', '../images/wordprocessor_48.gif', 31, '', 6, '', 0, 0, 0, 0),
('01', '频道管理', '../mod_channel/channel.php', '../images/folder_48.gif', 31, '', 5, '', 0, 0, 0, 0),
('03', '用户管理', '../mod_user/user.php', '../images/user_48.gif', 31, '', 7, '', 0, 0, 0, 0),
('0306', '用户选择', 'mod_user/user_select.php', '', 17, '', 12, '', 1, 0, 0, 0),
('0301', '用户列表', 'mod_user/user.php', '', 31, '', 1, '', 0, 0, 0, 0),
('00', '系统管理', '../mod_config/config.php', '../images/system_48.gif', 31, '', 4, '', 0, 0, 0, 0),
('0001', '菜单管理', 'mod_adminmenu/adminmenu.php', '', 31, '', 2, '', 0, 0, 0, 0),
('0002', '菜单编辑', 'mod_adminmenu/adminmenu_edit.php', '', 31, '', 3, '', 1, 0, 0, 0),
('0303', '用户组权限', 'mod_adminmenu/adminmenu_auth_edit.php', '', 31, '', 10, '', 1, 0, 0, 0),
('0302', '用户组', 'mod_user_class/user_class.php', '', 31, '', 2, '', 0, 0, 0, 0),
('0304', '用户编辑', 'mod_user/user_edit.php', '', 31, '', 2, '', 1, 0, 0, 0),
('0305', '用户组编辑', 'mod_user_class/user_class_edit.php', '', 31, '', 9, '', 1, 0, 0, 0),
('04', '我的资料', '../mod_mydata/mydata_edit.php', '../images/mydata_48.gif', 31, '', 16, '', 0, 0, 0, 0),
('0401', '资料修改', 'mod_mydata/mydata_edit.php', '', 4, '', 1, '', 0, 0, 0, 0),
('0103', '频道编辑', 'mod_channel/channel_edit.php', '', 31, '', 2, '', 1, 0, 0, 0),
('0204', '文章编辑', 'mod_article/article_edit.php', '', 31, '', 8, '', 1, 0, 0, 0),
('0205', '文章预览', 'mod_article/article_view.php', '', 1, '', 13, '', 1, 0, 0, 0),
('0003', '模板管理', 'mod_template/template.php', '', 31, '', 3, '', 0, 0, 0, 0),
('0004', '模板编辑', 'mod_template/template_edit.php', '', 31, '', 4, '', 1, 0, 0, 0),
('06', '评论管理', '../mod_comment/comment.php', '../images/comments_48.png', 31, '', 10, '', 0, 0, 0, 0),
('0601', '评论列表', 'mod_comment/comment.php', '', 31, '', 1, '', 0, 0, 0, 0),
('07', '广告链接', '../mod_ad/ad.php', '../images/ad_48.png', 31, '', 12, '', 0, 0, 0, 0),
('0701', '链接管理', 'mod_link/link.php', '', 31, '', 1, '', 0, 0, 0, 0),
('0702', '链接编辑', 'mod_link/link_edit.php', '', 31, '', 2, '', 1, 0, 0, 0),
('0703', '广告管理', 'mod_ad/ad.php', '', 31, '', 3, '', 0, 0, 0, 0),
('0704', '广告编辑', 'mod_ad/ad_edit.php', '', 31, '', 4, '', 1, 0, 0, 0),
('0602', '评论编辑', 'mod_comment/comment_edit.php', '', 31, '', 2, '', 1, 0, 0, 0),
('0006', '语言版本', 'mod_style/style.php', '', 31, '', 1, '', 1, 0, 0, 0),
('0206', '资讯发布', 'mod_article/info_edit.php', '', 31, 'a:1:{s:11:"template_id";s:1:"5";}', 2, '', 1, 0, 0, 0),
('0007', '系统配置', 'mod_config/config.php', '', 31, '', 5, '', 0, 0, 0, 0),
('0008', '系统配置编辑', 'mod_config/config_edit.php', '', 31, '', 8, '', 1, 0, 0, 0),
('0207', '投票发布', 'mod_article/poll_edit.php', '', 31, 'a:1:{s:11:"template_id";s:1:"7";}', 4, '', 1, 0, 0, 0),
('0208', '专题发布', 'mod_article/subject_edit.php', '', 31, '', 6, '', 1, 0, 0, 0),
('0104', '频道移动', 'mod_channel/channel_move.php', '', 20, '', 3, '', 0, 0, 0, 0),
('0105', '频道合并', 'mod_channel/channel_merge.php', '', 20, '', 4, '', 0, 0, 0, 0),
('08', '我的频道', '../mod_user_channel/user_channel.php', '../images/userchannel_48.png', 31, '', 14, '', 0, 0, 0, 0),
('0801', '频道列表', 'mod_user_channel/user_channel.php', '', 31, '', 1, '', 0, 0, 0, 0),
('0802', '频道编辑', 'mod_user_channel/user_channel_edit.php', '', 31, '', 2, '', 1, 0, 0, 0),
('0209', '商品发布', 'mod_article/shop_edit.php', '', 31, 'a:1:{s:11:"template_id";s:2:"15";}', 3, '', 1, 0, 0, 0),
('0210', '跳转发布', 'mod_article/redirect_edit.php', '', 31, '', 7, '', 1, 0, 0, 0),
('09', '我的百宝箱', '', '../images/userrepository_48.png', 31, '', 15, '', 0, 0, 0, 0),
('0901', '所有收藏', 'mod_user_repository/user_repository.php', '', 31, '', 1, '', 0, 0, 0, 0),
('0902', '宝物编辑', 'mod_user_repository/user_repository_edit.php', '', 31, '', 2, '', 1, 0, 0, 0),
('11', '交易管理', '../mod_order/order.php', '../images/order_48.png', 31, '', 8, '', 0, 0, 0, 0),
('10', '地址管理', '../mod_address/address.php', '../images/address_48.png', 31, '', 13, '', 0, 0, 0, 0),
('1001', '地址列表', 'mod_address/address.php', '', 31, '', 1, '', 0, 0, 0, 0),
('1002', '地址编辑', 'mod_address/address_edit.php', '', 31, '', 2, '', 1, 0, 0, 0),
('0903', '网页快照', 'mod_user_repository/user_repository_snapshot.php', '', 31, '', 3, '', 1, 0, 0, 0),
('1101', '管理所有列表', 'mod_order/order.php', '', 31, '', 1, '', 0, 0, 0, 0),
('1102', '定单编辑', 'mod_order/order_edit.php', '', 31, '', 2, '', 1, 0, 0, 0),
('1103', '买进商品列表', 'mod_order/order_buyer.php', '', 31, '', 3, '', 0, 0, 0, 0),
('1104', '卖出商品列表', 'mod_order/order_seller.php', '', 31, '', 4, '', 0, 0, 0, 0),
('1105', '买进定单编辑', 'mod_order/order_buyer_edit.php', '', 31, '', 5, '', 1, 0, 0, 0),
('1106', '卖出定单编辑', 'mod_order/order_seller_edit.php', '', 31, '', 6, '', 1, 0, 0, 0),
('0106', '频道选择', 'mod_channel/channel_select.php', '', 17, '', 5, '', 1, 0, 0, 0),
('0211', '图片集发布', 'mod_article/pic_edit.php', '', 31, 'a:1:{s:11:"template_id";s:2:"16";}', 5, '', 1, 0, 0, 0),
('0009', '系统缓存', 'mod_cache/cache.php', '', 16, '', 9, '', 0, 0, 0, 0),
('0212', '活动发布', 'mod_article/event_edit.php', '', 31, '', 10, '', 1, 0, 0, 0),
('0213', '文章选择', 'mod_article/article_select.php', '', 17, '', 14, '', 1, 0, 0, 0),
('05', '留言板', '../mod_guestbook/guestbook.php', '../images/guestbook_48.png', 31, '', 11, '', 0, 0, 0, 0),
('0501', '留言信息', 'mod_guestbook/guestbook.php', '', 31, '', 1, '', 0, 0, 0, 0),
('0502', '留言编辑', 'mod_guestbook/guestbook_edit.php', '', 31, '', 2, '', 1, 0, 0, 0),
('0214', '资讯信息', 'mod_article/info.php', '', 31, '', 15, '', 0, 0, 0, 0),
('0215', '商品信息', 'mod_article/shop.php', '', 31, '', 16, '', 0, 0, 0, 0),
('0216', '投票信息', 'mod_article/poll.php', '', 31, 'a:1:{s:11:"template_id";s:1:"7";}', 17, '', 0, 0, 0, 0),
('0220', '图片集', 'mod_article/pic.php', '', 31, '', 21, '', 0, 0, 0, 0),
('0217', '活动信息', 'mod_article/event.php', '', 31, '', 18, '', 0, 0, 0, 0),
('0218', '专题信息', 'mod_article/subject.php', '', 31, '', 19, '', 0, 0, 0, 0),
('0219', '文章跳转', 'mod_article/redirect.php', '', 31, '', 20, '', 0, 0, 0, 0);

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

--
-- 表的结构 `#~eifr~#_article`
--

DROP TABLE IF EXISTS `#~eifr~#_article`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_article` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL DEFAULT '',
  `redirectaddress` varchar(255) NOT NULL DEFAULT '',
  `relation_type` tinyint(1) NOT NULL DEFAULT '0',
  `relation_info` varchar(255) NOT NULL DEFAULT '',
  `type` tinyint(1) NOT NULL DEFAULT '0',
  `channel_id` varchar(20) NOT NULL DEFAULT '',
  `channel_ids` text NOT NULL,
  `user_channel_channelid` text NOT NULL,
  `issuetime` int(11) NOT NULL DEFAULT '0',
  `endtime` int(11) NOT NULL DEFAULT '0',
  `addtime` int(11) NOT NULL DEFAULT '0',
  `edittime` int(11) NOT NULL DEFAULT '0',
  `fileurl` text NOT NULL,
  `price` float NOT NULL DEFAULT '0',
  `quantity` int(8) NOT NULL DEFAULT '0',
  `dimension` float NOT NULL,
  `timelimit` int(6) NOT NULL,
  `intro` text NOT NULL,
  `words` longtext NOT NULL COMMENT 'no html element, words field include title, intro, keyword, article_content.title, article_content.content',
  `sourcename` varchar(50) NOT NULL DEFAULT '',
  `sourceurl` varchar(255) NOT NULL DEFAULT '',
  `keyword` varchar(255) NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `flag` tinyint(1) NOT NULL DEFAULT '0',
  `ordernum` int(4) NOT NULL DEFAULT '0',
  `ip` varchar(15) NOT NULL DEFAULT '',
  `viewnum` int(8) NOT NULL DEFAULT '0',
  `commentnum` int(4) NOT NULL DEFAULT '0',
  `uid` mediumint(8) NOT NULL DEFAULT '0',
  `viewauth_type` tinyint(1) NOT NULL DEFAULT '0',
  `viewauth_info` varchar(255) NOT NULL DEFAULT '',
  `is_comment` tinyint(1) NOT NULL DEFAULT '0',
  `title_style` varchar(255) NOT NULL,
  `attribute` varchar(255) NOT NULL,
  `parameter` text NOT NULL,
  `template_id` int(4) NOT NULL DEFAULT '0',
  `layout_id` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `title` (`title`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;

--
-- 转存表中的数据 `#~eifr~#_article`
--

INSERT INTO `#~eifr~#_article` (`id`, `title`, `redirectaddress`, `relation_type`, `relation_info`, `type`, `channel_id`, `channel_ids`, `user_channel_channelid`, `issuetime`, `endtime`, `addtime`, `edittime`, `fileurl`, `price`, `quantity`, `dimension`, `timelimit`, `intro`, `words`, `sourcename`, `sourceurl`, `keyword`, `status`, `flag`, `ordernum`, `ip`, `viewnum`, `commentnum`, `uid`, `viewauth_type`, `viewauth_info`, `is_comment`, `title_style`, `attribute`, `parameter`, `template_id`, `layout_id`) VALUES
(1, '易孚网站系统(EIFR)简体中文UTF-8版发布', '', 0, '', 1, '01', '', '', 1326525273, 0, 1326525273, 1326525639, '', 0, 0, 0, 0, 'EIFR 基于PHP+MySQL的技术开发，支持多种服务器平台，以简单、健壮、灵活、开源几大特点.', '\n\n', '', '', '', 0, 0, 0, '::1', 1, 0, 0, 0, '', 0, '', 'original', '', 5, '1'),
(3, '易孚网站系统授权购买', '', 0, '', 5, '03', '', '', 1326526267, 0, 1326526267, 1326542803, 'linkfiles/image/eifr_ad2.gif', 1800, 999999, 0, 0, '<h2 style="padding:0px;margin:5px;font-size:14px;color:#FF6600;line-height:37px;">\r\n	授权价格\r\n</h2>\r\n<table style="padding:0px;margin:10px;width:700px;font-size:12px;border:1px solid #DDDDDD;border-collapse:collapse;" class="ke-zeroborder" align="center" border="0" cellpadding="0" cellspacing="0">\r\n	<tbody>\r\n		<tr style="padding:0px;">\r\n			<th style="padding:6px;border:1px solid #E3E3E3;color:#999999;">\r\n				<strong style="padding:0px;">授权说明</strong> \r\n			</th>\r\n			<th style="padding:6px;border:1px solid #E3E3E3;color:#999999;">\r\n				<strong style="padding:0px;">免费</strong> \r\n			</th>\r\n			<th style="padding:6px;border:1px solid #E3E3E3;color:#999999;">\r\n				<strong style="padding:0px;">商业授权</strong> \r\n			</th>\r\n		</tr>\r\n		<tr style="padding:0px;">\r\n			<td style="padding:6px;text-align:right;color:#666666;border:1px solid #EEEEEE;">\r\n				用户定义\r\n			</td>\r\n			<td style="padding:6px;text-align:center;border:1px solid #EEEEEE;">\r\n				个人非盈利\r\n			</td>\r\n			<td style="padding:6px;text-align:center;border:1px solid #EEEEEE;">\r\n				企、事业\r\n			</td>\r\n		</tr>\r\n		<tr style="padding:0px;">\r\n			<td style="padding:6px;text-align:right;color:#666666;border:1px solid #EEEEEE;">\r\n				去除前台版权信息\r\n			</td>\r\n			<td style="padding:6px;text-align:center;border:1px solid #EEEEEE;">\r\n				<strong style="padding:0px;color:#FF9933;font-size:12px;">×</strong> \r\n			</td>\r\n			<td style="padding:6px;text-align:center;border:1px solid #EEEEEE;">\r\n				<strong style="padding:0px;color:#339900;font-size:15px;">√</strong> \r\n			</td>\r\n		</tr>\r\n		<tr style="padding:0px;">\r\n			<th colspan="9" style="padding:0px;text-align:left;background-color:#EEE;border:1px solid #DDDDDD;">\r\n				<br />\r\n			</th>\r\n		</tr>\r\n		<tr style="padding:0px;">\r\n			<td style="padding:6px;text-align:right;color:#666666;border:1px solid #EEEEEE;">\r\n				软件使用年限\r\n			</td>\r\n			<td style="padding:6px;text-align:center;border:1px solid #EEEEEE;">\r\n				无限制\r\n			</td>\r\n			<td style="padding:6px;text-align:center;border:1px solid #EEEEEE;">\r\n				无限制\r\n			</td>\r\n		</tr>\r\n		<tr style="padding:0px;">\r\n			<td style="padding:6px;text-align:right;color:#666666;border:1px solid #EEEEEE;">\r\n				软件升级年限\r\n			</td>\r\n			<td style="padding:6px;text-align:center;border:1px solid #EEEEEE;">\r\n				无限制\r\n			</td>\r\n			<td style="padding:6px;text-align:center;border:1px solid #EEEEEE;">\r\n				无限制\r\n			</td>\r\n		</tr>\r\n		<tr style="padding:0px;">\r\n			<td style="padding:6px;text-align:right;color:#666666;border:1px solid #EEEEEE;">\r\n				服务网站数量\r\n			</td>\r\n			<td style="padding:6px;text-align:center;border:1px solid #EEEEEE;">\r\n				无限制\r\n			</td>\r\n			<td style="padding:6px;text-align:center;border:1px solid #EEEEEE;">\r\n				1个\r\n			</td>\r\n		</tr>\r\n		<tr style="padding:0px;">\r\n			<th colspan="9" style="padding:0px;text-align:left;background-color:#EEE;border:1px solid #DDDDDD;">\r\n				<strong style="padding:0px;line-height:21px;text-indent:10px;color:#999999;">服务价格 (注：所有服务不含硬件相关费用，不含第三方软件授权费用，不含差旅费用。)</strong> \r\n			</th>\r\n		</tr>\r\n		<tr style="padding:0px;">\r\n			<td style="padding:6px;text-align:right;color:#666666;border:1px solid #EEEEEE;">\r\n				<label date="可批量团购授权，享受批量授权价，请联系QQ200135" style="padding:0px;">授权价格 [?]</label> \r\n			</td>\r\n			<td style="padding:6px;text-align:center;border:1px solid #EEEEEE;">\r\n				免费\r\n			</td>\r\n			<td style="padding:6px;text-align:center;border:1px solid #EEEEEE;">\r\n				1800 RMB\r\n			</td>\r\n		</tr>\r\n		<tr style="padding:0px;">\r\n			<th colspan="9" style="padding:0px;text-align:right;background-color:#EEE;border:1px solid #DDDDDD;">\r\n				<br />\r\n			</th>\r\n		</tr>\r\n	</tbody>\r\n</table>\r\n<table style="padding:0px;margin:10px;width:700px;font-size:12px;border:1px solid #DDDDDD;border-collapse:collapse;" class="ke-zeroborder" align="center" border="0" cellpadding="0" cellspacing="0">\r\n	<tbody>\r\n		<tr style="padding:0px;">\r\n			<td style="padding:6px;border:1px solid #EEEEEE;">\r\n				<div style="padding:10px;line-height:19px;color:#777777;">\r\n					<strong style="padding:0px;line-height:21px;color:#555555;">说明：表格中符号代表的含义</strong><br style="padding:0px;" />\r\n"<span style="padding:0px;color:#FF9933;font-size:12px;"><strong style="padding:0px;line-height:21px;color:#555555;">×</strong></span> " 表示该版本不具备或不支持此功能或服务 "<span style="padding:0px;color:#339900;font-size:15px;"><strong style="padding:0px;line-height:21px;color:#555555;">√</strong></span>" 表示该版本已具备或支持此功能或服务\r\n				</div>\r\n			</td>\r\n		</tr>\r\n	</tbody>\r\n</table>', '\n\n', '', '', '', 0, 0, 0, '::1', 27, 0, 1, 0, '', 0, '', '', '', 15, '4'),
(2, '易孚网站系统(EIFR 2012.1)简体中文UTF-8版发布', '1', 0, '', 2, '01', '', '', 1326525480, 0, 1326525495, 1326525619, 'linkfiles/image/eifr_ad1.gif', 0, 0, 0, 0, '', '\n\n', '', '', '', 0, 0, 0, '::1', 0, 0, 0, 0, '', 0, '', '', '', 0, '2'),
(4, '易孚网站系统图片演示', '', 0, '', 6, '02', '', '', 1326529547, 0, 1326529547, 1326530854, '', 0, 0, 0, 0, '易孚网站系统(EIFR Site2012.1) UTF-8 国际版。<br />\r\n<br />\r\n让广大用户拥有一套强大易用的网站系统,而且是完全免费且开源（GNU/GPL）的系统一直是我们最大的理想，正是因为有这样精神力量，我们才能克服重重困难，不断完善，不断超越。<br />\r\n<br />\r\nEIFR \r\n凝聚着所有开发人员的心血。在开发过程中，为了让用户达到最佳的体验效果，我们不放过任何一个小细节的处理，甚至一个文件的命名，或者一个提示的表达等 \r\n等，我们始终站在用户的角度上仔细斟酌。至于在每个模块的功能上，我们更是集思广益，重视每位会员的意见，关注行业的动态，认真思索，从而避免开发出在使\r\n 用上华而不实的功能。<br />\r\n<br />\r\n<br />\r\n附[1]: EIFR特色功能介绍:<br />\r\nEIFR是由主框架和各功能模块组成的一个紧密结合的系统<br />\r\n独立语言包，多语言站点更易创建；<br />\r\n频道自由无限分类；<br />\r\n文章自由分配关联；<br />\r\n模板自由定制；<br />\r\n广告投放；<br />\r\n友情链接；<br />\r\n<br />\r\n<br />\r\n附[2]: EIFR模块介绍:<br />\r\n・ 权限管理 ，无限级，支持按模块、频道、栏目、类别、操作来授权，权限可细分至后台任何一个界面的显示和任何一个操作； <br />\r\n・ 模块管理 ，提供模块开发文档和开发接口，支持模块安装和卸载，可选择购买或者定制开发所需模块，功能扩展方便无后顾之忧； <br />\r\n・ 频道管理 ，支持栏目无限级别划分,移动、合并； <br />\r\n・ 文件管理器 ，支持文件上传、下载、创建、修改和删除，支持图片、FLASH、音频、视频预览，可轻松代替大部分FTP操作，文件管理更方便； <br />\r\n<p>\r\n	・ 导航菜单管理 ，可自定义后台操作链接和会员中心链接，让操作更容易理解、更加方便；\r\n</p>\r\n<p>\r\n	・ 交易管理 ，订单管理，分买家和卖家；\r\n</p>\r\n<p>\r\n	・ 留言板&nbsp;，用户可以留言，管理员回复等；\r\n</p>\r\n・ 后台操作日志 ，完整记录所有后台操作，可通过日志查出非法操作记录提供证据； <br />\r\n・ PHP错误日志 ，记录系统php错误报告，给快速解决程序BUG提供依据； <br />\r\n・ 模板风格 ，支持多模板多风格，不同模块、频道、栏目、专题、文章可以应用不同的模板风格，可轻松更换整站模板风格； <br />\r\n・ 安全机制 ，SQL注入关键词过滤、后台路径更改； <br />\r\n・ 可视化编辑器 ，类似word的所件即所得的在线内容编辑功能，支持表格、图片、FLASH、播放器插入，支持图片和附件上传； <br />\r\n・ html过滤 ，自动过滤javascript脚本，避免恶意代码； <br />\r\n<br />\r\nEIFR 采用了模块化开发架构，各个模块都有独立的目录，并由核心系统统一管理。只要您了解了EIFR开发架构，便可以基于EIFR开发功能模块。更多请关注http://www.eifr.com', '\n\n', '', '', '', 0, 0, 0, '::1', 3, 0, 0, 0, '', 0, '', '', '', 16, '3'),
(5, '你是从哪儿得知本站的？', '', 0, '', 3, '01', '', '', 1326530811, 0, 1326530811, 1326530833, '', 0, 0, 0, 0, '', '\n\n', '', '', '', 0, 0, 0, '::1', 0, 0, 0, 0, '', 0, '', '', '', 7, '8');

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

--
-- 表的结构 `#~eifr~#_article_content`
--

DROP TABLE IF EXISTS `#~eifr~#_article_content`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_article_content` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `article_id` int(10) NOT NULL DEFAULT '0',
  `ordernum` int(2) NOT NULL DEFAULT '1',
  `title` varchar(255) NOT NULL DEFAULT '',
  `content` longtext NOT NULL,
  `flag` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

--
-- 转存表中的数据 `#~eifr~#_article_content`
--

INSERT INTO `#~eifr~#_article_content` (`id`, `article_id`, `ordernum`, `title`, `content`, `flag`) VALUES
(1, 1, 1, '', '易孚网站系统(EIFR Site2012.1) UTF-8 国际版。<br />\r\n<br />\r\n让广大用户拥有一套强大易用的网站系统,而且是完全免费且开源（GNU/GPL）的系统一直是我们最大的理想，正是因为有这样精神力量，我们才能克服重重困难，不断完善，不断超越。<br />\r\n<br />\r\nEIFR 凝聚着所有开发人员的心血。在开发过程中，为了让用户达到最佳的体验效果，我们不放过任何一个小细节的处理，甚至一个文件的命名，或者一个提示的表达等 等，我们始终站在用户的角度上仔细斟酌。至于在每个模块的功能上，我们更是集思广益，重视每位会员的意见，关注行业的动态，认真思索，从而避免开发出在使 用上华而不实的功能。<br />\r\n<br />\r\n<br />\r\n附[1]: EIFR特色功能介绍:<br />\r\nEIFR是由主框架和各功能模块组成的一个紧密结合的系统<br />\r\n独立语言包，多语言站点更易创建；<br />\r\n频道自由无限分类；<br />\r\n文章自由分配关联；<br />\r\n模板自由定制；<br />\r\n广告投放；<br />\r\n友情链接；<br />\r\n<br />\r\n<br />\r\n附[2]: EIFR模块介绍:<br />\r\n・ 权限管理 ，无限级，支持按模块、频道、栏目、类别、操作来授权，权限可细分至后台任何一个界面的显示和任何一个操作；&nbsp;<br />\r\n・ 模块管理 ，提供模块开发文档和开发接口，支持模块安装和卸载，可选择购买或者定制开发所需模块，功能扩展方便无后顾之忧；&nbsp;<br />\r\n・ 频道管理 ，支持栏目无限级别划分,移动、合并； &nbsp;&nbsp;<br />\r\n・ 文件管理器 ，支持文件上传、下载、创建、修改和删除，支持图片、FLASH、音频、视频预览，可轻松代替大部分FTP操作，文件管理更方便；&nbsp;<br />\r\n<p>\r\n	・ 导航菜单管理 ，可自定义后台操作链接和会员中心链接，让操作更容易理解、更加方便；&nbsp;\r\n</p>\r\n<p>\r\n	・ 交易管理 ，订单管理，分买家和卖家；&nbsp;\r\n</p>\r\n<p>\r\n	・ 留言板&nbsp;，用户可以留言，管理员回复等；&nbsp;\r\n</p>\r\n・ 后台操作日志 ，完整记录所有后台操作，可通过日志查出非法操作记录提供证据；&nbsp;<br />\r\n・ PHP错误日志 ，记录系统php错误报告，给快速解决程序BUG提供依据； &nbsp;<br />\r\n・ 模板风格 ，支持多模板多风格，不同模块、频道、栏目、专题、文章可以应用不同的模板风格，可轻松更换整站模板风格； &nbsp;<br />\r\n・ 安全机制 ，SQL注入关键词过滤、后台路径更改；&nbsp;<br />\r\n・ 可视化编辑器 ，类似word的所件即所得的在线内容编辑功能，支持表格、图片、FLASH、播放器插入，支持图片和附件上传；&nbsp;<br />\r\n・ html过滤 ，自动过滤javascript脚本，避免恶意代码；&nbsp;<br />\r\n<br />\r\n<br />\r\n用户模块 （可以使用第三方的会员表、用户组表）&nbsp;<br />\r\n・支持会员注册、登录、退出、资料修改等基本功能；&nbsp;<br />\r\n・支持邮件验证、管理员审核、密码找回；&nbsp;<br />\r\n・支持自定义用户组&nbsp;<br />\r\n<br />\r\n<br />\r\n<p>\r\n	文章模块&nbsp;\r\n</p>\r\n<p>\r\n	・由资讯、商品、投票、图片集、活动、专题、网址跳转等\r\n</p>\r\n・支持文章添加、审核、修改和删除等基本操作；&nbsp;<br />\r\n・一篇文章可同时按频道、专题、关联三种方式进行归类；&nbsp;<br />\r\n・可指定文章显示位置，让文章能够准确地定位到需要显示的地方；&nbsp;<br />\r\n・支持转向链接；&nbsp;<br />\r\n・支持文章分页； &nbsp;<br />\r\n・支持投稿和文章管理；&nbsp;<br />\r\n・支持多条件搜索文章；&nbsp;<br />\r\n・支持调用评论等模块&nbsp;<br />\r\n<p>\r\n	<br />\r\n</p>\r\n<p>\r\n	交易管理\r\n</p>\r\n<p>\r\n	・订单管理，分买家和卖家\r\n</p>\r\n<br />\r\n广告管理&nbsp;<br />\r\n・支持自由设置广告位、大小、价格；&nbsp;<br />\r\n・支持投放图片、文字、FLASH、弹窗、漂浮、随屏移动等常见类型广告，可以通过增加模板的方法来扩展广告类型；&nbsp;<br />\r\n・支持广告上线和下线时间设置； &nbsp;<br />\r\n<br />\r\n<br />\r\n友情链接&nbsp;<br />\r\n・支持链接页面板块放置；&nbsp;<br />\r\n<br />\r\n<br />\r\n评论模块&nbsp;<br />\r\n・可以对任意频道和模块里的任意内容附加评论，游客回复等；&nbsp;<br />\r\n<br />\r\n<br />\r\n留言板&nbsp;<br />\r\n<p>\r\n	・用户可以留言，管理员回复等；&nbsp;\r\n</p>\r\n<p>\r\n	<br />\r\n</p>\r\nEIFR 采用了模块化开发架构，各个模块都有独立的目录，并由核心系统统一管理。只要您了解了EIFR开发架构，便可以基于EIFR开发功能模块。更多请关注http://www.eifr.com<br />', 0);

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

--
-- 表的结构 `#~eifr~#_channel`
--

DROP TABLE IF EXISTS `#~eifr~#_channel`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_channel` (
  `id` varchar(20) NOT NULL DEFAULT '',
  `title` varchar(30) NOT NULL DEFAULT '',
  `fileurl` text NOT NULL,
  `intro` text NOT NULL,
  `ordernum` int(2) NOT NULL DEFAULT '0',
  `parameter` varchar(255) NOT NULL DEFAULT '',
  `type` tinyint(1) NOT NULL DEFAULT '0',
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `flag` int(1) NOT NULL DEFAULT '0',
  `redirecturl` varchar(255) NOT NULL DEFAULT '',
  `uid` int(10) NOT NULL DEFAULT '0',
  `ip` varchar(15) NOT NULL DEFAULT '',
  `addtime` int(11) NOT NULL DEFAULT '0',
  `template_id` int(4) NOT NULL DEFAULT '0',
  `article_template_id` int(4) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `#~eifr~#_channel`
--

INSERT INTO `#~eifr~#_channel` (`id`, `title`, `fileurl`, `intro`, `ordernum`, `parameter`, `type`, `status`, `flag`, `redirecturl`, `uid`, `ip`, `addtime`, `template_id`, `article_template_id`) VALUES
('01', '资讯', '', '', 1, '', 0, 0, 2, '', 0, '::1', 1326523835, 0, 0),
('02', '图片', '', '', 2, '', 0, 0, 2, '', 0, '::1', 1326524232, 0, 0),
('03', '商品', '', '', 3, '', 0, 0, 2, '', 0, '::1', 1326524288, 0, 0);

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

--
-- 表的结构 `#~eifr~#_comment`
--

DROP TABLE IF EXISTS `#~eifr~#_comment`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_comment` (
  `id` int(8) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL DEFAULT '',
  `content` text NOT NULL,
  `ratevalue` tinyint(2) NOT NULL DEFAULT '0',
  `addtime` int(11) NOT NULL DEFAULT '0',
  `ip` varchar(20) NOT NULL DEFAULT '',
  `uid` int(8) NOT NULL DEFAULT '0',
  `nickname` varchar(20) NOT NULL DEFAULT '',
  `article_id` int(10) NOT NULL DEFAULT '0',
  `flag` tinyint(1) NOT NULL DEFAULT '0',
  `parent_id` int(8) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

--
-- 转存表中的数据 `#~eifr~#_comment`
--


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

--
-- 表的结构 `#~eifr~#_config`
--

DROP TABLE IF EXISTS `#~eifr~#_config`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_config` (
  `id` varchar(20) NOT NULL DEFAULT '',
  `title` varchar(255) NOT NULL DEFAULT '',
  `varname` varchar(30) NOT NULL DEFAULT '',
  `varvalue` varchar(255) NOT NULL DEFAULT '',
  `intro` varchar(255) NOT NULL DEFAULT '',
  `ordernum` int(4) NOT NULL DEFAULT '0',
  `vartype` varchar(20) NOT NULL DEFAULT '',
  `flag` tinyint(1) NOT NULL DEFAULT '0',
  `type` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `#~eifr~#_config`
--

INSERT INTO `#~eifr~#_config` (`id`, `title`, `varname`, `varvalue`, `intro`, `ordernum`, `vartype`, `flag`, `type`) VALUES
('00', '软件信息', '', '', '', 1, '', 2, 0),
('0001', '软件license', 'SOFT_LICENSE', '#~eifr_license~#', '', 1, 'string', 0, 0),
('01', '系统基本信息', '', '', '', 2, '', 0, 0),
('0102', '网站名称', 'SYS_TITLE', '#~eifr_webtitle~#', '', 1, 'string', 0, 0),
('0103', '网站地址', 'SYS_WEBURL', '#~eifr_weburl~#', '', 2, 'string', 0, 0),
('0104', '系统邮箱', 'SYS_EMAIL', 'name@domain.com', '', 3, 'string', 0, 0),
('0105', '邮件服务器地址', 'SYS_EMAIL_SERVER', 'mail.domain.com', '', 4, 'string', 0, 0),
('0106', '系统默认风格', 'SYS_DEFAULT_STYLE', 'zh-cn', '', 5, 'string', 0, 0),
('0107', '系统默认时区', 'SYS_DEFAULT_TIMEZONE', '8', '', 6, '', 0, 0),
('0108', '系统默认语言', 'SYS_DEFAULT_LANG', 'zh-cn', '', 7, 'string', 0, 0),
('02', '系统功能开关', '', '', '', 3, '', 0, 0),
('0201', '系统管理员', 'IS_SYSADMIN', 'false', '', 1, '', 0, 0),
('0202', '系统日志', 'IS_ADDLOG', 'false', '', 2, '', 0, 0),
('0203', '系统错误', 'IS_DEBUG', 'true', '', 3, '', 0, 0),
('0204', 'log级别', 'LOG_LEVEL', '3', '', 4, '', 0, 0),
('0205', 'cookie加密', 'IS_ENCRYPT_COOKIE', 'false', '', 5, '', 0, 0),
('0206', '后台是否用session', 'IS_CHECK_ADMINSESSION', 'false', '', 6, '', 0, 0),
('0208', '是否接受官方动态', 'is_accept_soft_news', 'true', '', 8, '', 0, 1),
('0209', '是否自动升级', 'is_accept_soft_update', 'true', '', 9, '', 0, 1),
('03', '默认数值', '', '', '', 4, 'string', 0, 0),
('0302', '默认cookie时间', 'DEF_COOKIE_TIME', '0', '', 2, '', 0, 0),
('0303', '最大cookie时间', 'MAX_COOKIE_TIME', '3153600', '', 3, '', 0, 0),
('0306', '过滤字符', 'FILTER_STRING', '', '', 6, 'string', 0, 0),
('04', '目录设定', '', '', '', 5, 'string', 0, 0),
('0401', '系统安装目录', 'DIR_INSTALL', '#~/eifr/~#', '', 1, 'string', 0, 0),
('05', 'session/cookie键名', '', '', '', 7, 'string', 0, 0),
('0501', 'cookie前缀', 'COOKIE_PREFIX', 'eifr_', '', 1, 'string', 0, 0),
('0502', 'cookie加密值', 'COOKIE_ENCODE', 'eifr_ABCD', '', 2, 'string', 0, 0),
('0506', 'session前缀', 'SESSION_PREFIX', 'eifr_', '', 6, 'string', 0, 0),
('06', '数据库', '', '', '', 8, 'string', 0, 0),
('0601', '数据库类型', 'DB_TYPE', 'mysql', '', 1, 'string', 0, 0),
('0602', '数据库字符集', 'DB_CHARSET', '#~db_charset~#', '', 2, 'string', 0, 0),
('0603', '数据库主机地址', 'DB_HOST', '#~db_host~#', '', 3, 'string', 0, 0),
('0604', '数据库名', 'DB_NAME', '#~db_name~#', '', 4, 'string', 0, 0),
('0605', '数据库用户名', 'DB_USERNAME', '#~db_user~#', '', 5, 'string', 0, 0),
('0606', '数据库密码', 'DB_PASSWORD', '#~db_pwd~#', '', 6, 'string', 0, 0);

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

--
-- 表的结构 `#~eifr~#_file`
--

DROP TABLE IF EXISTS `#~eifr~#_file`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_file` (
  `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `article_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `title` varchar(255) NOT NULL DEFAULT '',
  `fileurl` text NOT NULL,
  `mediatype` smallint(6) NOT NULL DEFAULT '1',
  `addtime` int(11) NOT NULL DEFAULT '0',
  `edittime` int(11) NOT NULL DEFAULT '0',
  `ordernum` int(4) NOT NULL,
  `flag` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `title` (`title`),
  KEY `article_id` (`article_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=7 ;

--
-- 转存表中的数据 `#~eifr~#_file`
--

INSERT INTO `#~eifr~#_file` (`id`, `article_id`, `title`, `fileurl`, `mediatype`, `addtime`, `edittime`, `ordernum`, `flag`) VALUES
(1, 4, 'EIFR 网站首页', 'linkfiles/image/eifr_home.demo.png', 1, 1326529603, 1326529603, 1, 0),
(2, 4, 'EIFR 后台登录', 'linkfiles/image/eifr_login.demo.png', 1, 1326529690, 1326529690, 2, 0),
(3, 4, 'EIFR 后台管理首页', 'linkfiles/image/eifr_admin.demo.png', 1, 1326529739, 1326529739, 3, 0),
(4, 4, 'EIFR 后台功能菜单', 'linkfiles/image/eifr_menu.demo.png', 1, 1326529787, 1326529787, 4, 0),
(5, 4, 'EIFR 频道管理', 'linkfiles/image/eifr_channel.demo.png', 1, 1326529818, 1326529818, 5, 0),
(6, 4, 'EIFR 文章管理', 'linkfiles/image/eifr_article.demo.png', 1, 1326529839, 1326529839, 6, 0);

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

--
-- 表的结构 `#~eifr~#_guestbook`
--

DROP TABLE IF EXISTS `#~eifr~#_guestbook`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_guestbook` (
  `id` int(8) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL DEFAULT '',
  `content` text NOT NULL,
  `replycontent` text NOT NULL,
  `addtime` int(11) NOT NULL DEFAULT '0',
  `replytime` int(11) NOT NULL DEFAULT '0',
  `ip` varchar(20) NOT NULL DEFAULT '',
  `uid` int(8) NOT NULL DEFAULT '0',
  `nickname` varchar(20) NOT NULL DEFAULT '',
  `replyuid` int(8) NOT NULL,
  `replynickname` varchar(20) NOT NULL,
  `contact` text NOT NULL,
  `layout_id` text NOT NULL,
  `flag` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

--
-- 转存表中的数据 `#~eifr~#_guestbook`
--


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

--
-- 表的结构 `#~eifr~#_link`
--

DROP TABLE IF EXISTS `#~eifr~#_link`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_link` (
  `id` int(4) NOT NULL DEFAULT '0',
  `ordernum` int(4) NOT NULL DEFAULT '0',
  `weburl` varchar(255) NOT NULL DEFAULT '',
  `webname` varchar(30) NOT NULL DEFAULT '',
  `intro` varchar(255) NOT NULL DEFAULT '',
  `email` varchar(100) NOT NULL DEFAULT '',
  `logo` varchar(255) NOT NULL DEFAULT '',
  `addtime` int(11) NOT NULL DEFAULT '0',
  `ip` varchar(20) NOT NULL DEFAULT '',
  `layout_id` text NOT NULL,
  `channel_id` text NOT NULL,
  `flag` tinyint(1) NOT NULL DEFAULT '1',
  `uid` int(8) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `#~eifr~#_link`
--

INSERT INTO `#~eifr~#_link` (`id`, `ordernum`, `weburl`, `webname`, `intro`, `email`, `logo`, `addtime`, `ip`, `layout_id`, `channel_id`, `flag`, `uid`) VALUES
(1, 1, 'http://www.eifr.com', '易孚网站系统', '易孚网站系统(EIFR Site)--最专业、友好的PHP网站管理系统之一，轻松建站的首选利器。', 'eifr@eifr.com', 'eifrlogo.gif', 1175398530, '127.0.0.1', '-1', '-1', 2, 0),
(2, 2, 'http://www.mylangue.com', 'mylangue', '', '', '', 1311949820, '127.0.0.1', '41,43', ',030102,03010201,', 1, 0),
(3, 3, 'http://www.aidto.com', 'aidto', '', '', '', 1312113756, '127.0.0.1', '', '', 0, 0);

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

--
-- 表的结构 `#~eifr~#_log`
--

DROP TABLE IF EXISTS `#~eifr~#_log`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_log` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL DEFAULT '',
  `fileurl` varchar(255) NOT NULL DEFAULT '',
  `content` longtext NOT NULL,
  `addtime` int(11) NOT NULL DEFAULT '0',
  `ip` varchar(20) NOT NULL DEFAULT '',
  `usertype` tinyint(1) NOT NULL DEFAULT '0',
  `uid` int(10) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

--
-- 转存表中的数据 `#~eifr~#_log`
--


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

--
-- 表的结构 `#~eifr~#_message`
--

DROP TABLE IF EXISTS `#~eifr~#_message`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_message` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `senderid` int(11) DEFAULT '0',
  `recipientid` int(11) DEFAULT '0',
  `title` varchar(255) DEFAULT NULL,
  `content` text,
  `flag` tinyint(1) DEFAULT '0',
  `sendip` varchar(15) DEFAULT NULL,
  `viewip` varchar(15) DEFAULT NULL,
  `sendtime` int(11) DEFAULT '0',
  `edittime` int(11) DEFAULT '0',
  `viewtime` int(11) DEFAULT '0',
  `type` tinyint(1) DEFAULT '0',
  KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

--
-- 转存表中的数据 `#~eifr~#_message`
--


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

--
-- 表的结构 `#~eifr~#_order`
--

DROP TABLE IF EXISTS `#~eifr~#_order`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_order` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(50) DEFAULT NULL,
  `addtime` int(11) NOT NULL DEFAULT '0',
  `ip` varchar(50) NOT NULL,
  `count` int(8) DEFAULT '0',
  `order_number` varchar(50) DEFAULT NULL,
  `flag` tinyint(1) DEFAULT '0',
  `consignor_name` varchar(50) DEFAULT NULL,
  `consignor_gender` tinyint(1) DEFAULT '0',
  `consignor_address` varchar(255) DEFAULT NULL,
  `consignor_zipcode` varchar(20) DEFAULT NULL,
  `consignor_tel` varchar(50) DEFAULT NULL,
  `consignor_mobile` varchar(50) DEFAULT NULL,
  `consignor_email` varchar(50) DEFAULT NULL,
  `zipcode` varchar(20) DEFAULT NULL,
  `leave_words` text,
  `payment_id` tinyint(1) DEFAULT '0',
  `delivery_id` int(8) DEFAULT '0',
  `delivery_time` varchar(100) DEFAULT NULL,
  `total` float NOT NULL DEFAULT '0',
  `realname` varchar(50) DEFAULT NULL,
  `gender` tinyint(1) DEFAULT NULL,
  `address` varchar(200) DEFAULT NULL,
  `email` varchar(50) DEFAULT NULL,
  `tel` varchar(50) DEFAULT NULL,
  `mobile` varchar(50) DEFAULT NULL,
  `uid` int(11) DEFAULT '0',
  `fare` float NOT NULL DEFAULT '0',
  `is_invoice` tinyint(1) DEFAULT '0',
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `seller_uid` int(8) NOT NULL DEFAULT '0',
  `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

--
-- 转存表中的数据 `#~eifr~#_order`
--


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

--
-- 表的结构 `#~eifr~#_order_article`
--

DROP TABLE IF EXISTS `#~eifr~#_order_article`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_order_article` (
  `id` int(8) NOT NULL AUTO_INCREMENT,
  `order_id` varchar(20) NOT NULL DEFAULT '',
  `article_id` int(6) NOT NULL DEFAULT '0',
  `price` float NOT NULL DEFAULT '0',
  `quantity` int(6) NOT NULL DEFAULT '0',
  `flag` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

--
-- 转存表中的数据 `#~eifr~#_order_article`
--


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

--
-- 表的结构 `#~eifr~#_poll`
--

DROP TABLE IF EXISTS `#~eifr~#_poll`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_poll` (
  `id` int(8) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL DEFAULT '',
  `ordernum` int(2) NOT NULL DEFAULT '0',
  `article_id` int(8) NOT NULL DEFAULT '0',
  `ratevale` int(4) NOT NULL DEFAULT '0',
  `type` tinyint(1) NOT NULL DEFAULT '0',
  `flag` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;

--
-- 转存表中的数据 `#~eifr~#_poll`
--

INSERT INTO `#~eifr~#_poll` (`id`, `title`, `ordernum`, `article_id`, `ratevale`, `type`, `flag`) VALUES
(1, '朋友介绍', 1, 5, 0, 1, 0),
(2, '搜索引擎', 2, 5, 0, 1, 0),
(3, '网站链接', 3, 5, 0, 1, 0),
(4, '其它途径', 4, 5, 0, 1, 0);

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

--
-- 表的结构 `#~eifr~#_poll_log`
--

DROP TABLE IF EXISTS `#~eifr~#_poll_log`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_poll_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `notion` varchar(255) NOT NULL DEFAULT '',
  `poll_id` int(8) NOT NULL DEFAULT '0',
  `article_id` int(8) NOT NULL DEFAULT '0',
  `uid` int(8) NOT NULL DEFAULT '0',
  `addtime` int(11) NOT NULL DEFAULT '0',
  `ip` varchar(20) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

--
-- 转存表中的数据 `#~eifr~#_poll_log`
--


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

--
-- 表的结构 `#~eifr~#_soft_update`
--

DROP TABLE IF EXISTS `#~eifr~#_soft_update`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_soft_update` (
  `id` int(4) NOT NULL DEFAULT '0',
  `name` varchar(255) NOT NULL DEFAULT '',
  `intro` text NOT NULL,
  `addtime` int(11) NOT NULL DEFAULT '0',
  `ip` varchar(15) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `#~eifr~#_soft_update`
--


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

--
-- 表的结构 `#~eifr~#_style`
--

DROP TABLE IF EXISTS `#~eifr~#_style`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_style` (
  `id` varchar(10) NOT NULL DEFAULT '',
  `title` varchar(50) NOT NULL DEFAULT '',
  `intro` varchar(255) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `#~eifr~#_style`
--


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

--
-- 表的结构 `#~eifr~#_subject_relation`
--

DROP TABLE IF EXISTS `#~eifr~#_subject_relation`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_subject_relation` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `article_id` int(10) NOT NULL DEFAULT '0',
  `layout_id` int(4) NOT NULL DEFAULT '0',
  `article_list` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

--
-- 转存表中的数据 `#~eifr~#_subject_relation`
--


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

--
-- 表的结构 `#~eifr~#_template`
--

DROP TABLE IF EXISTS `#~eifr~#_template`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_template` (
  `id` int(4) NOT NULL DEFAULT '0',
  `title` varchar(50) NOT NULL DEFAULT '',
  `intro` text NOT NULL,
  `template_filename` varchar(50) NOT NULL DEFAULT '',
  `program_filename` varchar(50) NOT NULL DEFAULT '',
  `ordernum` int(4) NOT NULL DEFAULT '0',
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `flag` tinyint(1) NOT NULL DEFAULT '0',
  `is_delete` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `#~eifr~#_template`
--

INSERT INTO `#~eifr~#_template` (`id`, `title`, `intro`, `template_filename`, `program_filename`, `ordernum`, `status`, `flag`, `is_delete`) VALUES
(1, '首页', '', 'index', 'index.php', 1, 0, 0, 0),
(2, '频道页[A]', '', 'channel_1', 'channel.php', 3, 0, 0, 0),
(3, '频道页[B]', '', 'channel_2', 'channel.php', 4, 0, 0, 0),
(4, '频道页[默认]', '频道模板[默认]\r\n当频道没有选择模板时自动用这个', 'channel', 'channel.php', 2, 0, 1, 0),
(5, '文章详细页', '', 'article', 'article.php', 6, 0, 1, 0),
(6, '评论页', '评论页', 'comment', 'comment.php', 8, 0, 1, 0),
(7, '投票详细页', '', 'article_poll', 'article.php', 7, 0, 1, 0),
(8, '专题[A]', '专题/专区', 'subject_1', 'subject.php', 11, 0, 0, 0),
(9, '专题板块列表', '', 'subject_list', 'subject.php', 9, 0, 0, 0),
(10, '频道页[C]', '', 'channel_3', 'channel.php', 5, 0, 0, 0),
(11, '专题[B]', '', 'subject_2', 'subject.php', 10, 0, 1, 0),
(12, '专题[默认]', '', 'subject', 'subject.php', 12, 0, 0, 0),
(13, '书/文档集', '', 'book', 'channel.php', 13, 0, 0, 0),
(14, '商品分类页', '商品分类页', 'shop_category', 'channel.php', 14, 0, 0, 0),
(15, '商品显示页', '', 'shop_display', 'article.php', 15, 0, 0, 0),
(16, '图片显示页', '', 'pic', 'article.php', 16, 0, 0, 0);

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

--
-- 表的结构 `#~eifr~#_template_layout`
--

DROP TABLE IF EXISTS `#~eifr~#_template_layout`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_template_layout` (
  `id` int(4) NOT NULL DEFAULT '0',
  `layout_code` varchar(50) NOT NULL DEFAULT '',
  `title` varchar(50) NOT NULL DEFAULT '',
  `intro` varchar(255) NOT NULL DEFAULT '',
  `sql_select` text NOT NULL,
  `parameter` varchar(255) NOT NULL DEFAULT '',
  `type` tinyint(1) NOT NULL DEFAULT '0',
  `template_id` int(4) NOT NULL DEFAULT '0',
  `ordernum` int(4) NOT NULL DEFAULT '0',
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `flag` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;


--
-- 转存表中的数据 `#~eifr~#_template_layout`
--

INSERT INTO `#~eifr~#_template_layout` (`id`, `layout_code`, `title`, `intro`, `sql_select`, `parameter`, `type`, `template_id`, `ordernum`, `status`, `flag`) VALUES
(1, 'headline', '首页头条', '首页头条文章', 'select id,title,intro from #~eifr~#_article where flag<3 and find_in_set(1,layout_id) order by issuetime desc limit 1', '', 0, 1, 1, 0, 0),
(2, 'slideimg', '首页幻灯片', '首页 幻灯片图片 文章', 'select id,title,intro,fileurl from #~eifr~#_article where flag<3 and find_in_set(2,layout_id) order by issuetime desc limit 4', '', 0, 1, 2, 0, 0),
(3, 'focus', '焦点文章', '首页焦点热点 文章', 'select #~eifr~#_article.id,#~eifr~#_article.title,#~eifr~#_article.title_style,#~eifr~#_article.issuetime,#~eifr~#_channel.id as channel_id,#~eifr~#_channel.title as channel_title from #~eifr~#_article left join #~eifr~#_channel on #~eifr~#_article.channel_id=#~eifr~#_channel.id where #~eifr~#_article.flag<3 and find_in_set(3,#~eifr~#_article.layout_id) order by #~eifr~#_article.issuetime desc limit 10', '', 0, 1, 3, 0, 0),
(4, 'commendread', '热门推荐', '首页推荐文章(推荐)', 'select id,title,intro from #~eifr~#_article where flag<3 and find_in_set(4,layout_id) order by issuetime desc limit 8', '', 0, 1, 4, 0, 0),
(5, 'headline', '头条', '频道 头条[channel.php]', 'select id,title,intro from #~eifr~#_article where flag<3 and find_in_set(5,layout_id) order by issuetime desc limit 1', '', 0, 2, 1, 0, 0),
(6, 'slideimg', '幻灯片', '频道 幻灯片文章', 'select id,title,fileurl from #~eifr~#_article where flag<3 and find_in_set(6,layout_id) order by issuetime desc limit 1', '', 0, 2, 2, 0, 0),
(7, 'hotview', '热点文章', '热点文章', 'select id,title from #~eifr~#_article where flag<3 and channel_id like ''$id%'' order by viewnum desc, issuetime desc limit 10', '', 0, 4, 1, 1, 0),
(8, 'polls', '最新调查', '首页最新调查', 'select id,title,intro from #~eifr~#_article where flag<3 and find_in_set(8,layout_id) order by issuetime desc limit 1', '', 0, 1, 5, 0, 0),
(9, 'announcement', '站点公告', '首页站点公告', 'select id,title,intro from #~eifr~#_article where flag<3 and find_in_set(9,layout_id) order by issuetime desc limit 8', '', 0, 1, 6, 0, 0),
(10, 'focus', '焦点文章', '焦点文章(频道页[一级分类])', 'select #~eifr~#_article.id,#~eifr~#_article.title,#~eifr~#_article.issuetime,#~eifr~#_channel.id as channel_id,#~eifr~#_channel.title as channel_title from #~eifr~#_article left join #~eifr~#_channel on #~eifr~#_article.channel_id=#~eifr~#_channel.id where #~eifr~#_article.flag<3 and find_in_set(10,#~eifr~#_article.layout_id) order by #~eifr~#_article.issuetime desc limit 10 ', '', 0, 2, 3, 0, 0),
(11, 'commendread', '推荐导读', '资讯导读(推荐)', 'select id,title from #~eifr~#_article where flag<3 and find_in_set(11,layout_id) order by issuetime desc limit 8', '', 0, 2, 4, 0, 0),
(12, 'newread', '动态报道', '', 'select id,title from #~eifr~#_article where flag<3 and find_in_set(12,layout_id) order by issuetime desc limit 8', '', 0, 2, 5, 0, 0),
(13, 'headline', '头条', '', 'select id,title,intro from #~eifr~#_article where flag<3 and find_in_set(13,layout_id) order by issuetime desc limit 1', '', 0, 3, 1, 0, 0),
(14, 'slideimg', '幻灯片', '', 'select id,title,fileurl from #~eifr~#_article where flag<3 and find_in_set(14,layout_id) order by issuetime desc limit 1', '', 0, 3, 2, 0, 0),
(15, 'focus', '焦点文章', '', 'select #~eifr~#_article.id,#~eifr~#_article.title,#~eifr~#_article.issuetime,#~eifr~#_channel.id as channel_id,#~eifr~#_channel.title as channel_title from #~eifr~#_article left join #~eifr~#_channel on #~eifr~#_article.channel_id=#~eifr~#_channel.id where #~eifr~#_article.flag<3 and find_in_set(15,#~eifr~#_article.layout_id) order by #~eifr~#_article.issuetime desc limit 10 ', '', 0, 3, 3, 0, 0),
(16, 'commendread', '推荐导读', '', 'select id,title from #~eifr~#_article where flag<3 and find_in_set(16,layout_id) order by issuetime desc limit 8', '', 0, 3, 4, 0, 0),
(17, 'newread', '动态报道', '', 'select id,title from #~eifr~#_article where flag<3 and find_in_set(17,layout_id) order by issuetime desc limit 8', '', 0, 3, 5, 0, 0),
(18, 'subjectread', '专题文章', '', 'select id,title from #~eifr~#_article where flag<3 and find_in_set(18,layout_id) order by issuetime desc limit 8', '', 0, 3, 6, 0, 0),
(19, 'subjectread', '专题文章', '', 'select id,title from #~eifr~#_article where flag<3 and find_in_set(19,layout_id) order by issuetime desc limit 8', '', 0, 2, 6, 0, 0),
(20, 'pickedread', '频道精选', '', 'select id,title from #~eifr~#_article where flag<3 and find_in_set(20,layout_id) order by issuetime desc limit 8', '', 0, 2, 7, 0, 0),
(22, 'pickedread', '频道精选', '', 'select id,title from #~eifr~#_article where flag<3 and find_in_set(22,layout_id) order by issuetime desc limit 8', '', 0, 3, 7, 0, 0),
(23, 'ad_h1', '首页广告1', '首页广告1', '', '', 1, 1, 7, 0, 0),
(24, 'headline', '头条', '专题/专区头条', 'select *  from #~eifr~#_article where flag<3 and id in (".$article_list.") order by issuetime desc limit 1', '', 0, 8, 1, 0, 0),
(25, 'slideimg', '幻灯片', '', 'select *  from #~eifr~#_article where flag<3 and id in (".$article_list.") order by issuetime desc limit 1', '', 0, 8, 2, 0, 0),
(26, 'focus', '焦点', '', 'select #~eifr~#_article.id,#~eifr~#_article.title,#~eifr~#_article.issuetime,#~eifr~#_channel.id as channel_id,#~eifr~#_channel.title as channel_title from #~eifr~#_article left join #~eifr~#_channel on #~eifr~#_article.channel_id=#~eifr~#_channel.id where #~eifr~#_article.flag<3 and #~eifr~#_article.id in (".$article_list.")  order by #~eifr~#_article.issuetime desc limit 18', '', 0, 8, 3, 0, 0),
(27, 'left_01', '专题导读', '左边第一块', 'select *  from #~eifr~#_article where flag<3 and id in (".$article_list.") order by issuetime desc limit 10', '', 0, 8, 4, 0, 0),
(28, 'right_01', '动态报道', '右边第一块', 'select *  from #~eifr~#_article where flag<3 and id in (".$article_list.") order by issuetime desc limit 15', '', 0, 8, 5, 0, 0),
(30, 'hotarticle', '热点文章', '', '', '', 2, 8, 7, 1, 0),
(32, 'hotview', '热点专题', '', 'select id,title from #~eifr~#_article where flag<3 and type=4  order by viewnum desc, issuetime desc limit 10', '', 0, 9, 1, 0, 0),
(34, 'ad_h1', '频道广告A-1', '频道广告1', '', '', 1, 2, 10, 0, 0),
(35, 'ad_h1', '频道广告B-1', '频道广告1', '', '', 1, 3, 8, 0, 0),
(36, 'ad_h1', '频道广告1', '频道广告1', '', '', 1, 4, 3, 0, 0),
(37, 'hotview', '热点文章', '', 'select id,title from #~eifr~#_article where flag<3  order by viewnum desc, issuetime desc limit 10', '', 0, 5, 1, 1, 0),
(38, 'ad_h1', '评论广告1', '', '', '', 1, 6, 1, 0, 0),
(39, 'ad_h1', '投票广告1', '', '', '', 1, 7, 3, 0, 0),
(40, 'ad_h1', '专题广告1-1', '', '', '', 1, 8, 9, 0, 0),
(41, 'friendlink', '首页链接1', '', 'select weburl,webname from #~eifr~#_link where (flag=1 or flag=2) and layout_id=41 order by ordernum asc limit 14', '', 2, 1, 8, 0, 0),
(55, 'ad_h1', '专题列表广告-1', '', '', '', 1, 9, 2, 0, 0),
(43, 'friendlink', '频道链接A-1', '', '', '', 2, 2, 11, 0, 0),
(44, 'list_article', '最新文章', '', 'select id,title,issuetime from #~eifr~#_article where channel_id=''$id'' order by issuetime desc', '', 0, 4, 2, 1, 0),
(45, 'hotcomment', '评论热点', '', 'select #~eifr~#_article.id,#~eifr~#_article.title from #~eifr~#_article LEFT JOIN #~eifr~#_channel ON #~eifr~#_article.channel_id=#~eifr~#_channel.id where #~eifr~#_article.commentnum>0 and #~eifr~#_channel.id like ''$id%'' group by #~eifr~#_article.id order by #~eifr~#_article.commentnum desc limit 10', '', 0, 2, 8, 0, 0),
(46, 'newcomment', '评论更新', '', 'select #~eifr~#_article.id,#~eifr~#_article.title from #~eifr~#_comment LEFT JOIN #~eifr~#_article ON #~eifr~#_comment.article_id=#~eifr~#_article.id LEFT JOIN #~eifr~#_channel ON #~eifr~#_article.channel_id=#~eifr~#_channel.id where #~eifr~#_channel.id like ''$id%'' group by #~eifr~#_article.id order by #~eifr~#_comment.addtime desc limit 10', '', 0, 2, 9, 0, 0),
(47, 'hotview', '热点文章', '', 'select id,title from #~eifr~#_article where flag<3 and channel_id like ''$id%'' order by viewnum desc, issuetime desc limit 8', '', 0, 10, 1, 1, 0),
(48, 'ad_h1', '频道广告C-1', '', '', '', 1, 10, 2, 0, 0),
(49, 'newread', '最新文章', '', 'select id,title from #~eifr~#_article where flag<3  order by issuetime desc limit 10', '', 0, 5, 2, 1, 0),
(50, 'ad_h1', '文章内容广告h1', '', '', '', 1, 5, 3, 0, 0),
(51, 'hotarticle', '热点文章', '', '', '', 0, 11, 4, 1, 0),
(52, 'ad_h1', '专题广告B-1', '', '', '', 1, 11, 6, 0, 0),
(57, 'hotcomment', '热点评论', '', '', '', 0, 11, 5, 1, 0),
(58, 'hotview', '热点文章', '', 'select id,title from #~eifr~#_article where flag<3  order by viewnum desc, issuetime desc limit 10', '', 0, 7, 1, 1, 0),
(53, 'pickedread', '精选文章', '', 'select *  from #~eifr~#_article where flag<3 and id in (".$article_list.") order by issuetime desc limit 10', '', 0, 11, 1, 0, 0),
(56, 'hotcomment', '热点评论', '', '', '', 0, 8, 10, 1, 0),
(59, 'newread', '最新文章', '', 'select id,title from #~eifr~#_article where flag<3  order by issuetime desc limit 10', '', 0, 7, 2, 1, 0),
(60, 'hotarticle', '热点文章', '', '', '', 0, 1, 9, 1, 0),
(61, 'hotcomment', '热点评论', '', '', '', 0, 1, 10, 1, 0),
(62, 'layout_id_0', '最新信息', '默认添加文章时自动选择的板块位置：0', '', '', 0, 11, 3, 1, 0),
(63, 'layout_id_0', '最新信息', '', '', '', 0, 12, 1, 1, 0),
(64, 'hotarticle', '热点文章', '', '', '', 0, 12, 2, 1, 0),
(65, 'hotcomment', '热点评论', '', '', '', 0, 12, 3, 1, 0),
(66, 'ad_h1', '专题广告-1', '', '', '', 1, 12, 4, 0, 0),
(67, 'list', '最新商品', '最新商品', 'select id,title,price,issuetime from #~eifr~#_article where channel_id like ''$id%'' order by issuetime desc', '', 0, 14, 1, 1, 0),
(68, 'hotview', '热点商品', '热点商品', 'select id,title from #~eifr~#_article where flag<3 and channel_id like ''$id%'' order by viewnum desc, issuetime desc limit 10', '', 0, 14, 2, 1, 0),
(69, 'hotview', '热点商品', '热点商品', 'select id,title from #~eifr~#_article where flag<3  order by viewnum desc, issuetime desc limit 10', '', 0, 15, 1, 1, 0),
(70, 'newread', '最新商品', '最新商品', 'select id,title from #~eifr~#_article where flag<3  order by issuetime desc limit 10', '', 0, 15, 2, 1, 0),
(71, 'ad_h2', '首页广告2', '', '', '', 1, 1, 11, 0, 0),
(72, 'ad_content_m1', '文章内容广告m1', '', '', '', 1, 5, 4, 0, 0),
(73, 'hotview', '热点文章', '', 'select id,title from #~eifr~#_article where flag<3  order by viewnum desc, issuetime desc limit 10', '', 0, 16, 1, 1, 0),
(74, 'newread', '最新文章', '', 'select id,title from #~eifr~#_article where flag<3  order by issuetime desc limit 10', '', 0, 16, 2, 1, 0),
(75, 'ad_h1', '图片页广告h1', '', '', '', 1, 16, 3, 0, 0);

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

--
-- 表的结构 `#~eifr~#_user`
--

DROP TABLE IF EXISTS `#~eifr~#_user`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_user` (
  `uid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `username` varchar(20) NOT NULL DEFAULT '',
  `password` varchar(32) NOT NULL DEFAULT '',
  `gender` tinyint(1) NOT NULL DEFAULT '0',
  `boss_uid` int(8) unsigned NOT NULL,
  `user_class_id` varchar(20) NOT NULL DEFAULT '',
  `channel_id` text NOT NULL,
  `regip` varchar(15) NOT NULL DEFAULT '',
  `fileurl` varchar(255) NOT NULL,
  `birthday` int(11) NOT NULL DEFAULT '0',
  `regtime` int(11) NOT NULL DEFAULT '0',
  `lastip` varchar(15) NOT NULL DEFAULT '',
  `lasttime` int(11) NOT NULL DEFAULT '0',
  `loginnum` int(10) unsigned NOT NULL DEFAULT '0',
  `zipcode` smallint(6) unsigned NOT NULL DEFAULT '0',
  `credit` int(10) NOT NULL DEFAULT '0',
  `email` varchar(60) NOT NULL DEFAULT '',
  `im` text NOT NULL COMMENT 'qq:1000;qq:2000;msn:test@msn.com',
  `address_id` varchar(20) NOT NULL,
  `address` varchar(200) NOT NULL DEFAULT '',
  `marriage` tinyint(1) NOT NULL DEFAULT '0',
  `ordernum` int(10) NOT NULL DEFAULT '0',
  `flag` tinyint(1) NOT NULL DEFAULT '0',
  `timeoffset` char(3) NOT NULL DEFAULT '',
  `tel` varchar(50) NOT NULL DEFAULT '',
  `fax` varchar(50) NOT NULL DEFAULT '',
  `mobile` varchar(50) NOT NULL DEFAULT '',
  `realname` varchar(30) NOT NULL DEFAULT '',
  `nickname` varchar(30) NOT NULL DEFAULT '',
  `company` varchar(200) NOT NULL DEFAULT '',
  `detail` text NOT NULL,
  `word` text NOT NULL,
  `certificate_type` varchar(50) NOT NULL DEFAULT '',
  `certificate_code` varchar(100) NOT NULL DEFAULT '',
  `parameter` text NOT NULL,
  `layout_id` text NOT NULL,
  PRIMARY KEY (`uid`),
  KEY `username` (`username`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;


--
-- 表的结构 `#~eifr~#_user_channel`
--

DROP TABLE IF EXISTS `#~eifr~#_user_channel`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_user_channel` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `channelid` varchar(20) NOT NULL,
  `title` varchar(30) NOT NULL DEFAULT '',
  `fileurl` text NOT NULL,
  `intro` text NOT NULL,
  `ordernum` int(2) NOT NULL DEFAULT '0',
  `parameter` varchar(255) NOT NULL DEFAULT '',
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `flag` int(1) NOT NULL DEFAULT '0',
  `redirecturl` varchar(255) NOT NULL DEFAULT '',
  `uid` int(10) NOT NULL DEFAULT '0',
  `shjiaid` int(11) NOT NULL DEFAULT '0',
  `ip` varchar(15) NOT NULL DEFAULT '',
  `addtime` int(11) NOT NULL DEFAULT '0',
  `template_id` int(4) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

--
-- 转存表中的数据 `#~eifr~#_user_channel`
--


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

--
-- 表的结构 `#~eifr~#_user_class`
--

DROP TABLE IF EXISTS `#~eifr~#_user_class`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_user_class` (
  `id` varchar(20) NOT NULL DEFAULT '',
  `title` varchar(30) NOT NULL DEFAULT '',
  `fileurl` varchar(255) NOT NULL DEFAULT '',
  `intro` varchar(255) NOT NULL DEFAULT '',
  `ordernum` int(2) NOT NULL DEFAULT '0',
  `parameter` varchar(255) NOT NULL DEFAULT '',
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `flag` int(1) NOT NULL DEFAULT '0',
  `loginurl` varchar(255) NOT NULL DEFAULT '',
  `acl` text NOT NULL,
  `channel_id` text NOT NULL,
  `uid` int(6) NOT NULL DEFAULT '0',
  `ip` varchar(20) NOT NULL DEFAULT '',
  `addtime` int(11) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- 转存表中的数据 `#~eifr~#_user_class`
--

INSERT INTO `#~eifr~#_user_class` (`id`, `title`, `fileurl`, `intro`, `ordernum`, `parameter`, `status`, `flag`, `loginurl`, `acl`, `channel_id`, `uid`, `ip`, `addtime`) VALUES
('02', '超级管理员', 'eifrlogo.gif', '', 2, '', 0, 1, '', 'a:59:{s:4:"0006";i:31;s:4:"0001";i:31;s:4:"0002";i:31;s:4:"0003";i:31;s:4:"0004";i:31;s:4:"0007";i:31;s:4:"0008";i:31;s:4:"0009";i:16;s:4:"0101";i:31;s:4:"0103";i:31;s:4:"0104";i:20;s:4:"0105";i:20;s:4:"0106";i:17;s:4:"0201";i:31;s:4:"0206";i:31;s:4:"0209";i:31;s:4:"0207";i:31;s:4:"0211";i:31;s:4:"0208";i:31;s:4:"0210";i:31;s:4:"0204";i:31;s:4:"0212";i:31;s:4:"0205";i:1;s:4:"0213";i:17;s:4:"0214";i:31;s:4:"0215";i:31;s:4:"0216";i:31;s:4:"0217";i:31;s:4:"0218";i:31;s:4:"0219";i:31;s:4:"0220";i:31;s:4:"0301";i:31;s:4:"0302";i:31;s:4:"0304";i:31;s:4:"0305";i:31;s:4:"0303";i:31;s:4:"0306";i:17;i:1101;i:31;i:1102;i:31;i:1103;i:31;i:1104;i:31;i:1105;i:31;i:1106;i:31;s:4:"0601";i:31;s:4:"0602";i:31;s:4:"0501";i:31;s:4:"0502";i:31;s:4:"0701";i:31;s:4:"0702";i:31;s:4:"0703";i:31;s:4:"0704";i:31;i:1001;i:31;i:1002;i:31;s:4:"0801";i:31;s:4:"0802";i:31;s:4:"0901";i:31;s:4:"0902";i:31;s:4:"0903";i:31;s:4:"0401";i:4;}', '-1', 0, '', 0),
('01', '注册用户', '', '', 1, '', 0, 1, '', '', '', 0, '127.0.0.1', 1175518294),
('00', '游客', '', '', 0, '', 1, 2, '', '', '', 0, '', 0);

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

--
-- 表的结构 `#~eifr~#_user_relations`
--

DROP TABLE IF EXISTS `#~eifr~#_user_relations`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_user_relations` (
  `id` int(8) unsigned NOT NULL AUTO_INCREMENT,
  `uid` int(8) unsigned NOT NULL,
  `ruid` int(8) unsigned NOT NULL,
  `type` tinyint(1) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `uid` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

--
-- 转存表中的数据 `#~eifr~#_user_relations`
--


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

--
-- 表的结构 `#~eifr~#_user_repository`
--

DROP TABLE IF EXISTS `#~eifr~#_user_repository`;
CREATE TABLE IF NOT EXISTS `#~eifr~#_user_repository` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `tag` text NOT NULL,
  `relation_type` tinyint(1) NOT NULL DEFAULT '0',
  `relation_info` varchar(255) NOT NULL,
  `ratevalue` int(4) NOT NULL DEFAULT '0',
  `content` longtext NOT NULL,
  `uid` int(8) NOT NULL DEFAULT '0',
  `user_channel_channelid` varchar(255) NOT NULL,
  `addtime` int(11) NOT NULL DEFAULT '0',
  `edittime` int(11) NOT NULL DEFAULT '0',
  `ip` varchar(20) NOT NULL DEFAULT '',
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `flag` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

--
-- 转存表中的数据 `#~eifr~#_user_repository`
--

