layer-8/public/index.php

58 lines
1.4 KiB
PHP
Raw Normal View History

<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width initial-scale=1">
<title>Present day... present time! AHAHAHAHA</title>
<link rel="stylesheet" href="./resources/stylesheet.css">
<link rel="icon" href="./resources/fav.ico">
</head>
<body>
2023-11-16 23:37:16 +01:00
<div style='height: 24vh;'></div>
<a href='index.php' class='logo_link'>
2023-11-16 23:37:16 +01:00
<div class='logo_group'>
<h1 class='logo_font'>LAYER-</h1>
<img src='./resources/img/8_spinning_30fps.gif' class='logo_gif'>
2023-11-16 23:37:16 +01:00
</div>
</a>
2023-11-15 23:37:23 +01:00
<ul class='menu_bar'>
2023-11-19 19:26:21 +01:00
<li><a href='./index.php?el=image'>image</a></li>
2023-11-16 23:37:16 +01:00
<li><a href='./index.php?el=audio'>audio</a></li>
<li><a href='./index.php?el=video'>video</a></li>
<li><a href='./index.php?el=text'>text</a></li>
<li><a href='./index.php?el=about'>about</a></li>
2023-11-15 23:37:23 +01:00
</ul>
2023-11-16 23:37:16 +01:00
<div style='height: 4vh;'></div>
</body>
<?php
2023-11-19 19:26:21 +01:00
require_once('../app/config.php');
2023-11-16 23:37:16 +01:00
$el = isset($_GET['el']) ? $_GET['el'] : '';
switch($el) {
2023-11-19 19:26:21 +01:00
case 'image':
include('image.php');
2023-11-16 23:37:16 +01:00
break;
case 'audio':
include('audio.php');
break;
case 'video':
include('video.php');
break;
case 'text':
include('text.php');
break;
case 'about':
include('about.php');
break;
default:
2023-11-19 19:26:21 +01:00
include('404.php');
2023-11-16 23:37:16 +01:00
break;
}
?>