<?php get_header(); ?>
<!-- Container -->
<div class="CON">
<div class="CON_bg">
<!-- Start SC -->
<div class="SC"><?php if ( is_home() AND !is_paged() ) { ?> <div id="ptitle21"><img src="<?php bloginfo('template_url'); ?>/images/fb.png" type="image/x-icon" /> <a href="http://www.facebook.com/pages/Unstage/479984925583">Follow us on Facebook</a></div><div id="ptitle6">Featured Images</div>
<?php $options = array('limit' => 10, 'echo' => 1, 'link' => 'lightbox');
wp_latestphotos($options); ?><?php } ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="Post" id="post-<?php the_ID(); ?>">
<div class="PostHead"><div id="like"><?php if(function_exists(getILikeThis)) getILikeThis('get'); ?></div>
<div id="ptitle"><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark">
<?php the_title(); ?>
</a><br> </div>
</div>
<div class="PostTime">Post Date <strong class="day">
<?php the_time('j') ?>
</strong> <strong class="month">
<?php the_time('M') ?>
</strong> <strong class="year">
<?php the_time('Y') ?>
</strong> <small class="PostAuthor"> - by
<?php the_author() ?>
</small> <small class="PostCat">In:
<?php the_category(', ') ?>
</small> </div>
<div class="PostContent">
<?php the_content('Click here for more images »'); ?>
</div>
<p class="postmetadata">Posted <span class="cty"><?php the_category(', ') ?></span></p>
<div class="clr"></div>
<div class="clr"></div>
</div>
<!--<?php trackback_rdf(); ?>-->
<div class="clr"></div>
<?php endwhile; ?>
<!-- Start Nav -->
<?php if (function_exists('wp_pagenavi')) { ?>
<?php wp_pagenavi(); ?>
<?php } ?>
<!-- End Nav -->
<?php else : ?>
<h2>
<?php _e('Not Found'); ?>
</h2>
<p>
<?php _e('Sorry, no posts matched your criteria.'); ?>
</p>
<?php endif; ?>
</div>
<!-- End SC -->
<?php get_sidebar(); ?>
<div class="clr"></div>
</div>
</div>
<!-- Container -->
<?php get_footer(); ?>