Commit a777ae13 authored by mbriand's avatar mbriand
Browse files

je sent le truc con là...

parent 95a17fda
......@@ -344,6 +344,7 @@ class affiche extends stdentity
function gen_pdf(){
$plages_horaires = array(1=>array(28800, 43200), 2=>array(41400, 50400), 3=>array(43200, 64800), 4=>array(64800, 21600));
$time = time() % (60 * 60 * 24);
echo $time;
$cur_plages = array(0);
foreach($plages_horaires as $id => $plage)
if (($time >= $plage[0]) && ($time < $plage[1]))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment