Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="content">
- <div class="postsbody">
- <?
- global $options;
- foreach ($options as $value) {
- if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
- }
- ?>
- <div class="featured">
- <h2>Latest Videos</h2>
- <div style="padding:15px 0 15px 20px;">
- <?php $recent = new WP_Query("cat=-<? echo $wt_featured; ?>&showposts=20"); while($recent->have_posts()) : $recent->the_post();?>
- <div class="videopart">
- <div class="thumbnail">
- <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><img src="<?php echo get_post_meta($post->ID, "thumb", true); ?>" width="120" height="90" alt="<?php the_title(); ?>" /></a>
- </div>
- <div class="frost">
- <h3><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
- <p><?php if(function_exists('the_views')) { the_views(); } ?></p>
- <p><?php if(function_exists('the_ratings')) { the_ratings(); } ?></p>
- </div>
- </div>
- <?php endwhile; ?>
- </div>
- </div>
- </div>
- <?php include (TEMPLATEPATH . '/sidebar_right.php'); ?>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement