<!doctype html>
<html lang="fr">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <link rel="stylesheet" href="Vues/css/bootstrap.css">
    <link rel="stylesheet" href="Vues/css/style.css">

    <title>Générateur de panorama</title>
</head>

<!-- MENU NAV #FFD700 -->

<body >
<nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-dark">
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarNavAltMarkup">
        <div class="navbar-nav">
            <div id="logo">
                <img id="logo" src="Vues/photos/logo.png">
            </div>
            <a class="nav-item nav-link active" href="index.php">Accueil</a>
        </div>
    </div>
            <span class="text-white align-self-center align-content-lg-center"><?php echo Validation::val_texte($_SESSION['titre']);?></span>
</nav>
<br>

<div  >
    <div>
        <form method="POST" enctype="multipart/form-data">
            <br/>

            <br/>
            <br/>
            <br/>
            <div class="text-center" >
                <h4 class="text-center text-white">Veuillez choisir l'image de départ de votre panorama:</h4>
                <label>
                    <select name="photo1">
                        <?php
                        foreach ($_SESSION['photos'] as $photo){
                            ?>
                            <option value="<?php echo $photo->getChemin();?>"><?php echo $photo->getChemin();?></option>
                            <?php
                        }
                        ?>
                    </select>
                </label>
            </div>

            <br/>
            <br/>
            <br/>


            <br/>
            <div class="text-center">
                <div class="button-login">
                    <input class="btn btn-warning " type="submit" name="action" value="COMMENCER">
                </div>
            </div>


        </form>
    </div>
</div>
</body>
<footer class="align-bottom fixed-bottom"><p>FERRERE Clément - MOMMALIER Victor - PONCET Clara - VELUT Lucile </p> |<p> DUT Informatique de Clermont-Ferrand </p></footer>

</html>
