Ajout filtre pour les actions du jour

This commit is contained in:
Rodolphe Quiedeville 2003-08-29 19:39:38 +00:00
parent 19fac3c1ec
commit 83bacb2e40

View File

@ -134,6 +134,11 @@ if ($type)
$sql .= " AND c.id = $type";
}
if ($time == "today")
{
$sql .= " AND date_format(a.datea, '%d%m%Y') = ".strftime("%d%m%Y",time());
}
if ($socid)
{
$sql .= " AND s.idp = $socid";