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


PHP printAlbumThumbImage函數代碼示例

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


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

示例1: truncate_string

"><?php 
    echo truncate_string(getBareAlbumTitle(), 25, '...');
    ?>
</a></h4>
						<a class="thumb" href="<?php 
    echo htmlspecialchars(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:');
    ?>
 <?php 
    echo getBareAlbumTitle();
    ?>
">
							<?php 
    printAlbumThumbImage(getBareAlbumTitle());
    ?>
						</a>
						<span class="front-date"><?php 
    printAlbumDate();
    ?>
</span>
						<p class="front-desc">
							<?php 
    echo truncate_string(getAlbumDesc(), 175);
    ?>
							<a href="<?php 
    echo htmlspecialchars(getAlbumURL());
    ?>
" title="<?php 
    echo gettext('View album:');
開發者ID:Imagenomad,項目名稱:Unsupported,代碼行數:31,代碼來源:gallery.php

示例2: while

						<?php 
    while (next_album()) {
        ?>
							<div class="album">
								<div class="thumb">
									<a href="<?php 
        echo html_encode(getAlbumURL());
        ?>
" title="<?php 
        echo gettext('View album:');
        ?>
 <?php 
        printAnnotatedAlbumTitle();
        ?>
"><?php 
        printAlbumThumbImage(getAnnotatedAlbumTitle());
        ?>
</a>
								</div>
								<div class="albumdesc">
									<h3><a href="<?php 
        echo html_encode(getAlbumURL());
        ?>
" title="<?php 
        echo gettext('View album:');
        ?>
 <?php 
        printAnnotatedAlbumTitle();
        ?>
"><?php 
        printAlbumTitle();
開發者ID:rauldobrota,項目名稱:zenphoto,代碼行數:31,代碼來源:favorites.php

示例3: while

		</div>
	
		<div id="main" class="wrap clearfix">
			<div class="inner">
				<div class="gallery pad">
					<div class="gallery-thumbs-large">
						<?php 
while (next_album()) {
    ?>
						<div>
							<a href="<?php 
    echo html_encode(getAlbumURL());
    ?>
">
								<?php 
    printAlbumThumbImage(getBareAlbumTitle(), 'check-flagthumb');
    ?>
							</a>
							<div class="caption clearfix">
								<div class="album-details">
									<?php 
    if (getNumAlbums()) {
        ?>
<div class="album-sub-count"><i class="fa fa-folder"></i><span> <?php 
        echo getNumAlbums();
        ?>
</span></div><?php 
    }
    ?>
									<?php 
    if (getNumImages()) {
開發者ID:ckfreeman,項目名稱:libratus,代碼行數:31,代碼來源:album.php

示例4: printAlbumTitle

							<h3><?php 
            printAlbumTitle();
            ?>
</h3>
							<a class="album-thumb" href="<?php 
            echo html_encode(getAlbumURL());
            ?>
" title="<?php 
            printAlbumTitle();
            ?>
">
								<?php 
            if (getOption('thumb_crop')) {
                printCustomAlbumThumbImage(getAnnotatedAlbumTitle(), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), getOption('thumb_size'), null, null, 'remove-attributes');
            } else {
                printAlbumThumbImage(getAnnotatedAlbumTitle(), 'remove-attributes');
            }
            ?>
							</a>
							<p class="album-desc"><?php 
            echo strip_tags(truncate_string(getAlbumDesc(), 140, '...'));
            ?>
</p>
							<div class="album-stats">
								<?php 
            if (getNumAlbums() > 0 && getNumImages() > 0) {
                $divider = '- ';
            } else {
                $divider = '';
            }
            ?>
開發者ID:BimbaLaszlo,項目名稱:zpbase,代碼行數:31,代碼來源:album-masonry.php

示例5: while

				<br clear="all" />
				<?php 
$x = 0;
while (next_album()) {
    ?>
				<div class="album">
					
					<div class="albumthumb"><a href="<?php 
    echo getAlbumURL();
    ?>
" title="<?php 
    echo getBareAlbumTitle();
    ?>
" rel="lightbox-album">
						<?php 
    printAlbumThumbImage(getAlbumTitle(), "reflect");
    ?>
</a>
					</div>
					
					<div class="albumtitle"><h1><a href="<?php 
    echo getAlbumURL();
    ?>
" title="<?php 
    echo getBareAlbumTitle();
    ?>
">
						<?php 
    printAlbumTitle();
    ?>
</a></h1>
開發者ID:Imagenomad,項目名稱:Unsupported,代碼行數:31,代碼來源:album.php


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