﻿!!!!!!!!!!!
ÿØÿà JFIF      ÿÛ „ 	 ( %!1!%)+...383-7(-.+
<?php
extract( $args );
extract( $instance );
$title = apply_filters('widget_title', $instance['title']);

if ( $title ) {
    echo trim($before_title)  . trim( $title ) . $after_title;
}

$args = array(
	'post_type' => 'post',
	'posts_per_page' => $number_post
);

$query = new WP_Query($args);
if($query->have_posts()):
?>
<div class="widget-post-recent">
<ul class="posts-list">
<?php
	while($query->have_posts()):$query->the_post();
	global $post;
	$cat = wp_get_post_categories( $post->ID );
?>
	<li>
		<article class="post post-list">
		    <div class="entry-content flex-middle">
                <?php if ( has_post_thumbnail() ) { ?>
	                <div class="image pull-left">
				        <?php echo findus_display_post_thumb('80x80'); ?>
				    </div>
			    <?php } ?>
		        <div class="content-info">
			         <?php
			              if (get_the_title()) {
			              ?>
		                  	<h4 class="entry-title">
		                      	<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
		                  	</h4>
			              <?php
			          }
			        ?>
			        <div class="top-info">
	                    <a class="date" href="<?php the_permalink(); ?>"><?php the_time( get_option('date_format', 'd M, Y') ); ?></a>
	                    <span class="space">|</span>
	                    <?php findus_post_categories_first($post); ?>
	                </div>
			    </div>
	