Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="clear"></div>
- </div>
- <div class="clear"></div>
- </div>
- <div class="clear"></div>
- </div>
- <div class="clear"></div>
- </div>
- <div id="footbg"><!--footer background 100% -->
- <div id="footwrap"><!--align footer content with main content-->
- <div id="flickr">
- <?php
- $myposts = get_posts('numberposts=110&offset=0&orderby=rand&category='.$category);
- $postshtmlcount = 0;
- foreach($myposts as $post){
- $custom = get_post_custom($post->ID);
- $thumb = $custom['videoswiper-embed-thumb'][0];
- if($thumb and ($postshtmlcount < 11)){
- $postshtmlcount++;
- ?>
- <a href="<?php echo get_permalink($post->ID);?>" title="<?php the_title_attribute();?>" class="<?php echo ($postshtmlcount == 11?'flickr_last':'flickr'); ?>"><img src="<?php echo $thumb;?>" alt="<?php the_title_attribute();?>" width="69" height="53"></a>
- <?php
- }
- }
- ?>
- </div>
- <div class="footer-links">
- <h2>Recent Videos</h2>
- <ul>
- <?php get_archives('postbypost', '5', 'custom', '<li>', '</li>');; ?>
- </ul>
- </div>
- <div class="footer-links">
- <h2>Most Popular Videos</h2>
- <?php
- if (function_exists('todays_overall_count_widget')) {
- todays_overall_count_widget('views', 'ul');
- } ?>
- </div>
- <div class="footer-links-r">
- <h2>Videos Been Watched</h2>
- <?php
- if (function_exists('todays_count_widget')) {
- todays_count_widget('views', 'ul');
- } ?>
- </div>
- <br clear="all" />
- <div id="copyright">
- <ul>
- <li><strong><a href="#top-panel">Back to Top</a></strong></li>
- </ul>
- Powered by <a href="http://www.wordpress.org">Wordpress</a> | Theme by <a href="http://www.blogohblog.com" title="Free WordPress Themes">Blog Oh! blog</a> | Modified for <a href="http://www.smartvideoplus.com" title="WordPress Video Plugin">SmartVideoPlus</a>
- </div>
- </div><!--close footer wrap -->
- </div><!--close footer -->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement