Your IP : 18.117.145.203


Current Path : /data/web/virtuals/51568/virtual/www/subdom/jidelna/
Upload File :
Current File : /data/web/virtuals/51568/virtual/www/subdom/jidelna/index.php

<?php
if (session_status() !== PHP_SESSION_ACTIVE) {
    session_start();
}
if (!isset($_SESSION["account"])) {
    header("location: login.php");    
}
include('php/funkce.php');
?>

<!DOCTYPE html>
<html lang="cz">

<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 href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.1.0/css/all.css" integrity="sha512-ajhUYg8JAATDFejqbeN7KbF2zyPbbqz04dgOLyGcYEk/MJD3V+HJhJLKvJ2VVlqrr4PwHeGTTWxbI+8teA7snw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="css/jidelna.css">
	<script src="https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js"></script>
    
    <title>ZŠ Republiky - evidence přihlášek strávníků</title>
</head>

<body>
    <div class="container-fluid">
        <?php
        if (!isset($_SESSION["account"])){?>
<div class="alert alert-danger">Nepřihlášený uživatel.</div>        
        <?php 
        } else {
            $jidelna = new Jidelna(0);
            echo $jidelna->menu();
            includeJS('Jidelna');
        }
    ?>
</body>

</html>