Current Path : /data/web/virtuals/51568/virtual/www/subdom/douc/php/ |
Current File : /data/web/virtuals/51568/virtual/www/subdom/douc/php/tiskoduceno.php |
<?php if (session_status() !== PHP_SESSION_ACTIVE) { session_start(); } if (!isset($_SESSION["account"])) { header("location: ../login.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"> <link rel="stylesheet" href="../css/tiskoduceno.css"> <title>ZŠ Republiky - tisk třídních knih doučování</title> </head> <body> <?php spl_autoload_register(function ($class_name) { include ($class_name . '.php'); }); $datumy = (isset($_REQUEST["datumy"])) ? $_REQUEST["datumy"] : ""; if($datumy){ $tisk = new Ucitele(); echo $tisk->tiskOduceno($datumy); } else { echo "Chybne parametry."; } ?> </body> </html>