created template forum file

This commit is contained in:
Václav Šmejkal 2024-05-09 07:45:07 +02:00
parent 3ebbfe0046
commit 666ca488ec
Signed by: ENGO150
GPG Key ID: 4A57E86482968843
2 changed files with 61 additions and 0 deletions

37
forum.php Normal file
View File

@ -0,0 +1,37 @@
<?php
session_start();
if (!isset($_SESSION["username"]))
{
header("Location: ./index.php");
return;
}
?>
<!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="http://109.123.243.163/fht/favicon.ico">
<meta name="author" content="Smejkal, Suljakovic, Somr">
<meta name="description" content="Průvodce Hrádeckou Fabrikou">
<meta name="keywords" content="Foto, Old, Abandoned, Creepy, Panorama">
<script src="./res/global.js"></script>
<link rel="stylesheet" href="./res/global.css">
<link rel="stylesheet" href="./res/forum/style.css">
<title>Fabrika Hrádek Tour</title>
</head>
<body>
<button id="back_button" onclick="move('./index.php', true)">&#8701;</button>
<div id="main_panel">
<div id="side_panel">
A
</div>
</div>
</body>
</html>

24
res/forum/style.css Normal file
View File

@ -0,0 +1,24 @@
body
{
display: flex;
justify-content: center;
}
#main_panel
{
position: absolute;
width: 130vh;
height: 95vh;
background: #6F7270;
border: 1px solid #3E392F;
margin-top: 1.5vh;
}
#side_panel
{
border-right: 1px solid #3E392F;
height: 100%;
width: fit-content;
}