simeon (March 5th, 2013)
</div> </div> <?php get_footer(); ?>
<div class="content" style="margin-top:-50px;"> <div class="content_botbg"> <div class="content_res"> <?php if (get_option('cp_enable_featured') <> 'no') { ?> <?php query_posts(array('post__in' => get_option('sticky_posts'), 'post_status' => 'publish', 'orderby' => 'rand')); ?> <?php if (have_posts()) : ?> <div class="shadowblock_out"> <div class="shadowblockdir"> <h2 class="dotted"><?php _e('Featured Listings', 'cp')?></h2> <div class="sliderblockdir"> <div id="list"> <div class="prev">[img]<?php bloginfo('template_url'); ?>/images/prev.jpg[/img]</div> <div class="slider"> <ul> <?php while (have_posts()) : the_post(); ?> <?php if (in_category(CP_BLOG_CAT_ID) || cp_post_in_desc_cat(CP_BLOG_CAT_ID)) continue; // don't show any blog posts ?> [*] <span class="feat_left">"><?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')); else cp_get_image_url_feat($post->ID, 'thumbnail', 'captify', 1); ?><div class="clr"></div><span class="price_sm"><?php if(get_post_meta($post->ID, 'price', true)) cp_get_price_legacy($post->ID); else cp_get_price($post->ID); ?></span></span> <?php if (strlen(get_the_title()) >= get_option('cp_featured_trim')) echo substr(get_the_title(), 0, get_option('cp_featured_trim')).'...'; else the_title(); ?> </p> <?php endwhile; ?> [/list] </div> <div class="next">[img]<?php bloginfo('template_url'); ?>/images/next.jpg[/img]</div> </div> <div class="clr"></div> </div> </div> </div> <?php endif; ?> <?php wp_reset_query(); ?> <?php } // end feature ad slider check ?> </div>
simeon (March 5th, 2013)
There are currently 1 users browsing this thread. (0 members and 1 guests)