{$rw[1]} ({$rw[3]})"; } else { $data .= ""; } } return $data; } /** * 输出管理用户列表 * * @return String 用户列表 */ public function getUserListAdmin() { $db = Config::MySQL(); $conn = mysqli_connect($db['host'], $db['user'], $db['pass'], $db['name'], $db['port']); mysqli_query($conn, "set names 'utf8mb4'"); $rs = mysqli_query($conn, "SELECT * FROM `{$db['name']}`.`users`"); $data = ""; while($rw = mysqli_fetch_row($rs)) { $data .= "
{$rw[3]} | 权限:{$rw[4]}