		<?php
		global $wp_query;
		if(have_posts()) :
			while(have_posts()) :
			the_post();
		?>
            <div class="post">
            	<div class="post-header">
                	<h1 class="post-title"><?php the_title(); ?></h1>
                    <div class="post-rating">     
						<?php reviewSitePostRating(get_the_ID()); ?>                   
					</div>
                    <div class="clearfix" style="border:1px solid white;"></div>
                </div>
                
                <div class="post-body">
                <?php if(has_post_thumbnail()) : ?>
                	<div class="post-thumb"><?php the_post_thumbnail('single-post-thumbnail'); ?></div>
				<?php endif; ?>
                    <div class="post-content">
					<p><?php the_content(); ?></p>
                    </div>
                    <div class="post-button">
                    	<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
                        	<img src="<?php bloginfo('template_url'); ?>/images/button-review.png" alt="" />
						</a>
                        <?php
						$visit_link	= reviewSiteCustomPost('reviewsite_visit_link',get_the_ID());
						
						if(!is_null($visit_link)) : 
							$image	= "<img src='".get_bloginfo('template_url')."/images/button-visit.png' alt='' />";
							linkcloaker_only_link($visit_link,$image);
                        endif; 
						?>
                    </div>
                    
                    <div class="clearfix"></div>
                </div>
            </div>
        <?php
			endwhile;
			?>
			<div id="nav-bottom" class="navigation">
				<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentyten' ) ); ?></div>
				<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?></div>
                <div class="clearfix"></div>
			</div><!-- #nav-above -->
            <?php
		endif;
		?>