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