public static function single($id){ global $db; return $db->query("SELECT * FROM `{$db->prefix}comment` WHERE `id` = '{$id}'",1); }
输出数组,在模板里调用即可