Recent Posts
None | 20 sec ago
None | 50 sec ago
Java | 1 min ago
C++ | 1 min ago
None | 1 min ago
None | 1 min ago
QBasic | 2 min ago
None | 2 min ago
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Domain Reports
Please check out our new and improved Firefox Add-on. hide message
By Anonymous on the 7th of Feb 2010 12:45:00 AM Download | Raw | Embed | Report
  1. <?php
  2. /*
  3. Template Name: New Builds with no Slideshow
  4. */
  5. ?>
  6. <?php get_header(); ?>
  7. <div class="clear"></div>
  8. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  9. <?php $picture = get_post_meta($post->ID, 'picture', true); ?>
  10. <div id="content">
  11. <div id="left-content">
  12. <h2>NEW BUILDS</h2>
  13. <!--be sure to change cat=4 to whatever category Refits become-->
  14. <ul class="sidebar">
  15. <?php $recent = new WP_Query("cat=3&showposts=10"); while($recent->have_posts()) : $recent->the_post();?>
  16. <li><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></li>
  17. <?php endwhile; ?>
  18. </ul>
  19.  
  20. </div>
  21. <div id="right-content">
  22. <?php the_post(); ?>
  23. <div id="slide-gallary">
  24. <img src="<?php echo $picture; ?>" align="left" alt="<?php the_title(); ?>" width="440" height="280" /><br class="clear" />
  25. </div>
  26. <div id="colm-3">
  27.  
  28. <h1><?php the_title(); ?></h1>
  29. <?php the_content(); ?>
  30.         <?php endwhile; ?>
  31.  
  32.  
  33. <?php endif; ?>
  34.  
  35. </div>
  36. <div class="clear"></div>
  37. </div>
  38.  
  39. </div>
  40. <div class="clear"></div>
  41.  
  42.  
  43. <?php get_footer(); ?>
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: