Current Path : /data/web/virtuals/51568/virtual/www/subdom/agenda/ |
Current File : /data/web/virtuals/51568/virtual/www/subdom/agenda/tiskExk.php |
<?php if (session_status() !== PHP_SESSION_ACTIVE) { session_start(); } if (!$_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/tiskcp.css"> <title>ZŠ Republiky - exkurze tisk</title> </head> <body> <!-- <body onload="window.print()"> --> <body> <?php $data = (isset($_REQUEST["data"])) ? $_REQUEST["data"] : ""; if ($data){ require __DIR__ . "/vendor/autoload.php"; $data = json_decode($data); switch ($data->typ){ default:{ echo "Neočekávané paramatetry skriptu."; } } $tisk = new ExkurzeUcitel(); //echo $tisk->tiskNahled(); } else { echo "Není co tisknout."; } ?> </body> </html>