Subversion Repositories Applications.papyrus

Rev

Rev 1722 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1722 Rev 1794
Line 24... Line 24...
24
//Autres auteurs :
24
//Autres auteurs :
25
*@copyright         Outils-reseaux 2006-2040
25
*@copyright         Outils-reseaux 2006-2040
26
*@version           05 avril 2006
26
*@version           05 avril 2006
27
// +-----------------------------------------------------------------------------------------------+
27
// +-----------------------------------------------------------------------------------------------+
28
//
28
//
29
// $Id: bottin.class.php,v 1.6.2.1 2007-11-22 10:13:54 alexandre_tb Exp $
29
// $Id: bottin.class.php,v 1.6.2.2 2008-02-08 08:22:46 alexandre_tb Exp $
30
// FICHIER : $RCSfile: bottin.class.php,v $
30
// FICHIER : $RCSfile: bottin.class.php,v $
31
// AUTEUR    : $Author: alexandre_tb $
31
// AUTEUR    : $Author: alexandre_tb $
32
// VERSION : $Revision: 1.6.2.1 $
32
// VERSION : $Revision: 1.6.2.2 $
33
// DATE        : $Date: 2007-11-22 10:13:54 $
33
// DATE        : $Date: 2008-02-08 08:22:46 $
34
*/
34
*/
Line 35... Line 35...
35
 
35
 
36
 
36
 
Line 123... Line 123...
123
		
123
		
124
		$tableau_inscrit = array();
124
		$tableau_inscrit = array();
125
		if (DB::isError($resultat)) return "Echec de la requete : $requete<br />".$resultat->getMessage() ;
125
		if (DB::isError($resultat)) return "Echec de la requete : $requete<br />".$resultat->getMessage() ;
126
		    if ($resultat->numRows() != 0) {
126
		    if ($resultat->numRows() != 0) {
127
			    while ($ligne = $resultat->fetchRow(DB_FETCHMODE_OBJECT)) {
127
			    while ($ligne = $resultat->fetchRow(DB_FETCHMODE_OBJECT)) {
128
				    $donnees = unserialize (stripslashes($ligne->ia_donnees)) ;
128
				    $donnees = unserialize (($ligne->ia_donnees)) ;
129
				    array_push ($tableau_inscrit, array_merge (array('id' => $ligne->ia_id_inscription, 'date' => $ligne->ia_date), $donnees));
129
				    array_push ($tableau_inscrit, array_merge (array('id' => $ligne->ia_id_inscription, 'date' => $ligne->ia_date), $donnees));
130
			    }
130
			    }
131
			    return $tableau_inscrit;
131
			    return $tableau_inscrit;
132
		    } else {
132
		    } else {
Line 320... Line 320...
320
	    			' and it_i18n like "'.$langue.'%" and it_ce_inscription="'.$id_inscription.'"' ;
320
	    			' and it_i18n like "'.$langue.'%" and it_ce_inscription="'.$id_inscription.'"' ;
321
	    $resultat = $GLOBALS['ins_db']->query($requete);
321
	    $resultat = $GLOBALS['ins_db']->query($requete);
322
	    if (DB::isError ($resultat)) {
322
	    if (DB::isError ($resultat)) {
323
		    $this->raiseError();
323
		    $this->raiseError();
324
		}
324
		}
-
 
325
		if ($resultat->numRows() == 0) return 'Aucun template avec id_template='.$id_template.', id_inscription='.$id_inscription.' et langue='.$langue;
325
		$ligne = $resultat->fetchRow (DB_FETCHMODE_OBJECT);
326
		$ligne = $resultat->fetchRow (DB_FETCHMODE_OBJECT);
326
		return $ligne->it_template;
327
		return $ligne->it_template;
327
	}
328
	}
328
}
329
}
Line 370... Line 371...
370
}
371
}
Line 371... Line 372...
371
 
372
 
372
//-- Fin du code source    ------------------------------------------------------------
373
//-- Fin du code source    ------------------------------------------------------------
373
/*
374
/*
-
 
375
* $Log: not supported by cvs2svn $
-
 
376
* Revision 1.6.2.1  2007-11-22 10:13:54  alexandre_tb
-
 
377
* ajout d un template pour le mail de confirmation d inscription
374
* $Log: not supported by cvs2svn $
378
*
375
* Revision 1.6  2007-08-27 13:12:15  alexandre_tb
379
* Revision 1.6  2007-08-27 13:12:15  alexandre_tb
376
* ajout de la constante INS_TEMPLATE_CARTO_GOOGLE_ACCUEIL
380
* ajout de la constante INS_TEMPLATE_CARTO_GOOGLE_ACCUEIL
377
*
381
*
378
* Revision 1.5  2007-06-25 15:02:50  alexandre_tb
382
* Revision 1.5  2007-06-25 15:02:50  alexandre_tb