Sindbad~EG File Manager

Current Path : /var/www/html/wordpress_alg24news/wp-content/themes/newsbt/
Upload File :
Current File : /var/www/html/wordpress_alg24news/wp-content/themes/newsbt/search.php

<?php 
/*
 * Security 	: blocking direct access
 * Source		: http://codex.wordpress.org/Theme_Development#Template_Files
*/
defined('ABSPATH') or die("Access Restricted");
get_header();

	$hentry = mwp_option('seo-hatom');
	if ($hentry == 1) {
		$hentry_class 	= '';
		$title_entry 	= '';
		$entry_summary 	= '';
	} else {
		$hentry_class 	= ' hentry';
		$title_entry 	= 'entry-title';
		$entry_summary 	= 'entry-summary';
	}
?>	
	<div id="content">

		<div class="content-width archive-typography <?php echo mwp_csa_border_top(); ?>">
			  
			<?php mwp_display_breadcrumbs(); ?>
				
			<h1 class="title <?php echo mwp_csa_color(); ?>"><?php printf( __( 'Search Results for : %s', MWP_TEXT_DOMAIN ), '<span>' . get_search_query() . '</span>' ); ?></h1>

			<?php if ( have_posts() ) : ?>
												
				<ul class="content-category">
					<?php while ( have_posts() ) : the_post(); ?>
					<li class="search<?php echo $hentry_class; ?>">
						<div class="thumbnail">
							<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
								<?php mwp_smart_thumb('mwp-small', $post->ID,  280, 160); ?>
							</a>	
						</div>
						<h2 class="<?php echo $title_entry; ?>">
							<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
								<?php the_title();  ?>
							</a>
						</h2>
						<span class="category"><?php echo mwp_display_category_name($post->ID); ?><?php echo ' - ';?></span>
						<span class="date"><?php the_time('j F Y'); ?></span>
						<p class="text <?php echo $entry_summary; ?>"><?php echo content(15, $post->ID); ?></p>
						<?php if ($hentry == 0) { mwp_meta_hidden(); } ?>
					</li>
					<?php endwhile; ?>
				</ul>
				
			<?php else : ?>
				<div class="el-content heading-typography no-search-results">
					<p><?php esc_html_e( 'Sorry, no posts matched your criteria.', MWP_TEXT_DOMAIN ); ?></p>
				</div>
			<?php endif; ?>
			
			<div class="clearfix"></div>
		
			<?php if(function_exists('mwp_pagenavi')) { mwp_pagenavi(); } ?>
			
			<div class="clearfix"></div>
		</div>

		<div class="clearfix"></div>
	</div>
<?php
/*
 * Hide Sidebar in Mobile and Tablet
 *
*/
if(mwp_option('sidebar-hide-small') == 1) {
	$device_hide = ' screen-l';
} else {
	$device_hide = '';
}
?>
<div id="sidebar" class="sidebar stick-sidebar<?php echo esc_attr($device_hide); ?>">
	<div class="theiaStickySidebar">	
		<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('search')) : else : ?>
		<?php endif; ?>	
	</div>
</div>
<?php 
/*
 * Footer
 *
*/
get_footer();

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists