--
-- 安装CPWEB企业网站管理系统默认数据
--

INSERT INTO `cpweb_fun_list` (`id`, `name`, `fun_values`) VALUES
(1, '会员功能', 'Member'),
(2, '文章模型', 'Article'),
(3, '单页模型', 'Pages'),
(4, '产品模型', 'Product'),
(5, '公告模块', 'Announce'),
(6, '留言模块', 'Feedback'),
(7, '招聘模块', 'Job'),
(8, '友情连接', 'Link');

INSERT INTO `cpweb_member` (`id`, `username`, `password`, `question`, `answer`, `regtime`, `lastlogintime`, `logintimes`, `ischecked`, `realname`, `sex`, `telphone`, `qq`, `email`, `address`) VALUES
(1, '~`~ADMINNAME~`~', '~`~ADMINPWD~`~', '', '', '~`~ADMINREGTIME~`~', '~`~ADMINREGTIME~`~', 0, 1, '', 1, '', '', '', '');

INSERT INTO `cpweb_model` (`id`, `name`, `address`, `type_id`) VALUES
(1, '单页', 'Pages', 12),
(2, '文章', 'Article', 12),
(3, '产品', 'Product', 12),
(5, '公告', 'Announce', 13),
(6, '留言', 'Feedback', 13),
(7, '招聘', 'Job', 13),
(8, '友情连接', 'Link', 13),
(12, '网站地图', 'Sitemap', 13),
(13, 'CPWEB主框架', 'cpweb', 18),
(14, '会员模型', 'member', 18),
(15, '外部连接', 'external', 13),
(16, '在线编辑器', 'editor', 24);

INSERT INTO `cpweb_operations` (`id`, `name`, `address`, `model_id`, `type_id`, `displayorder`, `opens`) VALUES
(1, '单页模块', '', 1, 14, 0, 1),
(2, '添加单页', '/add', 1, 14, 1, 1),
(3, '单页管理', '/index', 1, 14, 2, 1),
(5, '文章模块', '', 2, 14, 1, 1),
(6, '添加文章', '/add', 2, 14, 1, 1),
(7, '文章管理', '/index', 2, 14, 2, 1),
(8, '文章分类管理', '/category', 2, 14, 3, 1),
(9, '产品模块', '', 3, 14, 2, 1),
(10, '添加产品', '/add', 3, 14, 0, 1),
(11, '产品管理', '/index', 3, 14, 1, 1),
(12, '产品分类管理', '/category', 3, 14, 2, 1),
(19, '公告管理', '/index', 5, 14, 1, 1),
(20, '留言管理', '/index', 6, 14, 2, 1),
(21, '招聘管理', '/index', 7, 14, 3, 1),
(22, '友情连接管理', '/index', 8, 14, 4, 1);

INSERT INTO `cpweb_settings` (`type_id`, `title`, `set_values`) VALUES
(8, 'sitename', '~`~SITENAME~`~'),
(8, 'siteurl', '~`~SITEURL~`~'),
(8, 'email', 'zilaiye@cpweb.net.cn'),
(8, 'linkman', '自来也'),
(8, 'company', 'Gzero制作组'),
(8, 'telephone', '020-00000000'),
(8, 'fax', '020-00000000'),
(8, 'address', '广东省广州市'),
(8, 'status', '1'),
(8, 'stopd', '网站维护中```'),
(8, 'record', '粤ICP备*********号'),
(8, 'js', ''),
(15, 'attach', 'true'),
(15, 'attachdir', 'Attachments'),
(15, 'attachsize', '2097192'),
(15, 'attachext', 'jpg,gif,png'),
(15, 'thumbmaxwidth', '200'),
(15, 'thumbmaxheight', '300'),
(15, 'thumbsuffix', '_thumb'),
(16, 'seotitle', 'cpweb企业网站管理系统'),
(16, 'seokeywords', '~`~SEOKEYWORDS~`~'),
(16, 'seodescription', '~`~SEODESCRIPTION~`~'),
(9, 'openallowregister', '0'),
(9, 'allowregister', '1'),
(9, 'choosemodel', '1'),
(9, 'enablemailcheck', '0'),
(9, 'enableshowlist', '1'),
(9, 'enableadmincheck', '0'),
(9, 'enablecheckcodeofreg', '1'),
(9, 'enableQchk', '0'),
(9, 'paytype', 'point'),
(9, 'defualtpoint', '0'),
(9, 'defualtamount', '0.00'),
(17, 'index_simple', '1'),
(17, 'index_pages', '5'),
(17, 'index_article', '5'),
(17, 'index_product', '5'),
(17, 'index_announce', '3'),
(17, 'index_feedback', '0'),
(17, 'index_job', '0'),
(17, 'index_link', '-1'),
(17, 'index_luxurious', '0'),
(17, 'index_category', '10'),
(16, 'indexseotitle', '');

INSERT INTO `cpweb_type` (`id`, `name`, `type_values`, `ty_category_id`) VALUES
(1, '系统', 'xt', 1),
(2, '用户组', 'usergroup', 1),
(3, '系统默认用户组', 'xt_group', 5),
(4, '自定义用户组', 'zidingyi_group', 5),
(5, '前台内容模型', 'cpweb_app_model', 4),
(6, '前台功能模块', 'cpweb_app_module', 4),
(12, '内容模型', 'model', 4),
(8, '系统设置', 'xt_set', 3),
(9, '会员设置', 'member_set', 3),
(10, '管理网站', 'admin_cpweb', 6),
(11, '客户网站', 'member_cpweb', 6),
(13, '功能模块', 'module', 4),
(14, '后台内容管理', 'admin_content', 2),
(15, '附件设置', 'attach_set', 3),
(16, 'SEO设置', 'seo_set', 3),
(17, '首页设置', 'index_set', 3),
(18, '核心模块', 'cpweb', 4),
(23, '外部连接', 'channel_external', 8),
(22, '功能模块', 'channel_module', 8),
(20, '内容模型', 'channel_model', 8),
(24, '插件', 'plugins', 4);

INSERT INTO `cpweb_ty_category` (`id`, `name`, `t_c_values`) VALUES
(1, '权限类型', ''),
(2, '操作类型', 'operations'),
(3, '设置类型', ''),
(4, '模块类型', 'model'),
(5, '用户组类型', ''),
(6, '网站类型', ''),
(8, '栏目类型', 'channel');
