INSERT INTO `pre_category` (`cid`, `mid`, `type`, `upid`, `name`, `alias`, `intro`, `cate_tpl`, `show_tpl`, `count`, `orderby`, `seo_title`, `seo_keywords`, `seo_description`) VALUES
(1, 2, 0, 10, '公司企业', 'company', '', 'products_list.htm', 'products_show.htm', 3, 0, '', '', ''),
(2, 2, 0, 10, '淘客推广', 'taoke', '', 'products_list.htm', 'products_show.htm', 2, 0, '', '', ''),
(5, 2, 0, 10, '酒店宾馆', 'hotel', '', 'products_list.htm', 'products_show.htm', 0, 0, '', '', ''),
(10, 2, 1, 0, '资源', 'downs', '', 'products_index.htm', 'products_show.htm', 0, 0, '', '', ''),
(11, 3, 0, 0, '站内公告', 'notice', '', 'article_list.htm', 'article_show.htm', 1, 0, '', '', ''),
(12, 1, 0, 0, '关于', 'about', '', 'page.htm', '', 0, 0, '', '', ''),
(13, 1, 0, 0, '作品', 'codes', '', 'search_index.htm', '', 0, 0, '', '', ''),
(14, 3, 0, 0, '技术文章', 'art', '', 'article_list.htm', 'article_show.htm', 6, 0, '', '', ''),
(15, 2, 0, 10, '电子商城', 'shop', '', 'products_list.htm', 'products_show.htm', 1, 0, '', '', ''),
(16, 2, 0, 10, '影音游戏', 'mov', '', 'products_list.htm', 'products_show.htm', 1, 0, '', '', ''),
(17, 3, 0, 0, '常见问题与解答', 'faq', '', 'article_list.htm', 'article_show.htm', 9, 0, '', '', '');

INSERT INTO `pre_cms_block` (`id`, `pos`, `isjs`, `title`, `content`, `dateline`) VALUES
(1, 'home_center', 1, '首页中间', '<a href=""><img src="https://img10.360buyimg.com/da/jfs/t3235/326/3911409958/101118/5831a815/57f9a91fN51369fb5.jpg" class="img-responsive" /></a>', 1435285291),
(2, 'home_top', 1, '首页顶部', '<a href=""><img src="https://img11.360buyimg.com/cms/jfs/t3091/221/3128129977/91346/fbc76a21/57ee2821N4e40d129.jpg" class="img-responsive" /></a>', 1476003157),
(3, 'list_zanzhu', 1, '列表页赞助', '<li class="list-group-item"><a href=""><img class="img-responsive" src="static/default/img/a1.jpg" /></a></li><li class="list-group-item"><a href=""><img class="img-responsive" src="static/default/img/a2.jpg" /></a></li>', 1476003374);

INSERT INTO `pre_cms_page` (`cid`, `content`) VALUES
(12, '<p>NewZhan.com<br/></p>'),
(13, '<p>仅用于内容引导<br/></p>');

INSERT INTO `pre_kv` (`k`, `v`, `expiry`) VALUES
('link_keywords', '["tag","tag_top","comment","index","sitemap","admin","user","space"]', 0),
('navigate', '{"1":{"cid":10,"alias":"downs","name":"\\u8d44\\u6e90","url":10,"target":"_self"}}', 0),
('pp_links', '[{"name":"baidu","url":"http:\\/\\/www.baidu.com"}]', 0),
('mail_cfg', '{"sendtype":1,"smtplist":{"email":"test@126.com","host":"smtp.126.com","port":"25","user":"test@126.com","pass":""},"moban":{"email_active_content":"\\u6b22\\u8fce\\u60a8\\u6ce8\\u518c\\u6210\\u4e3aNZ\\u5de5\\u4f5c\\u5ba4\\u7528\\u6237\\uff0c\\u70b9\\u51fb\\u4e0b\\u9762\\u94fe\\u63a5\\u8fdb\\u884c\\u90ae\\u7bb1\\u7ed1\\u5b9a\\uff1a{click}\\r\\n\\u6216\\u8005\\u5c06\\u7f51\\u5740\\u590d\\u5236\\u5230\\u6d4f\\u89c8\\u5668\\uff1a{url}","email_active_off":"1","email_pwd_content":"NZ\\u5de5\\u4f5c\\u5ba4\\u5bc6\\u7801\\u627e\\u56de\\uff0c\\u65b0\\u7684\\u767b\\u5f55\\u5bc6\\u7801\\u4e3a\\uff1a{password}","email_pwd_off":"1"}}', 0),
('sms_cfg', '{"sms_off":0,"sms_user":"","sms_password":"","payok":"\\u3010NZcms\\u3011{username}\\uff0c\\u60a8\\u5728\\u7ebf\\u5145\\u503c{money}\\u5143\\u5df2\\u5230\\u5e10","payok_off":0,"phonecode":"\\u3010NZcms\\u3011{username}\\uff0c\\u60a8\\u7684\\u624b\\u673a\\u9a8c\\u8bc1\\u7801\\u4e3a{code}","phonecode_off":1,"type":1,"admin_mobile":"13854395382","sms_pwd_content":"\\u3010NZcms\\u3011\\u4f60\\u597d\\uff0c\\u5bc6\\u7801\\u627e\\u56de\\uff0c\\u65b0\\u7684\\u767b\\u5f55\\u5bc6\\u7801\\u4e3a\\uff1a{password}","sms_pwd_off":1,"tuan_ok":"\\u3010NZcms\\u3011\\u4f60\\u597d\\uff0c\\u4f60\\u8ba2\\u8d2d\\u7684\\u201c{name}\\u201d\\u56e2\\u8d2d\\u6210\\u529f\\uff0c\\u8bf7\\u767b\\u9646\\u4f1a\\u5458\\u4e2d\\u5fc3\\u67e5\\u770b\\u4e0b\\u8f7d","tuanok_off":0,"tuan_no":"\\u3010NZcms\\u3011\\u4f60\\u597d\\uff0c\\u4f60\\u8ba2\\u8d2d\\u7684\\u201c{name}\\u201d\\u7ec4\\u56e2\\u5931\\u8d25\\uff0c{money}\\u5143\\u5df2\\u9000\\u56de\\u5230\\u4f60\\u7684\\u5e10\\u6237","tuanno_off":0}', 0);

INSERT INTO `pre_models` (`mid`, `name`, `tablename`, `index_tpl`, `cate_tpl`, `show_tpl`, `system`) VALUES
(1, '单页', 'page', '', 'page_show.htm', '', 1),
(2, '资源', 'products', 'products_index.htm', 'products_list.htm', 'products_show.htm', 1),
(3, '文章', 'article', 'article_index.htm', 'article_list.htm', 'article_show.htm', 1);

INSERT INTO `pre_user_group` (`groupid`, `groupname`, `system`, `isadmin`, `purviews`, `ishidden`) VALUES
(1, '超级管理员', 1, 1, '{"navs":null,"whitelist":{"home":"\\u9996\\u9875","my-index":"1","my-password":"1","blockmanage-index":"1","blockmanage-set":"1","blockmanage-del":"1","links-index":"1","links-set":"1","links-del":"1","audit":"\\u8ba2\\u5355","book-index":"1","book-auto_comment":"1","record-index":"1","record-confirm":"1","record-del":"1","withdraw-index":"1","withdraw-index-status-1":"1","withdraw-confirm":"1","withdraw-del":"1","setting":"\\u8bbe\\u7f6e","setting-index":"1","setting-sms":"1","setting-seo":"1","setting-link":"1","setting-attach":"1","setting-image":"1","category":"\\u5206\\u7c7b","category-index":"1","category-set":"1","category-del":"1","category-edit_orderby":"1","navigate-index":"1","navigate-add_cate":"1","navigate-add_link":"1","navigate-nav_save":"1","navigate-del":"1","models-index":"1","content":"\\u5185\\u5bb9","products-index":"1","products-add":"1","products-edit":"1","products-del":"1","products-ajaxsetflags":"1","products-faq":"1","products-faq_add":"1","products-faq_edit":"1","products-faq_del":"1","products-update_sms":"1","comment-index":"1","comment-get_json":"1","comment-edit":"1","comment-status":"1","comment-del":"1","comment-batch_del":"1","article-index":"1","article-add":"1","article-edit":"1","article-del":"1","article-batch_del":"1","article-ajaxsetflags":"1","tag-index":"1","article-get_json":"1","user":"\\u7528\\u6237","user-index":"1","user-add":"1","user-edit":"1","user-change_money":"1","user-del":"1","user-set_status":"1","user_group-index":"1","user_group-add":"1","user_group-edit":"1","user_group-del":"1","tool":"\\u5de5\\u5177","database-index":"1","database-docommand":"1","database-backup":"1","database-recove":"1","database-down":"1","database-del":"1","tool-rebuild":"1","products-ajaxset":1,"products-get_pro_json":1,"products-batch_del":1,"products-tuan_edit":1,"products-tuan_over":1,"products-baidu":1,"products-auto_pic":1,"products-save_images":1,"products-save_downs":1,"products-del_attach":1,"products-auto_save":1,"tool-get_tags":1,"tool-get_pinyin":1,"article-baidu":1,"links-sort":1,"tool-index":1,"book-get_pro":1,"book-get_user":1,"category-get_category_upid":1,"category-get_category_json":1,"category-get_category_content":1,"category-get_pinyin":1,"comment-content":1,"database-import":1,"pay-lifealipay":1,"setting-testemail":1},"other":null}', 0),
(2, '普通管理员', 1, 1, '{"navs":null,"whitelist":{"home":"\\u9996\\u9875","my-index":"1","my-password":"1","blockmanage-index":"1","blockmanage-set":"1","blockmanage-del":"1","links-index":"1","links-set":"1","links-del":"1","audit":"\\u8ba2\\u5355","book-index":"1","book-auto_comment":"1","withdraw-del":"1","category":"\\u5206\\u7c7b","category-index":"1","category-set":"1","category-del":"1","category-edit_orderby":"1","navigate-index":"1","navigate-add_cate":"1","navigate-add_link":"1","navigate-nav_save":"1","models-index":"1","content":"\\u5185\\u5bb9","products-index":"1","products-add":"1","products-edit":"1","products-ajaxsetflags":"1","products-faq":"1","products-faq_add":"1","products-faq_edit":"1","products-update_sms":"1","comment-index":"1","comment-get_json":"1","comment-edit":"1","comment-status":"1","comment-del":"1","comment-batch_del":"1","article-index":"1","article-add":"1","article-edit":"1","article-del":"1","article-batch_del":"1","tag-index":"1","article-get_json":"1","user":"\\u7528\\u6237","user-set_status":"1","tool":"\\u5de5\\u5177","database-index":"1","database-docommand":"1","database-backup":"1","tool-rebuild":"1","products-ajaxset":1,"products-get_pro_json":1,"products-batch_del":1,"products-tuan_edit":1,"products-tuan_over":1,"products-baidu":1,"products-auto_pic":1,"products-save_images":1,"products-save_downs":1,"products-del_attach":1,"products-auto_save":1,"tool-get_tags":1,"tool-get_pinyin":1,"article-baidu":1,"links-sort":1,"tool-index":1,"book-get_pro":1,"book-get_user":1,"category-get_category_upid":1,"category-get_category_json":1,"category-get_category_content":1,"category-get_pinyin":1,"comment-content":1,"database-import":1,"pay-lifealipay":1,"setting-testemail":1},"other":null}', 0),
(3, '网站编辑', 1, 1, '{"navs":null,"whitelist":{"home":"\\u9996\\u9875","my-index":"1","my-password":"1","content":"\\u5185\\u5bb9","products-index":"1","products-add":"1","products-edit":"1","products-del":"1","products-ajaxsetflags":"1","products-faq":"1","products-faq_add":"1","products-faq_edit":"1","products-faq_del":"1","products-update_sms":"1","comment-index":"1","comment-get_json":"1","comment-edit":"1","comment-status":"1","comment-del":"1","comment-batch_del":"1","article-index":"1","article-add":"1","article-edit":"1","article-del":"1","article-batch_del":"1","article-ajaxsetflags":"1","tag-index":"1","article-get_json":"1","products-ajaxset":1,"products-get_pro_json":1,"products-batch_del":1,"products-tuan_edit":1,"products-tuan_over":1,"products-baidu":1,"products-auto_pic":1,"products-save_images":1,"products-save_downs":1,"products-del_attach":1,"products-auto_save":1,"tool-get_tags":1,"tool-get_pinyin":1,"article-baidu":1,"links-sort":1,"tool-index":1,"book-get_pro":1,"book-get_user":1,"category-get_category_upid":1,"category-get_category_json":1,"category-get_category_content":1,"category-get_pinyin":1,"comment-content":1,"database-import":1,"pay-lifealipay":1,"setting-testemail":1},"other":null}', 0),
(4, '普通用户', 1, 0, '{"navs":[],"whitelist":[],"other":{"utype":"1","price":"","percent":"","sem":"5"}}', 0),
(5, '银卡会员', 1, 0, '{"navs":[],"whitelist":[],"other":{"utype":"2","price":"66","percent":"9","sem":"10"}}', 0),
(6, '金卡会员', 1, 0, '{"navs":[],"whitelist":[],"other":{"utype":"2","price":"288","percent":"8","sem":"20"}}', 0),
(7, '钻石会员', 1, 0, '{"navs":[],"whitelist":[],"other":{"utype":"2","price":"680","percent":"5","sem":"30"}}', 0);