layer-8/public/index.php

77 lines
2.2 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>
<div class='big_content'>
<?php
require_once('../app/config.php');
$el = isset($_GET['el']) ? $_GET['el'] : 'index';
switch($el) {
case 'index':
break;
case 'image':
include('image.php');
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:
include('404.php');
break;
}
?>
</div>
<hr style='margin-top: 3rem;'>
2024-11-14 22:59:55 +01:00
<footer>
<p class='footer_element'>
<a href='./index.php?el=legal'>legal information</a>
<a href='./index.php?el=privacy'>privacy policy</a>
</p>
<p class='footer_element'><a href='https://layer-8.moe/'>layer-8.moe</a> is a non-commercial homepage created by a private individual in 2024</p>
<p class='footer_element'>
&nbsp;<a href='https://layer-8.moe/'><img src='./resources/img/site-ad.gif'></a>
&nbsp;<a href='https://quintern.xyz/'><img src='./resources/img/site-ad-quintern.gif'></a>
&nbsp;<a href='https://gabrielbecker.com/'><img src='./resources/img/site-ad-gabriel.gif'></a>
</p>
2024-11-14 22:59:55 +01:00
</footer>