Instantly share code, notes, and snippets.
Created
June 23, 2021 20:38
newsletter template for business magazine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
#set($newsletter = $cms.content) ## | |
#if(!$newsletter) ## | |
#foreach ($nl in $cms.links("MAE Enl", 1, 1)) ## | |
#set($newsletter = $cms.content($nl.id,true)) ## | |
#end ## | |
#end ## | |
$cms.template("Global Setup")## | |
#set ($headerfontface = "font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size:11px; line-height:13px; color:#111111;border-bottom:1px #111111 solid; text-transform:uppercase") | |
#set ($mainfontface = "font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size:15px; color:#111111;") | |
#set ($secondheaderfontface = "font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size: 13px; color:#474747; line-height:19px;") | |
#set ($thirdheaderfontface = "font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size: 13px; color: #585858") | |
#set ($bodyfontface = "font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; color: #474747; font-size: 14px; font-weight:300; line-height:17px") | |
#set ($btnfontface = "font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; color: #ffffff") | |
#set ($btncolor = "background:#BDBEC0;") | |
#set ($footerfontface = "font-family: Georgia, 'Lucida Grande', 'Lucida Sans'; font-size:12px; color:#6B6B6B") | |
#set ($linkcolor = "#BDBEC0") | |
#set ($linecolor = "background-color: #BDBEC0") | |
#set ($subscribe = "http://www.intelligent-aerospace.com/subscribe.html") | |
#set($altsite = "Intelligent Aerospace")## | |
#set($color = "black")## | |
#set($fontcolor = "#ffffff")## | |
#set ($site1="cablinginstall.com") | |
#set ($site = "http://www.cablinginstall.com/index.html") | |
#set ($linkedinurl = "http://www.linkedin.com/shareArticle?mini=true&url=$newsletter.url&title=$newslettername&source=PennWell")## | |
#set ($facebooknurl = "http://www.facebook.com/sharer.php?u=$newsletter.url&t=$newslettername")## | |
#set ($twitterurl = "http://twitter.com/home?status=$newslettername $newsletter.url")## | |
#set ($rssurl = "http://www.cablinginstall.com/content/cim/en/rss.html")## | |
#set($brand = "CIM") ## | |
#if ($newsletter.issuetype.toLowerCase()== "Cabling News") | |
#set($header = "http://media.pennnet.com/designimages/cim_header.png")## | |
#set($header = "http://media.pennnet.com/designimages/cabling_logo.png")## | |
#set($bgcolor = "#BDBEC0")## | |
#set($fonthead = "#ffffff")## | |
#set($newsname = "Cabling News")## | |
#set($issuename = "Cabling News")## | |
#set($newslettername = "Cabling News")## | |
#set($name = "Cabling News") ## | |
#set($enlURL = "http://www.cablinginstall.com/index.html") ## | |
#set($unsub = "%%unsubscribelink%%") | |
#set($headertype="stacked") | |
#set($headertext="Cabling News") | |
#else | |
#set($newsname = "Cabling News") ## | |
#set($issuename = "Cabling News") ## | |
#set($newslettername = "Cabling News")## | |
#set($name = "Cabling News") ## | |
#set($header = "http://media.pennnet.com/designimages/cim_header.png")## | |
#set($header = "http://media.pennnet.com/designimages/header_bg.png")## | |
#set($header = "http://media.pennnet.com/designimages/cabling_logo.png")## | |
#set($unsub = "%%unsubscribelink%%") | |
#set($headertype="stacked") | |
#end | |
#if ($newsletter.newslettertitle)## | |
#set ($newslettertitle = $newsletter.newslettertitle)## | |
#set($issuename = "$newsletter.newslettertitle") ## | |
#set($newslettername = "$newsletter.newslettertitle")## | |
#set($name = "$newsletter.newslettertitle") ## | |
#else## | |
#set ($newslettertitle = "CABLING NEWS")## | |
#end## | |
#if ($newsletter.newslettertitle == "Cabling News")## | |
#set ($trackid = "Enl_CIM_CablingNews_$issued")## | |
#end## | |
#if ($newsletter.newslettertitle == "Contractor Report")## | |
#set ($trackid = "Enl_CIM_ContractorReport_$issued")## | |
#end## | |
#if ($newsletter.newslettertitle == "Data Centers")## | |
#set ($trackid = "Enl_CIM_DataCenters_$issued")## | |
#end## | |
#if ($newsletter.newslettertitle == "Standards")## | |
#set ($trackid = "Enl_CIM_Standards_$issued")## | |
#end## | |
#if ($newsletter.newslettertitle == "Wireless")## | |
#set ($trackid = "Enl_CIM_Wireless_$issued")## | |
#end## | |
#if ($newsletter.newslettertitle == "Innovators Award")## | |
#set($trackid = "Enl_CIM_Innovators_Award_$issued")## | |
#set($header = "http://media.pennnet.com/designimages/CIMLogo_NoAward.png")## | |
#end## | |
#if ($newsletter.newslettertitle != "")## | |
#set($issuename = $newsletter.newslettertitle)## | |
#end## | |
$cms.template("CIM Topic Enl Setup 2")## | |
#if ($newsletter.issuetype.toLowerCase()== "ia show daily")## | |
#set($headercolor="background-color:#E7E8E8;") | |
#else## | |
#set($headercolor="background-color:#E7E8E8;") | |
#end## | |
#set($adnumber = 0) | |
#set($adimgs=$util.newArrayList)## | |
#set($adlinks=$util.newArrayList)## | |
#set($adheaders=$util.newArrayList)## | |
#set($adtexts=$util.newArrayList)## | |
#set($adlinktexts=$util.newArrayList)## | |
#if($newsletter.textadbanner1 && $newsletter.issuetype.toLowerCase()== "ia show daily"||$newsletter.textadbanner1 && $newsletter.newslettertitle == "Innovators Award") | |
#set($temp = $adlinks.add($newsletter.textadlink1)) | |
#set($temp = $adimgs.add($newsletter.textadbanner1)) | |
#set($temp = $adheaders.add($newsletter.textadheader1)) | |
#set($temp = $adtexts.add($newsletter.textadbanner1.altText)) | |
#set($temp = $adlinktexts.add($newsletter.textadlinktext1)) | |
#end | |
#if($newsletter.textadbanner2) | |
#set($temp = $adimgs.add($newsletter.textadbanner2)) | |
#set($temp = $adlinks.add($newsletter.textadlink2)) | |
#set($temp = $adheaders.add($newsletter.textadheader2)) | |
#set($temp = $adtexts.add($newsletter.textad2)) | |
#set($temp = $adlinktexts.add($newsletter.textadlinktext2)) | |
#end | |
#if($newsletter.textadbanner3) | |
#set($temp = $adimgs.add($newsletter.textadbanner3)) | |
#set($temp = $adlinks.add($newsletter.textadlink3)) | |
#set($temp = $adheaders.add($newsletter.textadheader3)) | |
#set($temp = $adtexts.add($newsletter.textad3)) | |
#set($temp = $adlinktexts.add($newsletter.textadlinktext3)) | |
#end | |
#if($newsletter.textadbanner5) | |
#set($temp = $adimgs.add($newsletter.textadbanner5)) | |
#set($temp = $adlinks.add($newsletter.textadlink5)) | |
#set($temp = $adheaders.add($newsletter.textleftadheader3)) | |
#set($temp = $adtexts.add($newsletter.textad5)) | |
#set($temp = $adlinktexts.add($newsletter.textleftadlinktext3)) | |
#end | |
#if($newsletter.skyscraperbanner) | |
#set($temp = $adimgs.add($newsletter.skyscraperbanner)) | |
#set($temp = $adlinks.add($newsletter.skyscraperlink)) | |
#set($temp = $adheaders.add($newsletter.textrightadheader2)) | |
#set($temp = "") | |
#set($temp = $adlinktexts.add($newsletter.textrightadlinktext2)) | |
#end | |
#if($newsletter.skyscraperbanner2) | |
#set($temp = $adimgs.add($newsletter.skyscraperbanner2)) | |
#set($temp = $adlinks.add($newsletter.skyscraperlink2)) | |
#set($temp = $adheaders.add($newsletter.textrightadheader3)) | |
#set($temp = $adtexts.add($newsletter.textrightadtext3)) | |
#set($temp = $adlinktexts.add($newsletter.textrightadlinktext3)) | |
#end | |
#if($newsletter.textadbanner4 && $newsletter.issuetype.toLowerCase()== "ia show daily"||$newsletter.textadbanner4 && $newsletter.newslettertitle == "Innovators Award") | |
#set($temp = $adlinks.add($newsletter.textadlink4))## | |
#set($temp = $adimgs.add($newsletter.textadbanner4))## | |
#set($temp = $adheaders.add($newsletter.textadheader4))## | |
#set($temp = $adtexts.add($newsletter.textad4))## | |
#set($temp = $adtexts.add($newsletter.textadlinktext4))## | |
#end | |
#set($mid1links=$util.newArrayList)## | |
#set($mid1texts=$util.newArrayList)## | |
#if($newsletter.mid1text1 != "" && !$util.isNull($newsletter.mid1text1)) | |
#set($temp = $mid1links.add($newsletter.midlink1)) | |
#set($temp = $mid1texts.add($newsletter.mid1text1)) | |
#end | |
#if($newsletter.mid1text2 != "" && !$util.isNull($newsletter.mid1text2)) | |
#set($temp = $mid1links.add($newsletter.mid1link2)) | |
#set($temp = $mid1texts.add($newsletter.mid1text2)) | |
#end | |
#if($newsletter.mid1text3 != "" && !$util.isNull($newsletter.mid1text3)) | |
#set($temp = $mid1links.add($newsletter.mid1link3)) | |
#set($temp = $mid1texts.add($newsletter.mid1text3)) | |
#end | |
#if($newsletter.mid1text4 != "" && !$util.isNull($newsletter.mid1text4)) | |
#set($temp = $mid1links.add($newsletter.mid1link4)) | |
#set($temp = $mid1texts.add($newsletter.mid1text4)) | |
#end | |
#if($newsletter.mid1text5 != "" && !$util.isNull($newsletter.mid1text5)) | |
#set($temp = $mid1links.add($newsletter.mid1link5)) | |
#set($temp = $mid1texts.add($newsletter.mid1text5)) | |
#end | |
#if($newsletter.mid1text6 != "" && !$util.isNull($newsletter.mid1text6)) | |
#set($temp = $mid1links.add($newsletter.mid1link6)) | |
#set($temp = $mid1texts.add($newsletter.mid1text6)) | |
#end | |
#set($mid2links=$util.newArrayList)## | |
#set($mid2texts=$util.newArrayList)## | |
#if($newsletter.mid2text1 != "" && !$util.isNull($newsletter.mid2text1)) | |
#set($temp = $mid2links.add($newsletter.mid2link1)) | |
#set($temp = $mid2texts.add($newsletter.mid2text1)) | |
#end | |
#if($newsletter.mid2text2 != "" && !$util.isNull($newsletter.mid2text2)) | |
#set($temp = $mid2links.add($newsletter.mid2link2)) | |
#set($temp = $mid2texts.add($newsletter.mid2text2)) | |
#end | |
#if($newsletter.mid2text3 != "" && !$util.isNull($newsletter.mid2text3)) | |
#set($temp = $mid2links.add($newsletter.mid2link3)) | |
#set($temp = $mid2texts.add($newsletter.mid2text3)) | |
#end | |
#if($newsletter.mid2text4 != "" && !$util.isNull($newsletter.mid2text4)) | |
#set($temp = $mid2links.add($newsletter.mid2link4)) | |
#set($temp = $mid2texts.add($newsletter.mid2text4)) | |
#end | |
#if($newsletter.mid2text5 != "" && !$util.isNull($newsletter.mid2text5)) | |
#set($temp = $mid2links.add($newsletter.mid2link5)) | |
#set($temp = $mid2texts.add($newsletter.mid2text5)) | |
#end | |
#if($newsletter.mid2text6 != "" && !$util.isNull($newsletter.mid2text6)) | |
#set($temp = $mid2links.add($newsletter.mid2link6)) | |
#set($temp = $mid2texts.add($newsletter.mid2text6)) | |
#end | |
#set($mid3links=$util.newArrayList)## | |
#set($mid3texts=$util.newArrayList)## | |
#if($newsletter.mid3text1 != "" && !$util.isNull($newsletter.mid3text1)) | |
#set($temp = $mid3links.add($newsletter.mid3link1)) | |
#set($temp = $mid3texts.add($newsletter.mid3text1)) | |
#end | |
#if($newsletter.mid3text2 != "" && !$util.isNull($newsletter.mid3text2)) | |
#set($temp = $mid3links.add($newsletter.mid3link2)) | |
#set($temp = $mid3texts.add($newsletter.mid3text2)) | |
#end | |
#if($newsletter.mid3text3 != "" && !$util.isNull($newsletter.mid3text3)) | |
#set($temp = $mid3links.add($newsletter.mid3link3)) | |
#set($temp = $mid3texts.add($newsletter.mid3text3)) | |
#end | |
#set($widgetnumber = 0) | |
#set($responsivewidgets=$util.newArrayList)## | |
#if($newsletter.responsivewidget1 != "" && !$util.isNull($newsletter.responsivewidget1)) | |
#set($temp = $responsivewidgets.add($newsletter.responsivewidget1)) | |
#end | |
#if($newsletter.responsivewidget2 != "" && !$util.isNull($newsletter.responsivewidget2)) | |
#set($temp = $responsivewidgets.add($newsletter.responsivewidget2)) | |
#end | |
#if($newsletter.responsivewidget3 != "" && !$util.isNull($newsletter.responsivewidget3)) | |
#set($temp = $responsivewidgets.add($newsletter.responsivewidget3)) | |
#end | |
#set($articlecounter = 0) | |
#set($introduced = "not yet") | |
#set($tocd = "not yet") | |
<title>$name $util.formatDate("MMMM d, yyyy", $newsletter.issuedate)</title> | |
<style> | |
td.contentblock p a { | |
color:#3ca7dd; | |
text-decoration:none; | |
} | |
a { | |
color:#333333; | |
text-decoration:none; | |
} | |
a:hover { | |
text-decoration: underline; | |
} | |
/* iPads (portrait) ----------- */ | |
@media only screen | |
and (min-device-width : 768px) | |
and (max-device-width : 1024px) | |
and (orientation : portrait) { | |
/* Styles */ | |
} | |
@media screen and (max-width:400px) { | |
@-ms-viewport{ | |
table[class="wrapper"] { | |
width:98% !important; | |
} | |
table[class="contenttable"] { | |
width:100% !important; | |
margin:0 auto !important; | |
} | |
table[class="lefttable"] { | |
width:100% !important; | |
margin:0 auto !important; | |
} | |
table p[class="lefttable_headertext"] { | |
font-size:22px !important; | |
} | |
table[class="lefttable_headertext"] { | |
width:100% !important; | |
} | |
table[class="headerrighttable"] { | |
text-align:center !important; | |
margin:4px auto !important; | |
} | |
table[class="righttable"] { | |
width:100% !important; | |
margin:0 auto !important; | |
text-align:left !important; | |
} | |
table p[class="righttable"] { | |
margin:6px 6px 2px 6px !important; | |
text-align:left !important; | |
} | |
table h3[class="headertext"] { | |
text-align:center !important; | |
margin-top:6px !important; | |
} | |
table p[class="socailshare"] { | |
display: none; !important; | |
} | |
table[class="share"] { | |
width:100% !important; | |
} | |
table p[class="share"] { | |
width:96% !important; | |
} | |
} | |
} | |
@media only screen and (max-width: 480px) { | |
table[class="wrapper"] { | |
width:98% !important; | |
} | |
table[class="contenttable"] { | |
width:100% !important; | |
margin:0 auto !important; | |
} | |
table[class="lefttable"] { | |
width:100% !important; | |
margin:0 auto !important; | |
} | |
table[class="lefttable_headertext"] { | |
width:100% !important; | |
} | |
table p[class="lefttable_headertext"] { | |
font-size:22px !important; | |
} | |
table[class="headerrighttable"] { | |
text-align:center !important; | |
margin:4px auto !important; | |
} | |
table[class="righttable"] { | |
width:100% !important; | |
margin:0 auto !important; | |
text-align:left !important; | |
} | |
table p[class="righttable"] { | |
margin:6px 6px 2px 6px !important; | |
text-align:left !important; | |
} | |
table h3[class="headertext"] { | |
text-align:center !important; | |
margin-top:6px !important; | |
} | |
table p[class="lefttable_headertext"] { | |
font-size:25px !important; | |
} | |
table p[class="socailshare"] { | |
display: none; !important; | |
} | |
table[class="share"] { | |
width:100% !important; | |
} | |
table p[class="share"] { | |
width:96% !important; | |
} | |
} | |
@media (device-height : 568px) | |
and (device-width : 320px) | |
and (-webkit-min-device-pixel-ratio: 2) | |
{ | |
table[class="wrapper"] { | |
width:98% !important; | |
} | |
table[class="contenttable"] { | |
width:100% !important; | |
margin:0 auto !important; | |
} | |
table[class="lefttable"] { | |
width:100% !important; | |
margin:0 auto !important; | |
} | |
table[class="lefttable_headertext"] { | |
width:100% !important; | |
} | |
table p[class="lefttable_headertext"] { | |
font-size:22px !important; | |
} | |
table[class="headerrighttable"] { | |
text-align:center !important; | |
margin:4px auto !important; | |
} | |
table[class="righttable"] { | |
width:100% !important; | |
margin:0 auto !important; | |
text-align:left !important; | |
} | |
table p[class="righttable"] { | |
margin:6px 6px 2px 6px !important; | |
text-align:left !important; | |
} | |
table h3[class="headertext"] { | |
text-align:center !important; | |
margin-top:6px !important; | |
} | |
table p[class="lefttable_headertext"] { | |
font-size:25px !important; | |
} | |
table p[class="socailshare"] { | |
display: none; !important; | |
} | |
table[class="share"] { | |
width:100% !important; | |
} | |
table p[class="share"] { | |
width:96% !important; | |
} | |
} | |
</style> | |
</head> | |
<body link="black" style= | |
"background-color: #ffffff;color: #555555;margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 13px;" | |
vlink="black"> | |
</td></tr></tbody></table></td></tr></table> | |
<table class="wrapper" align="center" border="0" cellpadding="0" cellspacing="0" style= | |
"mso-table-lspace:0pt;mso-table-rspace:0pt;width: 750px;margin-top:10px"> | |
<tr> | |
<td> | |
#if ($newsletter.snippet != "" && !$util.isNull($newsletter.snippet)) | |
<p style="margin: 1px auto 3px 8px;font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; color:#BDBEC0; font-size: 12px; font-weight:300; line-height:12px; text-align:center"> | |
$newsletter.snippet</p> | |
#end## | |
</td> | |
</tr> | |
</table> | |
<table class="wrapper" align="center" border="0" cellpadding="0" cellspacing="0" style= | |
"mso-table-lspace:0pt;mso-table-rspace:0pt;width: 750px;"> | |
<tr valign="top"> | |
<td style="background-color: #FFFFFF; border-top: solid #E4E4E4 1px;border-left: solid #E4E4E4 1px;padding:2px;border-right: solid #E4E4E4 1px; margin:1px;"> | |
<table class="contenttable" border="0" cellpadding="0" cellspacing="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt;"> | |
<tr> | |
<td> | |
<table class="contenttable" cellpadding="0" cellspacing="0" style="background-color:#D9D9D9;margin:0 2px; width:750px"> | |
#if ($headertype=="stacked")## | |
<tr> | |
<td bgcolor="#e7e8e8"> | |
<table class="contenttable" border="0" cellpadding="0" cellspacing="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt; width:744px;"> | |
<tr><td> | |
<p style="margin:2px 2px 0px 3px;"><a href="$site?cmpid=$trackid"><img border="0" src="$header" style="max-width:100%;outline:none;text-decoration:none;-ms-interpolation-mode:bicubic;image-rendering:optimizeQuality;display:block;" /></a></p></td> | |
<td style="text-align:right"> | |
<table border="0" cellpadding="0" cellspacing="0" style="float:right;mso-table-lspace:0pt;mso-table-rspace:0pt;"><tr><td> | |
<table align="right" border="0" cellpadding="2" cellspacing="0" class="socialmedia" style="margin-right:8px;mso-table-lspace:0pt;mso-table-rspace:0pt;margin-right:5px;"><tr><td style="text-align:right;"><p style= | |
"margin-left:6px;color:#333333; margin-top:0px; letter-spacing:.1em;font-size:11px;font-family:Arial, Helvetica sans-serif;"></p></td><td><a href="http://%%emailtofriend%%"><img align="center" alt= | |
"Message" border="0" src="http://media.pennnet.com/designimages/m4.png" width="27" height="27" /></a></td><td><a href= | |
"$linkedinurl" | |
target="_blank"><img align="center" alt= | |
"Linkedin" border="0" src= | |
"http://media.pennnet.com/designimages/linkedin.png" width="27" height="27" /></a></td><td><a href= | |
"$facebooknurl" | |
target="_blank"><img align="center" alt= | |
"Facebook" border="0" src= | |
"http://media.pennnet.com/designimages/facebook.png" width="27" height="27" /></a></td><td><a href="$twitterurl" | |
target="_blank"><img align="center" alt= | |
"Twitter" border="0" src= | |
"http://media.pennnet.com/designimages/twitter.png" width="27" height="27" /></a></td> | |
<td><a href="$rssurl"><img align="center" alt= | |
"RSS" border="0" src="http://media.pennnet.com/designimages/rss2.png" width="27" height="27" /></a> | |
</td></tr></table> | |
</td></tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
<table class="contenttable" border="0" cellpadding="0" cellspacing="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt;width:750px;"> | |
<tr> | |
<td> | |
<table align="left" border="0" cellpadding="0" cellspacing="0" | |
class="lefttable_headertext" style= | |
"float:left; mso-table-lspace:0pt;mso-table-rspace:0pt;width:360px"> | |
<tr> | |
<td><p class="lefttable_headertext" style="font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size:28px; color:#111111;margin:0px 2px 2px 7px"><a href= | |
"$site?cmpid=$trackid" style="text-decoration:none; color:#111111; text-transform:uppercase">$newslettertitle</a></p></td> | |
</tr> | |
</table> | |
<table align="right" border="0" cellpadding="0" cellspacing="0" | |
class="headerrighttable" style="mso-table-lspace:0pt;mso-table-rspace:0pt; margin:4px 2px 2px 0px; width:360px"> | |
<tr><td style="border-right:1px solid #333333"><p style= | |
"color:#333333; margin:0px 2px 0px 0px;font-size:11px;font-family:Arial, Helvetica sans-serif;text-align:center"><a style="color:#333333; text-decoration:none" href= | |
"http://www.cablinginstall.com/currentissue.html?cmpid=$trackid" | |
target="_blank">Read the<br />current magazine</a></p></td> | |
<td style="border-right:1px solid #333333"><p style= | |
"color:#333333; margin:0px 2px;font-size:11px; font-family:Arial, Helvetica sans-serif;text-align:center"><a style="color:#333333; text-decoration:none" href= | |
"https://www.sub-forms.com/dragon/init.do?site=PNW2_CHnew&PK=WSNN15" | |
target="_blank">Subscribe<br />for free</a></p></td> | |
<td style="border-right:1px solid #333333"><p style= | |
"color:#333333; margin:0px 2px;font-size:11px;font-family:Arial, Helvetica sans-serif;text-align:center"><a style="color:#333333; text-decoration:none" href= | |
"$newsletter.url" | |
target="_blank">View<br />online</a></p> | |
</td> | |
<td style="border-right:1px solid #333333"><p style= | |
"color:#333333; margin:0px 2px;font-size:11px;font-family:Arial, Helvetica sans-serif;text-align:center"><a style="color:#333333; text-decoration:none" href="$unsub" | |
target="_blank">Click to<br />unsubscribe</a></p></td> | |
<td><p style= | |
"color:#333333;margin:0px 2px 0px 0px;font-size:11px;font-family:Arial, Helvetica sans-serif;text-align:center"><a style="color:#333333; text-decoration:none" href= | |
"http://www.cablinginstall.com/index/contact-us.html?cmpid=$trackid"> | |
Contact<br />us</a></p> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
#else## | |
<tr valign="top"> | |
<td align="left"> | |
<a href= | |
"$site?cmpid=$trackid"><img border="0" src="$header" style= | |
"max-width:100%;outline:none;text-decoration:none;-ms-interpolation-mode:bicubic;image-rendering:optimizeQuality;display:block;margin:0 auto" /></a> | |
</td> | |
</tr> | |
#end## | |
</table> | |
</td></tr> | |
</table> | |
</td></tr> | |
</table> | |
#if($newsletter.textadbanner1 && $newsletter.issuetype.toLowerCase()!= "ia show daily") | |
#set ($adlink = "") | |
#set ($adlink = $string.trim($newsletter.textadlink1)) | |
#set ($imgsrc = $string.trim($newsletter.textadbanner1.url)) | |
#set ($alttext = $string.trim($newsletter.textadbanner1.altText)) | |
<table class="wrapper" align="center" border="0" cellpadding="0" cellspacing="0" style= | |
"mso-table-lspace:0pt;mso-table-rspace:0pt;width: 750px;"> | |
<tr valign="top"> | |
<td style="background-color: #FFFFFF; border-left: solid #E4E4E4 1px;padding:2px;border-right: solid #E4E4E4 1px;"> | |
<table class="contenttable" cellpadding="0" cellspacing="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt;margin:0 2px; width:744px"> | |
<tr> | |
<td align="center"><a href="$adlink" target="_blank"> | |
<p style="margin-top:12px"><img alt="$alttext" src= | |
"$imgsrc" border="0" style="max-width:98%;outline:none;text-decoration:none;-ms-interpolation-mode:bicubic;image-rendering:optimizeQuality;display:block;margin:0 auto" /></p></a> | |
</td> | |
</tr> | |
</table></td></tr> | |
</table> | |
#end | |
#foreach ($x in [-1..19])## | |
#set ($next = $x + 1) | |
#if ($adimgs.get($adnumber) && $adimgs.get($adnumber).height < 301) | |
#if($x<1)## | |
#set($dropad = 2) | |
#else | |
#set($dropad = 1) | |
#end## | |
#elseif($adimgs.get($adnumber) && $adimgs.get($adnumber).height < 501) | |
#set($dropad = 2) | |
#elseif($adimgs.get($adnumber) && $adimgs.get($adnumber).height >= 501) | |
#if($newsletter.issuetype.toLowerCase()== "ia show daily") | |
#set($dropad = 3) | |
#else | |
#set($dropad = 3) | |
#end | |
#else | |
#set($dropad = "adsended") | |
#end | |
#if ($dropad == "adsended") | |
#if ($responsivewidgets.get($widgetnumber)) | |
#set($dropwidget = 1) | |
#else | |
#set($dropwidget = "ended") | |
#end | |
#end | |
#if ($dropad == "adsended" && $dropwidget == "ended" && $util.isNull($addright1)) | |
#set($right1counter=0) | |
#set($even1 = 0)## | |
#foreach ($rightcounter1 in [0..3])## | |
#if ($rightheadlines.get($rightcounter1) != "" && !$util.isNull($rightheadlines.get($rightcounter1)))## | |
#if($even1==2)## | |
#set($even1 = 0)## | |
#set($right1counter=$right1counter + 1)## | |
#end## | |
#set($even1 = $even1 + 1)## | |
#set($right1counter=$right1counter + 1) | |
#end## | |
#end## | |
#if($right1counter>0)## | |
#set($addright1 = "add")## | |
#end## | |
#set($dropright1 = $right1counter) | |
#end | |
#if ($addright1 == "added" && $util.isNull($addright2)) | |
#set($right2counter=0) | |
#set($even1 = 0)## | |
#foreach ($rightcounter2 in [4..7])## | |
#if ($rightheadlines.get($rightcounter2) != "" && !$util.isNull($rightheadlines.get($rightcounter2)))## | |
#if($even1 == 2)## | |
#set($even1 = 0)## | |
#set($right2counter=$right2counter + 1)## | |
#end## | |
#set($even1 = $even1 + 1)## | |
#set($right2counter=$right2counter + 1) | |
#end## | |
#end## | |
#if($right2counter>0)## | |
#set($addright2 = "add")## | |
#end## | |
#set($dropright2 = $right2counter) | |
#end | |
#if ($articlecounter == 0) | |
#if ($summaries.get($x) != "" && !$util.isNull($summaries.get($x))||$newsletter.introsumm != "" && !$util.isNull($newsletter.introsumm) && $introduced == "not yet"||$x == 19 && !$newsletter.announce.isEmpty())## | |
<table class="wrapper" align="center" border="0" cellpadding="0" cellspacing="0" style= | |
"mso-table-lspace:0pt;mso-table-rspace:0pt;width: 750px;"> | |
<tr valign="top"> | |
<td style="background-color: #FFFFFF; border-left: solid #E4E4E4 1px;padding:2px;border-right: solid #E4E4E4 1px; margin:1px; padding-top:10px"> | |
<table class="contenttable" cellpadding="0" cellspacing="0" style="width:746; mso-table-lspace:0pt;mso-table-rspace:0pt;margin:0"> | |
<tr valign="top"> | |
<td> | |
<table class="contenttable" cellpadding="0" cellspacing="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt;margin:0 2px; width:750px"><tr valign="top"><td> | |
#set($mainopen = "true") | |
#if (!$util.isNull($secheader.get($x))) <p style="margin:8px 10px 4px 6px;text-align:left; $secondheaderfontface"></p> #end | |
#end | |
#end | |
#if ($summaries.get($x) != "" && !$util.isNull($summaries.get($x))||$newsletter.introsumm != "" && !$util.isNull($newsletter.introsumm) && $introduced == "not yet" || $x == 0 && $newsletter.sec1head != "" && !$util.isNull($newsletter.sec1head) || $x == 4 && $newsletter.sec2head != "" && !$util.isNull($newsletter.sec2head) || $x == 8 && $newsletter.sec3head != "" && !$util.isNull($newsletter.sec3head) || $x == 12 && $newsletter.sec4head != "" && !$util.isNull($newsletter.sec4head) || $x == 16 && $newsletter.sec5head != "" && !$util.isNull($newsletter.sec5head)||$x == 19 && !$newsletter.announce.isEmpty())## | |
#if ($articlecounter == 0) | |
<table align="left" border="0" cellpadding="0" cellspacing="0" | |
class="lefttable" style= | |
"mso-table-lspace:0pt;mso-table-rspace:0pt;width:416px"> | |
#set($leftopen = "true") | |
#if ($util.isNull($date)) | |
<tr> | |
<td> | |
<table cellpadding="0" cellspacing="0" class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-bottom:#E7E8E8 2px solid; padding-top:6px; margin:0; width:410px"> | |
<tr> | |
<td> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
<tr> | |
<td style="padding-top:2px"> | |
<table class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt; width:410px; margin-bottom:3px; margin-left:0px; margin-top:0px; background-color:#E7E8E8" cellpadding="0" cellspacing="0"><tr><td> | |
<p class="share" style="width:400px; margin-left:6px; margin-top:5px; margin-bottom:5px; color:#333333;font-size:15px;font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; line-height:18px; text-transform:uppercase">$util.formatDate("MMMM d, yyyy", $newsletter.issuedate)</p></td></tr></table> | |
</td> | |
</tr> | |
#set($date = "added") | |
#end## | |
#if ($newsletter.introhead != "" && !$util.isNull($newsletter.introhead) && $introduced == "not yet"||$newsletter.introsumm != "" && !$util.isNull($newsletter.introsumm) && $introduced == "not yet")## | |
#end## | |
#if ($newsletter.introhead != "" && !$util.isNull($newsletter.introhead) && $introduced == "not yet")## | |
<tr> | |
<td> | |
<p class="share" style="width:400px; margin:8px 0px 4px 6px; text-align:left; $headerfontface"> | |
#if ($newsletter.introlink != "" && !$util.isNull($newsletter.introlink))## | |
<a href="$newsletter.introlink" style="text-decoration:none; color:#111111"> | |
#end## | |
$newsletter.introhead ## | |
#if ($newsletter.introlink != "" && !$util.isNull($newsletter.introlink))## | |
</a> | |
#end## | |
</p> | |
</td></tr> | |
#end## | |
#if ($newsletter.introsumm != "" && !$util.isNull($newsletter.introsumm) && $introduced == "not yet")## | |
<tr> | |
<td> | |
<p style="margin: 11px 2px 8px 6px; text-align:left; $bodyfontface"> | |
#if($newsletter.introimg)## | |
#if ($newsletter.introlink != "" && !$util.isNull($newsletter.introlink))## | |
<a href="$newsletter.introlink" target="_blank"> | |
#end## | |
#set($maxwidth = 150)## | |
#set($maxheight = 150)## | |
#set($imgheight = $newsletter.introimg.height)## | |
#set($imgwidth = $newsletter.introimg.width)## | |
#if($newsletter.introimg.width > $maxwidth)## | |
#set($imgwidth = $maxwidth)## | |
#set($ratio = $math.divide($imgwidth,$newsletter.introimg.width))## | |
#set($imgheight = $math.multiply("$newsletter.introimg.height","$ratio"))## | |
#set($imgheight = $math.round($imgheight))## | |
#end## | |
#if($imgheight > $maxheight)## | |
#set($ratio = $math.divide($maxheight,$imgheight))## | |
#set($imgheight = $maxheight)## | |
#set($imgwidth = $math.multiply("$imgwidth","$ratio"))## | |
#set($imgwidth = $math.round($imgwidth))## | |
#end## | |
<img align="left" width="$imgwidth" height="$imgheight" src="$newsletter.introimg.url" border="0" alt="$newsletter.introimg.altText" style="margin-top:3px; border: 1px solid #E7E8E8;padding: 2px" /> | |
#if ($newsletter.introlink != "" && !$util.isNull($newsletter.introlink))## | |
</a> | |
#end## | |
$spacer width="13" height="$imgheight" align="left" style="margin-top:3px" > | |
#end## | |
#set ($longtext = $newsletter.introsumm)## | |
$cms.template("Long Text")## | |
</p> | |
</td></tr> | |
#end## | |
#if ($newsletter.introhead != "" && !$util.isNull($newsletter.introhead) && $introduced == "not yet"||$newsletter.introsumm != "" && !$util.isNull($newsletter.introsumm) && $introduced == "not yet")## | |
#end## | |
## START:TOC | |
#if (!$newsletter.introtoc.isEmpty() && $tocd == "not yet") | |
#set ($z = 0) | |
#foreach ($head in $newsletter.introtoc) | |
#if ($head.headline != "" && !$util.isNull($head.headline)) | |
#if ($z == 0) | |
<tr> | |
<td> | |
<table cellpadding="0" width="100%" cellspacing="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt;"> | |
#end | |
#if ($head.link != "" && !$util.isNull($head.link)) | |
#if ($string.indexOf($head.link, 'http://') > -1 ) | |
#set ($protocol = "") | |
#else | |
#set ($protocol = "http://") | |
#end | |
#set ($linktemp = ($head.link))## | |
$cms.template("addtracking_moreheadline")## | |
#end## | |
<tr valign="top"> | |
<td> | |
<p style="margin: 6px 4px 6px 6px; text-align:left; $bodyfontface"> | |
<a href="$protocol$linktemp" style="text-decoration:none; color:#EE2E30" target="_blank"> | |
$head.headline | |
#if ($head.link != "" && !$util.isNull($head.link)) | |
</a> | |
#end | |
</p> | |
</td> | |
</tr> | |
#end | |
#set ($z = $z + 1) | |
#end | |
#if ($z > 0) | |
#set($tocd = "yes") | |
</table> | |
## STOP: TOC | |
</td> | |
</tr> | |
#end## | |
#set($introduced = "yes") | |
#set($articlecounter = $articlecounter + 1) | |
#end | |
#end | |
#if ($x == 0) | |
#if ($newsletter.sec1head != "" && !$util.isNull($newsletter.sec1head))## | |
<tr> | |
<td style="padding-top:3px"> | |
<table class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt;width:410px; margin-bottom:2px; margin-left:0px; margin-top:6px;background-color:#E7E8E8" cellpadding="0" cellspacing="0"><tr><td> | |
<p class="share" style="width:400px; margin-left:6px; margin-right:2px; margin-top:2px; margin-bottom:0px; $headerfontface">$newsletter.sec1head</p></td></tr> | |
#end## | |
#end## | |
#if ($x == 4) | |
#if ($newsletter.sec2head != "" && !$util.isNull($newsletter.sec2head))## | |
<tr> | |
<td> | |
<table class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-bottom:#E7E8E8 2px solid; margin:0; width:410px"> | |
<tr> | |
<td> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
<tr> | |
<td style="padding-top:2px"> | |
<table class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt; width:410px; margin-bottom:2px; margin-left:0px; margin-top:0px; $headercolor" cellpadding="0" cellspacing="0"><tr><td> | |
<p class="share" style="width:400px; margin-left:6px; margin-top:5px; margin-bottom:2px; color:#333333;font-size:15px;font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; line-height:18px; text-transform:uppercase">$newsletter.sec2head</p></td></tr></table> | |
</td> | |
</tr> | |
#end## | |
#end## | |
#if ($x == 8) | |
#if ($newsletter.sec3head != "" && !$util.isNull($newsletter.sec3head))## | |
<tr> | |
<td> | |
<table class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt; border-bottom:#E7E8E8 2px solid; margin:0; width:410px"> | |
<tr> | |
<td> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
<tr> | |
<td style="padding-top:2px"> | |
<table class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt;width:410px; margin-bottom:2px; margin-left:0px; margin-top:0px; $headercolor" cellpadding="0" cellspacing="0"><tr><td> | |
<p class="share" style="width:400px; margin-left:6px; margin-top:5px; margin-bottom:5px; color:#333333;font-size:15px;font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; line-height:18px; text-transform:uppercase">$newsletter.sec3head</p></td></tr></table> | |
</td> | |
</tr> | |
#end## | |
#end## | |
#if ($x == 12) | |
#if ($newsletter.sec4head != "" && !$util.isNull($newsletter.sec4head))## | |
<tr> | |
<td> | |
<table class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-bottom:#E7E8E8 2px solid; margin:0; width:410px"> | |
<tr> | |
<td> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
<tr> | |
<td style="padding-top:2px"> | |
<table class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt;width:410px; margin-bottom:2px; margin-left:0px; margin-top:0px; $headercolor" cellpadding="0" cellspacing="0"><tr><td> | |
<p class="share" style="width:400px; margin-left:6px; margin-top:5px; margin-bottom:5px; color:#333333;font-size:15px;font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; line-height:18px; text-transform:uppercase">$newsletter.sec4head</p></td></tr></table> | |
</td> | |
</tr> | |
#end## | |
#end## | |
#if ($x == 16) | |
#if ($newsletter.sec5head != "" && !$util.isNull($newsletter.sec5head))## | |
<tr> | |
<td style="padding-top:3px"> | |
<table class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt;width:410px; margin-bottom:2px; margin-left:0px; margin-top:6px;" cellpadding="0" cellspacing="0"><tr><td> | |
<p class="share" style="width:400px; margin-left:6px; margin-right:2px; margin-top:0px; margin-bottom:0px; $headerfontface">$newsletter.sec5head</p></td></tr></table> | |
</td> | |
</tr> | |
#end## | |
#end## | |
##LEFT INLINE AD OPEN | |
#if ($newsletter.leftinlineadbody != "" && !$util.isNull($newsletter.leftinlineadbody) && $x==10) | |
<tr> | |
<td> | |
<table class="lefttable" border="0" cellpadding="0" cellspacing="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt;width:410px;background-color:#E7E8E8"> | |
<tr> | |
<td> | |
<p class="share" style="width:400px; margin-left:6px; margin-right:2px; margin-top:2px; margin-bottom:0px; $headerfontface">SPONSOR CONTENT</p> | |
</td></tr> | |
<tr><td> | |
<p style="line-height:1px; margin:0"> </p> | |
#if($x>7)## | |
#set($headingcolor="color:#2D2F79") | |
#else## | |
#set($headingcolor="color:#EE2E30") | |
#end## | |
#if ($newsletter.leftinlineadheader != "" && !$util.isNull($newsletter.leftinlineadheader)) | |
<h1 style="margin:8px 2px 4px 6px; text-align:left;#if($x<8)font-weight:300;#end $mainfontface"> | |
#if ($newsletter.leftinlineadlink != "" && !$util.isNull($newsletter.leftinlineadlink)) | |
<a href="$newsletter.leftinlineadlink" style="text-decoration:none;$headingcolor" target="_blank"> | |
#end## | |
$newsletter.leftinlineadheader## | |
#if ($newsletter.leftinlineadlink != "" && !$util.isNull($newsletter.leftinlineadlink)) | |
</a> | |
#end## | |
</h1> | |
#end## | |
<p style="margin: 4px 2px 6px 6px; text-align:left; $bodyfontface"> | |
#if ($x != 4) | |
#if($newsletter.leftinlineadimage)## | |
#if ($newsletter.leftinlineadlink != "" && !$util.isNull($newsletter.leftinlineadlink))## | |
<a href="$newsletter.leftinlineadlink" target="_blank"> | |
#end## | |
#set($maxwidth = 150) | |
#set($maxheight = 150) | |
#set($imgheight = $newsletter.leftinlineadimage.height) | |
#set($imgwidth = $newsletter.leftinlineadimage.width) | |
#if($newsletter.leftinlineadimage.width > $maxwidth) | |
#set($imgwidth = $maxwidth) | |
#set($ratio = $math.divide($imgwidth,$newsletter.leftinlineadimage.width)) | |
#set($imgheight = $math.multiply("$newsletter.leftinlineadimage.height","$ratio")) | |
#set($imgheight = $math.round($imgheight)) | |
#end | |
#if($imgheight > $maxheight) | |
#set($ratio = $math.divide($maxheight,$imgheight)) | |
#set($imgheight = $maxheight) | |
#set($imgwidth = $math.multiply("$imgwidth","$ratio")) | |
#set($imgwidth = $math.round($imgwidth)) | |
#end | |
<img align="left" width="$imgwidth" height="$imgheight" src="$newsletter.leftinlineadimage.url" alt="$newsletter.leftinlineadimage.altText" style="margin-top:3px; border: 1px solid #E7E8E8;padding: 2px" /> | |
#if ($newsletter.leftinlineadlink != "" && !$util.isNull($newsletter.leftinlineadlink))## | |
</a> | |
#end## | |
$spacer width="13" height="$imgheight" align="left" style="margin-top:3px" /> | |
#end | |
#end## | |
#if ($newsletter.leftinlineadbody != "" && !$util.isNull($newsletter.leftinlineadbody))## | |
#set ($longtext = $summaries.get($x))## | |
#if ($x == 0||$x == 1||$x == 2||$x == 3) | |
#if ($newsletter.leftinlineadlink != "" && !$util.isNull($newsletter.leftinlineadlink))## | |
<a href="$newsletter.leftinlineadlink" style="text-decoration:none;color:#EE2E30" target="_blank"> | |
#end## | |
#end## | |
$cms.template("Long Text") | |
#if ($x == 0||$x == 1||$x == 2||$x == 3) | |
#if ($newsletter.leftinlineadlink != "" && !$util.isNull($newsletter.leftinlineadlink))## | |
</a> | |
#end## | |
#end## | |
#if ($newsletter.leftinlineadlink != "" && !$util.isNull($newsletter.leftinlineadlink) && $x > 3)## | |
<a href="$newsletter.leftinlineadlink" target="_blank" style="color:black; text-decoration:none"> | |
<img src="http://media.pennnet.com/designimages/morebtn.png" /> | |
</a> | |
#end## | |
</p> | |
</td></tr></table> | |
</td> | |
</tr> | |
#set($articlecounter = $articlecounter + 1)## | |
#end## | |
#end## | |
##LEFT INLINE AD CLOSE | |
#if ($summaries.get($x) != "" && !$util.isNull($summaries.get($x))) | |
<tr> | |
<td> | |
<table class="lefttable" border="0" cellpadding="0" cellspacing="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt;width:410px"> | |
<tr> | |
<td> | |
#if ($x == 4) | |
<p style="margin:6px 2px 2px 6px;"> | |
#if($pics.get($x))## | |
#if ($links.get($x) != "" && !$util.isNull($links.get($x)))## | |
<a href="$links.get($x)" target="_blank"> | |
#end## | |
#set($maxwidth = 400) | |
#set($maxheight = 400) | |
#set($imgheight = $pics.get($x).height) | |
#set($imgwidth = $pics.get($x).width) | |
#if($pics.get($x).width > $maxwidth) | |
#set($imgwidth = $maxwidth) | |
#set($ratio = $math.divide($imgwidth,$pics.get($x).width)) | |
#set($imgheight = $math.multiply("$pics.get($x).height","$ratio")) | |
#set($imgheight = $math.round($imgheight)) | |
#end | |
#if($imgheight > $maxheight) | |
#set($ratio = $math.divide($maxheight,$imgheight)) | |
#set($imgheight = $maxheight) | |
#set($imgwidth = $math.multiply("$imgwidth","$ratio")) | |
#set($imgwidth = $math.round($imgwidth)) | |
#end | |
<img width="$imgwidth" height="$imgheight" src="$pics.get($x).url" alt="$pics.get($x).altText" style="max-width:98%;outline:none;text-decoration:none;-ms-interpolation-mode:bicubic;image-rendering:optimizeQuality;display:block;margin-top:3px; border: 1px solid #E7E8E8;padding: 2px" /> | |
#if ($links.get($x) != "" && !$util.isNull($links.get($x)))## | |
</a> | |
#end## | |
#end | |
</p> | |
#end## | |
#if($x>7)## | |
#set($headingcolor="color:#2D2F79") | |
#else## | |
#set($headingcolor="color:#EE2E30") | |
#end## | |
#if ($headlines.get($x) != "" && !$util.isNull($headlines.get($x))) | |
<h1 style="margin:8px 2px 4px 6px; text-align:left;#if($x<8)font-weight:300;#end $mainfontface"> | |
#if ($links.get($x) != "" && !$util.isNull($links.get($x))) | |
<a href="$links.get($x)" style="text-decoration:none;$headingcolor" target="_blank"> | |
#end## | |
$headlines.get($x)## | |
#if ($links.get($x) != "" && !$util.isNull($links.get($x))) | |
</a> | |
#end## | |
</h1> | |
#end## | |
#if ($subtitles.get($x)) | |
<p style="margin:4px 2px 11px 6px; text-align:left; $secondheaderfontface"> | |
$subtitles.get($x) | |
</p> | |
#end## | |
<p style="margin: 4px 2px 6px 6px; text-align:left; $bodyfontface;#if($x<7)$headingcolor#end"> | |
#if ($x != 4) | |
#if($pics.get($x))## | |
#if ($links.get($x) != "" && !$util.isNull($links.get($x)))## | |
<a href="$links.get($x)" target="_blank"> | |
#end## | |
#set($maxwidth = 150) | |
#set($maxheight = 150) | |
#set($imgheight = $pics.get($x).height) | |
#set($imgwidth = $pics.get($x).width) | |
#if($pics.get($x).width > $maxwidth) | |
#set($imgwidth = $maxwidth) | |
#set($ratio = $math.divide($imgwidth,$pics.get($x).width)) | |
#set($imgheight = $math.multiply("$pics.get($x).height","$ratio")) | |
#set($imgheight = $math.round($imgheight)) | |
#end | |
#if($imgheight > $maxheight) | |
#set($ratio = $math.divide($maxheight,$imgheight)) | |
#set($imgheight = $maxheight) | |
#set($imgwidth = $math.multiply("$imgwidth","$ratio")) | |
#set($imgwidth = $math.round($imgwidth)) | |
#end | |
<img align="left" width="$imgwidth" height="$imgheight" src="$pics.get($x).url" alt="$pics.get($x).altText" style="margin-top:3px; border: 1px solid #E7E8E8;padding: 2px" /> | |
#if ($links.get($x) != "" && !$util.isNull($links.get($x)))## | |
</a> | |
#end## | |
$spacer width="13" height="$imgheight" align="left" style="margin-top:3px" /> | |
#end | |
#end## | |
#if ($summaries.get($x) != "" && !$util.isNull($summaries.get($x)))## | |
#set ($longtext = $summaries.get($x))## | |
#if ($x == 0||$x == 1||$x == 2||$x == 3) | |
#if ($links.get($x) != "" && !$util.isNull($links.get($x)))## | |
<a href="$links.get($x)" style="text-decoration:none;color:#EE2E30" target="_blank"> | |
#end## | |
#end## | |
$cms.template("Long Text") | |
#if ($x == 0||$x == 1||$x == 2||$x == 3) | |
#if ($links.get($x) != "" && !$util.isNull($links.get($x)))## | |
</a> | |
#end## | |
#end## | |
#if ($links.get($x) != "" && !$util.isNull($links.get($x)) && $x > 3)## | |
<a href="$links.get($x)" target="_blank" style="color:black; text-decoration:none"> | |
<img src="http://media.pennnet.com/designimages/morebtn.png" /> | |
</a> | |
#end## | |
</p> | |
</td></tr></table> | |
</td> | |
</tr> | |
#if($newsletter.issuetype.toLowerCase()== "ia show daily") | |
#if ($links.get($x) != "" && !$util.isNull($links.get($x))) | |
<tr> | |
<td> | |
<table border="0" cellpadding="0" cellspacing="0" class="productbtn" style="mso-table-lspace:0pt;mso-table-rspace:0pt;margin:2px 0px 6px 6px; padding-top:5px; padding-bottom:5px;" | |
width="400"> | |
<tr> | |
<td class="innerbutton" style= | |
"padding:5px 0; text-align:center; background-color:#111111"> | |
<a href="$links.get($x)" style="color:#ffffff;text-decoration:none; padding:0; margin:0; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size: 13px; font-weight:300; letter-spacing:1.2px; line-height:14px" | |
target="_blank"> | |
Click to Read More | |
<span style= | |
"font-size:15px">»</span></a></td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
#end## | |
#end## | |
#end## | |
#if ($x != 1||$x != 2||$x != 3)## | |
#set($articlecounter = $articlecounter + 1)## | |
#end## | |
#end## | |
#end## | |
##start member accesss | |
#if($x == 19 && !$newsletter.announce.isEmpty()) | |
#set ($z = 0) | |
#foreach ($head in $newsletter.announce) | |
#if ($head.headline != "" && !$util.isNull($head.headline)) | |
#if ($z == 0) | |
<tr> | |
<td style="padding-top:3px"> | |
<table class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt; width:412px; margin-bottom:8px; margin-left:0px; margin-top:12px; $headercolor" cellpadding="0" cellspacing="0"><tr><td> | |
<p style="width:400px; margin-left:12px; margin-top:5px; margin-bottom:5px; color:#FFFFFF;font-size:15px;font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; line-height:18px;"> | |
#if ($newsletter.moreheadings6 != "" && !$util.isNull($newsletter.moreheadings6)) | |
$newsletter.moreheadings6 | |
#else | |
NEWS FROM OUR ALL ACCESS MEMBERS | |
#end | |
</p></td></tr></table> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<table class="lefttable" cellpadding="0" cellspacing="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt;margin:15px 0; width:416px"> | |
#end | |
#if ($head.link != "" && !$util.isNull($head.link)) | |
#if ($string.indexOf($head.link, 'http://') > -1 ) | |
#set ($protocol = "") | |
#else | |
#set ($protocol = "http://") | |
#end | |
#set ($linktemp = ($head.link))## | |
$cms.template("addtracking_moreheadline")## | |
#end## | |
<tr valign="top"> | |
<td> | |
<p style="margin: 2px 2px 2px 6px; text-align:left; $bodyfontface"> | |
• | |
</p> | |
</td> | |
<td> | |
<p style="margin: 2px 2px 2px 2px; text-align:left; $bodyfontface"> | |
<a href="$protocol$linktemp" target="_blank"> | |
$head.headline | |
#if ($head.link != "" && !$util.isNull($head.link)) | |
</a> | |
#end | |
</p> | |
</td> | |
</tr> | |
#end | |
#set ($z = $z + 1) | |
#end | |
#if ($z > 0) | |
</table> | |
</td> | |
</tr> | |
#end | |
#end | |
##end of Member Access | |
#if ($x == 0) | |
#if ($newsletter.sec1head != "" && !$util.isNull($newsletter.sec1head))## | |
</table> | |
</td> | |
</tr> | |
#end## | |
#end## | |
#if($articlecounter >= $dropad && $leftopen == "true" || $articlecounter >= $dropwidget && $leftopen == "true" || $articlecounter >= $dropright1 && $addright1 == "add" && $leftopen == "true" || $articlecounter >= $dropright2 && $addright2 == "add" && $leftopen == "true" || $x == 19 && $leftopen == "true") | |
</table> | |
#set($leftopen = "false") | |
#end## | |
#if($articlecounter >= $dropad || $articlecounter >= $dropwidget ||$articlecounter >= $dropright1 && $addright1 == "add" ||$articlecounter >= $right2counter && $addright2 == "add"||$x == 19 && $right2counter > 0 && $addright2 != "added") | |
<table align="right" border="0" cellpadding="0" cellspacing="0" | |
class="righttable" style= | |
"mso-table-lspace:0pt;mso-table-rspace:0pt;margin-right:1px;margin-top:0px; width:302px"> | |
<tr> | |
<td> | |
##LINKS ONE OPEN | |
#if($mid1links.size() > 0 && $util.isNull($mid1added)) | |
#set($linkcounter=0) | |
#if ($mid1texts.get($linkcounter) != "" && !$util.isNlil($mid1texts.get($linkcounter)))## | |
<table cellpadding="0" cellspacing="0" class="share" style="border-bottom:#E7E8E8 2px solid; padding-top:6px; margin:0; width:300px"> | |
<tr> | |
<td> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
<tr> | |
<td style="padding-top:2px"> | |
<table class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt; width:300px; margin-bottom:2px; margin-left:0px; padding-top:6px; background-color:#E7E8E8" cellpadding="0" cellspacing="0"><tr><td colspan="2"> | |
<p class="share" style="width:288px; margin-left:6px; margin-right:2px; margin-top:2px; margin-bottom:0px; $headerfontface">SPONSOR CONTENT</p> | |
</td></tr> | |
#set($endloop=$mid1links.size()) | |
#set($endloop=$endloop - 1) | |
#foreach ($linkcounter in [0..$endloop])## | |
<tr valign="top"><td><p style="margin: 6px 2px 2px 6px; text-align:left; $bodyfontface"><a href="$mid1links.get($linkcounter)"><img src="http://media.pennnet.com/designimages/cim_arrow.png" border="0" /></a></p></td><td><p style="margin: 6px 2px 2px 2px; text-align:left; $bodyfontface"><a href="$mid1links.get($linkcounter)" style="text-decoration:none; color:#333333">$mid1texts.get($linkcounter)</a></p> | |
</td></tr> | |
#set($linkcounter=$linkcounter + 1) | |
#end | |
</table> | |
#set($mid1added = "yes") | |
#end | |
##LINKS ONE CLOSE | |
##LINKS TWO OPEN | |
#elseif($mid2links.size() > 0 && $util.isNull($mid2added) && $x>0) | |
#set($linkcounter=0) | |
#if ($mid2texts.get($linkcounter) != "" && !$util.isNlil($mid2texts.get($linkcounter)))## | |
<table cellpadding="0" cellspacing="0" class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt; border-bottom:#E7E8E8 2px solid; padding-top:6px; margin:0; width:300px"> | |
<tr> | |
<td> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
<tr> | |
<td style="padding-top:2px"> | |
<table class="share" style="width:300px; margin-bottom:2px; margin-left:0px; padding-top:6px; background-color:#E7E8E8" cellpadding="0" cellspacing="0"><tr><td colspan="2"> | |
<p class="share" style="width:288px; margin-left:6px; margin-right:2px; margin-top:2px; margin-bottom:0px; $headerfontface">SPONSOR CONTENT</p> | |
</td></tr> | |
#set($endloop=$mid2links.size()) | |
#set($endloop=$endloop - 1) | |
#foreach ($linkcounter in [0..$endloop])## | |
<tr valign="top"><td><p style="margin: 6px 2px 2px 6px; text-align:left; $bodyfontface"><a href="$mid2links.get($linkcounter)"><img src="http://media.pennnet.com/designimages/cim_arrow.png" border="0" /></a></p></td><td><p style="margin: 6px 2px 2px 2px; text-align:left; $bodyfontface"><a href="$mid2links.get($linkcounter)" style="text-decoration:none; color:#333333">$mid2texts.get($linkcounter)</a></p> | |
</td></tr> | |
#set($linkcounter=$linkcounter + 1) | |
#end | |
</table> | |
#set($adconfig = "alreadydropped") | |
#set($mid2added = "yes") | |
#end | |
##LINKS TWO CLOSE | |
#elseif($articlecounter >= $dropad) | |
#set ($adimg = "") | |
#set ($adlink = $string.trim($adlinks.get($adnumber))) | |
#set ($imgsrc = $string.trim($adimgs.get($adnumber).url)) | |
#set ($adheader = $adheaders.get($adnumber))## | |
#set ($alttext = $string.trim($adimgs.get($adnumber).altText)) | |
#set ($adtext = ($adtexts.get($adnumber))) | |
#set ($adlinktext = ($adlinktexts.get($adnumber))) | |
#set ($adimg = $adimgs.get($adnumber))## | |
<table cellpadding="0" cellspacing="0" class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt; margin:0; width:300px"> | |
<tr> | |
<td> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
$cms.template("300 hybrid ad rev2") | |
#set ($adlink = "") | |
#set ($imgsrc = "") | |
#set ($adheader = "") | |
#set ($alttext = "") | |
#set ($adtext = "") | |
#set ($adlinktext = "") | |
#set ($adimg = "") | |
#set($adnumber = $adnumber + 1) | |
#end## | |
##LINKS THREE OPEN | |
#if($x>0 && $mid3links.size() > 0 && $util.isNull($mid3added)) | |
#set($linkcounter=0) | |
#if ($mid3texts.get($linkcounter) != "" && !$util.isNlil($mid3texts.get($linkcounter)))## | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<table cellpadding="0" cellspacing="0" class="share" style="border-bottom:#E7E8E8 2px solid; padding-top:6px; margin:0; width:300px"> | |
<tr> | |
<td> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
<tr> | |
<td style="padding-top:2px"> | |
<table class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt; width:300px; margin-bottom:2px; margin-left:0px; padding-top:6px; background-color:#E7E8E8" cellpadding="0" cellspacing="0"><tr><td colspan="2"> | |
<p class="share" style="width:288px; margin-left:6px; margin-right:2px; margin-top:2px; margin-bottom:0px; $headerfontface">SPONSOR CONTENT</p> | |
</td></tr> | |
#set($endloop=$mid3links.size()) | |
#set($endloop=$endloop - 1) | |
#foreach ($linkcounter in [0..$endloop])## | |
<tr valign="top"><td><p style="margin: 6px 2px 2px 6px; text-align:left; $bodyfontface"><a href="$mid3links.get($linkcounter)"><img src="http://media.pennnet.com/designimages/cim_arrow.png" border="0" /></a></p></td><td><p style="margin: 6px 2px 2px 2px; text-align:left; $bodyfontface"><a href="$mid3links.get($linkcounter)" style="text-decoration:none; color:#333333">$mid3texts.get($linkcounter)</a></p> | |
</td></tr> | |
#set($linkcounter=$linkcounter + 1) | |
#end | |
</table> | |
#set($adconfig = "alreadydropped") | |
#set($mid3added = "yes") | |
#end | |
#elseif($x>0 && $mid3links.size() == 0 && $util.isNull($mid3added) && $adimgs.get($adnumber) && $adimgs.get($adnumber).height == 100) | |
#set ($adimg = "") | |
#set ($adlink = $string.trim($adlinks.get($adnumber))) | |
#set ($imgsrc = $string.trim($adimgs.get($adnumber).url)) | |
#set ($adheader = $adheaders.get($adnumber))## | |
#set ($alttext = $string.trim($adimgs.get($adnumber).altText)) | |
#set ($adtext = ($adtexts.get($adnumber))) | |
#set ($adlinktext = ($adlinktexts.get($adnumber))) | |
#set ($adimg = $adimgs.get($adnumber))## | |
$cms.template("300 hybrid ad rev2") | |
#set ($adlink = "") | |
#set ($imgsrc = "") | |
#set ($adheader = "") | |
#set ($alttext = "") | |
#set ($adtext = "") | |
#set ($adlinktext = "") | |
#set ($adimg = "") | |
#set($adnumber = $adnumber + 1) | |
#end | |
##LINKS THREE CLOSE | |
#set($articlecounter = 0) | |
#if($addright1 == "add") | |
#### | |
##START Buyers guide | |
#if ($newsletter.right1header != "" && !$util.isNull($newsletter.right1header))## | |
<table cellpadding="0" cellspacing="0" class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt; border-bottom:#E7E8E8 2px solid; padding-top:6px; margin:0; width:300px"> | |
<tr> | |
<td> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
<tr> | |
<td style="padding-top:2px"> | |
<table class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt; width:300px; margin-bottom:2px; margin-left:0px; margin-top:0px; border:#E7E8E8 1px solid" cellpadding="0" cellspacing="0"> | |
<tr><td colspan="2" style="background-color:#e7e8e8"> | |
<p class="share" style="width:290px;margin-left:4px; margin-top:5px; margin-bottom:5px; color:#333333;font-size:15px;font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; line-height:18px; text-transform:uppercase">$newsletter.right1header</p> | |
#end## | |
</td></tr> | |
#foreach ($right1 in [0..3])## | |
#if ($rightlinks.get($right1) != "" && !$util.isNull($rightlinks.get($right1))||$rightsummaries.get($right1) != "" && !$util.isNull($rightsummaries.get($right1)))## | |
<tr><td style="border-top:#E7E8E8 1px solid"> | |
#if($rightpics.get($right1))## | |
#if ($rightlinks.get($right1) != "" && !$util.isNull($rightlinks.get($right1)))## | |
<a href="$rightlinks.get($right1)" target="_blank"> | |
#end## | |
#set($maxwidth = 150) | |
#set($maxheight = 150) | |
#set($imgheight = $rightpics.get($right1).height) | |
#set($imgwidth = $rightpics.get($right1).width) | |
#if($rightpics.get($right1).width > $maxwidth) | |
#set($imgwidth = $maxwidth) | |
#set($ratio = $math.divide($imgwidth,$rightpics.get($right1).width)) | |
#set($imgheight = $math.multiply("$rightpics.get($right1).height","$ratio")) | |
#set($imgheight = $math.round($imgheight)) | |
#end | |
#if($imgheight > $maxheight) | |
#set($ratio = $math.divide($maxheight,$imgheight)) | |
#set($imgheight = $maxheight) | |
#set($imgwidth = $math.multiply("$imgwidth","$ratio")) | |
#set($imgwidth = $math.round($imgwidth)) | |
#end | |
<img align="left" width="$imgwidth" height="$imgheight" src="$rightpics.get($right1).url" border="0" alt="$rightpics.get($right1).alt" style="margin-top:3px" /> | |
#if ($rightlinks.get($right1) != "" && !$util.isNull($rightlinks.get($right1)))## | |
</a> | |
#end## | |
#end | |
</td><td style="border-top:#E7E8E8 1px solid"> | |
#if ($rightheadlines.get($right1) != "" && !$util.isNull($rightheadlines.get($right1))) | |
<h1 style="margin:8px 2px 3px 6px; text-align:left; font-weight:300; $mainfontface"> | |
#if ($rightlinks.get($right1) != "" && !$util.isNull($rightlinks.get($right1))) | |
<a href="$rightlinks.get($right1)" style="text-decoration:none;color:#333333;font-weight:700" target="_blank"> | |
#end## | |
$rightheadlines.get($right1) | |
#if ($rightlinks.get($right1) != "" && !$util.isNull($rightlinks.get($right1))) | |
</a> | |
#end## | |
</h1> | |
#end## | |
#if ($rightsummaries.get($right1) != "" && !$util.isNull($rightsummaries.get($right1)))## | |
#set ($longtext = $rightsummaries.get($right1))## | |
<p style="margin: 3px 2px 6px 6px; text-align:left; $bodyfontface"> | |
#if ($rightlinks.get($right1) != "" && !$util.isNull($rightlinks.get($right1)))## | |
<a href="$rightlinks.get($right1)" style="text-decoration:none;color:#111111" target="_blank"> | |
#end## | |
$cms.template("Long Text") | |
#if ($rightlinks.get($right1) != "" && !$util.isNull($rightlinks.get($right1)))## | |
</a> | |
#end## | |
#if ($rightlinks.get($right1) != "" && !$util.isNull($rightlinks.get($right1)))## | |
<a href="$rightlinks.get($right1)" target="_blank" style="color:black; text-decoration:none"> | |
<img src="http://media.pennnet.com/designimages/morebtn.png" /> | |
</a> | |
</p> | |
#end## | |
#end## | |
</td></tr> | |
#end## | |
#end## | |
</table> | |
#set($addright1 = "added") | |
#set($articlecounter = 0) | |
#### | |
#end## | |
##END Buyers guide | |
##START White Papers | |
#if($addright2 == "add") | |
#if ($newsletter.right2header != "" && !$util.isNull($newsletter.right2header))## | |
<table cellpadding="0" cellspacing="0" class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt; border-bottom:#E7E8E8 2px solid; padding-top:6px; margin:0; width:300px"> | |
<tr> | |
<td> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
<tr> | |
<td style="padding-top:2px"> | |
<table class="share" style="mso-table-lspace:0pt;mso-table-rspace:0pt; width:300px; margin-bottom:2px; margin-left:0px; margin-top:0px; border:#E7E8E8 1px solid" cellpadding="0" cellspacing="0"> | |
<tr><td colspan="2" style="background-color:#e7e8e8"> | |
<p class="share" style="width:290px;margin-left:4px; margin-top:5px; margin-bottom:5px; color:#333333;font-size:15px;font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; line-height:18px; text-transform:uppercase">$newsletter.right2header</p> | |
#end## | |
</td></tr> | |
#foreach ($right2 in [4..7])## | |
#if ($rightlinks.get($right2) != "" && !$util.isNull($rightlinks.get($right2))||$rightsummaries.get($right2) != "" && !$util.isNull($rightsummaries.get($right2))) | |
<tr><td colspan="2" style="border-top:#E7E8E8 1px solid"> | |
#if ($rightheadlines.get($right2) != "" && !$util.isNull($rightheadlines.get($right2))) | |
<h1 style="margin:8px 2px 3px 6px; text-align:left; font-weight:300; $mainfontface"> | |
#if ($rightlinks.get($right2) != "" && !$util.isNull($rightlinks.get($right2))) | |
<a href="$rightlinks.get($right2)" style="text-decoration:none;color:#333333;font-weight:700" target="_blank"> | |
#end## | |
$rightheadlines.get($right2) | |
#if ($rightlinks.get($right2) != "" && !$util.isNull($rightlinks.get($right2))) | |
</a> | |
#end## | |
</h1> | |
#end## | |
#if ($rightsummaries.get($right2) != "" && !$util.isNull($rightsummaries.get($right2)))## | |
#set ($longtext = $rightsummaries.get($right2))## | |
<p style="margin: 3px 2px 0px 6px; text-align:left; $bodyfontface"> | |
#if ($rightlinks.get($right2) != "" && !$util.isNull($rightlinks.get($right2)))## | |
<a href="$rightlinks.get($right2)" style="text-decoration:none;color:#111111" target="_blank"> | |
#end## | |
$cms.template("Long Text") | |
#if ($rightlinks.get($right2) != "" && !$util.isNull($rightlinks.get($right2)))## | |
</a> | |
#end## | |
</p> | |
#end## | |
</td></tr> | |
<tr> | |
<td> | |
#if($rightpics.get($right2))## | |
#if ($rightlinks.get($right2) != "" && !$util.isNull($rightlinks.get($right2)))## | |
<p style="margin: 0px 2px 0px 6px; text-align:left; $bodyfontface"><a href="$rightlinks.get($right2)" target="_blank"> | |
#end## | |
#set($maxwidth = 150) | |
#set($maxheight = 150) | |
#set($imgheight = $rightpics.get($right2).height) | |
#set($imgwidth = $rightpics.get($right2).width) | |
#if($rightpics.get($right2).width > $maxwidth) | |
#set($imgwidth = $maxwidth) | |
#set($ratio = $math.divide($imgwidth,$rightpics.get($right2).width)) | |
#set($imgheight = $math.multiply("$rightpics.get($right2).height","$ratio")) | |
#set($imgheight = $math.round($imgheight)) | |
#end## | |
#if($imgheight > $maxheight)## | |
#set($ratio = $math.divide($maxheight,$imgheight))## | |
#set($imgheight = $maxheight)## | |
#set($imgwidth = $math.multiply("$imgwidth","$ratio"))## | |
#set($imgwidth = $math.round($imgwidth))## | |
#end## | |
<img align="left" width="$imgwidth" height="$imgheight" src="$rightpics.get($right2).url" border="0" alt="$rightpics.get($right2).alt" style="margin-top:3px" /> | |
#if ($rightlinks.get($right2) != "" && !$util.isNull($rightlinks.get($right2)))## | |
</a></p> | |
#end## | |
#end## | |
</td> | |
<td> #if ($rightlinks.get($right2) != "" && !$util.isNull($rightlinks.get($right2)))## | |
<p style="margin: 0px 2px 0px 6px; text-align:left; $bodyfontface"><a href="$rightlinks.get($right2)" target="_blank" style="color:black; text-decoration:none"> | |
<img src="http://media.pennnet.com/designimages/morebtn.png" /> | |
</a></p> | |
#end## | |
</td></tr> | |
#end## | |
#end## | |
</table> | |
#set($addright2 = "added") | |
#set($articlecounter = 0) | |
#### | |
#end## | |
##END White Papers | |
</td> | |
</tr> | |
</table> | |
#end | |
#if($articlecounter == 0 && $addright2 == "added" && $mainopen == "true"|| $articlecounter == 0 && $addright1 == "added" && $mainopen == "true"|| $articlecounter == 0 && $dropad >= 1 && $mainopen == "true" || $articlecounter == 0 && $dropwidget >= 1 && $mainopen == "true" || $x == 19 && $mainopen == "true") | |
</td></tr></table> | |
</td> | |
</tr></table> | |
</td> | |
</tr></table> | |
#set($mainopen = "false") | |
#end | |
#end | |
#if($newsletter.textadbanner4 && $newsletter.issuetype.toLowerCase()!= "ia show daily") | |
<table class="wrapper" align="center" border="0" cellpadding="0" cellspacing="0" style= | |
"mso-table-lspace:0pt;mso-table-rspace:0pt;width: 750px;"> | |
<tr valign="top"> | |
<td style="background-color: #FFFFFF; border-left: solid #E4E4E4 1px;padding:2px;border-right: solid #E4E4E4 1px; margin:1px; padding-top:10px"> | |
#set ($adimg = "") | |
#set ($adlink = $string.trim($newsletter.textadlink4))## | |
#set ($imgsrc = $string.trim($newsletter.textadbanner4.url))## | |
#set ($adheader = $newsletter.textadheader4)## | |
#set ($alttext = $string.trim($newsletter.textadbanner4).altText)## | |
#set ($adtext = $newsletter.textad4)## | |
#set ($adlinktext = $newsletter.textadlinktext4)## | |
#set ($adimg = $newsletter.textadbanner4)## | |
#if ($adimg.width > 300) | |
<table class="contenttable" border="0" cellpadding="0" cellspacing="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-top:#E4E4E4 1px solid; padding:5px 1px 5px 1px; margin:0px auto; width:746px"> | |
<tr valign="top"> | |
<td><p style="width:746; margin:0px auto; text-align:center"> | |
<a href="$adlink"> | |
<img src="$adimg.url" alt="$adimg.altText" style="max-width:98%;outline:none;text-decoration:none;-ms-interpolation-mode:bicubic;image-rendering:optimizeQuality;display:block;margin:10px auto" border="0" /> | |
</a></p> | |
</td> | |
</tr> | |
</table> | |
#else | |
<table border="0" cellpadding="0" cellspacing="0" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-bottom:#E4E4E4 1px solid;padding:5px 1px 5px 1px; margin:0px auto; width:756px"> | |
<tr> | |
<td> | |
#if ($adtext != "") | |
<p style="color:#9F9F9F; margin:4px 6px 2px 6px; text-align:left; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size: 13px; line-height:19px;"> | |
Sponsored Ad | |
</p> | |
#end | |
#if ($adimg.width == 300) | |
<p style="text-align:left; margin:6px 6px 6px 6px"> | |
#else | |
<p style="color:#1B52AC; margin:2px 6px 2px 6px; text-align:left; $headerfontface"> | |
#end | |
#if ($adimg.url != "" && !$util.isNull($adimg.url)) | |
#if ($adlink != "" && !$util.isNull($adlink)) | |
<a href="$adlink"> | |
#end | |
<img src="$adimg.url" alt="$adimg.altText" style="max-width:98%;outline:none;text-decoration:none;-ms-interpolation-mode:bicubic;image-rendering:optimizeQuality; #if ($adimg.width == 300) margin:0 #end" border="0" #if ($adimg.width != 300) align="left" #end /> | |
#if ($adlink != "" && !$util.isNull($adlink)) | |
</a> | |
#end | |
#if ($adimg.width < 295 && !$util.isNull($adtext)) | |
$spacer width="8" height="$adimg.height" align="left" > | |
#end | |
#if ($adimg.width >= 300) | |
</p> | |
#end | |
#end | |
#if ($adheader != "" && !$util.isNull($adheader)) | |
#if ($adimg.width == 300) | |
<p style="margin:6px 6px 2px 6px; color:#1B52AC; text-align:left; $headerfontface"> | |
#end | |
#if ($adlink != "" && !$util.isNull($adlink)) | |
<a href="$adlink" style="color:#343434; text-decoration:none;line-height:20px;"> | |
#end | |
$adheader | |
#if ($adlink != "" && !$util.isNull($adlink)) | |
</a> | |
#end | |
</p> | |
#end | |
#if ($adtext != "" && !$util.isNull($adtext)) | |
<p style= | |
"color:#585858; margin:4px 6px 2px 6px; text-align:left; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-size: 13px; color:#474747; line-height:18px; $bodyfontface"> | |
$adtext | |
</p> | |
#end | |
#if ($adlinktext != "" && !$util.isNull($adlinktext)) | |
<p style= | |
"color:#4D4D4D; margin:2px 12px 3px 8px; text-align:right; padding-bottom:2px; $secondheaderfontface"> | |
#if ($adlink != "" && !$util.isNull($adlink)) | |
<a href="$adlink" style="text-decoration:underline"> | |
#end | |
$adlinktext » | |
#if ($adlink != "" && !$util.isNull($adlink)) | |
</a> | |
#end | |
</p> | |
#end | |
</td> | |
</tr> | |
</table> | |
#end | |
#set ($adlink = "") | |
#set ($imgsrc = "") | |
#set ($adheader = "") | |
#set ($alttext = "") | |
#set ($adtext = "") | |
#set ($adlinktext = "") | |
#set ($adimg = "") | |
</td></tr></table> | |
#end | |
<table class="wrapper" align="center" border="0" cellpadding="0" cellspacing="0" style= | |
"mso-table-lspace:0pt;mso-table-rspace:0pt;width: 750px;"> | |
<tr valign="top"> | |
<td style="background-color: #FFFFFF; border-left: solid #E4E4E4 1px;padding:2px;border-right: solid #E4E4E4 1px; margin:1px; padding-top:10px; padding:15px 7px;border-top:#E4E4E4 1px solid;"> | |
<table class="contenttable" cellpadding="0" cellspacing="0" style="margin:0px; width:744px"><tr><td> | |
<table align="left" class="lefttable" style="width:360px; margin-bottom:2px; margin-left:0px; margin-top:12px;" cellpadding="0" cellspacing="0"> | |
<tr> | |
<td colspan="2" style= | |
""> | |
<p style= | |
"margin:6px 6px;color:#333333; margin-top:0px; letter-spacing:.1em;font-size:12px;font-family:Arial, Helvetica sans-serif;"> | |
<strong>Contact Information</strong></p> | |
</td></tr> | |
<tr valign="top"><td style="width:195px"> | |
<p style="margin-left:6px; margin-top:2px; margin-bottom:4px; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; color: #474747; font-size: 14px; line-height:17px">For Advertising, contact:</p><p style="margin-left:12px; margin-top:2px; margin-bottom:0px; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; color: #474747; font-size: 14px; line-height:17px"><strong>Susan Smith</strong><br /> | |
+1 (603) 891-9260<br /><a href="mailto:susans@pennwell.com" style="text-decoration:none; color:#333333">susans@pennwell.com</a></p></td> | |
<td style=""> | |
<p style="margin-left:6px; margin-top:2px; margin-bottom:4px; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; color: #474747; font-size: 14px; line-height:17px">For Editorial, contact:</p><p style="margin-left:12px; margin-top:2px; margin-bottom:0px; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; color: #474747; font-size: 14px; line-height:17px"><strong>Patrick McLaughlin</strong><br />+1 (603) 891-9222<br /><a href="mailto:patrick@pennwell.com" style="text-decoration:none; color:#333333">patrick@pennwell.com</a></p></td> | |
</tr></table> | |
<table align="right" class="righttable" style="width:350px; margin-bottom:2px; margin-left:0px; margin-top:12px;" cellpadding="0" cellspacing="0"> | |
<tr> | |
<td colspan="2" style= | |
""> | |
<p style= | |
"margin:6px 6px;color:#333333; margin-top:0px; letter-spacing:.1em;font-size:12px;font-family:Arial, Helvetica sans-serif;"> | |
<strong> </strong></p> | |
</td></tr> | |
<tr valign="top"><td style="width:195px"> | |
<p style="margin-left:6px; margin-top:2px; margin-bottom:4px; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; color: #474747; font-size: 14px; line-height:17px">Send Press Releases to:</p><p style="margin-left:12px; margin-top:2px; margin-bottom:0px; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; color: #474747; font-size: 14px; line-height:17px"><strong>Matt Vincent</strong><br />+1 (603) 891-9262<br /><a href="mailto:mattv@pennwell.com" style="text-decoration:none; color:#333333">mattv@pennwell.com</a></p></td> | |
<td> | |
<p style="margin-left:6px; margin-top:2px; margin-bottom:4px; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; color: #474747; font-size: 14px; line-height:17px">For Subscription</p><p style="margin-left:12px; margin-top:2px; margin-bottom:0px; font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; color: #474747; font-size: 14px; line-height:17px">inquiries: <a href="http://www.cablinginstall.com/subscribe.html" style="color:#333333;text-decoration:underline">click here</a></p></td></tr> | |
</table> | |
</td></tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
<table class="wrapper" align="center" border="0" cellpadding="0" cellspacing="0" style= | |
"mso-table-lspace:0pt;mso-table-rspace:0pt;width: 750px;"> | |
<tr valign="top"> | |
<td style="background-color: #FFFFFF; border-left: solid #E4E4E4 1px;padding:2px;border-right: solid #E4E4E4 1px; margin:1px; padding:15px 7px;border-top:#E4E4E4 1px solid;"> | |
<table class="contenttable" cellpadding="0" cellspacing="0" style="width:744px; mso-table-lspace:0pt;mso-table-rspace:0pt;margin:0"> | |
<tr valign="top"> | |
<td> | |
<table style= | |
"margin:0px 10px 0 0; color:#666666;"> | |
<tr> | |
<td> | |
<p style= | |
"margin-left:6px;color:#333333; margin-top:0px; letter-spacing:.1em;font-size:11px;font-family:Arial, Helvetica sans-serif;">Keep | |
up with $brand's latest news on LinkedIn, Facebook, Twitter, RSS Feeds </p></td> | |
<td><a href= | |
"https://www.linkedin.com/company/3962332"> | |
<img border="0" src="http://media.pennnet.com/designimages/linkedin.png" /></a></td> | |
<td><a href= | |
"http://www.facebook.com/pages/Cabling-Installation-and-Maintenance/298118662118"> | |
<img border="0" src= | |
"http://media.pennnet.com/designimages/facebook.png" /></a></td> | |
<td><a href= | |
"http://twitter.com/CABLINGMAG"><img border="0" | |
src= | |
"http://media.pennnet.com/designimages/twitter.png" /></a></td> | |
<td><a href= | |
"http://www.cablinginstall.com/content/cim/en/rss.html"> | |
<img border="0" src="http://media.pennnet.com/designimages/rss1.png" /></a></td> | |
</tr> | |
</table> | |
</td></tr> | |
</table> | |
</td></tr> | |
</table> | |
<table class="wrapper" align="center" border="0" cellpadding="0" cellspacing="0" style= | |
"mso-table-lspace:0pt;mso-table-rspace:0pt;width: 750px;"> | |
<tr valign="top"> | |
<td style="background-color: #FFFFFF; border-left: solid #E4E4E4 1px;padding:2px;border-right: solid #E4E4E4 1px;border-bottom: solid #E4E4E4 1px; margin:1px; padding:15px 7px;border-top:#E4E4E4 1px solid;"> | |
<table class="contenttable" cellpadding="0" cellspacing="0" style="width:744px; mso-table-lspace:0pt;mso-table-rspace:0pt;margin:0"> | |
<tr valign="top"> | |
<td> | |
<p style= | |
"margin:10px 6px;color:#333333; letter-spacing:.1em;font-size:12px;font-family:Arial, Helvetica sans-serif;"> | |
<strong>Subscription Information</strong></p> | |
<p style= | |
"margin:10px 6px;color:#333333; letter-spacing:.1em;font-size:11px;font-family:Arial, Helvetica sans-serif;"> | |
$brand invites you to forward this newsletter to colleagues | |
or associates who might be interested <a href="http://%%emailtofriend%%" style="text-decoration:underline">Forward to a Friend</a>.</p> | |
<p style= | |
"margin:10px 6px;color:#333333; letter-spacing:.1em;font-size:11px;font-family:Arial, Helvetica sans-serif;"> | |
If you do not subscribe to $brand newsletters | |
but would like to, please: <a href="http://eforms.kmpsgroup.com/jointforms/Forms/Subscription.aspx?pubcode=CIM&step=form" style="text-decoration:underline">subscribe here</a> | |
</p> | |
<p style= | |
"margin:10px 6px;color:#333333; letter-spacing:.1em;font-size:11px;font-family:Arial, Helvetica sans-serif;"> | |
#if ($cms.content)## | |
If you are a current subscriber, you can unsubscribe from this newsletter at any time. | |
#else## | |
If you are a current subscriber, you can unsubscribe from this newsletter by clicking <a href="%%unsubscribelink%%">UNSUBSCRIBE</a>. | |
You may unsubscribe at any time. | |
#end## | |
Read our <a href="http://www.pennwell.com/index/privacy-policy.html" style="text-decoration:underline">privacy policy</a>. | |
Contact us by clicking <a href="http://www.pennwell.com/contact.html" style="text-decoration:underline">here</a>, or writing: | |
</p> | |
<p style= | |
"margin:10px 6px;color:#333333; letter-spacing:.1em;font-size:11px;font-family:Arial, Helvetica sans-serif;"> | |
PennWell Corporation<br /> | |
c/o E-mail Unsubscribe<br /> | |
1421 South Sheridan Road<br /> | |
Tulsa, OK 74112<br /> | |
USA</p> | |
<p style= | |
"margin:10px 6px;color:#333333; letter-spacing:.1em;font-size:11px;font-family:Arial, Helvetica sans-serif;"> | |
© $year PennWell Corporation. All Rights Reserved.<br> | |
<a href="mailto:emailsolutions@pennwell.com">emailsolutions@pennwell.com</a></p> | |
</td></tr> | |
</table> | |
</td></tr> | |
</table> | |
<table class="wrapper" align="center" border="0" cellpadding="0" cellspacing="0" style= | |
"mso-table-lspace:0pt;mso-table-rspace:0pt;width: 750px;"> | |
<tr valign="top"> | |
<td style="background-color: #FFFFFF; margin:1px; padding:15px 7px; margin-bottom:60px"> | |
<p style= | |
"margin-left:6px;color:#333333; margin-top:0px; letter-spacing:.1em;font-size:10px"> | |
</p> | |
</td> | |
</tr> | |
</table> | |
</td> | |
</tr> | |
</table> | |
## Include SiteCatalyst | |
## Call to Common SiteCatalyst Code Template when accessed via Archives only | |
## Otherwise, output Omeda tracking GIF | |
#if ($cms.content) | |
## START: SiteCatalyst Data | |
#set($scacc="penncim") | |
#set($linkinternal="cablinginstall.com") | |
$cms.template("Archive SiteCatalyst Template") | |
## STOP: SiteCatalyst Data | |
#else | |
<br /> | |
#end | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment