<?php 
global $options;
foreach ($options as $value) {
    if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
$dateformat = get_option('date_format');
$timeformat = get_option('time_format');
get_header(); ?>


<div id="content">
<div class="wrap">
    
	<?php if ( $paged < 2 && $wpzoom_featured_slider_enable == 'Yes') { include(TEMPLATEPATH . '/posts_featured.php') ; } ?>

	<div id="main">
	      
		<?php if ( $paged < 2) { ?>
		          
		<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Homepage: Content') ) : ?> <?php endif; ?>
		          
		<?php } ?>
		          
		<?php if ($wpzoom_recent_posts_enable == 'Yes') { include(TEMPLATEPATH . '/posts_recent.php'); } ?>
		        
		<div class="clear">&nbsp;</div>
	      
	</div><!-- end #main -->
	      
	<div id="sidebar">
	      
		<?php if (is_home()) { if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Homepage: Sidebar') ) : endif; } // if is_home ?>
		  
		<?php if ($wpzoom_tabs_show_home == 'Yes') { include(TEMPLATEPATH . '/tabs.php');  } ?>
		        
		<div class="clear">&nbsp;</div>
	      
	</div><!-- end #sidebar -->
    
	<div class="clear">&nbsp;</div>

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