forked from juanma-aguero/generic-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
residencial.php
executable file
·24 lines (19 loc) · 1.3 KB
/
residencial.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
$GalleryPath = "images/gallerys/residencial/";
$galerias = array(
array("id" => "gallery01", "numero" => "01", "nombre" => "AlvarezThomas / LDB", "path" => "alvarezThomas_LDB", "imageCount" => 5),
array("id" => "gallery02", "numero" => "02", "nombre" => "Argerich / EstudioUrbano", "path" => "argerich_EstudioUrbano", "imageCount" => 3),
array("id" => "gallery03", "numero" => "03", "nombre" => "Aspen / ArthurChabonOffice", "path" => "aspen_ArthurChabonOffice", "imageCount" => 19),
array("id" => "gallery04", "numero" => "04", "nombre" => "NewYersey / ArthurChabonOffice", "path" => "newYersey_ArthurChabonOffice", "imageCount" => 4),
array("id" => "gallery05", "numero" => "05", "nombre" => "NewYork / ArthurChabonOffice", "path" => "newYork_ArthurChabonOffice", "imageCount" => 4),
array("id" => "gallery06", "numero" => "06", "nombre" => "SunshineRanch / ArthurChabonOffice", "path" => "sunshineRanch_ArthurChabonOffice", "imageCount" => 6),
);
?>
<script type="text/javascript">
function loadImage(galleryId, path, imageNumber){
$('#image-container-'+galleryId).empty();
var imgSrc='<?php echo $GalleryPath ?>' + path + '/' + imageNumber+'.jpg';
$('#image-container-'+galleryId).html('<img src="'+ imgSrc +'" />');
}
</script>
<?php include 'gallery.php'; ?>