{$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']); $rs = mysqli_query($conn, "SELECT * FROM `{$db['name']}`.`users`"); $data = ""; while($rw = mysqli_fetch_row($rs)) { $data .= "
{$rw[3]} | 权限:{$rw[4]}