<?php get_header(); ?>
<?php
global $wp_query;
$postid = $wp_query->post->ID;
if ( get_post_meta( $postid, 'post_featpages', true ) == "Yes" ) { ?>
<?php include (TEMPLATEPATH . '/featured-pages.php'); ?>
<?php } ?>
<?php if ( get_post_meta( $postid, 'post_featcontent', true ) == "Full Width Featured Content Slider" ) { ?>
<?php include (TEMPLATEPATH . '/featured-wide.php'); ?>
<?php } ?>
<div id="page" class="clearfix">
<div id="contentleft">
<?php if ( get_post_meta( $postid, 'post_featcontent', true ) == "Narrow Width Featured Content Slider" ) { ?>
<?php include (TEMPLATEPATH . '/featured-narrow.php'); ?>
<?php } ?>
<?php if ( get_post_meta( $postid, 'post_featvideo', true ) == "Yes" ) { ?>
<?php include (TEMPLATEPATH . '/featured-vids.php'); ?>
<?php } ?>
<?php if ( get_post_meta( $postid, 'post_featgalleries', true ) == "Yes" ) { ?>
<?php include (TEMPLATEPATH . '/featured-galleries.php'); ?>
<?php } ?>
<div id="content" class="maincontent">
<?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<p id="breadcrumbs">','</p>'); } ?>
<?php include (TEMPLATEPATH . '/banner468.php'); ?>
<div class="singlepage">
<div class="post clearfix" id="post-main-<?php the_ID(); ?>">
<div class="entry">