<?php get_header(); ?>

    <div id="content" class="col-full">
    	       
		<?php $showfeatured = get_option('woo_featured'); if ($showfeatured <> "true") { if (get_option('woo_exclude')) update_option("woo_exclude", ""); } ?>
		<?php if ( !$paged && $showfeatured == "true" ) include ( TEMPLATEPATH . '/includes/featured.php' ); ?>
    
		<div id="main" class="col-left">
            
			<?php  
				$exclude = get_option('woo_exclude');
				$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; 
				$args = array( 'post__not_in' => $exclude, 'cat' => '-'.$GLOBALS[video_id], 'paged'=> $paged ); query_posts($args);		
			?>
            <?php if (have_posts()) : $count = 0; ?>
            <?php while (have_posts()) : the_post(); $count++; ?>
                                                                        
                <div class="box">
                    <div class="post">

						<?php woo_get_image('image',$GLOBALS['thumb_width'],$GLOBALS['thumb_height'],'thumbnail '.$GLOBALS['align']); ?> 
                        <h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
                        <div class="entry">
                            <?php if ( get_option('woo_home_content') == "true" ) { ?>
							<?php the_content(); ?>
                            <?php } else { ?>
							<?php echo woo_excerpt( get_the_excerpt(), '350'); ?> <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php _e('Read more', 'woothemes'); ?></a>
                            <?php } ?>
                        </div>
                   </div><!-- /.post -->
                            
                </div><!-- /.box -->
                                                 
			<?php endwhile; else: ?>
                <div class="box">
                    <div class="post">
                        <p><?php _e('Sorry, no posts matched your criteria.', 'woothemes') ?></p>
                    </div><!-- /.post -->
                </div><!-- /.box -->
            <?php endif; ?>  
                
		</div><!-- /#main -->

        <?php get_sidebar(); ?>

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