<?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');
?>
<?php get_header(); ?>
</div>
 	<div id="heading">
		<div class="wrap">
			<?php if ( have_posts() ) 	the_post(); ?>
			<h1>
				<?php /* category archive */ if (is_category()) { ?> <?php _e('Archive for category:', 'wpzoom'); ?> <?php single_cat_title(); ?>
				<?php /* tag archive */ } elseif( is_tag() ) { ?><?php _e('Post Tagged with:', 'wpzoom'); ?> "<?php single_tag_title(); ?>"
				<?php /* daily archive */ } elseif (is_day()) { ?><?php _e('Archive for', 'wpzoom'); ?> <?php the_time('F jS, Y'); ?>
				<?php /* monthly archive */ } elseif (is_month()) { ?><?php _e('Archive for', 'wpzoom'); ?> <?php the_time('F, Y'); ?>
				<?php /* yearly archive */ } elseif (is_year()) { ?><?php _e('Archive for', 'wpzoom'); ?> <?php the_time('Y'); ?>
				<?php /* author archive */ } elseif (is_author()) { ?><?php printf( __( 'Articles by:  %s', 'wpzoom' ),   get_the_author()    ); ?>  
				<?php /* paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?><?php _e('Archives', 'wpzoom'); ?>
				<?php /* home page */ } elseif (is_front_page()) { ?><?php _e('Recent Posts','wpzoom');?> <?php } ?>
			</h1>
		</div>
	</div>
</div>

<div id="main">
	<div class="wrap">
      	<div id="content">
 
			<?php include(TEMPLATEPATH . '/wpzoom_recent_posts.php'); ?>

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