} ?> </div> </div> <!-- main --> <div class="clearage"></div> <?php if (function_exists('printSlideShowLink')) { printSlideShowLink(gettext('View Slideshow'), 'text-align:center;'); } printNofM('Photo', $firstImage, $lastImage, getNumImages()); ?> </div> <!-- content --> <?php } else { /* flash */ if ($imagePage = isImagePage()) { ?> <div id="flash"> <p align=center><font color=#663300><?php echo gettext('For the best viewing experience') . ' '; ?> <a href="http://www.macromedia.com/go/getflashplayer/"><?php echo gettext('get Adobe Flash.'); ?> </a></p> <p align="center"><a href=" <?php if ($imagePage) { $url = html_encode(getPageURL(getTotalPages(true))); } else { $url = html_encode(getPageURL(getCurrentPage()));
} } ?> </div> <!-- images --> </div> <!-- main --> <div class="clearage"></div> <?php if (isset($firstImage)) { printNofM('Photo', $firstImage, $lastImage, getNumImages()); } ?> </div> <!-- content --> <?php } else { /* flash */ if (($imagePage = isImagePage()) && !checkforPassword()) { ?> <!-- Simpleviewer section --> <div id="flash"> <p align="center"> <font color=#663300><?php echo gettext('For the best viewing experience') . ' '; ?> <a href="http://www.macromedia.com/go/getflashplayer/"><?php echo gettext('Get Adobe Flash.'); ?> </a></font> </p> <p align="center"> <?php if ($imagePage) {
function theme_content($map) { global $_zp_current_image, $points; if (isImagePage()) { ?> <!-- Gallery section --> <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('garland_caption_location') == 'none') { echo ' style="display:none"'; } ?> > </div> <div class="clearage"></div> </div><!-- images --> <br class="clearall" /> <?php } }
<script type="text/javascript" src="<?php echo $_zp_themeroot; ?> /js/zpardoise.js"></script> <?php } else { ?> <script type="text/javascript" src="<?php echo $_zp_themeroot; ?> /js/zpardoise_light.js"></script> <?php } ?> <?php if (($_zp_gallery_page == 'album.php' || $_zp_gallery_page == 'favorites.php') && getOption('use_galleriffic') && isImagePage() == true) { ?> <script type="text/javascript"> //<![CDATA[ (function($) { var userAgent = navigator.userAgent.toLowerCase(); $.browser = { version: (userAgent.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/) || [0, '0'])[1], safari: /webkit/.test(userAgent), opera: /opera/.test(userAgent), msie: /msie/.test(userAgent) && !/opera/.test(userAgent), mozilla: /mozilla/.test(userAgent) && !/(compatible|webkit)/.test(userAgent) }; })(jQuery); //]]> </script>
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 } }
<br /> <p><?php printRSSLink('Album', '', gettext('Album RSS feed') . ' ', '', true, 'i'); ?> </p> <br /> <p> <?php if (!is_null($firstImage)) { echo '<em class="count">'; printf(gettext('photos %1$u-%2$u of %3$u'), $firstImage, $lastImage, getNumImages()); echo "</em>"; } ?> <?php if (function_exists('printSlideShowLink') && isImagePage()) { printSlideShowLink(gettext('View Slideshow')); } ?> <?php if (hasPrevPage()) { ?> <a href="<?php echo htmlspecialchars(getPrevPageURL()); ?> " accesskey="x">« <?php echo gettext('prev page'); ?> </a> <?php }