<!--
Partie PHP, elle prolonge ou restaure la session si elle existe
-->

<?php
    session_start();            // On prolonge ou restaure la session
?>
 
<!--
Partie HTML, on affiche une page avec un titre et un lien vers la page protégée
-->

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Page accueil</title> 
</head>
<body>

    <h1>Page accueil, pas besoin de privilège</h1>
    
    <button onclick="window.location.href = 'page_admin.php';">Page Admin</button>

</body>
</html>