Your IP : 18.216.91.156


Current Path : /data/web/virtuals/51568/virtual/www/www/plany.bak/
Upload File :
Current File : /data/web/virtuals/51568/virtual/www/www/plany.bak/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
  if (file_exists('funkce/DbConnect.php')){
     require_once('funkce/DbConnect.php');
  }
  if (file_exists('../../funkce/DbConnect.php')){
     require_once('../../funkce/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>