ct-website/pages/project.php

30 lines
524 B
PHP

<style>
p.small {
font-size: 14px;
}
</style>
<div>
<?php
//$filesList = array_reverse(array_diff(scandir("pages/projects/"), array(".", "..")));
//if (in_array(, $_GET["id"]))
switch ($_GET["id"]) {
case "stadium":
echo file_get_contents("pages/projects/stadium.html");
break;
case "marafon":
echo file_get_contents("pages/projects/marafon.html");
break;
case "e949":
echo file_get_contents("pages/projects/e949.html");
break;
default:
echo "<h2>404: project not found</h2>";
break;
}
?>
</div>