<?php get_header(); ?>

<div id="casing">

<div id="content">

<?php if (have_posts()) : ?>

		 <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
		 
		 
		<h2 class="pagetitle">All entries tagged: '<?php echo single_cat_title(); ?>'</h2>




<?php while (have_posts()) : the_post(); ?>
		
<div class="post" id="post-<?php the_ID(); ?>">
<div class="title">

<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>

</div>
<div class="data">
<div class="data"> <span class="clock">Posted on <?php the_time('F - j - Y'); ?></span></div>	
</div>	

<div class="cover">
<div class="entry">


<?php solar_home_image(); ?> 
<?php the_excerpt(); ?> 

 <span class="more"> <a href="<?php the_permalink() ?>">READ MORE</a></span>

<div class="clear"></div>
	
</div>

</div>


</div>
		<?php endwhile; ?>

 <div id="navigation">
  <?php if(function_exists('wp_pagenavi')) : ?>
        <?php wp_pagenavi() ?>
 	   <?php else : ?>
        <div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries','arclite')) ?></div>
        <div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;','arclite')) ?></div>
        <div class="clear"></div>
       <?php endif; ?>

</div>

	<?php else : ?>

		<h1 class="title">Not Found</h1>
		<p>Sorry, but you are looking for something that isn't here.</p>

	<?php endif; ?>

</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>