HEX
Server: Apache
System: Linux c119.dattaweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: c1190199 (57165)
PHP: 7.4.33
Disabled: mail, system, shell, exec, system_exec, shell_exec, mysql_pconnect, passthru, popen, proc_open, proc_close, proc_nice, proc_terminate, proc_get_status, escapeshellarg, escapeshellcmd, eval, dl, imap_mail, libvirt_connect, gnupg_init, unsetenv, apache_setenv, pcntl_exec, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_get_handler, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_getpriority, pcntl_setpriority, pcntl_async_signals, opcache_get_status, opcache_reset, opcache_get_configuration
Upload Files
File: /home/c1190199/public_html/wp-content/plugins/wptouch-pro-3/themes/foundation/default/search.php
<?php get_header(); ?>


<div id="content" class="search">

	<h3 class="search-heading page-heading"><?php echo sprintf( __( 'You searched for "%s"', 'wptouch-pro' ), esc_attr( $_GET['s'] ) ); ?>:</h3>

	<?php
		$post_types = wptouch_fdn_get_search_post_types();
		foreach( $post_types as $post_type ) {
		global $search_post_type;
		$search_post_type = $post_type;
	?>

		<h3 class="search-heading heading-font">
			<?php echo sprintf( __( "%s results", 'wptouch-pro' ), wptouch_fdn_get_search_post_type() ); ?>
		</h3>

		<div id="<?php echo strtolower( wptouch_fdn_get_search_post_type() ); ?>-results">
			<ul>
				<?php $query = new WP_Query( $query_string . '&post_type=' . $post_type . '&max_num_pages=10&posts_per_page='. foundation_number_of_posts_to_show() .'' ); if ( $query->have_posts() ) { while ( $query->have_posts() ) { $query->the_post(); ?>

					<li class="<?php wptouch_post_classes(); ?>">
						<p class="date"><?php wptouch_the_time(); ?></p>
						<a href="<?php wptouch_the_permalink(); ?>"><?php wptouch_the_title(); ?></a>
						<?php wptouch_the_excerpt(); ?>
					</li>

					<?php } // Query ?>

				<?php } else { ?>

					<?php if ( empty( $_SERVER['HTTP_X_REQUESTED_WITH'] ) ) { ?>
						<li><?php _e( 'No search results found', 'wptouch-pro' ); ?></li>
					<?php } ?>

				<?php } ?>
			</ul>
		</div>

		<?php if ( get_next_posts_link() ) { ?>
			<a class="load-more-<?php echo strtolower ( wptouch_fdn_get_search_post_type() ); ?>-link no-ajax" href="javascript:return false;" rel="<?php echo get_next_posts_page_link(); ?>">
				<?php echo strtolower( sprintf( __( "Load more %s results", 'wptouch-pro' ), wptouch_fdn_get_search_post_type() ) ); ?>&hellip;
			</a>
		<?php } ?>

	<?php } ?>

</div> <!-- content -->

<?php get_footer(); ?>