Example #1
0
        ?>
" width="<?php 
        echo $thumb_width;
        ?>
" height="<?php 
        echo $thumb_height;
        ?>
" title="<?php 
        echo plogger_get_collection_name();
        ?>
" alt="<?php 
        echo plogger_get_collection_name();
        ?>
" /></a>
				<h2><a href="<?php 
        echo plogger_get_collection_url();
        ?>
"><?php 
        echo plogger_get_collection_name();
        ?>
</a></h2>
				<?php 
        echo plogger_download_checkbox(plogger_get_collection_id());
        ?>
				<span class="meta-header"><?php 
        echo plog_tr('Contains');
        ?>
 <?php 
        echo plogger_collection_album_count() . ' ';
        echo plogger_collection_album_count() == 1 ? plog_tr('Album') : plog_tr('Albums');
        ?>
Example #2
0
<?php

plogger_get_header();
print '<div id="thumbnail_container">';
if (plogger_has_collections()) {
    print '<ul class="slides">';
    while (plogger_has_collections()) {
        $row = plogger_load_collection();
        $desc = plogger_get_collection_description();
        print '<li class="thumbnail"><div class="tag"><a href="' . plogger_get_collection_url() . '">';
        // generate XHTML with thumbnail and link to picture view.
        print '<img class="photos" src="' . plogger_get_collection_thumb() . '" title="' . $desc . '" alt="' . $desc . '" />';
        print '</a><br/>';
        print plogger_download_checkbox(plogger_get_collection_id());
        print plogger_get_collection_name() . ' <br />';
        print '<div class="meta-header">(';
        $num_albums = plogger_collection_album_count();
        print $num_albums . ' ';
        print $num_albums == 1 ? "album" : "albums";
        print ')</div></div></li>';
    }
    print '</ul>';
} else {
    print "No collections yet";
}
print '</div>';
plogger_get_footer();
Example #3
0
<?php

plogger_get_header();
print '<div id="thumbnail_container">';
if (plogger_has_collections()) {
    print '<div id="collections">';
    while (plogger_has_collections()) {
        plogger_load_collection();
        $desc = plogger_get_collection_description();
        print '<div class="collection"><a href="' . plogger_get_collection_url() . '">';
        // generate XHTML with thumbnail and link to picture view.
        print '<img class="photos" src="' . plogger_get_collection_thumb() . '" title="' . $desc . '" alt="' . $desc . '" /></a>';
        print '<h2>' . plogger_get_collection_name() . '</h2>';
        print plogger_download_checkbox(plogger_get_collection_id());
        print '<span class="meta-header">Contains ';
        $num_albums = plogger_collection_album_count();
        print $num_albums . ' ';
        print $num_albums == 1 ? "Album" : "Albums";
        print '</span>';
        print '<p class="description">' . $desc . '</p>';
        print '</div>';
    }
    print '</div>';
} else {
    print "No collections yet";
}
print '</div>';
plogger_get_footer();