コード例 #1
0
ファイル: gallery.php プロジェクト: rauldobrota/zenphoto
		<?php 
printHeadingImage(getRandomImages(getThemeOption('effervescence_daily_album_image')));
?>

		<!-- Wrap Main Body -->
		<div id="content">
			<div id="main">

				<!-- Album List -->
				<ul id="albums">
					<?php 
$firstAlbum = null;
$lastAlbum = null;
while (next_album()) {
    if (is_null($firstAlbum)) {
        $lastAlbum = albumNumber();
        $firstAlbum = $lastAlbum;
    } else {
        $lastAlbum++;
    }
    ?>
						<li>
							<?php 
    $annotate = annotateAlbum();
    ?>
							<div class="imagethumb">
								<a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
" title="<?php 
    echo $annotate;
コード例 #2
0
ファイル: album.php プロジェクト: Imagenomad/Unsupported
" title="<?php 
    echo html_encode($albumnav->getTitle());
    ?>
"><?php 
    echo gettext('next') . ' ' . $linklabel . ' &rarr;';
    ?>
</a>
								<?php 
}
?>
							</div>
							<span title="<?php 
echo $linklabel . ' ' . gettext('number') . '/' . gettext('total') . ' ' . $linklabel;
?>
"><?php 
echo albumNumber() . '/' . $totalalbums;
?>
</span>
						</div>
						<div class="sidebar-divide">
							<h2><?php 
printAlbumTitle(true);
?>
</h2>
							<ul class="album-info">
								<?php 
$singletag = getTags();
$tagstring = implode(', ', $singletag);
?>
								<li class="counts smallthumbs">
									<?php