Example #1
0
							<li>
								<a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:');
    ?>
">
									<?php 
    printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), null, 79, 79, 79, 79, NULL, null, NULL, NULL);
    ?>
									<h3><?php 
    printAlbumTitle();
    ?>
<small> (<?php 
    printAlbumDate('');
    ?>
)</small></h3>
									<div class="albumdesc"><?php 
    echo shortenContent(getAlbumDesc(), 100, '(...)', false);
    ?>
</div>
									<small class="ui-li-aside ui-li-count"><?php 
    jqm_printImageAlbumCount();
    ?>
</small>
								</a>
							</li>
			<?php 
}
?>
Example #2
0
									<div class="albumdesc">
										<h3><a href="<?php 
        echo html_encode(getAlbumURL());
        ?>
" title="<?php 
        echo gettext('View album:');
        ?>
 <?php 
        printBareAlbumTitle();
        ?>
"><?php 
        printAlbumTitle();
        ?>
</a></h3>
										<?php 
        printAlbumDate("");
        ?>
										<p><?php 
        echo truncate_string(getAlbumDesc(), 45);
        ?>
</p>
									</div>
								</div>
							<?php 
    }
    ?>
						</div>
					<?php 
}
?>
					<?php 
Example #3
0
			<div id="album_box">
				<div id="album_position"><a href="<?php 
    echo getAlbumURL();
    ?>
" title="View album: <?php 
    echo getAlbumTitle();
    ?>
"><?php 
    printAlbumThumbImage(getAlbumTitle());
    ?>
</a></div>
			</div>

			<div class="albumdesc">
				<?php 
    printAlbumDate("Date Taken: ");
    ?>
				<p><?php 
    printAlbumDesc();
    ?>
</p>
			</div>
			<p style="margin:0px;padding:0px;clear: both; ">&nbsp;</p>
		</div>
		<?php 
}
?>
	</div>

    <div id="images_tlg">
		<?php 
Example #4
0
													<h3>
														<a href="<?php 
    echo getAlbumURL();
    ?>
" title="<?php 
    printf(gettext('View album:  %s'), getBareAlbumTitle());
    ?>
">
															<?php 
    printAlbumTitle();
    ?>
														</a>
													</h3>
													<br />
													<small><?php 
    printAlbumDate();
    ?>
</small>
												</div>
												<p style="clear: both;"></p>
											</div>
											<?php 
}
printPageListWithNav(gettext("« prev"), gettext("next »"));
?>
									</div><!-- album -->
									<?php 
?>
									<p style="clear: both;"></p>
									<?php 
printCodeblock(2);
Example #5
0
}
?>
				</div>
				<div id="sidebar"<?php 
if ($zpmin_switch) {
    echo ' class="switch"';
}
?>
>
					<div class="sidebar-divide">
						<h3><?php 
printAlbumTitle(true);
?>
</h3>
						<div class="sidebar-section"><?php 
printAlbumDate('', '', null, true);
?>
</div>
						<?php 
if (getAlbumDesc() || zp_loggedin()) {
    ?>
<div class="sidebar-section"><?php 
    printAlbumDesc(true);
    ?>
</div><?php 
}
?>
						<?php 
if (getTags() || zp_loggedin()) {
    ?>
<div class="sidebar-section"><?php 
Example #6
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 
}
Example #7
0
" title="<?php 
    echo gettext('View album:');
    ?>
 <?php 
    printAnnotatedAlbumTitle();
    ?>
"><?php 
    printAlbumTitle();
    ?>
</a></h3>
								<p><?php 
    printAlbumDesc();
    ?>
</p>
								<small><?php 
    printAlbumDate(gettext("Date:") . ' ');
    ?>
 </small>
							</div>
							<p style="clear: both; "></p>
						</div>
						<?php 
}
?>
				</div>
				<div id="images">
					<?php 
while (next_image()) {
    $c++;
    ?>
						<div class="image">
Example #8
0
    ?>
		<div class="album">
			<a href="<?php 
    echo getAlbumURL();
    ?>
" title="View album: <?php 
    echo getAlbumTitle();
    ?>
">
			<?php 
    printAlbumThumbImage(getAlbumTitle());
    ?>
			</a>
			<div class="albumdesc">
        <small><?php 
    printAlbumDate($before = 'Date Taken:', $nonemessage = 'no date', $format = null);
    ?>
</small>
				<h3><a href="<?php 
    echo getAlbumURL();
    ?>
" title="View album: <?php 
    echo getAlbumTitle();
    ?>
"><?php 
    printAlbumTitle();
    ?>
</a></h3>
				<p><?php 
    printAlbumDesc();
    ?>
Example #9
0
					<div class="albumdesc">
						<h3><a href="<?php 
        echo html_encode(getAlbumURL());
        ?>
" title="<?php 
        echo gettext('View album:');
        ?>
 <?php 
        echo getBareAlbumTitle();
        ?>
"><?php 
        printAlbumTitle();
        ?>
</a></h3>
							<h3 class="date"><?php 
        printAlbumDate("", "", "%B %Y");
        ?>
</h3>
						<!-- p><?php 
        echo truncate_string(getAlbumDesc(), 45);
        ?>
</p --></h3>
					</div>
				<p style="clear: both; "></p>
			</div>
			<?php 
    }
    ?>
            <?php 
    while ($u % 2 != 0) {
        $u++;