<?php get_header();?>

<?php $catid = get_cat_id( single_cat_title("",false) );?>

<head><title>Search result for <?php   echo '"' . $_GET['s'] . '"' . ' - '; bloginfo('name'); ?></title></head>
<div class="container contain-content">

	<?php get_search_form();?>

	<?php if (have_posts()) : while(have_posts()) : the_post();?>
		<div class="shadow-box">
			<a href="<?php the_permalink();?>" title = "<?php the_title();?>"><h3 class = "text-center"><?php the_title();?></h3></a>
			<h6 class = "text-muted text-center">Posted by <?php the_author();?> on <?php the_time('F jS, Y'); ?></h6>

			<center><?php if (has_post_thumbnail()) {the_post_thumbnail('large',array('class' => 'img-responsive img-thumbnail'));} ?></center>
			<p class = "content"><?php the_excerpt(); ?></p>
		</div>
		<?php endwhile; else : ?>
				<p><?php _e('No post right now.'); ?></p>
		<?php endif; ?>
</div>

<?php get_footer();?>
<?php get_header();?>

<?php $catid = get_cat_id( single_cat_title("",false) );?>

<head><title>Search result for <?php   echo '"' . $_GET['s'] . '"' . ' - '; bloginfo('name'); ?></title></head>
<div class="container contain-content">

	<?php get_search_form();?>

	<?php if (have_posts()) : while(have_posts()) : the_post();?>
		<div class="shadow-box">
			<a href="<?php the_permalink();?>" title = "<?php the_title();?>"><h3 class = "text-center"><?php the_title();?></h3></a>
			<h6 class = "text-muted text-center">Posted by <?php the_author();?> on <?php the_time('F jS, Y'); ?></h6>

			<center><?php if (has_post_thumbnail()) {the_post_thumbnail('large',array('class' => 'img-responsive img-thumbnail'));} ?></center>
			<p class = "content"><?php the_excerpt(); ?></p>
		</div>
		<?php endwhile; else : ?>
			<div class="shadow-box block-center">
				<center>
					<h4 style = "margin-top:5px;">We can't found what you are looking for.</h4>
					<p class=  "text-muted">Try other keyword or <a href="<?php echo get_option('home');?>">Go Home?</a></p>
				</center>
	</div>		<?php endif; ?>
</div>
Remove footer to avoid floating footer
Remove footer to avoid floating footer
