Current Path : /data/web/virtuals/51568/virtual/www/knihy/ |
Current File : /data/web/virtuals/51568/virtual/www/knihy/index.php |
<?php if (session_id() == '') { session_start(); } error_reporting(E_ALL); if (isset($_REQUEST["t"])) { $location = $_REQUEST["m"]; header("Location: ".$location); exit(); } ?> <!DOCTYPE html> <html lang="cs"> <head> <meta name="generator" content="HTML Tidy for HTML5 for Windows version 5.6.0"> <meta content="text/html; charset=utf-8" http-equiv="content-type"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Základní škola náměstí Republiky Znojmo</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> <link rel="stylesheet" href="../css/knihovna.css"> <title>Evidence knihovny ZŠ Republiky</title> </head> <body class="container-fluid p-2"> <!--div class="header py-4"> <div class="container-fluid"> <h3>Knihovna na ZŠ Repubiky</h3> </div> </div--><!-- section-header.// --> <?php require_once ("../menu/menu-rekurze.php"); include_once("../menu/menu-login.php"); require_once("../class/account.class.php"); if (!isset($_SESSION["account"])) { $account = new Account(); $_SESSION["account"] = serialize($account); } else { $account = unserialize($_SESSION["account"]); } ZobrazMenu('knihy'); ?> <main> <div id="indexInfo" class="alert alert-info d-none"></div><?php if (IsSet($_REQUEST["m"])) { $m = $_REQUEST["m"]; if (StrLen($m) < 3) {$m = "knihy.php"; } } else {$m = "knihy.php"; } if(!strpos($m, ":") && $m[0]!="/" && substr($m,0,3) != "../" && file_exists($m)) { include($m); } else { ?> <div class="h3 alert alert-warning mt-5"> Stránka se připravuje ... </div><?php } ?> </main> </body> </html>