public function MemberSshow($condition = '') { $member_id = array(); $info = $this->show($condition); $info && is_array($info) && ($member_id = array_keys($info)); $memberInfo = members::get_member_name($member_id); foreach ($info as $uid => $credits) { if ($member_name = $memberInfo[$uid]) { $info[$uid]['member_name'] = (string) $member_name; } else { $info[$uid]['u_id'] = 0; $info[$uid]['member_name'] = '用户不存在或已被删除'; } } return $info; }