Correction façade

This commit is contained in:
Michael RICOIS 2012-01-19 19:57:57 +00:00
parent 9eb91fa270
commit d4f68d6a95
2 changed files with 4 additions and 6 deletions

View File

@ -48,7 +48,7 @@ $(document).ready(function() {
var photoService = new Mappy.api.visiocity.PhotoService();
var geo = new Mappy.api.geolocation.Geocoder();
var address = "<?=$this->infos->AdresseNum?> <?=$this->infos->AdresseRue?> <?=$this->infos->AdresseVille?>";
var address = "<?=$this->infos->AdresseNum?> <?=$this->infos->AdresseRue?> <?=$this->infos->Ville?>";
geo.geocode(address, function(result) {
photoService.search(result[0], "f", serviceHandler);
}, function(error) {});
@ -61,7 +61,7 @@ $(document).ready(function() {
'" width="300px" />');
$('#pp-cb-thumb').replaceWith(img);
}
}
};
});
</script>
<?php endif;?>

View File

@ -11,16 +11,14 @@
Afficher l'adresse sur Google Map &copy;</a><br/>
<br/>
<b>Code commune / Rivoli :</b><br/>
<?php print $this->infos->Dept.' '.$this->infos->codeCommune.' / '.$this->infos->Rivoli; ?>
<?=$this->infos->Dept.' '.$this->infos->codeCommune.' / '.$this->infos->Rivoli; ?>
<?php
if (count($this->infos->InfosIris)>0){
$InfosIris = $this->infos->InfosIris;
$codComIris = str_replace($InfosIris->codIris, '', $InfosIris->codComIris);
?>
<br/><br/><b>Iris :</b>
<?php
if ($InfosIris->codIris*1 == 0){
?>
<?php if (intval($InfosIris->codIris) == 0){ ?>
<br/>Commune non découpée en Iris
<?php } else {?>
<br/>Code : <?=$codComIris?> <?=$InfosIris->codIris?>