function emailContentsWrapper($contents = array(), $heading = null, $subHeading = null, $footerHeading = null) { $contentsWrapper = emailHeader(); $contentsWrapper .= '<tr> <td style="background:#FFFFFF; padding:20px 0;"><table width="650" border="0" cellspacing="0" cellpadding="0" align="center" style="background:#f4f4f4;"> ' . emialHeading($heading) . emailContentsHeading($subHeading); if ($contents) { $contentsWrapper .= '<tr> <td style="padding:0 10px 10px;"> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="background-color:#ffffff; border:2px solid #e6e6e6; font-family:Arial, Helvetica, sans-serif; font-size:15px; color:#000000;"> ' . emailContents($contents) . ' </table></td> </tr>'; } if ($footerHeading) { $contentsWrapper .= emailContentsHeading($footerHeading); } $contentsWrapper .= '</table></td> </tr>'; $contentsWrapper .= emailFooter(); return $contentsWrapper; }
<a class="phone-a" href="tel:<?php phoneHeader(); ?> "> <h3 class="banner-info"><?php phoneHeader(); ?> </h3> </a> <br> <a class="email-a" href="mailto:<?php emailHeader(); ?> "> <h3 class="banner-info"><?php emailHeader(); ?> </h3> </a> <br> <a class="address-a" href="#"> <h3 class="banner-info"><?php addressHeader(); ?> </h3> </a> </div> </div> </div> </div>