<footer>
				<?php 
if (show_footer_title()) {
    ?>
<h3><a href="<?php 
    echo get_option('home');
    ?>
"><?php 
    bloginfo('name');
    ?>
</a></h3><?php 
}
?>
				<?php 
if (show_sidebar_at('footer')) {
    get_sidebar('footer');
}
?>
				<?php 
if (show_footer_meta()) {
    ?>
<p class="meta"> <a href="<?php 
    bloginfo('rss2_url');
    ?>
" title="<?php 
    _e('Syndicate this site using RSS');
    ?>
"><?php 
    _e('<abbr title="Really Simple Syndication">RSS</abbr>');
    ?>
</a> | <?php 
			<nav>
				<div class="previous"><?php 
    next_posts_link('&laquo; Previous Entries');
    ?>
</div>
				<div class="next"><?php 
    previous_posts_link('Next Entries &raquo;');
    ?>
</div>
			</nav>
			<!-- POSTS // end -->
		<?php 
} else {
    ?>
			<!-- NO POSTS  // woops -->
			<article>
				<h2>No Post(s) Found</h2>
				<p>Sorry, but you are looking for something that isn't here.</p>
			</article>
		<?php 
}
?>
	</section>
	<?php 
if (show_sidebar_at('right')) {
    get_sidebar('right');
}
?>

<?php 
get_footer();
function sidebar_number_class($classes)
{
    $columns = 1;
    if (show_sidebar_at('left')) {
        $columns++;
        $classes[] = "left-column";
    }
    if (show_sidebar_at('right')) {
        $columns++;
        $classes[] = "right-column";
    }
    if ($columns == 1) {
        $classes[] = "one-column";
    }
    if ($columns == 2) {
        $classes[] = "two-column";
    }
    if ($columns == 3) {
        $classes[] = "three-column";
    }
    if (use_grid()) {
        $classes[] = "grid";
    }
    // return the $classes array
    return $classes;
}