<?php get_header(); ?>
<div id="mainContentContainer">
<div id="mainContent">
<?php if ( get_option_tree ('breadcrumb', '') == "Active" ) { ?>
<div id="breadcrumb">
<div class="breadcrumbinner"><?php
if(class_exists('bcn_breadcrumb_trail'))
{
$breadcrumb_trail = new bcn_breadcrumb_trail;
$breadcrumb_trail->fill();
$breadcrumb_trail->display();
}
?>
</div>
<?php if ( get_option_tree ('twitterrss', '') == "Active" ) { ?>
<?php $rssurl = get_bloginfo('rss2_url'); ?>
<?php $rssurl2 = get_option_tree ('rssnavurl', $rssurl); ?>
<?php $twitterusername = get_option_tree ('twitternavurl', 'wplegion'); ?>
<div class="twittercount"><a href="http://twitter.com/<?php echo $twitterusername; ?>"><?php twittercount($twitterusername) ?></a></div>
<div class="rsscount"><a href="<?php echo $rssurl2; ?>"><?php rsscount($rssurl2) ?></a></div>
<?php } ?>
<?php } else { ?>
<div class="clearfix">
<?php } ?>
</div>
<div id="left">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="posttitle"><h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3></div>
<div class="postmeta"><?php the_time('F d, Y'); ?></div>
<div class="posttext">
<?php the_content('Continue Reading →'); ?>
</div>
</div>
<?php endwhile; ?>
<?php else : ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<div class="clearfix"></div>
</div>
</div>
<!-- end #mainContent --></div>
<!-- end #mainContentContainer --></div>
<?php get_footer(); ?>