|
|
|
@ -85,7 +85,7 @@ function get_list_field($data, $grid)
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* [every_day 获取日期]
|
|
|
|
|
* @param integer $m [description]
|
|
|
|
|
* @param integer $m [description]
|
|
|
|
|
* @return [type] [array]
|
|
|
|
|
*/
|
|
|
|
|
function every_day($m = 7)
|
|
|
|
@ -293,7 +293,6 @@ function get_config_group($group = 0)
|
|
|
|
|
* '字段名2'=>array(映射关系数组),
|
|
|
|
|
* ......
|
|
|
|
|
* )
|
|
|
|
|
* @author 朱亚杰 <zhuyajie@topthink.net>
|
|
|
|
|
* @return array
|
|
|
|
|
*
|
|
|
|
|
* array(
|
|
|
|
@ -301,6 +300,7 @@ function get_config_group($group = 0)
|
|
|
|
|
* ....
|
|
|
|
|
* )
|
|
|
|
|
*
|
|
|
|
|
* @author 朱亚杰 <zhuyajie@topthink.net>
|
|
|
|
|
*/
|
|
|
|
|
function int_to_string(&$data, $map = array('status' => array(1 => '正常', -1 => '删除', 0 => '锁定', 2 => '未审核', 3 => '草稿')))
|
|
|
|
|
{
|
|
|
|
@ -365,7 +365,7 @@ function get_parent_category($cid)
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 检测验证码
|
|
|
|
|
* @param integer $id 验证码ID
|
|
|
|
|
* @param integer $id 验证码ID
|
|
|
|
|
* @return boolean 检测结果
|
|
|
|
|
* @author 麦当苗儿 <zuojiazi@vip.qq.com>
|
|
|
|
|
*/
|
|
|
|
@ -522,3 +522,9 @@ function get_action_type($type, $all = false)
|
|
|
|
|
return $list[$type];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//获取服务器类型
|
|
|
|
|
function getServerType($serverType)
|
|
|
|
|
{
|
|
|
|
|
return (($serverType == 1) ? '专服' : '混服');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|