'; echo ''; // pour la navigation clic droit // debug // if (isset($affPageSite)) echo 'affPageSite = '.$affPageSite; // else echo 'affPageSite = empty'; echo ''; // --------------------------------------------------- // Formulaire 2 : adresse fact // --------------------------------------------------- if (empty($clientMsg)) {$refresh='Oui'; include ($includePath. '/req/06-init.cliMsgList.php');$refresh='N';} // --------------------------------------------------- // Adresse fact // --------------------------------------------------- dynamiqItemMessage(0, 1, 'libClientsCell', '-styleDiv-', 'span', 'libClients', '-action-', 'client', 13, '-' ); // echo '
'; dynamiqChamp(0, 1, 'champsCliCell', 'input', 'text', 'champsCli', 'onKeyPress="if (event.keyCode == 13) validerModifFact();" onClick="document.getElementById(\'flagUpdFact\').value=\'Oui\';" ', 'adresse', 'N° et rue', $adresse, '-', '-'); // --------------------------------------------------- // Adresse - 2 // --------------------------------------------------- dynamiqItemMessage(0, 1, 'libClientsCell', '-styleDiv-', 'span', 'libClients', '-action-', 'client', 14, '-' ); // echo '
'; // echo '
'; dynamiqChamp(0, 1, 'champsCliCell', 'input', 'text', 'champsCli', 'onKeyPress="if (event.keyCode == 13) validerModifFact();" onClick="document.getElementById(\'flagUpdFact\').value=\'Oui\';" ', 'adresse2', 'Complément adresse', $adresse2, '-', '-'); // --------------------------------------------------- // Code post fact // --------------------------------------------------- if (isset($_POST['codePost']) && !empty($_POST['codePost'])) {$codePost=$_POST['codePost'];} dynamiqItemMessage(0, 1, 'libClientsCell', '-styleDiv-', 'span', 'libClients', '-action-', 'client', 15, '-' ); // echo '
'; dynamiqChamp(0, 1, 'champsCliCell', 'input', 'text', 'champsCli', 'onChange="fetchCommune ( this.value, \'2\', form.id) ;" onKeyPress="if (event.keyCode == 13) fetchCommune(this.value,\'2\', form.id); document.getElementById(\'flagUpdFact\').value=\'Oui\';" onClick="document.getElementById(\'flagUpdFact\').value=\'Oui\';" ', 'codePost', 'Complément adresse', $codePost, '-', 'maxlenght="5"'); // --------------------------------------------------- // Recup Post villes // --------------------------------------------------- if (isset($_POST['tabVilleListe']) && !empty($_POST['tabVilleListe'])) {$tabVilleListe=$_POST['tabVilleListe'];} echo ''; if (!empty($tabVilleListe)) {$tabVilleListe=json_decode($tabVilleListe);} if (isset($debug[3]) && $debug[3] == '1') { echo '
';
		// print_r($_POST);
		print_r($tabVilleListe);
		echo '
'; } // --------------------------------------------------- // Ville fact // --------------------------------------------------- dynamiqItemMessage(0, 1, 'libClientsCell', '-styleDiv-', 'span', 'libClients', '-action-', 'client', 16, '-' ); if (!empty($tabVilleListe)) { if ( $affMContext === true ) echo '
'; else echo '
'; if ( $affMContext === true ) echo ''; for($v=0;$v' .$tabVilleListe[$v]. ''; } else { if ($siteName!='pizzaJeannot' ) {echo '';} else if ($tabVilleListe[$v]!="Coursegoules" ) {echo '';} } } echo ''; echo '
'; } else { dynamiqChamp(0, 1, 'champsCliCell', 'input', 'text', 'champsCli', 'onClick="document.getElementById(\'flagUpdFact\').value=\'Oui\';" ', 'ville', 'Ville', $ville, '-', 'maxlenght="150"'); } // --------------------------------------------------- // Pays fact // --------------------------------------------------- dynamiqItemMessage(0, 1, 'libClientsCell', '-styleDiv-', 'span', 'libClients', '-action-', 'client', 17, '-' ); if ( $affMContext === true ) echo '
'; else echo '
'; if ( $affMContext === true ) echo ''; for($j=0; $j' .$tabLibPays[$j]. '';} else {echo '';} } echo ''; echo '
'; echo ''; ?>