baboye11 l'entre-aide avant tout. | Oui j'ai environ 55000 bailleurs enrégistrés dans ma table bailleur ,
Pour le code tout se résume sur une page à partir de laquelle j'inclus toutes les autres pages et leurs fichiers script :
Code :
- <link type="text/css" rel="stylesheet" href="/modules/body/body.css" media="screen" />
- <link type="text/css" rel="stylesheet" href="/modules/body/body_print.css" media="print,projection" />
- <link type="text/css" rel="stylesheet" href="/modules/accueil/accueil.css" media="screen" />
- <link type="text/css" rel="stylesheet" href="/modules/accueil/accueil_print.css" media="print,projection" />
- <link type="text/css" rel="stylesheet" href="/modules/ZenLoyer/formulaire.css" media="screen" />
- <link type="text/css" rel="stylesheet" href="/modules/ZenLoyer/formulaire_print.css" media="print,projection" />
- <link type="text/css" rel="stylesheet" href="/widgets/datepicker/dashboard/datepicker_dashboard.css" media="all" />
- <script type="text/javascript" src="/widgets/datepicker/datepicker.js"></script>
- <script type="text/javascript" src="/widgets/datepicker/datepicker.extended.js"></script>
- // Pour l'auto-complétion sur bailleur
- <link type="text/css" rel="stylesheet" href="http://dev.chez-syl.fr/autocomplete/css/jquery.autocomplete.css" />
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
- <script type="text/javascript" src="http://dev.chez-syl.fr/autocomplete/js/jquery.autocomplete.js"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- $('#bailleur').autocomplete('/gan/autocomp.php');
- });
- </script>
- <!--<link rel="stylesheet" href="http://www.htmlblog.us/jquery/css/smoothness/jquery-ui-1.8.2.custom.css" />
- <script type="text/javascript" src="http://www.htmlblog.us/jquery/js/jquery-1.4.2.min.js"></script>
- <script type="text/javascript" src="http://www.htmlblog.us/jquery/js/jquery-ui-1.8.2.custom.min.js"></script>
- <script type="text/javascript">
- jQuery(document).ready(function(){
- $('#zip').autocomplete({
- source:'/gan/suggest_zip.php',
- minLength:2,
- select:function(evt, ui)
- {
- // when a zipcode is selected, populate related fields in this form
- this.form.city.value = ui.item.city;
- }
- });
- });
- </script>-->
- <div class="page">
- <div id="c2rbody">
- <?
- $data->IncludeTemplate ('Y_rightcolumn.php', $data->path) ;
- $data->IncludeTemplate ('Y_sidemenu.php', $data->path) ;
- ?>
- <div class="page1">
- <div class="content">
- <div class="topspace"></div>
- <script type="text/javascript" src="/modules/ZenLoyer/zl.js" charset="utf-8" ></script>
- <script type="text/javascript">
- var assurance =<?= json_encode ($data->prices) ?> ;
- </script>
- <form action="<?= $_SERVER ['PHP_SELF'] ?>" method="post" >
- <input type="hidden" name="cmd" value="ZenLoyer" />
- <input type="hidden" name="arg" value="SubmitSouscrire" />
- <input type="hidden" id="code" name="code" value="<? echo rand(111111,999999); ?>" />
- <script type="text/javascript" src="/modules/ZenLoyer/zl01.js" charset="utf-8" ></script> //script pour l'etape 1 du formulaire
- <? $data->IncludeTemplate ('Y_zl01.php', $data->path) ?> //l'etape 1 du formulaire
- <script type="text/javascript" src="/modules/ZenLoyer/zl02.js" charset="utf-8" ></script> //script pour l'etape 2 du formulaire
- <? $data->IncludeTemplate ('Y_zl02.php', $data->path) ?> //l'etape 2 du formulaire , etc....
- <script type="text/javascript" src="/modules/ZenLoyer/zl03.js" charset="utf-8" ></script>
- <? $data->IncludeTemplate ('Y_zl03.php', $data->path) ?>
- <script type="text/javascript" src="/modules/ZenLoyer/zl04.js" charset="utf-8" ></script>
- <? $data->IncludeTemplate ('Y_zl04.php', $data->path) ?>
- <script type="text/javascript" src="/modules/ZenLoyer/zl05.js" charset="utf-8" ></script>
- <? $data->IncludeTemplate ('Y_zl05.php', $data->path) ?>
- <script type="text/javascript" src="/modules/ZenLoyer/zl06.js" charset="utf-8" ></script>
- <? $data->IncludeTemplate ('Y_zl06.php', $data->path) ?>
- <script type="text/javascript" src="/modules/ZenLoyer/zl07.js" charset="utf-8" ></script>
- <? $data->IncludeTemplate ('Y_zl07.php', $data->path) ?>
- </form>
- </div>
- <? $data->IncludeTemplate ('Y_menu.php', $data->path) ?>
- </div>
- <div class="clear"></div>
- </div>
- </div>
|
---------------
signé babs...peace.
|