<header class="entry-header">
<h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
<?php
+ if(get_post_type ($post) != "ai1ec_event" ){
if (has_post_thumbnail()) {
$image_data = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), "full");
echo '<div class="blog-featured" style="background-image:url('.$image_data[0].');"></div>';
echo '.</b>';
?>
</div>
+ <?php } ?>
</header>
<?php if (!is_post_type("ai1ec_event")) { ?>