if (getOption('search_no_images')) { if ($numpages + $numnews > 0) { printf(gettext('Albums (%s)'), $numalbums); } } else { printf(gettext('Albums (%1$s) & Images (%2$s)'), $numalbums, $numimages); } } ?> </h3> <?php if (getNumAlbums() != 0) { ?> <div id="albums"> <?php while (next_album()) { ?> <div class="album"> <div class="thumb"> <a href="<?php echo html_encode(getAlbumURL()); ?> " title="<?php echo gettext('View album:'); ?> <?php printBareAlbumTitle(); ?> "><?php printCustomAlbumThumbImage(getBareAlbumTitle(), NULL, 95, 95, 95, 95); ?>
} if (hasNextPage()) { $link = getNextPageURL(); } else { $link = "#"; } echo "<li><a href=\"{$link}\" title=\"Next Page\">»</a></li>"; ?> </ul> </div> <div id="albumList"> <?php $albumsPerPage = getOption('albums_per_page'); $count = 1; while (next_album() && $count <= $albumsPerPage) { ?> <div class="image"> <a href="<?php echo getAlbumURL(); ?> " title="<?php if (getAlbumDesc() == "") { echo getAlbumTitle(); } else { echo getAlbumTitle() . ' - ' . getAlbumDesc(); } ?> "><img
$showall = true; } else { $showall = false; } include 'header.php'; ?> <div class="container" id="middle"> <div class="row row-sdscroll"> <div id="content"> <div id="spinner"></div> <div id="makeMeScrollable"> <?php if (getOption('zpbase_galhomeop') == 'albums') { // latest albums while (next_album($showall)) { ?> <div class="sdscroll-item"> <a class="album-thumb" href="<?php echo html_encode(getAlbumURL()); ?> " title="<?php printAlbumTitle(); ?> "> <?php printCustomAlbumThumbImage(getBareAlbumTitle(), null, null, getOption('zpbase_sds_maxheight'), null, null, null, null, 'remove-attributes'); ?> </a> <div class="sdscroll-albuminfo"> <h3><?php
printRSSLink('Collection', '', gettext('Album RSS'), '', false); ?> </span> <?php } } ?> </div> </div> <script> var data = [ <?php $c = 0; if (isAlbumPage()) { while (next_album(true)) { if ($c == 0) { echo '{' . "\n"; } else { echo ',{' . "\n"; } echo 'thumb: \'' . getAlbumThumb() . '\',' . "\n"; echo 'image: \'' . getCustomAlbumThumb(getOption('image_size')) . '\',' . "\n"; echo 'big: \'' . getCustomAlbumThumb(getOption('zpbase_galbigsize')) . '\',' . "\n"; echo 'title: \'' . html_encode(getBareAlbumTitle()) . '\',' . "\n"; if (getNumAlbums() > 0 && getNumImages() > 0) { $divider = '/ '; } else { $divider = ''; } if (getNumAlbums() > 0) {
"> <ul> <?php if ($zpgal_nogal) { $lastcolnum = 3; $listall = 'true'; setOption('albums_per_row', '3', false); } else { $lastcolnum = 2; $listall = ''; setOption('albums_per_row', '2', false); } ?> <?php $x = 1; while (next_album($listall)) { $lastcol = ""; if ($x == $lastcolnum) { $lastcol = " class='lastcol'"; $x = 0; } ?> <li<?php echo $lastcol; ?> > <a class="album-thumb" href="<?php echo htmlspecialchars(getAlbumURL()); ?> " title="<?php echo gettext('View album:');
<h1><?php echo getGalleryTitle(); ?> </h1> <div class="galleries"> <h2><?php echo gettext('Recently Updated Galleries'); ?> </h2> <ul> <?php $counter = 0; $_zp_gallery->setSortDirection(true); $_zp_gallery->setSortType('ID'); while (next_album() and $counter < 6) { ?> <li class="gal"> <h3><a href="<?php echo html_encode(getAlbumLinkURL()); ?> " title="<?php printf(gettext("View album: %s"), getAnnotatedAlbumTitle()); ?> "><?php printAlbumTitle(); ?> </a></h3> <a href="<?php echo html_encode(getAlbumLinkURL()); ?>