Commit 124ec968 authored by mbriand's avatar mbriand
Browse files

Miaou ?

parent a1bb2534
......@@ -349,13 +349,13 @@ class affiche extends stdentity
if (($time >= $plage[0]) && ($time < $plage[1]))
$cur_plages[] = $id;
//TODO : fréquence
print_r($cur_plages);
$req = new requete($this->db, "SELECT id_file, frequence_aff FROM `aff_affiches`
WHERE date_deb < NOW()
AND date_fin > NOW()
AND horaires_aff IN (".implode(",",$cur_plages).")
AND modere_aff = '1'");
AND modere_aff = '1'", 1);
$file = new dfile($this->db, $this->dbrw);
......
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