yeswiki-custom-mutualisatio.../templates/bazar/nb.tpl.html
2023-11-09 13:59:05 +03:00

16 lines
451 B
HTML

<?php
if ($GLOBALS['wiki']->GetParameter('encours')== true) {
include_once 'custom/templates/bazar/circuitscourt.php';
foreach ($fiches as $id => $fiche) {
$status = getStatus($fiche);
$places = calculateFreePlaces($fiche);
//dump($places,$status);
if ($status != 'Ouvert' || $places == 0) {
unset($fiches[$id]);
}
}
}
echo count ($fiches); ?>
<style>
[data-template="nb.tpl.html"] { display:inline-block;}
</style>