|
@@ -0,0 +1,223 @@
|
|
|
+<?php
|
|
|
+
|
|
|
+$comment = array
|
|
|
+(
|
|
|
+ 1 => '评论需要登录',
|
|
|
+ 2 => '评论不需要登录',
|
|
|
+);
|
|
|
+
|
|
|
+return array
|
|
|
+(
|
|
|
+
|
|
|
+ 'name' => 'config',
|
|
|
+
|
|
|
+ 'lang' => '基本配置',
|
|
|
+ 'order' => 1,
|
|
|
+
|
|
|
+ 'struct' => array
|
|
|
+ (
|
|
|
+ 'id' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => '系统ID',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'hr1' => array
|
|
|
+ (
|
|
|
+ 'name' => '基本信息',
|
|
|
+ 'class' => '',
|
|
|
+ 'attr' => '',
|
|
|
+ ),
|
|
|
+
|
|
|
+
|
|
|
+ 'name' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-32',
|
|
|
+ 'name' => '系统名称',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '请输入系统名称',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'text',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'logo' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-150',
|
|
|
+ 'name' => '系统logo-200X200',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '请选择系统logo',
|
|
|
+ 'match' => 'is_string',
|
|
|
+
|
|
|
+ 'key' => '1',
|
|
|
+ 'place' => '160X160',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'info' => array
|
|
|
+ (
|
|
|
+ 'type' => 'text-255',
|
|
|
+ 'name' => '系统介绍',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '请输入系统介绍',
|
|
|
+ 'match' => 'option',
|
|
|
+ 'update' => 'textarea',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'hr2' => array
|
|
|
+ (
|
|
|
+ 'name' => 'SEO信息',
|
|
|
+ 'class' => '',
|
|
|
+ 'attr' => '',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'title' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-50',
|
|
|
+ 'name' => '系统title',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '请输入系统标题',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'text',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'keyword' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-50',
|
|
|
+ 'name' => '系统keyword',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '请输入系统关键词',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'text',
|
|
|
+ ),
|
|
|
+ 'description' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-150',
|
|
|
+ 'name' => '系统description',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '请输入系统描述',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'textarea',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'hr3' => array
|
|
|
+ (
|
|
|
+ 'name' => '版权与介绍',
|
|
|
+ 'class' => '',
|
|
|
+ 'attr' => '',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'copyright' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-200',
|
|
|
+ 'name' => '版权信息',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '请输入版权信息',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'textarea',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'icp' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-200',
|
|
|
+ 'name' => 'icp备案信息-填写别的信息也可以的',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '请输入icp备案信息',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'textarea',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'code' => array
|
|
|
+ (
|
|
|
+ 'type' => 'text-255',
|
|
|
+ 'name' => '尾部代码-一般用于填写统计代码',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '请输入尾部代码',
|
|
|
+ 'match' => 'option',
|
|
|
+ 'update' => 'textarea',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'hr4' => array
|
|
|
+ (
|
|
|
+ 'name' => '其他配置',
|
|
|
+ 'class' => '',
|
|
|
+ 'attr' => '',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'score_name' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-200',
|
|
|
+ 'name' => '积分名称',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '积分名称',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'text',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'score_name_ext' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-200',
|
|
|
+ 'name' => '积分单位',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '积分名称',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'text',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'group_name' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-200',
|
|
|
+ 'name' => '战队名称',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '战队名称',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'text',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'exchange' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => '积分兑换比例-积分兑换元的比例,输入1则1个积分兑换1元,输入2则2个积分兑换1元',
|
|
|
+ 'default' => '1',
|
|
|
+ 'desc' => '积分兑换比例',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'text',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'exchange_min' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => '积分最低兑换数量',
|
|
|
+ 'default' => '10',
|
|
|
+ 'desc' => '积分最低兑换数量',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'text',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'cdate' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => '录入时间',
|
|
|
+ 'match' => array('is_numeric', time()),
|
|
|
+ 'desc' => '',
|
|
|
+
|
|
|
+ 'insert' => true,
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'default' => array
|
|
|
+ (
|
|
|
+ 'col' => 'name,info,title,keyword,description,copyright,icp,score_name,score_name_ext,group_name,cdate',
|
|
|
+ 'value' => array
|
|
|
+ (
|
|
|
+ '"嗨赚","做任务赚钱花-嗨赚任务系统","嗨赚任务系统","嗨赚,赚钱,任务系统","做任务赚钱花-嗨赚任务系统","Made With By Dever Hiz","京ICP备15006344号","金币","枚","小队",' . time(),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'manage' => array
|
|
|
+ (
|
|
|
+
|
|
|
+ 'list' => 'update',
|
|
|
+ ),
|
|
|
+);
|