blob: 0d54c5c867d38f5492c66c8d7179ac9255288b1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php defined("SYSPATH") or die("No direct script access.") ?>
<? foreach ($item->children(25, $offset) as $child): ?>
<li id="gMicroThumb_<?= $child->id ?>"
class="gMicroThumb <?= $child->is_album() ? "gAlbum" : "gPhoto" ?>"
ref="<?= $child->id ?>">
<?= $child->thumb_img(array("class" => "gThumbnail"), 90, true) ?>
</li>
<? endforeach ?>
<? if ($item->children_count() > $offset): ?>
<script>
setTimeout(function() {
$.get("<?= url::site("organize/content/$item->id/" . ($offset + 25)) ?>",
function(data) {
$("#gMicroThumbGrid").append(data);
}
);
}, 50);
</script>
<? endif ?>
|