Source display for "single.phps".


<?php $cat='-27,-28';?>
<?php get_header
(); ?>

    <div id="content" class="narrowcolumn">
                
  <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php c2c_increment_post_view_count();?>
    
                        <div class="asides">
                        <?php c2c_get_recent_posts3'<p>ยป %post_excerpt% %post_if_content% (%comments_count_url%)</p>''27''date','DESC');?>
                        </div>
        <div class="navigation">
            <div class="alignleft"><?php previous_post('&laquo; %','','yes'?></div>
            <div class="alignright"><?php next_post(' % &raquo;','','yes'?></div>
        </div>
    
        <div id="post-<?php the_ID(); ?>" class="post">
            <h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title("-image-"); ?><span style="display:none"><?php the_title();?></span></a></h2>
    
            <div class="entry">
                <?php if( $post->post_content != '' ) { 
                    
the_content('<p class="serif">Read the rest of this entry &raquo;</p>');
                } else {
                    
the_excerpt();
                } 
?>            
                <?php link_pages('<p><strong>Pages:</strong> ''</p>''number'); ?>
    
                <p class="postmetadata graybox">
                    <small>
                        This entry was posted
                        <?php /* This is uncommented, because it requires a little adjusting sometimes.
                            You'll need to download this plugin, and follow the instructions:
                            http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
                        
$entry_datetime abs(strtotime($post->post_date)); echo time_since($entry_datetime);?> 
                        
                        and is filed under <?php the_category(', '?>.
                        You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed. 
                        
                        <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
                            
// Both Comments and Pings are open ?>
                            You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(display); ?>">trackback</a> from your own site.
                        
                        <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
                            
// Only Pings are Open ?>
                            Responses are currently closed, but you can <a href="<?php trackback_url(display); ?> ">trackback</a> from your own site.
                        
                        <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
                            
// Comments are open, Pings are not ?>
                            You can skip to the end and leave a response. Pinging is currently not allowed.
            
                        <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
                            
// Neither Comments, nor Pings are open ?>
                            Both comments and pings are currently closed.            
                        
                        <?php edit_post_link('Edit this entry.','',''); ?> <?php if( function_exists('twTouch') ) twTouch(); ?>
                        
                    </small>
                </p>
    
            </div>
        </div>
        
    <?php comments_template(); ?>
    
    <?php endwhile; else: ?>
    
        <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    
<?php endif; ?>
    
    </div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>