2011-10-02 15:52:04 +04:00
|
|
|
<?php
|
2011-09-26 00:32:08 +04:00
|
|
|
OC_Util::addStyle('gallery', 'styles');
|
|
|
|
OC_Util::addScript('gallery', 'album_cover');
|
2011-10-17 01:16:32 +04:00
|
|
|
OC_Util::addScript('files_imageviewer', 'jquery.mousewheel-3.0.4.pack');
|
|
|
|
OC_Util::addScript('files_imageviewer', 'jquery.fancybox-1.3.4.pack');
|
|
|
|
OC_Util::addStyle( 'files_imageviewer', 'jquery.fancybox-1.3.4' );
|
2011-09-26 00:32:08 +04:00
|
|
|
?>
|
2011-10-17 01:16:32 +04:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function() {
|
|
|
|
$("a[rel=images]").fancybox({
|
|
|
|
'titlePosition': 'inside'
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
2011-09-26 00:32:08 +04:00
|
|
|
|
|
|
|
<div id="controls">
|
|
|
|
<a href="?"><input type="button" value="Back" /></a><br/>
|
|
|
|
</div>
|
|
|
|
<div id="gallery_list">
|
2011-10-02 15:52:04 +04:00
|
|
|
<?php
|
2011-09-26 00:32:08 +04:00
|
|
|
foreach ($_['photos'] as $a) {
|
|
|
|
?>
|
2011-10-17 01:16:32 +04:00
|
|
|
<a rel="images" href="../../files/ajax/download.php?files=<?php echo $a; ?>"><img src="ajax/thumbnail.php?img=<?php echo $a ?>"></a>
|
2011-10-02 15:52:04 +04:00
|
|
|
<?php
|
2011-09-26 00:32:08 +04:00
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
|
|
|
</div>
|