HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/frenchy/www/_trash/wp-content/themes/biig/functions/advanced-form-template-email.inc.php
<?php

// -------------------------------------------------
// Styles CSS du mail
// -------------------------------------------------
function template_styles_email()
{
    return '
    /* Fixes */
    .ReadMsgBody {
        width: 100%;
        background-color: #fff;
    }

    .ExternalClass {
        width: 100%;
        background-color: #fff;
    }

    .ExternalClass * {
        line-height: 100%;
    }

    /* Common */
    body {
        width: 100%;
        background-color: #fff;
        margin: 0;
        padding: 0;
        -webkit-font-smoothing: antialiased;
        -webkit-text-size-adjust: none;
        -ms-text-size-adjust: none;
        font-family: Arial, Helvetica, sans-serif;
    }

    table {
        border-collapse: collapse;
        border: 0;
        border-color: transparent;
    }

    tbody,
    tr,
    th,
    td {
        border: 0;
        border-color: transparent;
    }

    body[yahoo] img,
    img {
        border: 0;
        display: block;
        margin: 0 auto;
    }

    body[yahoo] tr,
    tr {
        clear: both !important;
    }

    @media only screen and (max-width: 640px) {
        body[yahoo] .deviceWidth,
        .deviceWidth {
            width: 480px !important;
            float: none !important;
            padding: 0;
            display: block !important;
            clear: both !important;
            height: auto !important;
        }

        body[yahoo] .widthAuto,
        .widthAuto {
            width: auto !important;
            float: none !important;
            padding: 0;
            display: block !important;
            clear: both !important;
            height: auto !important;
        }

        body[yahoo] .mobileHidden,
        .mobileHidden {
            display: none !important;
        }

        body[yahoo] img,
        img {
            max-width: 100% !important;
            height: auto !important;
        }
    }

    @media only screen and (max-width: 479px) {
        body[yahoo] .deviceWidth,
        .deviceWidth {
            width: 300px !important;
            padding: 0;
        }
    }
 ';
}

// -------------------------------------------------
// Header du mail
// -------------------------------------------------
function template_header_email()
{
    return '<table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
    <tbody>
    <tr>
        <td>
            <center>
                <!-- spacer begin -->
                <table style="display:block;width:100%;clear:both;" width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff" width="640" class="deviceWidth">
                    <tbody>
                    <tr>
                        <td height="30">&nbsp;</td>
                    </tr>
                    </tbody>
                </table><!-- spacer end -->
                <table width="640" cellspacing="0" cellpadding="0" align="center" bgcolor="#fafafa" class="deviceWidth">
                    <tbody>
                    <tr>
                        <td align="left">
                            <table id="header" border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#fafafa" class="deviceWidth">
                                <tbody>
                                <tr>
                                    <td bgcolor="#fafafa">
                                        <img src="https://s3-eu-west-1.amazonaws.com/biig.frenchamerican/site-email/header.png" alt="French-American Foundation" />
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                            <table id="content" style="color: #000;font-family: Arial, Verdana, sans-serif;" border="0" width="640" cellspacing="0" cellpadding="0" bgcolor="#fafafa" class="deviceWidth">
                                <tbody>
                                <tr>
                                    <td align="left" valign="top" width="80" class="mobileHidden">&nbsp;</td>
                                    <td align="left" valign="top" width="20">&nbsp;</td>
                                    <td align="left" valign="top" width="440" class="widthAuto" style="font-family:Arial, Verdana, sans-serif;">



        ';
}


// -------------------------------------------------
// Footer du mail
// -------------------------------------------------
function template_footer_email()
{
    return '</td>
    <td align="left" valign="top" width="20">&nbsp;</td>
    <td align="left" valign="top" width="80" class="mobileHidden">&nbsp;</td>
</tr>
</tbody>
</table>
<!-- spacer begin -->
<table style="display:block;width:100%;clear:both;" width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#fafafa">
<tbody>
<tr>
    <td height="60">&nbsp;</td>
</tr>
</tbody>
</table><!-- spacer end -->
<table id="footer" border="0" width="640" cellspacing="0" cellpadding="0" bgcolor="#014681" class="deviceWidth">
<tbody>
<tr>
    <td height="16" bgcolor="#014681">&nbsp;</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</center>
</td>
</tr>
</tbody>
</table>
      ';
}