Exemple #1
0
</div><?php 
}
?>
	</div>
	<div id="sidebar"<?php 
if ($zpmin_switch) {
    echo ' class="switch"';
}
?>
>
		<div class="image-nav">
			<?php 
if (hasPrevImage()) {
    ?>
<a class="image-prev" href="<?php 
    echo html_encode(getPrevImageURL());
    ?>
" title="<?php 
    echo gettext("Previous Image");
    ?>
">&laquo; <?php 
    echo gettext("prev");
    ?>
</a><?php 
}
?>
			<?php 
if (hasNextImage()) {
    ?>
<a class="image-next" href="<?php 
    echo html_encode(getNextImageURL());
Exemple #2
0
printParentBreadcrumb();
printAlbumBreadcrumb();
?>
 | <?php 
printImageTitle();
?>
</span></h2>
	</div>

<div id="imgnav_tlg">
		<?php 
if (hasPrevImage()) {
    ?>
		<div style="float:left;">
		<a href="<?php 
    echo getPrevImageURL();
    ?>
">&laquo; previous photo</a>
		</div>
		<?php 
}
if (hasNextImage()) {
    ?>
		<div style="float:right;">
		<a href="<?php 
    echo getNextImageURL();
    ?>
">next photo &raquo;</a>
		</div>
		<?php 
}
Exemple #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 
}
Exemple #4
0
				<?php 
if (function_exists('printjCarouselThumbNav')) {
    printThumbNav(3, 50, 50, 50, 50, NULL);
} else {
    ?>
					<div id="prev" <?php 
    if (hasPrevImage()) {
        echo 'class="active"';
    }
    ?>
>
						<?php 
    if (hasPrevImage()) {
        ?>
<a href="<?php 
        echo htmlspecialchars(getPrevImageURL());
        ?>
">Prev</a><?php 
    } else {
        ?>
<span>Prev</span><?php 
    }
    ?>
					</div>
					<div id="next" <?php 
    if (hasNextImage()) {
        echo 'class="active"';
    }
    ?>
>
				<?php 
Exemple #5
0
		<!-- Wrap Everything -->
		<div id="main4">
			<div id="main2">

				<!-- Wrap Header -->
				<div id="galleryheader">
					<div id="gallerytitle">

						<!-- Image Navigation -->
						<div class="imgnav">
							<div class="imgprevious">
								<?php 
global $_zp_current_image;
if (hasPrevImage()) {
    $image = $_zp_current_image->getPrevImage();
    echo '<a href="' . html_encode(getPrevImageURL()) . '" title="' . html_encode($image->getTitle()) . '">« ' . gettext('prev') . '</a>';
} else {
    echo '<div class="imgdisabledlink">« ' . gettext('prev') . '</div>';
}
?>
							</div>
							<div class="imgnext">
								<?php 
if (hasNextImage()) {
    $image = $_zp_current_image->getNextImage();
    echo '<a href="' . html_encode(getNextImageURL()) . '" title="' . html_encode($image->getTitle()) . '">' . gettext('next') . ' »</a>';
} else {
    echo '<div class="imgdisabledlink">' . gettext('next') . ' »</div>';
}
?>
							</div>
Exemple #6
0
	<!-- Wrap Everything -->
	<div id="main4">
		<div id="main2">

			<!-- Wrap Header -->
			<div id="galleryheader">
				<div id="gallerytitle">

					<!-- Image Navigation -->
					<div class="imgnav">
						<div class="imgprevious">
							<?php 
global $_zp_current_image;
if (hasPrevImage()) {
    $image = $_zp_current_image->getPrevImage();
    echo '<a href="' . htmlspecialchars(getPrevImageURL()) . '" title="' . html_encode($image->getTitle()) . '">&laquo; ' . gettext('prev') . '</a>';
} else {
    echo '<div class="imgdisabledlink">&laquo; ' . gettext('prev') . '</div>';
}
?>
						</div>
						<div class="imgnext">
							<?php 
if (hasNextImage()) {
    $image = $_zp_current_image->getNextImage();
    echo '<a href="' . htmlspecialchars(getNextImageURL()) . '" title="' . html_encode($image->getTitle()) . '">' . gettext('next') . ' &raquo;</a>';
} else {
    echo '<div class="imgdisabledlink">' . gettext('next') . ' &raquo;</div>';
}
?>
						</div>
Exemple #7
0
<p class="image-copy"><i class="fa fa-copyright"></i> <?php 
    echo getImageData('copyright');
    ?>
</p><?php 
}
?>
					</div>
				</div>

				<div class="gallery-sidebar pad">
					<div class="single-nav">
						<?php 
if (hasPrevImage()) {
    ?>
						<a class="button prev-link" href="<?php 
    echo html_encode(getPrevImageURL()) . '#view';
    ?>
" title="<?php 
    echo gettext("Previous Image");
    ?>
"><i class="fa fa-caret-left"></i> <?php 
    echo gettext("Prev Image");
    ?>
</a>
						<?php 
} else {
    ?>
						<span class="button prev-link"><i class="fa fa-caret-left"></i> <?php 
    echo gettext("Prev Image");
    ?>
</span>
Exemple #8
0
            <?php 
printImageTitle(true);
?>
			</h2>
		</div>

		<div id="img_header_bg">
			<div id="img_header">&nbsp;</div>
		</div>
	</div>

	<div id="navigation">
	   <ul>
<?php 
if (hasPrevImage()) {
    $link = getPrevImageURL();
} else {
    $link = "#";
}
echo "<li><a href=\"{$link}\" title=\"Previous Image\">&laquo;</a></li>\n";
/*
	for ($i = 1; $i <= $totalPages; $i++) {
	   echo ($i == $currentPage)? '<li class="current">' : '<li>';
	   if ($i < 10) { $page = '0' . $i; } else { $page = $i; }
		printLinkHTML(getPageURL($i), $page, "Page $page");
		echo "</li>\n";
	}
*/
if (hasNextImage()) {
    $link = getNextImageURL();
} else {
Exemple #9
0
		'height="16" alt="left arrow" /></a></li>' . "\n";
	echo "\t\t" . '<li><a href="' . getFullImageURL() . '" title="Full Size Image">' .
	   '<img src="' . $_zp_themeroot . '/images/arrow_out.png" width="16" ' .
		'height="16" alt="arrows pointing out" /></a></li>' . "\n";
	if (hasNextImage()) { $link = getNextImageURL(); } else { $link = "#"; }
   echo "\t\t" . '<li id="next"><a href="' . $link . '" title="Next Image">' .
		'<img src="' . $_zp_themeroot . '/images/arrow_right.png" width="16" ' .
		'height="16" alt="right arrow" /></a></li>' . "\n";
*/
?>

   <div id="fullplate-navigation">
      <ul>
   <?php 
if (hasPrevImage()) {
    echo "\t\t" . '<li id="previous"><a href="' . getPrevImageURL() . '" title="Previous Image"><img src="' . $_zp_themeroot . '/images/arrow_left.png" width="16" height="16" alt="left ' . 'arrow" /></a></li>' . "\n";
} else {
    echo "\t\t" . '<li>&nbsp;</li>' . "\n";
}
if (in_context(ZP_IMAGE)) {
    echo "\t\t" . '<li><a class="gallery" href="' . getFullImageURL() . '" title="Full Size Image"><img src="' . $_zp_themeroot . '/images/arrow_out.png" width="16" height="16" alt="arrows ' . 'pointing out" /></a></li>' . "\n";
} else {
    echo "\t\t" . '<li>&nbsp;</li>' . "\n";
}
if (hasNextImage()) {
    echo "\t\t" . '<li id="next"><a href="' . getNextImageURL() . '" title="Next Image"><img src="' . $_zp_themeroot . '/images/arrow_right.png" width="16" height="16" alt="right ' . 'arrow" /></a></li>' . "\n";
} else {
    echo "\t\t" . '<li>&nbsp;</li>' . "\n";
}
?>
      </ul>