<?php get_header(); ?>
<div class="span-<?php if (get_option('gpp_sidebar') == 'true' || !get_option('gpp_sidebar')) { echo "15 colborder home"; } else { echo "24 last"; } ?>">
<div class="content">
		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
		<div <?php if(function_exists('post_class')) : ?><?php post_class(); ?><?php else : ?>class="post post-<?php the_ID(); ?>"<?php endif; ?>>
			<h2><?php the_title(); ?></h2>
			<?php if ( !post_password_required() ) { ?>
				<?php include (TEMPLATEPATH . '/apps/multimedia.php'); ?>
				<?php include (TEMPLATEPATH . '/apps/video.php'); ?>
			<?php } ?>
			<?php the_content(); ?>
			<?php wp_link_pages(array('before' => '<p><strong>'.__('Pages','gpp_i18n').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
		</div>
		<?php endwhile; endif; ?>
	<?php edit_post_link(__('Edit this entry','gpp_i18n'), '<p>', '.</p>'); ?>
	</div>
	</div>
	
<?php if (get_option('gpp_sidebar') =='true' || !get_option('gpp_sidebar')) { get_sidebar(); } ?>

<!-- Begin Footer -->
<?php get_footer(); ?>