first commit
This commit is contained in:
16
templates/articles/article-gallery.php
Normal file
16
templates/articles/article-gallery.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<div id='article_gallery_<?= $this -> _id;?>' class="art_gallery">
|
||||
<?
|
||||
if ( isset( $this -> _images ) && is_array( $this -> _images ) ) foreach ( $this -> _images as $img )
|
||||
{
|
||||
$src = trim( strip_tags( $img['src'] ) );
|
||||
?>
|
||||
<a href='<?= $src;?>' class="fancybox-buttons" rel='<?= $this -> _id;?>'>
|
||||
<div class="gallery_picture">
|
||||
<div style="background: url( 'resources/thumber.php?img=<?= $src;?>&h=150&w=150' ) no-repeat center;"></div>
|
||||
</div>
|
||||
</a>
|
||||
<?
|
||||
}
|
||||
?>
|
||||
<p style="clear: both;"></p>
|
||||
</div>
|
||||
Reference in New Issue
Block a user