<?php
/*
Template Name: Left Sidebar
*/

get_header(); ?>

	<div id="body">	
		<h3 class="bcrumb">
			<?php gabfire_breadcrumb(); ?>
		</h3>
			
		<div id="main_content" class="pull-right">

			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>			
					
				<div id="post-<?php the_ID(); ?>" <?php post_class('post'); ?>>
					<div class="top"></div>
					<div class="body">
						<div class="head">
							<h1 class="entry_title"><?php the_title(); ?></h1>
							<?php edit_post_link(__('Edit','gabfire'),'',''); ?>
						</div><!-- /head -->
						<div class="entry">
							<?php 
							gabfire_media(array(
								'name' => 'gabfire', 
								'imgtag' => 0,
								'link' => 0,
								'enable_video' => 1, 
								'video_id' => 'page', 
								'enable_thumb' => 0, 
								'catch_image' => 0,
								'media_width' => '537', 
								'media_height' => '300', 
								'enable_default' => 0,
							)); 
							the_content(); 
							
							// make sure any floated content gets cleared
							echo '<div class="clear"></div>';
							
							// Display pagination
							gabfire_postpagination();
					
							edit_post_link(__('Edit','gabfire'),'<p>','</p>'); 
							?>
						</div><!-- /entry -->
					</div><!-- /body -->
					<div class="bot"></div>
					
				</div><!-- /post -->
				
			<?php endwhile; endif; ?>

		</div><!-- /main_content -->
			
		<aside id="sidebar" class="pull-left">
			<?php get_sidebar(); ?> 
		</aside>
	</div><!-- /body -->

<?php get_footer(); ?>