當前位置: 首頁>>代碼示例>>PHP>>正文


PHP printAlbumDate函數代碼示例

本文整理匯總了PHP中printAlbumDate函數的典型用法代碼示例。如果您正苦於以下問題:PHP printAlbumDate函數的具體用法?PHP printAlbumDate怎麽用?PHP printAlbumDate使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了printAlbumDate函數的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: html_encode

							<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 
}
?>
開發者ID:rb26,項目名稱:zenphoto,代碼行數:31,代碼來源:album.php

示例2: html_encode

									<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 
開發者ID:jmruas,項目名稱:zenphoto,代碼行數:31,代碼來源:search.php

示例3: getAlbumURL

			<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 
開發者ID:Imagenomad,項目名稱:Unsupported,代碼行數:31,代碼來源:album.php

示例4: getAlbumURL

													<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);
開發者ID:rb26,項目名稱:zenphoto,代碼行數:31,代碼來源:gallery.php

示例5: printAlbumTitle

}
?>
				</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 
開發者ID:Imagenomad,項目名稱:Unsupported,代碼行數:31,代碼來源:album.php

示例6: zp_side_bar

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 
}
開發者ID:Imagenomad,項目名稱:Unsupported,代碼行數:93,代碼來源:functions.php

示例7: gettext

" 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">
開發者ID:JoniWeiss,項目名稱:JoniWebGirl,代碼行數:31,代碼來源:search.php

示例8: getAlbumURL

    ?>
		<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();
    ?>
開發者ID:Imagenomad,項目名稱:Unsupported,代碼行數:31,代碼來源:index.php

示例9: html_encode

					<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++;
開發者ID:Imagenomad,項目名稱:Unsupported,代碼行數:31,代碼來源:gallery.php


注:本文中的printAlbumDate函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。