Репозиторий пересоздан

This commit is contained in:
2023-12-13 23:49:32 +03:00
parent 5c665128b2
commit e3d60167b0
28 changed files with 798 additions and 1 deletions

45
index.php Normal file
View File

@@ -0,0 +1,45 @@
<html>
<head>
<link rel="stylesheet" href="css/default.css">
<title>Cyclone Team website</title>
</head>
<body>
<div class="wrapper">
<?php
include "drafts/cap.html";
include "drafts/nav.php";
switch ($_GET["page"]) {
// Hidden
case "real_about":
include_once "pages/real_about.html";
break;
// Visible pages
case "contacts":
include_once "pages/contacts.html";
break;
case "music":
include_once "pages/music.html";
break;
case "project":
if (isset($_GET["id"]))
include_once "pages/project.php";
else
echo "<div><h2>404: project not found</h2></div>";
break;
case "projects":
include_once "pages/projects_list.html";
break;
case "news":
include_once "pages/news.php";
break;
case "main":
default:
include_once "pages/main.html";
}
include "drafts/footer.html";
?>
</div>
</body>
</html>