IsStaff()) { WebContextManager::Redirect("/"); } //chek $report = $GLOBALS['pdo']->prepare("SELECT * FROM user_reports WHERE `id` = :id AND `closed` = 0"); $report->bindParam(":id", $_GET['id'], PDO::PARAM_INT); $report->execute(); if ($report->rowCount() == 0) { WebContextManager::Redirect("/MCP/reports/"); } $body = <<Report Information
If you are unsure about something please contact an Administrator
If you determine misuse of this system please warn ban the user



Chat Log:
EOT; pageHandler(); $ph->pageTitle("Report"); $ph->body = $body; $ph->output();