<?php
session_start();
?>

<!DOCTYPE HTML>
<html>

<head>
    <title>Conferma</title>
    <?php require "includes/head.php" ?>
</head>

<body>

<div class="container">
    <h1>Riepilogo del Prestito</h1>
    <p>Nome: <?= $_SESSION["nome"] ?></p>
    <p>Cognome: <?= $_SESSION["cognome"] ?></p>
    <p>Prestito: <?= $_SESSION["cifra"] ?>&euro;</p>
    <p>Durata: <?php if($_SESSION["prestito"] == 1) echo "Prestito Mensile"; else echo "Prestito Annuale"?></p>
</div>

<?php require "includes/footer.php" ?>

</body>
</html>
