<?php get_header(); ?>
<div id="content">

<div class="clearfix"></div>

<h2><?php _e( 'Search Result for', 'ines') ?> <?php /* Search Count */ $allsearch = &new WP_Query("s=$s&showposts=-1"); $key = wp_specialchars($s, 1); $count = $allsearch->post_count; _e(''); echo $key; _e(' &mdash; '); echo $count . ' '; _e('articles'); wp_reset_query(); ?></h2>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<div class="r2">
<div class="sm"><?php if(function_exists('UTW_ShowTagsForCurrentPost')) { echo ' | Tags: ';UTW_ShowTagsForCurrentPost("commalist");echo ' '; } ?></div>
<div class="sl"></div>
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>

<div class="smeta">
<?php if ( get_the_author_meta( 'description' ) ) :  ?>
<div class="author-avatar">
<?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'author_bio_avatar_size', 20 ) ); ?>
</div>
<?php endif; ?>
<?php _e('by', 'ines') ?> <?php the_author_posts_link(); ?> | <?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?>
<div class="sdate"><?php the_time('M'); ?> <?php the_time('j'); ?></div>

</div>


<div class="entry">
<div class="fr1">
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php $image = get_the_post_thumbnail($post->ID, 'browse'); ?><?php echo $image; ?></a>
</div>
<?php the_content_rss(' ', FALSE, ' ', 10); ?>
<div class="clearfix"></div><hr class="clear" />
<div class="read"><a title="<?php _e( 'Read more', 'ines') ?>" href="<?php the_permalink() ?>"><?php _e( 'Read more', 'ines') ?></a></div>
</div>

</div>
	
<?php endwhile; else: ?><?php endif; ?>
<div class="navigation">
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi('', '', '', '', 3, false);} ?>
</div>

</div>
</div>
<?php get_footer(); ?>