<?php use Nostromo\Classes\Build; use Nostromo\Classes\Reservation; require_once ROOT . 'src/Views/v_Alert.php'; ?> <div class="row"> <div class="col-xs-12 col-lg-12 col-md-12 col-md-12"> <div class="thumbnail"> <div class="col-md-3 col-md-3"> <img class="img-responsive" height="256" width="256" src="<?php echo Build::genererUrlImgAvion(); ?> " title="Vol n°<?php echo $vol->getNumVol(); ?> "> </div> <div class="caption"> <h2 class="text-primary">Vol n°<?php echo $vol->getNumVol(); ?> </h2> <h3>Date et heure : <?php echo $vol->getDateVol(); ?>
?> <h2 class="text-center text-info text-muted">Vols disponibles</h2> <?php foreach ($lesVols->getCollection() as $unVol) { ?> <?php /* @var $unVol \Nostromo\Classes\Vol */ ?> <div class="col-md-4 col-lg-3 col-centered"> <div class="thumbnail"> <img class="img-responsive hidden-xs" height="128" width="128" src="<?php echo \Nostromo\Classes\Build::genererUrlImgAvion(); ?> " title="Vol n°<?php echo $unVol->getNumVol(); ?> " > <div class="caption"> <h2>Vol n°<?php echo $unVol->getNumVol(); ?> <?php if (MVol::getPlaceRestante($unVol) === 0) { echo ' - <span class="text-danger">COMPLET</span>'; }