<?php get_header(); ?>

<!-- front area -->
<div id="front">

	<?php
	$display = new WP_query(); $display->query('showposts='.$news['featuredn'].'&meta_key=featured'); global $wp_query; $wp_query->in_the_loop = true; if ($display->have_posts()) :
		include TEMPLATEPATH.'/templates/featured.tpl.php';
	endif;

	$display = new WP_query(); $display->query('showposts='.$news['latestn']); global $wp_query; $wp_query->in_the_loop = true; if ($display->have_posts()) :
		include TEMPLATEPATH.'/templates/latest.tpl.php';
	endif;
	
	include TEMPLATEPATH.'/templates/maintabs.tpl.php';
	?>

<div class="clear"></div>
</div>
<!-- front area -->

<!-- content -->
<div id="content">
	
	<div class="content-left">
		<?php include TEMPLATEPATH.'/templates/sidebarleft.tpl.php'; ?>
	</div>
	
	<div class="content-right">
		<?php include TEMPLATEPATH.'/templates/scrollables.tpl.php'; ?>
		<div class="bodycontent">
		<?php include TEMPLATEPATH.'/templates/mainwidgets.tpl.php'; ?>
		<?php dt_show_ads('position=Center of main page&before=<div class="bodyads">&after=</div>'); ?>
		<?php include TEMPLATEPATH.'/templates/bottomwidgets.tpl.php'; ?>
		</div>
		<?php get_sidebar(); ?>
	</div>

<div class="clear"></div>
</div>
<!-- content -->

<?php get_footer(); ?>