'; // --------------------------------------------------- // Formulaire 1 : compte // --------------------------------------------------- if (empty($clientMsg)) {$refresh='Oui';include ($includePath. '/req/06-init.cliMsgList.php');$refresh='N';} // --------------------------------------------------- // Mail // --------------------------------------------------- dynamiqItemMessage( 0, 1, 'libClientsCell', '-', 'span', 'libClients', '-action-', 'client', 8, '-msg1-'); $testMail=false; if (!empty($idMail) && $idMail!='') { $testMail=mb_strpos($idMail,'@'); } if ($testMail!==false ) { // echo '
'; dynamiqChamp(0, 1, 'champsCliCell', 'input', 'email', 'champsCli', 'onClick="document.getElementById(\'flagUpdCpte\').value=\'Oui\';" ', 'idMail', '123@dom.com', $idMail, '-', '-'); } else { dynamiqChamp(0, 1, 'champsCliCell', 'input', 'email', 'champsCli', 'onClick="document.getElementById(\'flagUpdCpte\').value=\'Oui\';" ', 'idMail', '123@dom.com', '', '-', '-'); } // --------------------------------------------------- // regle complexité mdp // --------------------------------------------------- // echo '
' .$clientTitle[9]. '
'; // --------------------------------------------------- // --------------------------------------------------- // Mot de passe: // --------------------------------------------------- dynamiqItemMessage( 0, 1, 'libClientsCell', '-', 'span', 'libClients', '-action-', 'client', 9, '-msg1-'); // echo ''; $voirMdp= ' '; dynamiqChamp(0, 1, 'champsCliCell', 'input', 'password', 'champsCli', 'onClick="document.getElementById(\'flagUpdCpte\').value=\'Oui\';" ', 'pwd', 'votre mot de passe', $pwd, $voirMdp, '-'); // --------------------------------------------------- // Mot de passe confirme // --------------------------------------------------- dynamiqItemMessage( 0, 1, 'libClientsCell', '-', 'span', 'libClients', '-action-', 'client', 93, '-msg1-'); $voirMdp= ' '; // echo ''; dynamiqChamp(0, 1, 'champsCliCell', 'input', 'password', 'champsCli', 'onKeyPress="if (event.keyCode == 13) {validerModif ();};" ', 'mdpConfirm', 'confirmez votre mot de passe', $mdpConfirm, $voirMdp, '-'); // --------------------------------------------------- // Civilité facturation // --------------------------------------------------- dynamiqItemMessage( 0, 1, 'libClientsCell', '-', 'span', 'libClients', '-action-', 'client', 81, '-msg1-'); echo '
'; if ( $affMContext === true ) echo ''; for($j=0; $j' .$tableCivLib[$j]. '';} else {echo '';} } echo ''; echo '
'; // --------------------------------------------------- // Nom // --------------------------------------------------- dynamiqItemMessage( 0, 1, 'libClientsCell', '-', 'span', 'libClients', '-action-', 'client', 88, '-msg1-'); // echo '
'; dynamiqChamp(0, 1, 'champsCliCell', 'input', 'text', 'champsCli', 'onClick="document.getElementById(\'flagUpdCpte\').value=\'Oui\';" ', 'nom', 'Nom', $nom, '-', '-'); // --------------------------------------------------- // Prenom // --------------------------------------------------- dynamiqItemMessage( 0, 1, 'libClientsCell', '-', 'span', 'libClients', '-action-', 'client', 10, '-msg1-'); // echo '
'; dynamiqChamp(0, 1, 'champsCliCell', 'input', 'text', 'champsCli', 'onClick="document.getElementById(\'flagUpdCpte\').value=\'Oui\';" ', 'prenom', 'Prénom', $prenom, '-', '-'); // --------------------------------------------------- // Tel // --------------------------------------------------- dynamiqItemMessage( 0, 1, 'libClientsCell', '-', 'span', 'libClients', '-action-', 'client', 11, '-msg1-'); $tel=formatTelAff($tel); // echo '
'; dynamiqChamp(0, 1, 'champsCliCell', 'input', 'tel', 'champsCli', 'onClick="document.getElementById(\'flagUpdCpte\').value=\'Oui\';" ', 'tel', 'Téléphone', $tel, '-', '-'); // --------------------------------------------------- // Date naissance // --------------------------------------------------- dynamiqItemMessage( 0, 1, 'libClientsCell', '-', 'span', 'libClients', '-action-', 'client', 12, '-msg1-'); // echo '
'; // echo ''; // $dateNaiss=str_replace('/','-',$dateNaiss); // echo '
'; dynamiqChamp(0, 1, 'champsCliCell', 'input', 'date', 'champsCli', 'onClick="document.getElementById(\'flagUpdCpte\').value=\'Oui\';" ', 'dateNaiss', 'jj/mm/aaaa', $dateNaiss, '-', '-'); $dateNaiss=str_replace('/','-',$dateNaiss); // --------------------------------------------------- // Newsletter : afaire marcher checked avec MC // --------------------------------------------------- dynamiqItemMessage( 0, 1, 'libClientsCell', '-', 'span', 'libClients', '-action-', 'client', 27, '-msg1-'); // echo '
'; // echo ''; dynamiqChamp(0, 1, 'champsCliCell', 'input', 'checkbox', 'champsCli', 'onClick="document.getElementById(\'flagUpdCpte\').value=\'Oui\';" ', 'news', 'news letter', $news, '-', '-'); if ($news==1) echo ''; // else // dynamiqChamp(1, 1, 'champsCliCell', 'input', 'checkbox ', 'champsCli', 'onClick="document.getElementById(\'flagUpdCpte\').value=\'Oui\';" ', 'news', 'news letter', $news, '-', '-'); // echo '
'; // --------------------------------------------------- // Que pour la modification // --------------------------------------------------- if ($tagInscription!=1) { // --------------------------------------------------- // Liste des modes de livraison // --------------------------------------------------- dynamiqItemMessage( 0, 1, 'libClientsCell', '-', 'span', 'libClients', '-action-', 'client', 89, '-msg1-'); echo '
'; if ( $affMContext === true ) echo ''; for($i=0; $i' .$tabLibelleMl[$i]. '';} else {echo '';} } echo ''; echo '
'; // --------------------------------------------------- // Liste des modes de paiement // --------------------------------------------------- dynamiqItemMessage( 0, 1, 'libClientsCell', '-', 'span', 'libClients', '-action-', 'client', 90, '-msg1-'); echo '
'; if ( $affMContext === true ) echo ''; for ($i=0;$i' .$tabLibPaie[$i]. ' ';} else {echo '';} } echo ''; echo '
'; } else { // --------------------------------------------------- // CDV // --------------------------------------------------- if ( $affMContext === true ) echo '
'; else echo '
'; // --------------------------------------------------- // Voir les cdv // --------------------------------------------------- echo '
'; if ( $affMContext === true ) dynamiqItemImage (0, 0, 'msgCli', 'span', 'onClick="location.href=\'' .$menuLien[19]. '\'";', 'menu', 19, '-', 'margin-top:10px;', 'cursor:pointer;'); else dynamiqItemImage (0, 0, 'msgCli', 'span', 'onClick="window.open(\'' .$menuLien[19]. '\',\'_blank\')";', 'menu', 19, '-', 'margin-top:10px;', 'cursor:pointer;'); echo '
'; // --------------------------------------------------- // Accepter les cdv // --------------------------------------------------- echo '
'; dynamiqItemMessage( 0, 0, '-', '-', 'span', 'libClients', '-action-', 'client', 77, '-msg1-'); if ($cdv==1) {echo '';} else {echo '';} // echo '     '; // echo '
'; echo '
'; } ?>