Esempio n. 1
0
<div class="thumbnails">

	<?php 
foreach ($gallery_grupa as $gallery_grupa) {
    ?>

	
		<div align="center"><?php 
    echo $gallery_grupa->pole;
    ?>
</div>

		<?php 
    // получаем потомков галереи
    $gallery = dbh::get_gallery($gallery_grupa->id_gallerygrupa);
    ?>
		
			<?php 
    foreach ($gallery as $gallery) {
        ?>
				
					<ins class="thumbnail">
                			<div class="r">
				
					<?php 
        if (file_exists(HOST . IMG_GALLERY_PATH . '/' . $gallery->id . '.jpg')) {
            ?>
						<a href="<?php 
            echo IMG_GALLERY_PATH;
            ?>