<?php get_header(); ?>

<h2 class="center">نتیجه جستجو</h2>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>


	<h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php
    the_title(); ?></a></h2>
	<p class="postinfo"><?php the_time('j F Y'); ?> | <?php the_category(', '); ?> | <?php comments_popup_link('بدون نظر', '1 نظر', '% نظر'); ?>
	<?php edit_post_link('ویرایش', $before = ' | '); ?></p>
	<?php the_content(); ?>

<?php endwhile; ?>
		<div class="navigation">
			<div class="alignleft"><?php next_posts_link('مطالب قبلی') ?></div>
			<div class="alignright"><?php previous_posts_link('مطالب بعدی') ?></div>
		</div>

<?php else: ?>
	<p>Sorry, Nothing found.</p>
<?php endif; ?>

<?php get_footer(); ?>