public static function index()
 {
     Controller::requirePermissions(["AdminAccessDashboard"]);
     if (!empty($_POST)) {
         Setting::set("info_box_content", $_POST["info"]);
     }
     View::load("acp/index.twig", ["organizationCount" => count(Organization::get()), "teamCount" => count(Team::get()), "unassignedTeams" => Team::get(null, null, null, false, false), "info" => Setting::get("info_box_content"), "mismatches" => Match::get(null, null, null, null, null, Match::STATUS_MISMATCH)]);
 }
 public static function index()
 {
     $includeRestricted = false;
     View::load("index.twig", ["info" => Setting::get("info_box_content"), "leagues" => League::get(), "downloads" => Download::get(null, Download::TYPE_HOMEPAGE, null, $includeRestricted)]);
 }