" . $msg['pointage_label_date'] . " | " . $msg['pointage_label_notice'] . " | " . $msg['pointage_label_numero'] . " | " . $msg['pointage_label_abonnement'] . " | " . $msg['pointage_label_a_recevoir'] . " | " . $msg['pointage_label_recu'] . " | " . $msg['pointage_label_supprimer_et_conserver'] . " | " . $msg['pointage_label_voir_bulletin'] . " | "; $liste_bulletin=$this->get_bulletinage(); $a_recevoir = $en_retard = $en_alerte = ""; $cpt_a_recevoir = $cpt_en_retard = $cpt_en_alerte = 0; if($liste_bulletin){ //Tri par type de retard asort($liste_bulletin); foreach($liste_bulletin as $retard => $bulletin_retard){ $cpt=0; $contenu=''; foreach($bulletin_retard as $id_bull => $fiche){ if (++$cpt % 2) $pair_impair = "even"; else $pair_impair = "odd"; $contenu_tmp = "
---|---|---|---|---|---|---|---|
" . formatdate($fiche['date_parution']) . " | "; $contenu_tmp .= "".$fiche['periodique']." | "; $contenu_tmp .= "".$fiche['libelle_numero']." | "; $contenu_tmp .= "".$fiche['libelle_abonnement']." | "; $contenu_tmp .= ""; $contenu_tmp .= " | "; $contenu_tmp .= " | "; $contenu_tmp .= " |   | "; $contenu_tmp .= "
" . $msg['pointage_label_date_fin'] . " | " . $msg['pointage_label_abonnement'] . " | "; $requete = "SELECT abt_id,abt_name,tit1,num_notice, date_fin FROM abts_abts,notices WHERE date_fin BETWEEN CURDATE() AND DATE_ADD(CURDATE(), INTERVAL $pmb_abt_end_delay DAY) and notice_id= num_notice"; if ($location_view) $requete .= " and location_id='$location_view'"; $requete .= " ORDER BY date_fin,abt_name"; $resultat = mysql_query($requete); $cpt=0; $contenu=''; while ($r = mysql_fetch_object($resultat)) { if (++$cpt % 2) $pair_impair = "even"; else $pair_impair = "odd"; $contenu .= "
---|---|
" . formatdate($r->date_fin) . " | "; $contenu .= "num_notice . "&abt_id=" . $r->abt_id . "\">".$r->tit1." / ".$r->abt_name." | "; $contenu .= "