Example #1
0


                                <p style="color:#456;font-family:arial,sans-serif;font-size:24px;line-height:1.2;margin:15px 0;padding:0"><a target="_tab" href="<?php 
echo get_option('home');
?>
" style="color:#28c;text-decoration:none" target="_blank"><?php 
echo get_option('blogname');
?>
</a></p>


                                <?php 
foreach ($posts as $post) {
    setup_postdata($post);
    $image = nt_post_image(get_the_ID(), 'thumbnail');
    ?>


                                    <table style="width:100%;color:#456;font:normal 12px/1.5em helvetica,sans-serif;margin:15px 0 0 0;padding:0 0 15px 0;border-bottom:1px dotted #e1e2e3">

                                        <tbody><tr>

                                                <td style="width:100%;padding:0 10px 0 0;vertical-align:top">

                                                    <p style="font-family:arial,sans-serif;color:#456;font-size:20px;line-height:22px;margin:0;padding:0"><strong><a target="_tab" href="<?php 
    echo get_permalink();
    ?>
" style="color:#456;text-decoration:none" target="_blank"><?php 
    the_title();
    ?>
Example #2
0


                                <p style="color:#456;font-family:arial,sans-serif;font-size:24px;line-height:1.2;margin:15px 0;padding:0"><a target="_tab" href="<?php 
echo get_option('home');
?>
" style="color:#28c;text-decoration:none" target="_blank"><?php 
echo get_option('blogname');
?>
</a></p>


                                <?php 
foreach ($posts as $post) {
    setup_postdata($post);
    $image = nt_post_image(get_the_ID());
    ?>


                                    <table style="width:100%;color:#456;font:normal 12px/1.5em helvetica,sans-serif;margin:15px 0 0 0;padding:0 0 15px 0;border-bottom:1px dotted #e1e2e3">

                                        <tbody><tr>

                                                <td style="width:100%;padding:0 10px 0 0;vertical-align:top">

                                                    <p style="font-family:arial,sans-serif;color:#456;font-size:20px;line-height:22px;margin:0;padding:0"><strong><a target="_tab" href="<?php 
    echo get_permalink();
    ?>
" style="color:#456;text-decoration:none" target="_blank"><?php 
    the_title();
    ?>
Example #3
0
query_posts('showposts=' . nt_option('posts', 10) . '&post_status=publish');
$empty_image = get_option('blogurl') . '/wp-content/plugins/newsletter/themes/with-picture/empty.gif';
?>

<div style="background-color: #444444;">

<table width="550" cellpadding="10" align="center" style="margin-top: 30px; background-color: #ffffff; border: 5px solid #3B3B3B; ">
<tr><td>
<?php echo $texts['header']; ?>

<table cellspacing="10">
<?php while (have_posts()) { the_post(); ?>
    <tr>
        <td valign="top">
            <a href="<?php echo get_permalink(); ?>"><img src="<?php echo nt_post_image($post->ID, 'thumbnail', $empty_image); ?>" width="100"/></a>
        </td>
        <td valign="top" align="left">
            <a href="<?php echo get_permalink(); ?>"><strong><?php the_title(); ?></strong></a><br />
            <?php echo the_excerpt(); ?>
        </td>
    </tr>
<?php } ?>
</table>

<?php echo $texts['footer']; ?>
    </td></tr>
</table>
</div>

<?php wp_reset_query(); ?>
Example #4
0
                            </tr>
                            <tr>
                                <td width="25" valign="top"></td>
                                <td valign="top" style="<?php 
    echo $text_css;
    ?>
">
                                    <h2 style="<?php 
    echo $title_css;
    ?>
"><?php 
    the_title();
    ?>
</h2>
                                        <?php 
    $img = nt_post_image($post->ID, 'thumbnail');
    ?>
                                        <?php 
    if ($img != null) {
        ?>
                                    <p><img src="<?php 
        echo $img;
        ?>
" alt=""/></p>
                                        <?php 
    }
    ?>
                                        <?php 
    echo the_excerpt();
    ?>
                                    <p><a href="<?php 
Example #5
0
                    <table width="100%" align="center" border="0" cellpadding="20" cellspacing="0">

                        <tr>
                            <td style="background:#F8F8F8">



                                <p style="color:#456;font-family:News Cycle, Arial Narrow Bold, sans-serif; font-size:24px;line-height:1.2;margin:15px 0;padding:0"><a target="_tab" href="<?php 
echo get_option('home');
?>
" style="color:#E22620;text-decoration:none" target="_blank"><img src="logo-avlang.png" alt="Radikal Portal"></a></p>

                                <?php 
foreach ($posts as $post) {
    setup_postdata($post);
    $image = nt_post_image(get_the_ID(), medium);
    ?>


                                    <table style="width:100%;color:#456;font:normal 12px/1.5em helvetica,sans-serif;margin:15px 0 0 0;padding:0;">

                                        <tbody><tr>
                                                <td style="width:100%; padding: 2% ;vertical-align:top; background:#fff">

                                                    <p style="font-family:open-sans-bold,sans-serif;color:#456;font-size:20px;line-height:22px;margin:0;padding:0"><strong><a target="_tab" href="<?php 
    echo get_permalink();
    ?>
" style="color:#000;text-decoration:none" target="_blank"><?php 
    the_title();
    ?>
</a></strong></p>