<div id="content" class="fullwidth<?php if($gp_settings['dropdown_filter'] == "0") { ?> shift-down<?php } ?>">
		
	<?php if (have_posts()) : while (have_posts()) : the_post(); include('loop-dedication-data.php'); ?>
	
        <?php
        $displayed_id = bp_displayed_user_id();
        
        // Usuario actual puede ver la dedicatoria?
        if ($post->post_status == 'private') {
            if (($displayed_id != $gp_settings['from_user_id']) && ($displayed_id != $gp_settings['to_user_id'])) {
                continue; // me salto esta dedicatoria
            }
        }        

        ?>
            <div <?php post_class('post-loop'); ?>>
		
			<!--Begin Image-->
			<?php if(has_post_thumbnail()) { ?>					
				<div class="post-thumbnail<?php if($gp_settings['image_wrap'] == "Disable") { ?> thumbnail-no-wrap<?php } ?>">
                                        
					<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
						<?php $image = vt_resize(get_post_thumbnail_id(), '', $gp_settings['image_width'], $gp_settings['image_height'], true); ?>
						<img width="<?php echo $image['width']; ?>" height="<?php echo $image['height']; ?>" src="<?php echo $image['url']; ?>" alt="<?php if(get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)) { echo get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true); } else { echo get_the_title(); } ?>" />		
					</a>				
				</div>					
			<?php } ?>
			<!--End Image-->
			
			<!--Begin Post Text-->
			<div class="post-text">
                            <h2><a href="<?php the_permalink(); ?>" title="<?php echo $gp_settings['artist_song']; ?>"><?php echo $gp_settings['artist_song_span_short']; ?></a></h2>                            
                            <?php echo $gp_settings['from_flag']; ?><span>FROM: <?php echo $gp_settings['from_user_link']; ?></span>&nbsp;
                            <?php echo $gp_settings['to_flag']; ?>
                            <span>TO: <?php echo $gp_settings['to_user_link']; ?></span>
			</div>
			<!--End Post Text-->
            </div>    
    
	<?php endwhile; ?>
	
		<?php gp_ajax_pagination(); ?>    

		<?php if($gp_settings['dropdown_filter'] == "0") { require_once('dropdown-filter.php'); } ?>
	
	<?php else : ?>	

		<h4><?php _e('Try searching for a different term.', 'gp_lang'); ?></h4>
		
	<?php endif; wp_reset_query(); ?>	
	
</div>