} ?> </div> <br class="clearall" /> <?php if (hasPrevPage() || hasNextPage()) { printPageListWithNav(gettext("prev"), gettext("next"), false, true, 'pagelist', NULL, true, 7); } if (function_exists('printSlideShowLink')) { echo '<span id="slideshowlink">'; printSlideShowLink(); echo '</span>'; } if (function_exists('printAddToFavorites')) { echo "<br />"; printAddToFavorites($_zp_current_album); } if (function_exists('printCommentForm')) { printCommentForm(); } ?> </div> <div class="content-secondary"> <?php jqm_printMenusLinks(); ?> </div> </div><!-- /content --> <?php jqm_printBacktoTopLink(); jqm_printFooterNav();
printCustomSizedImage(getAnnotatedImageTitle(), NULL, 79, 79, 79, 79, NULL, NULL, NULL, NULL, true, NULL); ?> <?php printImageTitle(); ?> <small> (<?php printImageDate(''); ?> )</small> <div class="albumdesc"><?php echo $_zp_current_image->getAlbum()->getTitle(); ?> </div> </a> <?php printAddToFavorites($_zp_current_image, '', gettext('Remove')); ?> </li> <?php } ?> </ul> <br class="clearall" /> <?php if (hasPrevPage() || hasNextPage()) { printPageListWithNav(gettext("prev"), gettext("next"), false, true, 'pagelist', NULL, true, 7); } ?> <?php if (function_exists('printCommentForm')) { printCommentForm();
?> <div class="span8 offset2"> <div class="center"><?php printTags('links', NULL, 'nav nav-pills', NULL); ?> </div> </div> <?php } ?> <?php if (zp_loggedin() && extensionEnabled('favoritesHandler')) { ?> <div class="span8 offset2 favorites"><?php printAddToFavorites($_zp_current_image); ?> </div> <?php } ?> <?php if (extensionEnabled('rating')) { ?> <div id="rating" class="span8 offset2"> <div><?php printRating(); ?> </div> </div>
function theme_content($map) { global $_zp_current_image, $_zp_current_album, $points; ?> <!-- Image page section --> <div id="content"> <div id="main"> <div id="images"> <?php $points = array(); $firstImage = null; $lastImage = null; while (next_image()) { if (is_null($firstImage)) { $lastImage = imageNumber(); $firstImage = $lastImage; } else { $lastImage++; } ?> <div class="image"> <div class="imagethumb"> <?php if ($map) { $coord = getGeoCoord($_zp_current_image); if ($coord) { $points[] = $coord; } } $annotate = annotateImage(); echo '<a href="' . html_encode(getImageURL()) . '"'; echo " title=\"" . $annotate . "\">\n"; printImageThumb($annotate); echo "</a>"; ?> </div> </div> <?php } echo '<div class="clearage"></div>'; if (!empty($points) && $map) { function map_callback($map) { global $points; foreach ($points as $coord) { addGeoCoord($map, $coord); } } ?> <div id="map_link"> <?php printGoogleMap(NULL, NULL, NULL, 'album_page', 'map_callback'); ?> </div> <?php } @call_user_func('printSlideShowLink', NULL, 'text-align:center;'); ?> </div><!-- images --> <?php if (function_exists('printAddToFavorites')) { printAddToFavorites($_zp_current_album); } ?> <?php @call_user_func('printRating'); ?> </div> <!-- main --> <div class="clearage"></div> <?php if (isset($firstImage)) { printNofM('Photo', $firstImage, $lastImage, getNumImages()); } ?> </div> <!-- content --> <?php }
?> <div id="favorites-box"> <h5 id="favorites-title"><i class="fa fa-star"></i> <?php echo gettext('Favorites'); ?> </h5> <?php if ($_zp_gallery_page == 'album.php') { $current = $_zp_current_album; } elseif ($_zp_gallery_page == 'image.php') { $current = $_zp_current_image; } else { $current = null; } if ($current) { printAddToFavorites($current); ?> <?php if (getOption('favorites_multi')) { ?> <div id="favorites_help"> <i class="fa fa-question-circle"></i> <em><?php echo gettext('To add to a specific favorites list, type it in the input box before clicking add favorite.'); ?> </em> </div><br /> <?php } } ?>
function theme_content($map) { global $_zp_current_image, $_zp_current_album, $points; if (isImagePage()) { ?> <!-- Gallery section --> <div id="content"> <div id="main"> <div id="images"> <?php $points = array(); $firstImage = null; $lastImage = null; if (getNumImages() > 0) { ?> <div id="gallery" class="ad-gallery"> <div class="ad-image-wrapper"></div> <div class="ad-controls"></div> <div class="ad-nav"> <div class="ad-thumbs"> <ul class="ad-thumb-list"> <?php while (next_image(true)) { if ($map) { $coord = getGeoCoord($_zp_current_image); if ($coord) { $points[] = $coord; } } if (isImagePhoto()) { // does not do video if (is_null($firstImage)) { $lastImage = imageNumber(); $firstImage = $lastImage; } else { $lastImage++; } ?> <li> <a href="<?php echo html_encode(getDefaultSizedImage()); ?> "> <img src="<?php echo html_encode(pathurlencode(getImageThumb())); ?> " class="image<?php echo $lastImage; ?> " alt="<?php echo html_encode(getImageDesc()); ?> "> </a> </li> <?php } } ?> </ul> </div> </div> </div> <?php } ?> <div id="caption"<?php if (getOption('effervescence_caption_location') == 'none') { echo ' style="display:none"'; } ?> > </div> <div class="clearage"></div> <?php if (!empty($points) && $map) { function map_callback($map) { global $points; foreach ($points as $coord) { addGeoCoord($map, $coord); } } ?> <div id="map_link"> <?php printGoogleMap(NULL, NULL, NULL, 'album_page', 'map_callback'); ?> </div> <?php } ?> </div><!-- images --> <?php if (function_exists('printAddToFavorites')) { printAddToFavorites($_zp_current_album); } ?> <?php @call_user_func('printRating'); ?> </div><!-- main --> <div class="clearage"></div> </div><!-- content --> <?php } }