</tbody></table></div> <!-- VALIDATION DES PRESENTS INSCRITS --> <div class="box-footer"> <?php $datesarray = getDatesSession($idsession); for ($z = 1; $z <= $nbrdates; $z++) { $rowd = mysqli_fetch_array($datesarray); if ($rowd["statut_datesession"] == 0) { echo '<p></p><a href="index.php?a=32&act=0&idsession=' . $idsession . '&dateid=' . $rowd["id_datesession"] . '&numerod=' . ($z - 1) . ' "><input type="submit" value="Valider les présences pour le ' . getDayFr($rowd["date_session"]) . '" class="btn btn-block bg-olive"></a>'; } else { if ($rowd["statut_datesession"] == 1) { echo '<p></p><input type="submit" value="Atelier du ' . getDayFr($rowd["date_session"]) . ' cloturé" class="btn btn-block bg-maroon" disabled/>'; } else { if ($rowd["statut_datesession"] == 2) { echo '<p></p><input type="submit" value="Atelier du ' . getDayFr($rowd["date_session"]) . ' Annulé" class="btn btn-block bg-orange" disabled/>'; } } } } ?> </div></div> <?php } echo '</section>'; ?> <!--AIDE COLONNE 2--> <section class="col-lg-5 connectedSortable"> <div class="box box-default collapsed-box box-solid"><div class="box-header with-border"><i class="fa fa-info-circle"></i><h3 class="box-title">Aide</h3> <div class="box-tools pull-right">
$testinscription = getTestInscript($_SESSION["iduser"], $idsession, "s"); if ($testinscription == "FALSE") { $urlAS = "index.php?m=6&b=1&idsession=" . $idsession; $boutoninscr = "s'inscrire"; $couleurb = "btn btn-success btn-xs"; } else { $urlAS = "#"; $boutoninscr = $arrayinscrip[$testinscription["statut"]]; $couleurb = "btn btn-warning btn-xs"; } } // debug($testinscription); ?> <!-- timeline time label --> <ul class="timeline"><li class="time-label"><span class="bg-red"> <?php echo getDayFr($dateAS); ?> à <?php echo $heureAS; ?> </span></li><!-- /.timeline-label --> <li><i class="fa fa-keyboard-o bg-green"></i> <div class="timeline-item"><h3 class="timeline-header"><?php echo $titre; ?> </h3> <div class="timeline-body"> <small class="badge bg-purple"><?php echo $inscrits; ?>