Beispiel #1
0
<?php

include 'library/index.php';
?>

<?php 
echo $mc_edm->get_view('header');
?>

<!-- BEGIN BODY // -->
<table <?php 
inline_style('content', 'table');
?>
>
    <tr>
        <td align="center" valign="top">
            <?php 
echo $mc_edm->get_view('preheader');
?>
        </td>
    </tr>

    <?php 
$bannerUrl = 'http://www.aussiebum.com/sale' . _e_tracking('banner');
_e_set_section('banner');
//summer clearance
$center_table = array('class' => 'center_table', 'td' => array(array('image' => 'en_header1', 'link' => $bannerUrl)));
echo table($center_table);
//sale banner
$center_table = array('class' => 'center_table', 'td' => array(array('image' => 'en_clearance', 'link' => $bannerUrl)));
echo table($center_table);
        </center>
        </td>
    </tr>
    <tr>
      <td>
        <table <?php 
inline_style('doubt_table', 'table');
?>
>
            <tr>
                <?php 
td_spacer(50);
?>
                <td class="doubt_font_td"><font <?php 
inline_style('doubt_font', 'font');
?>
><?php 
_e('doubt');
?>
</font></td>
                <td class="social_td">
                 <?php 
echo $this->get_view('social');
?>
             
                </td>
                <?php 
td_spacer(40);
?>
            </tr>
Beispiel #3
0
?>
>
        <tr>
            <!-- *|IFNOT:ARCHIVE_PAGE|* -->
            <td <?php 
inline_style('template_preheader_content', 'table');
?>
>
                <center>
                    <?php 
echo _e(array('text' => 'view_browser'));
?>
 <a href="*|ARCHIVE|*<?php 
echo _e_tracking('html_email');
?>
" target="_blank" <?php 
echo inline_style('template_preheader_link');
?>
>
                    <?php 
echo _e(array('text' => 'view_browser_link'));
?>
</a> <?php 
echo _e(array('text' => 'view_browser_end'));
?>
                </center>
            </td>
            <!-- *|END:IF|* -->
        </tr>
    </table>
<!-- // END PREHEADER -->                           
Beispiel #4
0
 <?php 
_e_set_section('ab_footer');
$mc_edm = MC_edm::get_instance();
?>
<tr>
    <td align="center" valign="top">

        <table <?php 
inline_style('doubt_table', 'table');
?>
>
            <tr>
                <td <?php 
inline_style('doubt_font_td_right', 'td');
?>
>
                 <?php 
echo $mc_edm->get_view('social');
?>
                </td>
            </tr>
        </table>
    </td>
</tr>
<tr>
    <td align="center" valign="top">
       <?php 
echo $mc_edm->get_view('benefits');
?>
    </td>
</tr>
Beispiel #5
0
/**
 * Create Price
 * Generates a <font> tag containing a localised price
 * Use with table() command as such:
 * array('font' => create_price($productId), 'width'=>$widthOfTableCell, 'valign' => 'middle', 'align' => 'center')
 */
function create_price($id, $passedDomain = false)
{
    if (!$passedDomain) {
        $domain = get_price_domain();
    } else {
        $domain = array('code' => $passedDomain);
    }
    $currecyStyle = inline_style('price_prefix_font', 'a', false);
    $price = get_dynamic_price(array('type' => 'text', 'id' => $id, 'currency' => $domain['code']));
    $pricePrefix = MC_edm::php_supplant($domain['price'], array('sup' => "<font {{currencyprefix}}>", '/sup' => '</font>'));
    $pricePrefix = MC_edm::php_supplant($pricePrefix, array('currencyprefix' => $currecyStyle));
    $super_style = inline_style('price_sup_font', 'a', false);
    return $price;
}
Beispiel #6
0
<table  <?php 
inline_style('social', 'table');
?>
>
	<tr>
		<td align="left" valign="top">
			<?php 
echo image_tag('en_live');
?>
		</td>
		<td align="left" valign="top">
<a href="http://www.facebook.com/sharer/sharer.php?u=*|URL:ARCHIVE_LINK|*&amp;t=*|URL:MC_SUBJECT|*" target="_blank" style="text-decoration: none">
	<?php 
echo image_tag('en_facebook');
?>
</a>
		</td>
				<td align="left" valign="top">
<a href="http://instagram.com/aussiebum_team" target="_blank"  style="text-decoration: none">
	<?php 
echo image_tag('en_instagram');
?>
</a>
		</td>
		<td align="left" valign="top">
<a href="http://twitter.com/?status=*|URL:MC_SUBJECT|*: *|URL:ARCHIVE_LINK|*" target="_blank" style="text-decoration: none">
	<?php 
echo image_tag('en_twitter');
?>
</a>
		</td>
Beispiel #7
0
?>
        <!--[if gte mso 9]>
      	<?php 
echo $mc_edm->css('outlook');
?>
        <![endif]-->

    </head>
    <body <?php 
inline_style('body', 'table');
?>
 >
        <?php 
$msg = _e(array('text' => 'content', 'section' => 'message', 'echo' => false));
?>
        <?php 
$msg = str_replace('"', "'", $msg);
?>
        <?php 
echo image_tag(array('tag' => 'spacer', 'width' => 1, 'height' => 1, 'alt' => $msg));
?>
    	<center>
        	<table <?php 
inline_style('body_table', 'table');
?>
>
            	<tr>
                	<td <?php 
inline_style('body_cell', 'table');
?>
>