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_promoteur_hub': $blnBoutonRetour = false; echo fxShowPromoteurHub($_SESSION['com_id'], $strLangue); break; case 'compte_accueil': //MSIN-4371 if (fxEveAccesCanQrTest($_SESSION['com_id'])) { ?> QR Test ' . 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, "", 1); echo('
' . $arrAbonnements[1]["mt_nom_" . $strLangue] . '
'); echo fxShowAbonnementspartype($arrAbonnements, $_SESSION['com_info'], 1, $strLangue, 'compte'); $arrAbonnements = fxGetAbonnementsaffilie($_SESSION['com_id'], 1, $strLangue, 1); echo('' . afficheTexte('compte_associe', 0) . "/" . $arrAbonnements[1]["mt_nom_" . $strLangue] . '
'); echo fxShowAbonnements($arrAbonnements, $_SESSION['com_info'], 1, $strLangue, 'affilie'); echo(''); $arrAbonnements = fxGetAbonnements($_SESSION['com_id'], 1, $strLangue, "", 2); echo('
' . $arrAbonnements[1]["mt_nom_" . $strLangue] . '
'); echo fxShowAbonnementspartype($arrAbonnements, $_SESSION['com_info'], 1, $strLangue, 'compte'); $arrAbonnements = fxGetAbonnementsaffilie($_SESSION['com_id'], 1, $strLangue, 2); if ($arrAbonnements != null) { echo('' . afficheTexte('compte_associe', 0) . "/" . $arrAbonnements[1]["mt_nom_" . $strLangue] . '
'); echo fxShowAbonnements($arrAbonnements, $_SESSION['com_info'], 1, $strLangue, 'affilie'); } echo(''); $arrAbonnements = fxGetAbonnements($_SESSION['com_id'], 1, $strLangue, "", 3); echo('
' . $arrAbonnements[1]["mt_nom_" . $strLangue] . '
'); echo fxShowAbonnementspartype($arrAbonnements, $_SESSION['com_info'], 1, $strLangue, 'compte'); $arrAbonnements = fxGetAbonnementsaffilie($_SESSION['com_id'], 1, $strLangue, 3); if ($arrAbonnements != null) { echo('' . afficheTexte('compte_associe', 0) . "/" . $arrAbonnements[1]["mt_nom_" . $strLangue] . '
'); echo fxShowAbonnements($arrAbonnements, $_SESSION['com_info'], 1, $strLangue, 'affilie'); } echo(''); $arrAbonnements = fxGetAbonnements($_SESSION['com_id'], 1, $strLangue, "", 4); echo('
' . $arrAbonnements[1]["mt_nom_" . $strLangue] . '
'); echo fxShowAbonnementspartype($arrAbonnements, $_SESSION['com_info'], 1, $strLangue, 'compte'); echo(''); } break; case 'compte_mes_commandes': $arrFormsTransfert = $arrFormsObjectifsDons = array(); $arrCommandes = fxGetCommandes($_SESSION['com_info'], 1, $strLangue); echo fxShowCommandes($arrCommandes['actives'], $_SESSION['com_info'], 1, $strLangue); ?> ' . afficheTexte('comte_courses-terminées', 0) . ' (' . count($arrCommandes['terminées']) . ') '; echo $strCoursesTerminees; */ break; case 'compte_motdepasse': $blnBoutonRetour = false; fxShowFormPassword($strLangue); // lien support temporaire a faire sl // MSIN-3866 if ($strLangue == 'fr') echo('
Pour du support concernant votre compte sur ms-1 inscription, contactez-nous.
'); else echo('For inquiries and requests about your account on ms-1 inscription, contact us.
'); break; case 'compte_nouveau': $blnBoutonRetour = false; // replacer $_GET['p'] par $_SESSION['no_panier'] if (!empty($_SESSION['no_panier'])) { // récupérer les info de panier acheteur $sqlAheteur = "SELECT ipa.com_prenom, ipa.com_nom, ipa.com_adresse, ipa.com_ville, ipa.pro_id, ipa.pay_id, ipa.com_codepostal, ipa.com_telephone1, ipa.com_telephone2, ipa.com_courriel as com_courriel, '' as txt_courriel, '' as com_courriel_confirm, '' as com_login, ipa.com_courriel as txt_login, '' as com_tshirt, ipa.ach_lang AS com_langue, ipp.par_sexe AS com_sexe, '" . $_SESSION['no_panier'] . "' AS no_panier, par_naissance AS com_naissance FROM inscriptions_panier_acheteurs ipa INNER JOIN inscriptions_panier_participants ipp on ipp.par_id=ipa.par_id WHERE ipa.no_panier = '" . $objDatabase->fxEscape($_SESSION['no_panier']) . "'"; $tabAcheteur = $objDatabase->fxGetRow($sqlAheteur); fxShowFormCompte($tabAcheteur, "checkout", $strLangue); } else { fxShowFormCompte(2, "add", $strLangue); } break; case 'compte_nouveauaffilie': $blnBoutonRetour = false; // replacer $_GET['p'] par $_SESSION['no_panier'] fxShowFormCompte(2, "addaffilie", $strLangue); break; case 'compte_inc_tableau_promoteur': $blnBoutonRetour = false; include("inc_tableau_promoteur.php"); break; case 'compte_inc_tableau_rabais': $blnBoutonRetour = false; $footer_script = true; include("inc_tableau_rabais.php"); break; case 'compte_inc_tableau_inscriptions': $blnBoutonRetour = false; $footer_script = true; include("inc_tableau_inscriptions.php"); break; case 'compte_inc_tableau_inscriptions_gestion': $blnBoutonRetour = false; $footer_script = true; $blnHideCompteTitle = true; fxInscrGestionInitTextes($strLangue); include("inc_tableau_inscriptions_gestion.php"); break; case 'compte_inc_tableau_mail_entraineurs': $blnBoutonRetour = false; $footer_script = true; include("inc_tableau_mail_entraineurs.php"); break; case 'compte_inc_tableau_mail_questions': $blnBoutonRetour = false; $footer_script = true; include("inc_tableau_mail_questions.php"); break; case 'compte_inc_tableau_dossards': $blnBoutonRetour = false; include("inc_tableau_dossards.php"); break; case 'compte_inc_tableau_epreuves': $blnBoutonRetour = false; include("inc_tableau_epreuves.php"); break; case 'compte_inc_tableau_gestion_epreuves': $blnBoutonRetour = false; include("inc_tableau_gestion_epreuves.php"); break; case 'compte_inc_tableau_eve_acces': // MSIN-4401 $blnBoutonRetour = false; $footer_script = true; $blnHideCompteTitle = true; include("inc_tableau_eve_acces.php"); break; case 'compte_inc_tableau_liste_attente': $blnBoutonRetour = false; include("inc_tableau_liste_attente.php"); break; case 'compte_bib_assignment': $blnBoutonRetour = false; include("bib_assignment.php"); break; default: case 'compte_login': $blnBoutonRetour = false; $_SESSION['affiche_pas_connexion'] = "true"; ?>