<?php get_header(); ?>

<?php include(TEMPLATEPATH . '/includes/breadcrumbs.php'); ?>

<?php include(TEMPLATEPATH . '/includes/top_info.php'); ?>

<div id="content" class="clearfix">
	<div id="left-area">
		<?php
			$i = 0;
		?>
		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
			<?php include(TEMPLATEPATH . '/includes/entry.php'); ?>
		<?php endwhile; ?>
			<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
			else { ?>
				 <?php include(TEMPLATEPATH . '/includes/navigation.php'); ?>
			<?php } ?>
		<?php else : ?>
			<?php include(TEMPLATEPATH . '/includes/no-results.php'); ?>
		<?php endif; wp_reset_query(); ?>
	</div> 	<!-- end #left-area -->

	<?php get_sidebar(); ?>
</div> <!-- end #content -->

<?php get_footer(); ?>