togethere.cloud/private_html/disciplines/table-football/index.php

74 lines
2.2 KiB
PHP

<?php
// Ochrona przed dostępem administratorów
require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/frontend_protection.php';
?>
<!--
Author: Wspólnie
Author URL: https://togethere.cloud
-->
<!DOCTYPE html>
<html>
<head>
<title>Piłkarzyki | kontakt: wspolpraca@togethere.cloud</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta name="keywords" content="projekty przyszłości"/>
<link rel="stylesheet" href="/css/header.css" type="text/css" media="all"/>
<link rel="stylesheet" href="/css/footer.css" type="text/css" media="all"/>
<link href="/css/font-awesome.min.css" rel="stylesheet" type="text/css" media="all">
<link href="/css/style.css" rel="stylesheet" type="text/css" media="all"/>
<link href="//fonts.googleapis.com/css?family=Lato:400,500,600,700,800,900" rel="stylesheet">
<style>
h1 {
color: black;
padding: 10px 30px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
margin-bottom: 0px;
background-color: white;
text-align: center;
}
div.title {
width: 100%;
display: flex;
justify-content: center;
}
</style>
</head>
<body>
<!-- Tutaj PHP sprawdza sesje czy zalogowany i wczytuje odpowiednią nawigację -->
<?php
if (!empty($_SESSION['logged_in'])) {
if (isset($_SESSION['role']) && $_SESSION['role'] === 'admin') {
include __DIR__ . '/../../global/navLoginedAdmin.php';
} else {
include __DIR__ . '/../../global/navLogined.php';
}
} else {
include __DIR__ . '/../../global/navNoLogined.php';
}
?>
<main>
<div class="title">
<h1>Piłkarzyki</h1>
</div>
<div class="error_main">
<div class="content">
<div class="error_content">
<img src="/img/WSPOLNIE.PNG" alt="IS3">
</div>
</div>
</div>
</main>
<?php
if (!empty($_SESSION['logged_in'])) {
include __DIR__ . '/../../global/footerLogined.php';
} else {
include __DIR__ . '/../../global/footerNoLogined.php';
}
?>
</body>
</html>