<?php get_header(); ?>
<?php // appthemes_highlight_search_term(esc_attr(get_search_query())); ?>
<!-- CONTENT -->
<div class="content">
<div class="content_botbg">
<div class="content_res">
<div id="breadcrumb">
<?php if(function_exists('cp_breadcrumb')) cp_breadcrumb(); ?>
</div><!-- /breadcrumb -->
<!-- left block -->
<div class="content_left">
<?php if(have_posts()) : ?>
<div class="shadowblock_out">
<div class="shadowblock">
<h1 class="single dotted"><?php
printf(__("Search for '%s' returned %s results",'appthemes'), trim(strip_tags(esc_attr(get_search_query()))), $wp_query->found_posts); ?></h1>
</div><!-- /shadowblock -->
</div><!-- /shadowblock_out -->
<?php get_template_part( 'loop', 'ad' ); ?>
<?php else: ?>
<div class="shadowblock_out">
<div class="shadowblock">
<h1 class="single dotted"><?php printf(__("Sorry, your search for '%s' did not find any classified ads.",'appthemes'), trim(strip_tags(esc_attr(get_search_query()))), $wp_query->found_posts); ?></h1>
<p><?php _e('Please search again using a different search keyword, or browse the ad categories.','appthemes')?></p>
<p class="suggest"><?php appthemes_search_suggest(); ?></p>
<h2 class="dotted"><?php _e('Ad Categories','appthemes')?></h2>
<div id="directory" class="directory <?php if(get_option('cp_cat_dir_cols') == 2) echo 'two'; ?>Col">
<?php echo cp_cat_menu_drop_down(get_option('cp_cat_dir_cols'), get_option('cp_dir_sub_num')); ?>
<div class="clr"></div>
</div><!--/directory-->
</div><!-- /shadowblock -->
</div><!-- /shadowblock_out -->
<?php endif; ?>
<div class="pad5"></div>
<div class="clr"></div>
<?php
// show the ad block if it's been activated
if (get_option('cp_adcode_336x280_enable') == 'yes') :
if(function_exists('appthemes_single_ad_336x280')) { ?>
<div class="shadowblock_out">
<div class="shadowblock">
<h2 class="dotted"><?php _e('Sponsored Links','appthemes') ?></h2>
<?php appthemes_single_ad_336x280(); ?>
</div><!-- /shadowblock -->
</div><!-- /shadowblock_out -->
<?php
}
endif;
?>
<div class="clr"></div>
</div><!-- /content_left -->
<?php get_sidebar(); ?>
<div class="clr"></div>
</div><!-- /content_res -->
</div><!-- /content_botbg -->
</div><!-- /content -->
<?php get_footer(); ?>
There are currently 1 users browsing this thread. (0 members and 1 guests)