Current Path : /data/web/virtuals/51568/virtual/www/plan/ |
Current File : /data/web/virtuals/51568/virtual/www/plan/planyTisk.php |
<!DOCTYPE html> <html lang="cs"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>Tisk plánu</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"> <link rel="stylesheet" href="plany.css"> </head> <body onload="window.print();"> <?php require_once('DbConnect.php'); if (Isset($_GET["idPlan"])){$idPlan = $_GET["idPlan"];} else {$idPlan = 0;} $sql = "SELECT `id` FROM `pl_plany` WHERE id=$idPlan"; $result = mysqli_query($conn, $sql); $row = mysqli_fetch_object($result); if ($row-id < 1) {die("Plan with this ID does not exist. :(");} include "planyNahledTisk.php"; ?> </body> </html>