<?php
global $post;

$texts['footer'] = '<p>Pour vous d&eacute;sabonner<a href="{unsubscription_url}"> cliquer ici</a>.</p>';
$texts['header'] = '<p>Bonjour {name},</p>
<p>voici les derni&egrave;res News:</p>';

//$posts = get_posts('numberposts=10');
query_posts('showposts=' . $options['theme_posts'] . '&post_status=publish');
?>
<div style=" width:780px; margin-left:40px; border: solid 1 #2e2e2e; padding:10px;">
<div style="font-family: sans-serif; font-size: 24px; color: #999"><?php // echo get_option('blogname'); ?></div>
<div><img src="http://lacoordination.be/newsimg/logo_coordination_site.png" /></div>
<?php echo $texts['header']; ?>

<?php
while (have_posts())
{
    the_post();

?>

<div style=" line-height:21px; margin-top:25px;"> <a href="<?php the_permalink() ?>"><img style="float:left; border:none; margin-right:10px;" src="<?php bloginfo('template_directory'); ?>/functions/timthumb.php?src=<?php echo catch_that_image() ?>&w=150&h=120&zc=1&q=100" /></a>
<div><a style="font-size: 16px; text-decoration: none; color: #369" href="<?php echo get_permalink(); ?>"><?php the_title(); ?></a></div>
<?php echo the_excerpt(); ?></div>
<div style="height: 30px; clear: both"></div>
<?php
}
?>

<?php echo $texts['footer']; ?>
</div>
<?php wp_reset_query(); ?>