Want more features on Pastebin? Sign Up, it's FREE!
Guest

single.php

By: a guest on Sep 27th, 2010  |  syntax: None  |  size: 1.41 KB  |  views: 69  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php get_header(); ?> 
  2. <?php
  3. global $options;
  4. foreach ($options as $value) {
  5. if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } }
  6.       ?>
  7. <div id="container">
  8. <div id="left-div">
  9. <?php if (have_posts()) : ?>
  10.  
  11. <?php while (have_posts()) : the_post(); ?>
  12.  
  13. <!--Begin Post-->
  14. <div class="post-wrapper">
  15. <h1 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
  16.  
  17. <div class="rule"></div>
  18. <div style="clear: both;"></div>
  19. <?php if (get_option('artsee_thumbnails') == 'Hide') { ?>
  20. <?php { echo ''; } ?>
  21. <?php } else { include(TEMPLATEPATH . '/includes/thumbnail.php'); } ?>
  22. <?php the_content(); ?>
  23.  
  24. <?php if (get_option('artsee_foursixeight') == 'Enable') { ?>
  25. <?php include(TEMPLATEPATH . '/includes/468x60.php'); ?>
  26. <?php } else { echo ''; } ?>
  27.  
  28.  
  29. <div style="clear: both;"></div>
  30.  
  31.  
  32. <?php endwhile; ?>
  33.  
  34. </div>
  35.  
  36. <?php else : ?>
  37. <div id="respond">
  38. <!--If no results are found-->
  39. <h1>No Results Found</h1>
  40. <p>The page you requested could not be found. Try refining your search, or use the navigation above to locate the post.</p>
  41. <!--End if no results are found-->
  42.  
  43. <?php endif; ?>                
  44.        
  45. </div>
  46.  
  47. <!--Begin Sidebar-->
  48. <?php get_sidebar(); ?>
  49. <!--End Sidebar-->
  50.  
  51. <!--Begin Footer-->
  52. <?php get_footer(); ?>
  53. <!--End Footer-->
  54.        
  55. </body>
  56. </html>
clone this paste RAW Paste Data