29,11 → 29,11 |
*@version 01 juillet 2002 |
// +-----------------------------------------------------------------------------------------------+ |
// |
// $Id: lib.carto.php,v 1.4 2006-04-04 12:23:05 florian Exp $ |
// $Id: lib.carto.php,v 1.5 2006-12-01 13:23:16 florian Exp $ |
// FICHIER : $RCSfile: lib.carto.php,v $ |
// AUTEUR : $Author: florian $ |
// VERSION : $Revision: 1.4 $ |
// DATE : $Date: 2006-04-04 12:23:05 $ |
// VERSION : $Revision: 1.5 $ |
// DATE : $Date: 2006-12-01 13:23:16 $ |
// |
// +-----------------------------------------------------------------------------------------------+ |
// A FAIRE : |
569,10 → 569,8 |
} |
$requete .= |
' ORDER BY '.$this->_info_table_zg['nom_chp_nom_zone'].' ASC'; |
$resultat = mysql_query ($requete) or die(' |
<H2 style="text-align: center; font-weight: bold; font-size: 26px;">Erreur de requête</H2>'. |
'<b>Requete : </b>'.$requete. |
'<br/><br/><b>Erreur : </b>'.mysql_error()); |
$resultat = mysql_query ($requete) or die(BOG_afficherErreurSql(__FILE__, __LINE__, |
'', $requete)); |
|
$i=0; |
|
794,7 → 792,7 |
//echo $this->fond.'<BR>'; |
$image_fond = imagecreatefrompng($this->fond); |
$taille_palette = imagecolorstotal ($image_fond); |
if (!$image_fond) echo 'erreur fond'; |
if (!$image_fond) echo 'erreur fond : '.$this->fond; |
// Pour chaque couleur contenue dans l'image, nous cherchons l'objet correspondant |
// dans le tableau $att, qui contient des informations sur chaque zone de l'image, |
// et nous attribuons à l'objet la valeur de l'index de sa couleur dans l'image. |
1193,6 → 1191,9 |
//-- Fin du code source ------------------------------------------------------------ |
/* |
* $Log: not supported by cvs2svn $ |
* Revision 1.4 2006/04/04 12:23:05 florian |
* modifs affichage fiches, généricité de la carto, modification totale de l'appli annuaire |
* |
* Revision 1.3 2005/12/07 14:59:14 alexandre_tb |
* suppression d'un echo |
* |