HEX
Server: Apache
System: Linux webd003.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: slyfwmm (169339)
PHP: 8.1.34
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/slyfwmm/incastiglionfiorentino/wp-content/themes/amplify/search.php
<?php
/**
 * The template for displaying Search Results pages.
 */

get_header(); ?>

<div id="main_container">

<!-- IE7 float fix --><!--[if lt IE 7]><span class="iefix">.</span><![endif]-->

	<div class="main">
	
			<div class="entries_full">
			
				<div class="entry_full">
				
				<div class="box_twothirds mt30 pr60">

 <!-- SEARCH POSTS BEGIN -->

<?php

	
	
	/* Queue the first post, that way we know
	 * what date we're dealing with (if that is the case).
	 *
	 * We reset this later so we can run the loop
	 * properly with a call to rewind_posts().
	 */
	if (have_posts()) :
?>

			<div class="archive_header"><span class="highlight_gray">
				<?php printf( __( 'Search Results for: %s', 'amplify' ), '' . get_search_query() . '' ); ?>
			</span>
				<?php
					$category_description = category_description();
					if ( ! empty( $category_description ) )
						echo '' . $category_description . '';
				?>
			</div>
            
            

<?php $count = 0; ?>
<?php while (have_posts()) : the_post(); ?>

 <!-- displays the blog posts -->
 <?php $count++; if($count > 3) { $count = 1; } ?>
 
				<h3 class="<?php if($count > 1) echo "mt25 "; ?>mb12"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
				
				<?php if(get_field('large_image_value') != NULL || get_field('fullsize_value') != NULL)
				{ ?>
				<div class="mag_blog"><!-- magnifying glass div -->
		<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><img src="<?php echo get_template_directory_uri(); ?>/scripts/timthumb.php?src=<?php if(get_field('large_image_value') != NULL) {echo get_field('large_image_value');} else {echo get_field('fullsize_value');} ?>&h=213&w=600&zc=1" alt="<?php the_title(); ?>" /></a>
			</div><!-- end magnifying glass div -->
			<?php } ?>
				
				<div class="bar mt25 mb30"></div>
				
<?php endwhile; // End the loop ?>
 <!-- ARCHIVE POSTS END -->

<?php /* Display navigation to next/previous pages when applicable */ ?>
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
  else { ?>
<?php /* Display navigation to next/previous pages when applicable */ ?>
<?php if (  $wp_query->max_num_pages > 1 ) : ?>
				<?php next_posts_link( __( '&larr; Older posts', 'amplify' ) ); ?>&nbsp;
				<?php previous_posts_link( __( 'Newer posts &rarr;', 'amplify' ) ); ?>
<?php endif; ?>

<?php } ?>

	<?php else : ?>

<?php /* If there are no posts to display, such as an empty archive page */ ?>


<h1><?php _e( $str1, 'amplify' ); ?></h1>
<p><?php _e( $str2, 'amplify' ); ?></p>

	<?php endif; ?>

				</div>

<!-- Begin Sidebar -->
<?php include('sidebar.php'); ?>
<!-- end sidebar -->
							
				<div class="clear"></div>

				</div><!-- end div.entry -->
				
			</div><!-- end div.entries -->

	<div class="clear"></div>
		
	</div><!-- end div#main -->
	
	<div class="clear"></div>
	
</div><!-- end div#main_container-->

<?php get_footer(); ?>