<?php
/*
Template Name: Sidebar: Left
*/
?><?php
global $options;
foreach ($options as $value) {
    if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
?>

<?php get_header(); ?>
</div>
</div>

<div id="main">
	<div class="wrap">
 		<div class="content side-left">
			<div class="post">
				<h1 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>

				<?php wp_reset_query(); if (have_posts()) : while (have_posts()) : the_post(); ?>

				<?php edit_post_link( __('Edit', 'wpzoom'), ' ', ''); ?>

				<div class="entry">
				
					<?php the_content(); ?>
				
					<?php wp_link_pages(array('before' => '<p class="pages"><strong>'.__('Pages', 'wpzoom').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>

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

				</div><!-- / .entry -->

				<?php endwhile; else: ?>
				<p><?php _e('Sorry, no posts matched your criteria', 'wpzoom');?>.</p>
				<?php endif; ?>

				<div class="clear"></div>          
			</div><!-- / .post -->

			<?php get_sidebar(); ?>
 
			<div class="clear"></div>
		</div><!-- / #content -->
		 
<?php get_footer(); ?>