php-school/prestito/conferma.php
2024-10-31 10:47:12 +01:00

26 lines
523 B
PHP

<?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>