<?php
require "core/setup.php";

if (!isset($_GET["view"])) {
    $view = "issues";
} else {
    $view = $_GET["view"];
}
if (!Utilities::is_valid_view_name($view)) {
    http_response_code(400);
    die;
}
?>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title></title>
    <link rel="stylesheet" href="css/paz.css" />
</head>

<body>
    <?php
    include "views/paz/$view.php";
    ?>
</body>

</html>
<?php
require "core/teardown.php";
