<!DOCTYPE html>
<html lang="hu">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <?php
        session_start();
        if (!isset($_SESSION["nev"])) {
            header(header: "Location: form.php");
        }
    ?>
    <h1>Vásárlás</h1>
    <form class="container" action="#" method="POST">
        <div class="termek">
            <img src="img/baranyhus.png" alt=""><br>
            <p>Bárány hátsó csülök</p>
            <p>7900 Ft/kg</p>
            <input type="number" name="kg1" id="kg1" value="0">
        </div>
        <div class="termek">
            <img src="img/tbone.png" alt=""><br>
            <p>T-bone steak</p>
            <p>7500 Ft/kg</p>
            <input type="number" name="kg2" id="kg2" value="0">
        </div>
        <div class="termek">
            <img src="img/ribeye.png" alt=""><br>
            <p>Ribeye steak</p>
            <p>6500 Ft/kg</p>
            <input type="number" name="kg3" id="kg3" value="0">
        </div><br>
        <button type="submit">Vásárlás</button>
    </form>
    <a href="kijelentkezes.php">Kijelentkezés</a>
    <?php
        include "kiertekeles.php";
        kiertekeles();
    ?>
</body>
</html>