<td valign="top"> <table border="0" cellpadding="20" cellspacing="0" width="100%" bgcolor="#ffffff"> <tr> <td valign="top"> <?php foreach ($posts as $post) { setup_postdata($post); ?> <h2 style="color: #202020;font-family: Arial;font-size: 20px;font-weight: bold;margin-top: 0;margin-bottom: 10px;border-bottom: 1px solid #efefef;"> <?php the_title(); ?> </h2> <center><img src="<?php echo newsletter_get_post_image($post->ID, 'medium'); ?> "></center> <div style="color: #505050;font-family: Arial;font-size: 14px;line-height: 150%;"> <?php the_excerpt(); ?> </div> <?php } ?> </td> </tr> </table> </td>
// } else { ?> <table cellpadding="5"> <?php foreach ($posts as $post) { setup_postdata($post); ?> <tr> <?php if (isset($theme_options['theme_thumbnails'])) { ?> <td><a target="_blank" href="<?php echo get_permalink(); ?> "><img width="75" src="<?php echo newsletter_get_post_image($post->ID); ?> " alt="image"></a></td> <?php } ?> <td valign="top"> <a target="_blank" href="<?php echo get_permalink(); ?> " style="font-size: 20px; line-height: 26px"><?php the_title(); ?> </a> <?php if (isset($theme_options['theme_excerpts'])) {