35 lines
1.1 KiB
PHP
35 lines
1.1 KiB
PHP
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
<div id="g-album-header">
|
|
<div id="g-album-header-buttons">
|
|
<?= $theme->dynamic_top() ?>
|
|
</div>
|
|
<h1><?= html::clean($title) ?></h1>
|
|
</div>
|
|
|
|
<? if (module::get_var("th_greydragon", "photonav_top")): ?>
|
|
<?= $theme->paginator() ?>
|
|
<? endif ?>
|
|
|
|
<ul id="g-album-grid">
|
|
<? foreach ($children as $i => $child): ?>
|
|
<li class="g-item <?= $child->is_album() ? "g-album" : "" ?>">
|
|
<?= $theme->thumb_top($child) ?>
|
|
<p class="g-thumbcrop"><a href="<?= $child->url() ?>">
|
|
<img id="g-photo-id-<?= $child->id ?>" class="g-thumbnail"
|
|
alt="photo" src="<?= $child->thumb_url() ?>"
|
|
width="<?= $child->thumb_width ?>"
|
|
height="<?= $child->thumb_height ?>" />
|
|
</a></p>
|
|
<h2><a href="<?= $child->url() ?>"><?= html::purify($child->title) ?></a></h2>
|
|
<?= $theme->thumb_bottom($child) ?>
|
|
<ul class="g-metadata">
|
|
<?= $theme->thumb_info($child) ?>
|
|
</ul>
|
|
</li>
|
|
<? endforeach ?>
|
|
</ul>
|
|
<?= $theme->dynamic_bottom() ?>
|
|
|
|
<? if (module::get_var("th_greydragon", "photonav_bottom")): ?>
|
|
<?= $theme->paginator() ?>
|
|
<? endif ?>
|