<?php if (basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) die ("Please don't do that.");?>

<?php get_header();?>
<div id="content">
	<div id="posts" class="image">
		<div class="single<?php echo ($posts[0]->ID == $post->ID ? " firstPost" : "");?>">
			<?php the_title('<h4><a rel="attachment" href="'.get_permalink($post->post_parent).'">'.get_the_title($post->post_parent).'</a> &raquo; ','</h4>');?>
			<div class="postBody">
				<a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID,'original'); ?></a>
				<?php
				if (!empty($post->post_excerpt))
					the_excerpt();?>
			</div>
			<div class="clear"></div>
		</div>
	</div>
	<?php get_sidebar(); ?>
	<span class="clear"></span>

</div>
<?php get_footer(); ?>
