Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="clear"></div>
- </div>
- </div>
- <div class='bottomcover'>
- <div class='bottom'>
- <div class='botbox rounded'>
- <h3 class="sidetitl rounded"> Popular Trailers </h3>
- <ul>
- <?php
- $myposts = get_posts('post_type=videos&numberposts=6&orderby=comment_count');
- foreach($myposts as $post) :
- ?>
- <li>
- <?php $poster = get_post_meta($post->ID, 'poster_value', $single = true) ?>
- <a href="<?php the_permalink(); ?>">
- <img class="trapic" src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $poster; ?>&h=60&w=80&zc=1" alt=""/> </a>
- <h3><?php the_title();?></h3>
- <span class="pmeta"><?php echo get_the_term_list($post->ID, 'genre', 'Posted under : ', ', ', ''); ?></span>
- <span class="pmeta"> <?php comments_popup_link('Add Comments', '1 Comment', '% Comments'); ?></span>
- </li>
- <?php endforeach; ?>
- </ul>
- <div class="clear"></div>
- </div>
- <div class='botbox blogbox rounded'>
- <h3 class="sidetitl rounded"> From the Blog </h3>
- <ul>
- <?php get_archives('postbypost', 6); ?>
- </ul>
- </div>
- <div class='botbox boxlast rounded'>
- <?php include (TEMPLATEPATH . '/sponsors.php'); ?>
- </div>
- <div class='clear'></div>
- </div>
- </div>
Add Comment
Please, Sign In to add comment