PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/stockphotos.kerihosting.com/wp-content/themes/stockyr/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/stockphotos.kerihosting.com/wp-content/themes/stockyr/search.php

<?php get_header(); ?>

<div id="page" <?php if ('download' != get_post_type() ) { ?>class="posts-wrap"<?php } ?>>
	
	<?php if (have_posts()) : ?>
	
	<?php if ('post' == get_post_type() ) { ?>
	
		<?php /* Product Search Count */
		$allsearch = new WP_Query("s=$s&showposts=-1&post_type=post");
		$count = $allsearch->post_count;
		if ('0' != $count) { ?>
		
		<div class="box_title">
			<h3>
			<?php if ('1' == $count) {
				$string = sprintf( __('1 Result for <em>%2$s</em>', 'designcrumbs'), $count, get_search_query() );
			} else {
				$string = sprintf( __('%1$s Results for <em>%2$s</em>', 'designcrumbs'), $count, get_search_query() );
			}
			echo $string; ?>
			</h3>
		</div>
		
		<?php } ?>
	
	<?php } if ('download' == get_post_type() ) { // if results are downloads ?>
	
	<section id="image_grid" class="clearfix">
		<div id="stocky_downloads_list" class="edd_downloads_list">
	
	<?php } ?>
	
	<?php while (have_posts()) : the_post(); ?>
		
		<?php if ('download' == get_post_type() ) { // if results are downloads ?>
		
		<div <?php post_class('edd_download'); ?>>
			<div class="edd_download_inner">
				<?php get_template_part('edd_templates/shortcode','content-image'); ?>
			</div>
		</div>
		
		
		<?php } else { // if results are posts ?>
		
			<?php get_template_part( 'loop', 'post' ); ?>
		
		<?php } ?>
	
	<?php endwhile; ?>
	
	<?php if ('download' == get_post_type() ) { // if results are downloads ?>
	
		</div>
	</section><?php // end #image_grid ?>
	
	<?php } ?>
	
	<?php get_template_part("stocky","nav"); ?>

	<?php else : ?>

	<div class="box_title">
		<h3>
		<?php
		$string = sprintf( __('Sorry, there are no results for <em>%1$s</em>.', 'designcrumbs'), get_search_query() );
		echo $string; ?>
		</h3>
	</div>
        
	<?php endif; ?>
</div>

 <?php if ('download' != get_post_type() ) get_sidebar(); ?>

<?php get_footer(); ?>