| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179 | 
							- <?php
 
- return array
 
- (
 
- 	# 表名
 
- 	'name' => 'config',
 
- 	# 显示给用户看的名称
 
- 	'lang' => '公共参数设置',
 
- 	//'menu' => 'manage',
 
- 	//'order' => 10,
 
- 	# 数据结构
 
- 	'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-192X197',
 
- 			'default' 	=> '',
 
- 			'desc' 		=> '请选择网站logo',
 
- 			'match' 	=> 'option',
 
- 			//'update'	=> 'image',
 
- 			'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'		=> '',
 
- 		),
 
- 		
 
- 		'icp'		=> array
 
- 		(
 
- 			'type' 		=> 'varchar-100',
 
- 			'name' 		=> '备案信息',
 
- 			'default' 	=> '',
 
- 			'desc' 		=> '请输入备案信息',
 
- 			'match' 	=> 'is_string',
 
- 			'update'	=> 'textarea',
 
- 		),
 
- 		'code'		=> array
 
- 		(
 
- 			'type' 		=> 'text-255',
 
- 			'name' 		=> '尾部代码-一般为统计代码',
 
- 			'default' 	=> '',
 
- 			'desc' 		=> '请输入尾部代码',
 
- 			'match' 	=> 'option',
 
- 			'update'	=> 'textarea',
 
- 		),
 
- 		'tel'		=> array
 
- 		(
 
- 			'type' 		=> 'varchar-50',
 
- 			'name' 		=> '客服电话',
 
- 			'default' 	=> '',
 
- 			'desc' 		=> '请输入客服电话',
 
- 			'match' 	=> 'is_string',
 
- 			'update'	=> 'text',
 
- 		),
 
- 		'reg_tel'		=> array
 
- 		(
 
- 			'type' 		=> 'varchar-50',
 
- 			'name' 		=> '注册电话',
 
- 			'default' 	=> '',
 
- 			'desc' 		=> '请输入注册电话',
 
- 			'match' 	=> 'is_string',
 
- 			'update'	=> 'text',
 
- 		),
 
- 		'android'		=> array
 
- 		(
 
- 			'type' 		=> 'varchar-150',
 
- 			'name' 		=> '安卓下载连接',
 
- 			'default' 	=> '',
 
- 			'desc' 		=> '安卓下载连接',
 
- 			'match' 	=> 'option',
 
- 			'update'	=> 'text',
 
- 		),
 
- 		'appstore'		=> array
 
- 		(
 
- 			'type' 		=> 'varchar-150',
 
- 			'name' 		=> 'appstore下载',
 
- 			'default' 	=> '',
 
- 			'desc' 		=> 'appstore下载',
 
- 			'match' 	=> 'option',
 
- 			'update'	=> 'text',
 
- 		),
 
- 		'cdate'		=> array
 
- 		(
 
- 			'type' 		=> 'int-11',
 
- 			'name' 		=> '录入时间',
 
- 			'match' 	=> time(),
 
- 			'desc' 		=> '',
 
- 		),
 
- 	),
 
- 	'manage' => array
 
- 	(
 
- 		# 后台管理不要列表页
 
- 		'list' => 'update',
 
- 	),
 
- );
 
 
  |