Aggiustamento layout pagina account + aggiunto pulsante elimina account

This commit is contained in:
2026-04-08 10:37:35 +02:00
parent 06b7523541
commit c0201994b2
+3 -2
View File
@@ -42,8 +42,9 @@ if ($result === false) {
</ul> </ul>
</div> </div>
<div class="my-container"> <div class="my-container">
<h1>Il mio account</h1> <h1>Account di <?php echo htmlspecialchars($_SESSION['user']); ?></h1>
<p><strong>Nome utente:</strong> <?php echo htmlspecialchars($_SESSION['user']); ?></p> <a href="deleteAccount.php" style="padding: 8px 16px; background-color: #dc3545; color: white; border: none; border-radius: 4px; cursor: pointer;">Elimina account</a>
<br><br>
</div> </div>
</div> </div>
<?php else: ?> <?php else: ?>