Line 17... |
Line 17... |
17 |
// | |
|
17 |
// | |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
22 |
// CVS : $Id: inscription.fonct.php,v 1.2 2005-09-29 13:56:48 alexandre_tb Exp $
|
22 |
// CVS : $Id: inscription.fonct.php,v 1.3 2005-10-03 09:45:21 alexandre_tb Exp $
|
23 |
// CVS : $Id: inscription.fonct.php,v 1.2 2005-09-29 13:56:48 alexandre_tb Exp $
|
23 |
// CVS : $Id: inscription.fonct.php,v 1.3 2005-10-03 09:45:21 alexandre_tb Exp $
|
24 |
/**
|
24 |
/**
|
25 |
* Fonctions du module inscription
|
25 |
* Fonctions du module inscription
|
26 |
*
|
26 |
*
|
27 |
* Fonctions du module inscription
|
27 |
* Fonctions du module inscription
|
28 |
*
|
28 |
*
|
Line 30... |
Line 30... |
30 |
//Auteur original :
|
30 |
//Auteur original :
|
31 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
31 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
32 |
//Autres auteurs :
|
32 |
//Autres auteurs :
|
33 |
*@author Aucun
|
33 |
*@author Aucun
|
34 |
*@copyright Tela-Botanica 2000-2004
|
34 |
*@copyright Tela-Botanica 2000-2004
|
35 |
*@version $Revision: 1.2 $ $Date: 2005-09-29 13:56:48 $
|
35 |
*@version $Revision: 1.3 $ $Date: 2005-10-03 09:45:21 $
|
36 |
*@version $Revision: 1.2 $ $Date: 2005-09-29 13:56:48 $
|
36 |
*@version $Revision: 1.3 $ $Date: 2005-10-03 09:45:21 $
|
37 |
// +------------------------------------------------------------------------------------------------------+
|
37 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
*/
|
38 |
*/
|
Line 39... |
Line 39... |
39 |
|
39 |
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
Line 301... |
Line 301... |
301 |
*/
|
301 |
*/
|
302 |
function formulaire_defaults() {
|
302 |
function formulaire_defaults() {
|
303 |
$requete = 'select '.INS_ANNUAIRE.'.* '.
|
303 |
$requete = 'select '.INS_ANNUAIRE.'.* '.
|
304 |
'from '.INS_ANNUAIRE.' '.
|
304 |
'from '.INS_ANNUAIRE.' '.
|
305 |
'where '.INS_ANNUAIRE.'.'.INS_CHAMPS_ID.'= "'.$GLOBALS['AUTH']->getAuthData(INS_CHAMPS_ID).'"' ;
|
305 |
'where '.INS_ANNUAIRE.'.'.INS_CHAMPS_ID.'= "'.$GLOBALS['AUTH']->getAuthData(INS_CHAMPS_ID).'"' ;
|
306 |
$resultat = $GLOBALS['ins_db']->query ($requete) ;echo $requete ;
|
306 |
$resultat = $GLOBALS['ins_db']->query ($requete) ;
|
307 |
if (DB::isError($resultat)) {
|
307 |
if (DB::isError($resultat)) {
|
308 |
die ($resultat->getMessage().'<br />'.$resultat->getDebugInfo()) ;
|
308 |
die ($resultat->getMessage().'<br />'.$resultat->getDebugInfo()) ;
|
309 |
}
|
309 |
}
|
310 |
$ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC) ;
|
310 |
$ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC) ;
|
311 |
$valeurs_par_defaut = array() ;
|
311 |
$valeurs_par_defaut = array() ;
|
Line 675... |
Line 675... |
675 |
}
|
675 |
}
|
Line 676... |
Line 676... |
676 |
|
676 |
|
677 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
677 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
678 |
*
|
678 |
*
|
- |
|
679 |
* $Log: not supported by cvs2svn $
|
- |
|
680 |
* Revision 1.2 2005/09/29 13:56:48 alexandre_tb
|
- |
|
681 |
* En cours de production. Reste à gérer les news letters et d'autres choses.
|
679 |
* $Log: not supported by cvs2svn $
|
682 |
*
|
680 |
* Revision 1.1 2005/09/22 14:02:49 ddelon
|
683 |
* Revision 1.1 2005/09/22 14:02:49 ddelon
|
681 |
* nettoyage annuaire et php5
|
684 |
* nettoyage annuaire et php5
|
682 |
*
|
685 |
*
|
683 |
* Revision 1.4 2005/09/22 13:30:49 florian
|
686 |
* Revision 1.4 2005/09/22 13:30:49 florian
|