rendered paste body<?php get_header(); ?>
<div class="left">
<?php if (have_posts()) : ?>
<?php if(get_wpn_config('ad_468')) : ?>
<div class="advert-468">
<?php echo stripslashes(get_wpn_config('ad_468')); ?>
</div>
<?php endif; ?>
<!-- News & Updates // -->
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* If this is a category archive */ if (is_category()) { ?>
<span class="heading"><span>Archive for the ‘<?php single_cat_title(); ?>’ Category</span></span>
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
<span class="heading"><span>Posts Tagged ‘<?php single_tag_title(); ?>’</span></span>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<span class="heading"><span>Archive for <?php the_time('F jS, Y'); ?></span></span>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<span class="heading"><span>Archive for <?php the_time('F, Y'); ?></span></span>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<span class="heading"><span>Archive for <?php the_time('Y'); ?></span></span>
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
<span class="heading"><span>Author Archive</span></span>
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<span class="heading"><span>Blog Archives</span></span>
<?php /* If this is a search result */ } elseif (isset($_GET['s'])) { ?>
<span class="heading"><span>Search Results for ‘<?php echo $_GET['s']; ?>’</span></span>
<?php } ?>
<ul class="articles">
<?php while (have_posts()) : the_post(); ?>
<li id="post-<?php the_ID(); ?>">
<span class="cats">Filed under: <?php the_category(', ') ?></span>
<a class="title" href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
<span class="pinfo">by <?php the_author_posts_link() ?> on <?php the_time('M jS, Y'); ?></span>
<?php if(get_post_meta($post->ID, "thumbnail", true) && (get_wpn_config('article_show_thumbnail_home') == 1 || !get_wpn_config('article_show_thumbnail_home'))) : ?>
<img class="thumbnail" src="<?php echo get_post_meta($post->ID, "thumbnail", true); ?>" />
<?php endif; ?>
<div class="excerpt">
<?php
if(get_wpn_config('article_split_method') == 1 || !get_wpn_config('article_split_method')) {
wpn_content_limit(get_the_content(),450);
}
else {
the_content('');
}
?>
</div>
<span class="plinks">
<a class="more sprite" href="<?php the_permalink(); ?>">Read More »</a>
<span>
<a href="#">Tags <img src="<?php bloginfo('stylesheet_directory'); ?>/img/spacer.gif" class="arrow-down sprite" /></a>
<ul class="tags">
<?php if(has_tag()) : ?>
<?php the_tags('<li>','</li><li>','</li>'); ?>
<?php else: ?>
<li>No Tags</li>
<?php endif; ?>
</ul>
</span>
<span>
<a href="#">Share <img src="<?php bloginfo('stylesheet_directory'); ?>/img/spacer.gif" class="arrow-down sprite" /></a>
<ul>
<li><img src="<?php bloginfo('stylesheet_directory'); ?>/img/icon_delicious.png" alt="" /><a href="http://del.icio.us/post?url=<?php the_permalink(); ?>&title=<?php the_title_attribute(); ?>">Delic.io.us</a></li>
<li><img src="<?php bloginfo('stylesheet_directory'); ?>/img/icon_digg.png" alt="" /><a href="http://digg.com/submit?phase=2&url=<?php the_permalink(); ?>&title=<?php the_title_attribute(); ?>">Digg</a></li>
<li><img src="<?php bloginfo('stylesheet_directory'); ?>/img/icon_facebook.png" alt="" /><a href="http://www.facebook.com/share.php?u=<?php the_permalink(); ?>">Facebook</a></li>
<li><img src="<?php bloginfo('stylesheet_directory'); ?>/img/icon_newsvine.png" alt="" /><a href="http://www.newsvine.com/_wine/save?u=<?php the_permalink(); ?>&h=<?php the_title_attribute(); ?>">Newsvine</a></li>
<li><img src="<?php bloginfo('stylesheet_directory'); ?>/img/icon_reddit.png" alt="" /><a href="http://reddit.com/submit?url=<?php the_permalink(); ?>&title=<?php the_title_attribute(); ?>">Reddit</a></li>
<li><img src="<?php bloginfo('stylesheet_directory'); ?>/img/icon_stumbleupon.png" alt="" /><a href="http://www.stumbleupon.com/submit?url=<?php the_permalink(); ?>&title=<?php the_title_attribute(); ?>">StumbleUpon</a></li>
<li><img src="<?php bloginfo('stylesheet_directory'); ?>/img/icon_twitter.png" alt="" /><a href="http://twitter.com/home?status=<?php the_title_attribute(); ?> - <?php the_permalink(); ?>">Twitter</a></li>
</ul>
</span>
<span><a href="<?php the_permalink() ?>#comments">Comments</a> (<?php comments_number(__('0'), __('1'), __('%')); ?>)</span>
</span>
</li>
<?php endwhile; ?>
</ul>
<!-- Page Navigation -->
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
<!-- 404 Error -->
<?php else : include ('editable/404/404-error.php'); endif; ?>
<div class="wpn_clear"></div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>