INSERT INTO `#@__admintype` VALUES('1','发布员','1','t_AccList a_AccNew a_AccList a_MyList a_MyEdit a_MyDel sys_MdPwd sys_Feedback sys_MyUpload '),('10','管理员','1','admin_AllowAll ');

INSERT INTO `#@__arcatt` VALUES('1','h','头条'),('2','c','推荐'),('4','a','特荐'),('7','p','图片'),('8','j','跳转');

INSERT INTO `#@__arcrank` VALUES('1','0','开放浏览','5','0','0',''),('2','-1','待审核','0','0','0',''),('3','10','管理员','5','0','100','');

INSERT INTO `#@__channeltype` VALUES('1','article','文章','#@__archives','#@__addonarticle','article_add.php','content_list.php','article_edit.php','article_add.php','content_list.php','article_edit.php','<field:body itemname="文档内容" autofield="0" notsend="0" type="htmltext" isnull="true" islist="1" default="" maxlength="" page="split">\t\n</field:body>\t\n','','','1','1','1','-1','','10','0','1','1','文档标题','0','0'),
('6','shop','商品','#@__archives','#@__addonshop','archives_add.php','content_list.php','archives_edit.php','archives_add.php','content_list.php','archives_edit.php','<field:body itemname="商品名称" autofield="1" notsend="0" type="htmltext" isnull="true" islist="0" default="" maxlength="" page="split">\t\n</field:body>\t\n<field:price itemname="市场价" autofield="1" notsend="0" type="float" isnull="true" islist="1" default="" maxlength="" page="">\t\n</field:price>\t\n<field:trueprice itemname="优惠价" autofield="1" notsend="0" type="float" isnull="true" islist="1" default="" maxlength="" page="">\t\n</field:trueprice>\t\n<field:brand itemname="品牌" autofield="1" notsend="0" type="text" isnull="true" islist="1" default="" maxlength="250" page="">\t\n</field:brand>\t\n<field:units itemname="计量单位" autofield="1" notsend="0" type="text" isnull="true" islist="1" default="" maxlength="250" page="">\t\n</field:units>\t\n\n\t\n\n<field:uptime itemname="上架时间" autofield="1" notsend="0" type="datetime" isnull="true" islist="0" default=""  maxlength="250" page="">\t\n</field:uptime>\t\n','price,trueprice,brand,units','','0','1','1','-1','','10','0','1','1','商品名称','0','0');

INSERT INTO `#@__flink` VALUES('1','1','http://www.keji.gs','织梦精简版','','','','1611331200','1','2');

INSERT INTO `#@__flinktype` VALUES('1','综合网站'),
('2','娱乐类'),
('3','教育类'),
('4','电子商务'),
('5','其它类型');

INSERT INTO `#@__homepageset` VALUES('default/index.htm','../index.html','0');

INSERT INTO `#@__sysconfig` VALUES('1','cfg_basehost','网站域名','1','string',''),
('2','cfg_cmspath','安装目录','2','string',''),
('3','cfg_cookie_encode','Cookie','2','string',''),
('4','cfg_indexurl','主页链接','1','string','/'),
('5','cfg_backup_dir','备份目录','2','string','backupdata'),
('6','cfg_indexname','主页名称','1','string','主页'),
('7','cfg_webname','网站名称','1','string','我的网站'),
('800','cfg_logo','LOGO','1','string','/KeJi_Gs/img/logo.png'),
('801','cfg_qq','联系ＱＱ','1','string','503827438'),
('802','cfg_wechat','联系微信','1','string','15555598741'),
('803','cfg_phone','联系电话','1','string','15555598741'),
('804','cfg_webtitle','首页标题','1','string','织梦精简版 - KeJi.Gs'),
('805','cfg_infocopy','转发版权','1','string','转载时必须以连接形式注明作者和原始出处 - 织梦精简版 - KeJi.Gs'),
('806','cfg_cdnlink','CDN地址','1','string','https://cdn.keji.gs'),
('8','cfg_adminemail','发信邮箱','2','string','www@keji.gs'),
('9','cfg_html_editor','编辑器','2','string','ckeditor'),
('10','cfg_arcdir','生成目录','1','string','/'),
('11','cfg_medias_dir','上传路径','1','string','/keji_gs/file'),
('12','cfg_ddimg_width','缩略图默认宽度','3','number','240'),
('13','cfg_ddimg_height','缩略图默认高度','3','number','180'),
('15','cfg_imgtype','图片浏览器文件类型','3','string','jpg|gif|png'),
('16','cfg_softtype','允许上传的软件类型','3','bstring','zip|gz|rar|iso|doc|xsl|ppt|wps'),
('17','cfg_mediatype','允许的多媒体文件类型','3','bstring','swf|mpg|mp3|rm|rmvb|wmv|wma|wav|mid|mov'),
('19','cfg_list_symbol','栏目位置的间隔符号','2','string',' > '),
('20','cfg_notallowstr','禁用词语','5','bstring',''),
('22','cfg_keyword_replace','关键字替换','2','bool','Y'),
('23','cfg_fck_xhtml','编辑器XHTML','1','bool','N'),
('24','cfg_df_style','模板默认风格','1','string','default'),
('58','cfg_rm_remote','远程图片本地化','7','bool','Y'),
('27','cfg_dede_log','开启管理日志','2','bool','N'),
('28','cfg_powerby','网站版权信息','1','bstring','Copyright &copy; 2021 KeJi.Gs 织梦精简版 版权所有'),
('722','cfg_jump_once','跳转网址直接跳转','7','bool','Y'),
('723','cfg_task_pwd','计划任务许可码','7','string',''),
('29','cfg_arcsptitle','分页标题','6','bool','N'),
('30','cfg_arcautosp','自动分页','6','bool','N'),
('31','cfg_arcautosp_size','分页大小(K)','6','number','5'),
('32','cfg_auot_description','自动摘要长度','7','number','0'),
('40','cfg_list_son','上级列表包含子类','6','bool','Y'),
('47','cfg_cli_time','服务器时区设置','2','number','8'),
('20','cfg_replacestr','替换词语','5','bstring',''),
('719','cfg_makeindex','实时更新主页','6','bool','N'),
('51','cfg_keyword_like','关键词关联','6','bool','N'),
('52','cfg_index_max','主页函数索引文档数','6','number','100'),
('53','cfg_index_cache','arclist标签调用缓存','6','number','86400'),
('54','cfg_tplcache','是否启用模板缓存','6','bool','Y'),
('55','cfg_tplcache_dir','模板缓存目录','6','string','/keji_gs_data/tplcache'),
('56','cfg_makesign_cache','文档调用缓存','6','bool','N'),
('59','cfg_arc_dellink','删除非站内链接','7','bool','N'),
('60','cfg_arc_autopic','自动提取缩略图','7','bool','Y'),
('61','cfg_arc_autokeyword','自动提取关键字','7','bool','Y'),
('62','cfg_title_maxlen','文档标题长度','7','number','255'),
('64','cfg_check_title','检测重复标题','7','bool','Y'),
('92','cfg_search_max','搜索文档数','6','number','5000'),
('93','cfg_search_maxrc','搜索结果数','6','number','300'),
('94','cfg_search_time','搜索间隔(秒)','6','number','2'),
('706','cfg_upload_switch','同时删除附件','2','bool','Y'),
('708','cfg_rewrite','是否使用伪静态','2','bool','N'),
('707','cfg_allsearch_limit','全局搜索时限','2','string','1'),
('709','cfg_delete','文档回收站','2','bool','Y'),
('710','cfg_keywords','站点关键字','1','string',''),
('711','cfg_description','站点描述','1','bstring',''),
('712','cfg_beian','网站备案号','1','string',''),
('713','cfg_need_typeid2','是否启用副栏目','6','bool','Y'),
('716','cfg_cache_type','ID,content标签内容','6','string','id'),
('718','cfg_typedir_df','栏目地址默认拼音','2','bool','Y'),
('719','cfg_make_andcat','实时更新栏目','6','bool','N'),
('720','cfg_make_prenext','实时更新上下篇','6','bool','Y'),
('724','cfg_addon_domainbind','附件目录指定域名','7','bool','N'),
('725','cfg_addon_domain','附件目录域名','7','string',''),
('726','cfg_df_dutyadmin','默认作者笔名','7','string','admin'),
('735','cfg_arc_dirname','目录默认文档名','7','bool','Y'),
('736','cfg_puccache_time','缓存全局时间','6','number','36000'),
('737','cfg_arc_click','文档默认访问量','7','number','-1'),
('738','cfg_addon_savetype','附件保存形式','3','string','ymd'),
('739','cfg_qk_uploadlit','异步上传缩略图','3','bool','Y'),
('742','cfg_ddimg_full','强制缩略图大小','3','bool','N'),
('743','cfg_ddimg_bgcolor','缩略图背景填充颜色','3','number','0'),
('744','cfg_replace_num','文档同关键词替换数','7','number','2'),
('745','cfg_uplitpic_cut','缩略图后弹出裁剪框','3','bool','Y'),
('752','cfg_mysql_type','数据库类型','2','string','mysql'),
('753','cfg_sphinx_article','文章全文检索','7','bool','N'),
('754','cfg_sphinx_host','Sphinx地址','7','string','localhost'),
('755','cfg_sphinx_port','Sphinx端口','7','number','9312'),
('14', 'cfg_domain_cookie', '跨域共享cookie的域名', 2, 'string', ''),
('759', 'cfg_cross_sectypeid', '交叉显示副栏目内容', '7', 'bool', 'N'),
('770', 'cfg_disable_funs', '模板引擎禁用PHP函数', '7', 'bstring', 'phpinfo,eval,exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source,file_put_contents'),
('771', 'cfg_disable_tags', '模板引擎禁用标签', '7', 'bstring', 'php');

ALTER TABLE `#@__arctiny` ADD INDEX `idx_typeid_arcrank_sortrank` (`typeid`, `arcrank`, `sortrank`);