<?php get_header(); ?>
<!-- Content -->
<div class="page-center">
<div class="content">
<!-- Blog Caption -->
<div class="blog-caption">
<div class="blogtitle"><?php _e('Search','aletheme'); ?></div>
</div>
<form class="search" role="search" method="get" action="<?php echo site_url()?>" >
<fieldset>
<input class="input" type="search" value="<?php echo get_search_query(); ?>" name="s" id="s" placeholder="<?php _e('Поиск по сайту...', 'aletheme')?>" />
<input class="submit" type="submit" value="" />
</fieldset>
</form>
<!-- Blog Content -->
<div class="blog-content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php ale_part('postpreview' );?>
<?php endwhile; else: ?>
<?php ale_part('notfound')?>
<?php endif; ?>
</div>
<!-- Blog Nav -->
<div class="blog-nav">
<span class="left"><?php echo get_previous_posts_link(__('< Newer Posts','aletheme')); ?></span>
<span class="right"><?php echo get_next_posts_link(__('Older Posts >','aletheme')); ?></span>
<div class="center"><?php _e('page','aletheme'); ?> <?php echo $paged; ?> <?php _e('of','aletheme'); ?> <?php echo $wp_query->max_num_pages; ?></div>
</div>
</div>
</div>
<?php get_footer(); ?>