<?php if($gp_settings['title'] == "Show") { ?><h1><?php the_title(); ?></h1><?php } ?>

<?php require_once('post-meta.php'); ?>

<?php if($post->post_content) { ?>
	<?php the_content(); ?>			
	<div class="sc-divider"></div>
<?php } ?>	

<?php $args = array('post_type' => 'attachment', 'post_mime_type' => 'image', 'numberposts' => -1, 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'post_parent' => $post->ID); $attachments = get_children($args); if ($attachments) { foreach ($attachments as $attachment) { ?>

	<a href="<?php echo wp_get_attachment_url($attachment->ID); ?>" rel="prettyPhoto[gallery]" title="<?php echo $attachment->post_excerpt ?>">		
		<?php $image = vt_resize($attachment->ID, '', 137, 100, true); ?>
		<img src="<?php echo $image[url]; ?>" width="<?php echo $image[width]; ?>" height="<?php echo $image[height]; ?>" alt="<?php echo $attachment->post_title ?>" class="review-image " />				
	</a>
	
<?php }} ?>

<?php wp_link_pages('before=<div class="clear"></div><div class="wp-pagenavi post-navi">&pagelink=<span>%</span>&after=</div>'); ?>		

<?php if($gp_settings['author_info'] == "0") { ?><div class="clear"></div><?php echo do_shortcode('[author]'); } ?>

<?php if($gp_settings['related_items'] == "0") { require('related-items.php'); } ?>
		
<?php comments_template(); ?>
