1<?php 2// force UTF-8 Ø 3 4if (!defined('WEBPATH')) 5 die(); 6?> 7<!DOCTYPE html> 8<html<?php printLangAttribute(); ?>> 9 <head> 10 <meta charset="<?php echo LOCAL_CHARSET; ?>"> 11 <?php zp_apply_filter('theme_head'); ?> 12 <?php printHeadTitle(); ?> 13 <link rel="stylesheet" href="<?php echo pathurlencode($zenCSS); ?>" type="text/css" /> 14 <link rel="stylesheet" href="<?php echo pathurlencode(dirname(dirname($zenCSS))); ?>/common.css" type="text/css" /> 15 <?php if (zp_has_filter('theme_head', 'colorbox::css')) { ?> 16 <script type="text/javascript"> 17 // <!-- <![CDATA[ 18 $(document).ready(function() { 19 $(".fullimage").colorbox({ 20 maxWidth: "98%", 21 maxHeight: "98%", 22 photo: true, 23 close: '<?php echo gettext("close"); ?>', 24 onComplete: function () { 25 $(window).resize(resizeColorBoxImage); 26 } 27 }); 28 }); 29 // ]]> --> 30 </script> 31 <?php } ?> 32 <?php if (class_exists('RSS')) printRSSHeaderLink('Gallery', gettext('Gallery RSS')); ?> 33 </head> 34 <body> 35 <?php zp_apply_filter('theme_body_open'); ?> 36 <div id="main"> 37 <div id="gallerytitle"> 38 <div class="imgnav"> 39 <?php 40 if (hasPrevImage()) { 41 ?> 42 <div class="imgprevious"><a href="<?php echo html_encode(getPrevImageURL()); ?>" title="<?php echo gettext("Previous Image"); ?>">« <?php echo gettext("prev"); ?></a></div> 43 <?php 44 } if (hasNextImage()) { 45 ?> 46 <div class="imgnext"><a href="<?php echo html_encode(getNextImageURL()); ?>" title="<?php echo gettext("Next Image"); ?>"><?php echo gettext("next"); ?> »</a></div> 47 <?php 48 } 49 ?> 50 </div> 51 <h2> 52 <span> 53 <?php 54 printHomeLink('', ' | '); 55 printGalleryIndexURL(' | ', getGalleryTitle()); 56 printParentBreadcrumb("", " | ", " | "); 57 printAlbumBreadcrumb("", " | "); 58 ?> 59 </span> 60<?php printImageTitle(); ?> 61 </h2> 62 </div> 63 <!-- The Image --> 64 <div id="image"> 65 <strong> 66 <?php 67 if (isImagePhoto()) { 68 $fullimage = getFullImageURL(); 69 } else { 70 $fullimage = NULL; 71 } 72 if (!empty($fullimage)) { 73 ?> 74 <a href="<?php echo html_encode(pathurlencode($fullimage)); ?>" title="<?php printBareImageTitle(); ?>" class="fullimage"> 75 <?php 76 } 77 if (function_exists('printUserSizeImage') && isImagePhoto()) { 78 printUserSizeImage(getImageTitle()); 79 } else { 80 printDefaultSizedImage(getImageTitle()); 81 } 82 if (!empty($fullimage)) { 83 ?> 84 </a> 85 <?php 86 } 87 ?> 88 </strong> 89 </div> 90 <div id="narrow"> 91 <?php printImageDesc(); ?> 92 <hr /><br /> 93 <?php 94 If (function_exists('printAddToFavorites')) 95 printAddToFavorites($_zp_current_image); 96 @call_user_func('printSlideShowLink'); 97 98 if (getImageMetaData()) { 99 printImageMetadata(); 100 ?> 101 <br class="clearall" /> 102 <?php 103 } 104 printTags('links', gettext('<strong>Tags:</strong>') . ' ', 'taglist', ''); 105 ?> 106 <br class="clearall" /> 107 108 <?php 109 @call_user_func('printOpenStreetMap'); 110 @call_user_func('printGoogleMap'); 111 @call_user_func('printRating'); 112 @call_user_func('printCommentForm'); 113 ?> 114 </div> 115 </div> 116<?php include 'inc-footer.php'; ?> 117 </body> 118</html> 119