Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

SinglePHP
Sunday, May 6th, 2007 at 1:49:12pm MDT 

  1. <?php get_header(); ?>
  2.  
  3.        
  4. <div id="center" class="column">       
  5.  
  6.         <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  7.        
  8.  
  9.                 <div class="navigation">
  10.                         <div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
  11.                         <div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
  12.                 </div>
  13.  
  14.                 <div class="post" id="post-<?php the_ID(); ?>">
  15.                         <h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
  16.  
  17.                         <div class="entry">
  18.                                 <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
  19.  
  20.                                 <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
  21.  
  22.                                 <p class="postmetadata alt">
  23.                                         <small>
  24.                                                 This entry was posted
  25.                                                 <?php /* This is commented, because it requires a little adjusting sometimes.
  26.                                                         You'll need to download this plugin, and follow the instructions:
  27.                                                         http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
  28.                                                         /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
  29.                                                 on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
  30.                                                 and is filed under <?php the_category(', ') ?>.
  31.                                                 You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.
  32.  
  33.                                                 <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
  34.                                                         // Both Comments and Pings are open ?>
  35.                                                         You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.
  36.  
  37.                                                 <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
  38.                                                         // Only Pings are Open ?>
  39.                                                         Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site.
  40.  
  41.                                                 <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
  42.                                                         // Comments are open, Pings are not ?>
  43.                                                         You can skip to the end and leave a response. Pinging is currently not allowed.
  44.  
  45.                                                 <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
  46.                                                         // Neither Comments, nor Pings are open ?>
  47.                                                         Both comments and pings are currently closed.
  48.  
  49.                                                 <?php } edit_post_link('Edit this entry.','',''); ?>
  50.  
  51.                                         </small>
  52.                                 </p>
  53.  
  54.                         </div>
  55.                 </div>
  56.        
  57.         <?php comments_template(); ?>
  58.        
  59.        
  60.  
  61.         <?php endwhile; else: ?>
  62.  
  63.                 <p>Sorry, no posts matched your criteria.</p>
  64.  
  65. <?php endif; ?>
  66.  
  67.        
  68.         </div>
  69. <?php get_sidebar(); ?>
  70.         <?php include (TEMPLATEPATH . '/rightbar.php'); ?>
  71.        
  72.  
  73.  
  74. <?php get_footer(); ?>

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

fantasy-obligation