</section> </div> <div id="page-col-right"> <aside id="page-sidebar"> <h3>Pages</h3> <nav> <?php echo mh_sidebar_nav(); ?> </nav> <!-- Grab some recent images for the image tile montage --> <?php mh_display_recent_item(10); ?> </aside> </div> </article> </div> <!-- end content --> <div id="share-this" class="browse"> <?php echo mh_share_this(); ?> </div> <?php echo foot();
$i++; } } } ?> </section> </div> <div id="page-col-right"> <?php if (function_exists('mh_display_recent_item') && $tourimg < 10) { // if there aren't 10 tour images to fill out the collage, grab some item images to fill it out $num = 10 - $tourimg; mh_display_recent_item($num); } ?> </div> <div class="pagination bottom"><?php echo pagination_links(); ?> </div> </section> </div> <!-- end content --> <?php echo function_exists('mh_share_this') ? '<div id="share-this" class="browse">' . mh_share_this() . '</div>' : null;
function mh_random_or_recent($mode = 'random', $num = 3) { switch ($mode) { case 'recent': return mh_display_recent_item($num); break; case 'random': return mh_display_random_item($num); break; } }
mh_item_browse_subnav(); ?> </nav> <?php echo tag_cloud($tags, url('items/browse')); ?> </section> </div><!-- end primary --> <div id="page-col-right"> <aside id="page-sidebar"> <section id="recent-story" class="hidden"> <?php mh_display_recent_item(3); /* Used for swipe.js slider script */ ?> </section> </aside> </div> </section> </div> <!-- end content --> <div id="share-this" class="browse"> <?php echo mh_share_this(); ?> </div> <?php