fxGetRow($sqlCompte); // préparer les champs spéciaux $infoCompte['txt_password_a'] = $infoCompte['com_password']; $infoCompte['txt_password_b'] = $infoCompte['com_password']; //$infoCompte['txt_login'] = $infoCompte['com_login']; $infoCompte['com_courriel_confirm'] = ''; $infoCompte['txt_courriel'] = $infoCompte['com_courriel']; fxShowFormCompte($infoCompte, "mod", $strLangue); break; case 'compte_modifieraffilie': // lire les données du compte $mem_aff=$_SESSION['com_affilie']; $mem_pk_aff=$mem_aff[$_GET['aff']]['com_id']; $sqlCompte = "SELECT * FROM inscriptions_comptes WHERE com_id = " . $mem_pk_aff; $infoCompte = $objDatabase->fxGetRow($sqlCompte); // préparer les champs spéciaux $infoCompte['txt_password_a'] = $infoCompte['com_password']; $infoCompte['txt_password_b'] = $infoCompte['com_password']; //$infoCompte['txt_login'] = $infoCompte['com_login']; $infoCompte['com_courriel_confirm'] = ''; $infoCompte['txt_courriel'] = $infoCompte['com_courriel']; fxShowFormCompte($infoCompte, "mod", $strLangue); break; case 'compte_gestionaffilie': $strRetour = ' '; echo $strRetour; break; case 'compte_reset': $blnBoutonRetour = false; fxShowFormReset($_GET, $strLangue); break; case 'compte_annuler_inscription': include_once('annuler_inscription.php'); break; case 'compte_accueil': // lire les données du compte /* $sqlCompte = "SELECT * FROM inscriptions_comptes WHERE com_id = " . $_SESSION['com_id']; $infoCompte = $objDatabase->fxGetRow($sqlCompte); if (isset($infoCompte['com_eve_prive']) && $infoCompte['com_eve_prive'] != '') { $sqlEvenementsPrives = "SELECT t.te_icone, e.te_id, e.eve_actif, e.eve_id, e.eve_date_debut, e.eve_date_fin, e.eve_label_url, e.eve_nom_" . $strLangue . ", e.eve_photo_" . $strLangue . " FROM inscriptions_types_evenements t, inscriptions_evenements e WHERE t.te_id = e.te_id AND e.eve_id IN(" . $infoCompte['com_eve_prive'] . ") AND e.eve_prive = 1 AND e.eve_actif = 1"; $tabEvenementsPrives = $objDatabase->fxGetResults($sqlEvenementsPrives); if ($tabEvenementsPrives != null) { ?>
fxGetResults($sql); */ //echo '
NOUVEAU CODE
'; $blnBoutonRetour = false; echo fxShowMenuCompte($_SESSION['com_info'], $strLangue); //echo 'ANCIEN CODE
'; //include_once('inc_modifierinscriptions.php'); break; case 'compte_info_promoteur': echo fxShowInfoPromoteur($_SESSION['com_info'], $strLangue); break; case 'compte_mes_defis': $arrFormsLogSettings = $arrFormsAddLogs = array(); $arrCommandes = fxGetCommandes($_SESSION['com_info'], 3, $strLangue); echo fxShowCommandes($arrCommandes['actives'], $_SESSION['com_info'], 3, $strLangue); ?> ' . afficheTexte('comte_courses-terminées', 0) . ' (' . count($arrCommandes['terminées']) . ') '; echo $strCoursesTerminees; */ break; case 'compte_mon_benevolat': $arrCommandes = fxGetCommandes($_SESSION['com_info'], 2, $strLangue); echo fxShowCommandes($arrCommandes['actives'], $_SESSION['com_info'], 2, $strLangue); ?> ' . afficheTexte('comte_courses-terminées', 0) . ' (' . count($arrCommandes['terminées']) . ') '; echo $strCoursesTerminees; */ break; case 'compte_mes_levees_fonds': $arrFormsObjectifsDons = array(); $arrCommandes = fxGetCommandes($_SESSION['com_info'], 0, $strLangue); echo fxShowLeveesFonds($arrCommandes['actives'], $strLangue); ?> ' . afficheTexte('comte_courses-terminées', 0) . ' (' . count($arrCommandes['terminées']) . ') '; echo $strCoursesTerminees; */ break; case 'compte_mes_adhesions': if (!empty($_GET['no'])) { $arrCalMembership = $arrFormsMembership = $arrTelMembership = array(); $strValidationMembership = ''; echo $strHTML = fxShowQuestionsAdhesion(trim($_GET['no']), $strLangue); } else { $arrAbonnements = fxGetAbonnements($_SESSION['com_id'], 1, $strLangue); echo fxShowAbonnements($arrAbonnements, $_SESSION['com_info'], 1, $strLangue,'compte'); $arrAbonnements = fxGetAbonnementsaffilie($_SESSION['com_id'], 1, $strLangue); echo('