<?php if(get_option('cp_ad_images') == 'yes') cp_ad_featured_thumbnail(); ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" <?php if ((get_option('cp_ad_image_preview') == 'yes') && (cp_get_image_url_raw($post->ID, 'medium', 1) == true)) { ?>class="preview" rel="<?php echo cp_get_image_url_raw($post->ID, 'medium', 1); ?>" <?php } ?>><?php if(get_post_meta($post->ID, 'images', true)) cp_single_image_legacy($post->ID, get_option('thumbnail_size_w'), get_option('thumbnail_size_h'), 'preview'); else cp_get_image_url_feat($post->ID, 'thumbnail', 'preview', 1); ?></a>
<div class="post-thumb"> <?php if (has_post_thumbnail()) { echo get_the_post_thumbnail($post->ID,'sidebar-thumbnail'); } ?> </div>
There are currently 1 users browsing this thread. (0 members and 1 guests)