Hi Michael. My theme isn’t most themes. It’s a quite complicated framework. Here is whats in my index.php:
<?php get_header(); ?>
<!-- Begin #main -->
<div id="main">
<!-- Begin .post -->
<?php $found=0; ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php if (in_category(0) && !$single) { $found=1; ?>
<?php } else { ?>
<div class="post"><br /><br />
<div class="post-title"><a href="<?php the_permalink() ?>" style="text-decoration:none;" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"> <?php the_title(); ?></a>
</div>
<div class="post-entryinfo"><small>By <?php the_author_posts_link(); ?> | <?php the_time('F j, Y',display); ?> | Filed in: <?php the_category(',') ?></small></div>
<div class="post-body">
<div>
<?php if($post->post_excerpt) { ?>
<div class="post-excerpt"><?php the_excerpt(); ?></div>
<?php } ?>
<?php the_content(); ?>
<?php if(!$show_ads){ ?>
<script type="text/javascript"><!--
google_ad_client = "pub-7346602657553614";
/* Adamcorley.com Post Block */
google_ad_slot = "2062016984";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="https://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<?php $show_ads = 1; } ?>
</div>
</div>
<div class="post-footer-border"></div>
<div class="post-footer"><span><em><?php wp_link_pages(); ?><?php comments_popup_link(__('Comment'), __('1 Comment'), __('% Comments')); ?></em></span></div>
<br />
<?php comments_template(); // Get wp-comments.php template ?>
</div>
<?php } ?>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<!-- End .post -->
<?php if ($found == 1) { ?>
<div style=" margin:.5em 0 1.5em; padding-bottom:1.5em; border-bottom:1px dotted #ccc;"></div>
<?php $found =0;} ?>
<div class="left"><?php posts_nav_link('','','<< Previous') ?></div>
<div class="right"><?php posts_nav_link('','Next >>','') ?></div><br /><br />
</div>
<?php include "leftmenu.php"; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>