<?php // +-------------------------------------------------+ // © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net) // +-------------------------------------------------+ // $Id: pointage_main.inc.php,v 1.2 2007-06-14 15:39:01 ngantier Exp $ require_once $class_path . "/abts_pointage.class.php"; $pointage = new abts_pointage($serial_id); $pointage->proceed();
$ourPDF->SetXY($x + 140, $y); $ourPDF->setFont($pmb_pdf_font, 'B', 8); $ourPDF->multiCell(190, 3, $fiche['libelle_numero'], 0, 'L', 0); } function bulletinage_categorie($titre, $x, $y, $link, $short = 0, $longmax = 99999) { global $ourPDF; global $msg; global $pmb_pdf_font; $ourPDF->SetXY($x, $y); $ourPDF->setFont($pmb_pdf_font, 'B', 12); $ourPDF->multiCell(190, 8, $titre, 0, 'L', 0); } $ourPDF = new $fpdf('P', 'mm', 'A4'); $ourPDF->Open(); $liste_bulletin = $pointage->proceed(); $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) { if ($retard == 0) { $titre = $msg["pointage_label_a_recevoir"]; } if ($retard == 1) { $titre = $msg["pointage_label_en_retard"]; } if ($retard == 2) { $titre = $msg["pointage_label_depasse"]; }