<?php
/**
 *	Template for standart Posts
 */

?>

<?php
$category = str_replace(' ', '_', get_the_category());
$postClass = 'post-preview-small span4 ' . $category;

?>

<div <?php post_class($postClass); ?> id="post-<?php the_ID(); ?>">

	<?php $images = etheme_get_images(); ?>

	<?php if ( !empty($images) && has_post_thumbnail() ) : ?>

		<div class="image">
			<a href="<?php the_permalink(); ?>">
				<img src="<?php echo $images[0]; ?>"  alt="" class="img-rounded animate flip">
			</a>
		</div>

	<?php endif; ?>

	<div class="inside">
		<h3 class="post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
		<div class="post-meta">
			<span class="meta-date"><i class="icon-clock-alt"></i><?php the_time(get_option('date_format')); ?></span>
			<span class="meta-tags"><i class="icon-tag-1"></i><?php the_category(',&nbsp;') ?></span>
		</div>
		<div class="text">
			<?php the_content(__('Read More', WFT_DOMAIN)); ?>
		</div>
	</div>

</div>