initial commit of code
This commit is contained in:
parent
9b00433142
commit
17d2c64f66
13 changed files with 1928 additions and 0 deletions
16
templates/bazar/nb.tpl.html
Normal file
16
templates/bazar/nb.tpl.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?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>
|
Loading…
Add table
Add a link
Reference in a new issue