示例#1
0
echo getFullImageURL();
?>
" title="<?php 
echo getImageTitle();
?>
"> <?php 
printDefaultSizedImage(getImageTitle());
?>
</a>
	</div>

	<div id="narrow">

	    <div id="smaller_tlg">
		<?php 
printImageDesc(true);
?>
		</div>

		<div id="smaller_tlg">
		<?php 
echo "<h3>EXIF Data</h3>";
printImageMetadata('', false);
?>
		</div>

		<div id="comments">
		<?php 
if (function_exists('printCommentForm')) {
    printCommentForm();
}
示例#2
0
</span><?php 
        }
        ?>
						<?php 
    } elseif (function_exists('printSlideShowLink')) {
        ?>
						<span><?php 
        printSlideShowLink();
        ?>
</span>
						<?php 
    }
    ?>
					</div>
					<div id="object-desc"><?php 
    printImageDesc();
    ?>
</div>
					<?php 
    if (function_exists('printGoogleMap')) {
        ?>
<div id="map-wrap"><?php 
        printGoogleMap('Google Map', null, 'hide');
        ?>
</div><?php 
    }
    ?>
					<?php 
    if (getImageData('copyright')) {
        ?>
<p class="image-copy"><?php 
示例#3
0
function zp_side_bar()
{
    ?>
	<div id="sidebar">
		<?php 
    //-------------If you are in the Image Page
    if (in_context(ZP_IMAGE)) {
        ?>
				<div class="imgnav">
					<?php 
        if (hasPrevImage()) {
            ?>
					<div class="imgprevious"><a href="<?php 
            echo getPrevImageURL();
            ?>
" title="Previous Image"><img src="<?php 
            echo getPrevImageThumb();
            ?>
" /><br /><small>&laquo; prev  |</small></a></div>
					<?php 
        }
        if (hasNextImage()) {
            ?>
					<div class="imgnext"><a href="<?php 
            echo getNextImageURL();
            ?>
" title="Next Image"><img src="<?php 
            echo getNextImageThumb();
            ?>
" /><br /><small>| next &raquo;</small></a></div>
					<?php 
        }
        ?>
				</div> 
		<div id="sbinfo">
			<b>Album Name:</b> <?php 
        printAlbumTitle(true);
        ?>
<br />
			<b>Number of Photos:</b> <?php 
        echo getNumImages();
        ?>
<br />
			<b>Album Date:</b> <?php 
        printAlbumDate($before = "Date: ", $format = "%F");
        ?>
<br />
			<b>Album Description:</b> <?php 
        printAlbumDesc(true);
        ?>
<br />
			<b>Image Name:</b> <?php 
        echo getImageTitle();
        ?>
<br />
			<b>Image Description:</b> <?php 
        printImageDesc(true);
        ?>
<br />
		</div>
			<?php 
        //--------------- If you are in the Album Page
    } else {
        if (in_context(ZP_ALBUM)) {
            ?>
		<b>Album Name:</b> <?php 
            printAlbumTitle(true);
            ?>
<br />
		<b>Number of Pictures:</b> <?php 
            echo getNumImages();
            ?>
<br />
		<b>Album Date:</b> <?php 
            printAlbumDate($before = "Date: ", $format = "%F");
            ?>
<br /> 
		<b>Album Description:</b> <?php 
            printAlbumDesc(true);
            ?>
<br />		
<?php 
            //--------------- If you are in the Index Page
        } else {
            if (in_context(ZP_INDEX)) {
            }
        }
    }
    ?>

</div>
<?php 
}
示例#4
0
    ?>
<li>&nbsp;&nbsp;<a href="javascript:void(0);" class="inline"><?php 
    echo gettext('EXIF Metadata');
    ?>
</a></li><?php 
}
?>
		</ul>	
		<div class="album-tags"><?php 
printTags('links', gettext('TAGS:  '), 'taglist', ', ', true, '', true);
?>
</div>				
	</div>
	
	<p class="description"><?php 
printImageDesc(true, '', gettext('(Edit Description...)'));
?>
</p>
	<div id="img-full">
		<div>
			<?php 
if ($zpfocus_final_link == 'colorbox') {
    ?>
<a rel="zoom" href="<?php 
    if ($zpfocus_cbtarget) {
        echo htmlspecialchars(getDefaultSizedImage());
    } else {
        echo htmlspecialchars(getUnprotectedImageURL());
    }
    ?>
" title="<?php