Line 936... |
Line 936... |
936 |
if (INS_CHAMPS_NUM_AGREMENT != '') $res .= inscription_ligne(INS_NUM_AGREMENT, $ligne[INS_CHAMPS_NUM_AGREMENT]) ;
|
936 |
if (INS_CHAMPS_NUM_AGREMENT != '') $res .= inscription_ligne(INS_NUM_AGREMENT, $ligne[INS_CHAMPS_NUM_AGREMENT]) ;
|
937 |
} else {
|
937 |
} else {
|
938 |
$res .= '<h3>'.$ligne[INS_CHAMPS_PRENOM].' '.$ligne[INS_CHAMPS_NOM].'</h3>'."\n";
|
938 |
$res .= '<h3>'.$ligne[INS_CHAMPS_PRENOM].' '.$ligne[INS_CHAMPS_NOM].'</h3>'."\n";
|
939 |
}
|
939 |
}
|
Line 940... |
Line -... |
940 |
|
- |
|
941 |
if ($ligne[INS_CHAMPS_SITE_INTERNET]!='') {
|
- |
|
942 |
$res .= inscription_ligne(INS_SITE_INTERNET, '<a href="'.$ligne[INS_CHAMPS_SITE_INTERNET].'" onclick="javascript:window.open(this.href);return false;">'.$ligne[INS_CHAMPS_SITE_INTERNET].'</a>');
|
940 |
|
Line 943... |
Line 941... |
943 |
}
|
941 |
|
944 |
|
942 |
|
Line 945... |
Line 943... |
945 |
//if ($GLOBALS['AUTH']->getAuth()) $res .= inscription_ligne(INS_EMAIL, '<a href="mailto:'.$ligne[INS_CHAMPS_MAIL].'">'.$ligne[INS_CHAMPS_MAIL].'</a>');
|
943 |
//if ($GLOBALS['AUTH']->getAuth()) $res .= inscription_ligne(INS_EMAIL, '<a href="mailto:'.$ligne[INS_CHAMPS_MAIL].'">'.$ligne[INS_CHAMPS_MAIL].'</a>');
|
Line 990... |
Line 988... |
990 |
}
|
988 |
}
|
Line 991... |
Line 989... |
991 |
|
989 |
|
992 |
//cas des champs texte
|
990 |
//cas des champs texte
|
993 |
elseif ($tableau[$i]['type']=='texte' || $tableau[$i]['type']=='textelong') {
|
991 |
elseif ($tableau[$i]['type']=='texte' || $tableau[$i]['type']=='textelong') {
|
994 |
//on mets les slashes pour les saisies dans les champs texte et textearea
|
992 |
//on mets les slashes pour les saisies dans les champs texte et textearea
|
995 |
$res .= inscription_ligne($tableau[$i]['label'], addslashes($valeur[$tableau[$i]['nom_bdd']]));
|
993 |
$res .= inscription_ligne($tableau[$i]['label'], stripslashes($valeur[$tableau[$i]['nom_bdd']]));
|
996 |
} elseif ($tableau[$i]['type']=='champs_mail') {
|
994 |
} elseif ($tableau[$i]['type']=='champs_mail') {
|
997 |
$res .= inscription_ligne($tableau[$i]['label'], '<a href="mailto:'.$valeur[$tableau[$i]['nom_bdd']].'">'.$valeur[$tableau[$i]['nom_bdd']].'</a>');
|
995 |
$res .= inscription_ligne($tableau[$i]['label'], '<a href="mailto:'.$valeur[$tableau[$i]['nom_bdd']].'">'.$valeur[$tableau[$i]['nom_bdd']].'</a>');
|
Line 998... |
Line 996... |
998 |
}
|
996 |
}
|
999 |
|
997 |
|
1000 |
// Cas de la carte google
|
998 |
// Cas de la carte google
|
1001 |
elseif ($tableau[$i]['type'] == 'carte_google') {
|
999 |
elseif ($tableau[$i]['type'] == 'carte_google') {
|
1002 |
$requete .= 'a_latitude="'.$valeur['latitude'].'", a_longitude="'.$valeur['longitude'].'",';
|
1000 |
//$requete .= 'a_latitude="'.$valeur['latitude'].'", a_longitude="'.$valeur['longitude'].'",';
|
1003 |
}
|
1001 |
}
|
1004 |
elseif ($tableau[$i]['type'] == 'mot_de_passe') {
|
1002 |
elseif ($tableau[$i]['type'] == 'mot_de_passe') {
|
1005 |
$requete .= $tableau[$i]['nom_bdd'].'="'.md5($valeur['a_mot_de_passe']).'",';
|
1003 |
$requete .= $tableau[$i]['nom_bdd'].'="'.md5($valeur['a_mot_de_passe']).'",';
|
Line 1403... |
Line 1401... |
1403 |
|
1401 |
|
1404 |
|
1402 |
|
1405 |
//-- Fin du code source ------------------------------------------------------------
|
1403 |
//-- Fin du code source ------------------------------------------------------------
|
- |
|
1404 |
/*
|
- |
|
1405 |
* $Log$
|
- |
|
1406 |
* Revision 1.26 2007-10-10 12:22:23 alexandre_tb
|
- |
|
1407 |
* correction bug login à l inscription
|
- |
|
1408 |
* remplacement d un die en return
|
- |
|
1409 |
* gestion de l image logo
|
- |
|
1410 |
* gestion newsletter
|
1406 |
/*
|
1411 |
* pb de deconnexion
|
1407 |
* $Log$
|
1412 |
*
|
1408 |
* Revision 1.25 2007-10-01 12:16:04 alexandre_tb
|
1413 |
* Revision 1.25 2007-10-01 12:16:04 alexandre_tb
|
1409 |
* ajout du type lien_internet, et encodage
|
1414 |
* ajout du type lien_internet, et encodage
|
1410 |
*
|
1415 |
*
|