rendered paste body<?php get_header(); ?>
<?php $showauthor = xmark_showauthor(); $dateformat = xmark_dateformat(); $asides = xmark_asides(); ?>
<div id="left">
<div id="lside">
<div id="blogc" class="blogc">
<?php
$postnum = 1;
$showadsense1 = 1;
?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php if (xMark_asides() and !is_single() ) { ?>
<!-- This post is an aside -->
<div class="asides"><?php echo wptexturize($post->post_content); ?> <?php comments_popup_link('(0)', '(1)', '(%)')?><?php edit_post_link(' <small>edit</small>'); ?></div>
<?php } else { ?>
<div class="date"><?php if ($dateformat == 'default') {the_time(get_settings('date_format'));} else { the_time('F jS, Y');} ?> <?php _e('at'); ?> <?php the_time() ?> (<?php if(function_exists('the_views')) { the_views(); } ?>)</div>
<h1 class="main_title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Article about: <?php the_title(); ?>"><?php the_title(); ?></a></h1>
<div class="author"><?php if ($showauthor == 'true') {_e('» by'); echo ' '; the_author_posts_link();} ?> in: <?php the_category(','); ?><?php edit_post_link(' <small>(edit)</small>'); ?></div>
<div class="post">
<?php the_excerpt(); ?>
</div>
<div class="blog-meta">
<img src="<?php bloginfo('template_directory'); ?>/images/comment.gif" alt="comments" /> <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?> <?php if (function_exists('akst_share_link')) { ?><span class="sharethis"><?php akst_share_link(); ?></span><?php } ?>
</div>
<?php if ($postnum == $showadsense1) {
echo '
<div align="center" class="cgoogle">
<!--ADD YOUR YOUR ADSENSE CODE HERE-->
<!--replace this line with your code-->
<!--END ADSENSE-->
</div>
';
} ?>
<?php $postnum++; ?>
<?php } ?> <!-- end of aside or not -->
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('Previous Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Next Entries') ?></div>
</div>
<?php else : ?>
<h1 class="main_title">Not Found</h1>
<div class="post">
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php include ('search-form.php'); ?>
</div>
<?php endif; ?>
</div></div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
</body>
</html>