2020-12-18 20:29:24 +01:00
|
|
|
<?php
|
|
|
|
require_once('template/head.php');
|
|
|
|
?>
|
|
|
|
<div class="container-fluid section">
|
2020-12-20 04:25:09 +01:00
|
|
|
<h1>Bienvenue M. <?=htmlspecialchars(strtoupper($_SESSION['USER']->getLastName()))?>,</h1>
|
2020-12-18 20:29:24 +01:00
|
|
|
<h2>Il semblerait que vous n'ayez pas encore ajouté d'hebergement...</h2>
|
|
|
|
</div>
|
|
|
|
<div class="container-fluid section">
|
|
|
|
<form action="" method="POST">
|
|
|
|
<div class="row justify-content-md-center">
|
|
|
|
<div class="col col-lg-3">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="exampleInputEmail1">Donnez un nom à votre hebergement</label>
|
|
|
|
<input type="text" class="form-control" name="accomodationName" id="accomodationName" aria-describedby="accomodationName" placeholder="Enter a name">
|
|
|
|
<small id="accomodationName" class="form-text text-muted">We'll never share your email with anyone else.</small>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="exampleInputPassword1">Password</label>
|
|
|
|
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
|
|
|
|
</div>
|
|
|
|
<div class="form-check">
|
|
|
|
<input type="checkbox" class="form-check-input" id="exampleCheck1">
|
|
|
|
<label class="form-check-label" for="exampleCheck1">Check me out</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-auto"></div>
|
|
|
|
<div class="col col-lg-3">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="typeSelect">Sélectionnez un type d'hébergement</label>
|
|
|
|
<select class="form-control" id="typeSelect">
|
|
|
|
<option>Hôtel</option>
|
|
|
|
<option>2</option>
|
|
|
|
<option>3</option>
|
|
|
|
<option>4</option>
|
|
|
|
<option>5</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="typeSelect">Quels services proposez-vous ?</label><br>
|
|
|
|
<?php
|
|
|
|
$c = 0;
|
2020-12-20 04:25:09 +01:00
|
|
|
|
2020-12-18 20:29:24 +01:00
|
|
|
foreach ($services as $service){
|
|
|
|
$c++;
|
|
|
|
?>
|
|
|
|
<div class="form-check form-check-inline">
|
2020-12-20 04:25:09 +01:00
|
|
|
<input class="form-check-input" type="checkbox" id="inlineCheckbox<?=$c?>" value="<?=htmlspecialchars($service->getName())?>">
|
|
|
|
<label class="form-check-label" for="inlineCheckbox<?=$c?>"><?=htmlspecialchars($service->getName())?></label>
|
2020-12-18 20:29:24 +01:00
|
|
|
</div>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-primary">Ajouter</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<?php
|
|
|
|
require_once('template/footer.php');
|
|
|
|
?>
|