<html>

<head></head>

<body style="margin: 0!important;">
    <table style="width: 100%;background-color: #f3f3f3;border-collapse:collapse;table-layout:fixed;Margin-left:auto;Margin-right:auto;word-wrap:break-word;word-break:break-word;" align="center">
        <tbody>
            <tr>
                <td style="padding: 40px 0;text-align:left;vertical-align:top;font-family:Cabin,Avenir,sans-serif;width: 600px;">
                    <table style="width: 600px;border-collapse:collapse;table-layout:fixed;Margin-left:auto;Margin-right:auto;word-wrap:break-word;word-break:break-word;" align="center">
                        <tbody>
                            <tr>
                                <td style="text-align: center;vertical-align:top;color:#8e8e8e;font-size:14px;line-height:21px;font-family:Cabin,Avenir,sans-serif;width: 570px;padding: 15px;">
                                    <img alt="<?php echo $config['from_titulo']; ?>" src="<?php echo base_url(); ?>img/<?php echo $config['img_logo_email']; ?>" title="<?php echo $config['from_titulo']; ?>">
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    
                    <table style="border-collapse:collapse;border-radius: 10px;table-layout:fixed;Margin-left:auto;Margin-right:auto;word-wrap:break-word;word-break:break-word;background-color: #ffffff;background-position:0px 0px;"align="center">
                        <tbody>
                            <tr>
                                <td style="text-align: center;vertical-align:top;color:#8e8e8e;font-size:14px;line-height:21px;font-family:Cabin,Avenir,sans-serif;width: 600px;padding: 0;">
                                    <table style="table-layout:fixed;height: 150px;width: 100% !important;border-radius: 10px 10px 0 0;background: <?php echo $config['cor_principal']; ?>;" align="center">
                                        <tbody>
                                            <tr>
                                                <td>
                                                    <h1 style="text-align: center;color: #fff;font-size: 1.7em;font-weight: bold;margin-bottom: 0;"><?php echo $campanha;?></h1>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>

                                    <table style="border-collapse:collapse;table-layout:fixed;margin-left: auto;margin-right: auto;" align="center">
                                        <tbody>
                                            <tr>
                                                <td style="width: 100%;padding: 20px 40px;">
                                                    <table style="text-align: center;vertical-align:top;color: #7d7d7d;font-size: 16px;line-height: 28px;">
                                                        <tbody>
                                                            <tr>
                                                                <td>
                                                                    
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <?php echo $mensagem?>
                                                                    <hr style="margin:30px 0;border:1px solid #fdd9cb">
                                                                    <p style="font-size: 11px;">A sua privacidade é respeitada e os seus dados preservados. <span style="color:<?php echo $config['cor_principal']; ?>">Não praticamos spam</span>.</p>
                                                                </td>
                                                                <td>
                                                                    <img src="<?php echo base_url(); ?>newsletter/action/k8j6gf5563_img/<?php echo $key_log ?>">
                                                                </td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>

                                    <table style="border-collapse:collapse;border-radius: 0px 0px 9px 9px;table-layout:fixed;margin-left: auto;margin-right: auto;word-wrap:break-word;word-break:break-word;background-color: #ffffff;" align="center">
                                        <tbody>
                                            <tr>
                                                <td style="width: 570px;padding: 15px;"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <table style="table-layout: fixed;margin-top: 30px;margin-left: auto;margin-right: auto;" align="center">
                        <tbody>
                            <tr>
                                <td>
                                    <table>
                                        <tbody>
                                            <tr>
                                                <td>
                                                    <h2 style="margin: 15px 0;text-align:center;color: <?php echo $config['cor_principal']; ?>;font-size: 1.2em;">Siga-nos</h2>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <table style="table-layout:fixed;Margin:auto">
                                                        <tbody>
                                                            <tr>
                                                                <td style=" padding: 10px;">
                                                                    <a href="https://www.facebook.com/ViewBrasil.Mkt.Digital" target="_blank"><img alt="View Brasil - Marketing Digital" src="<?php echo base_url(); ?>assets/img/ico-fb.png" title="View Brasil - Marketing Digital"></a>
                                                                </td>
                                                                <td style="padding: 10px;">
                                                                    <a href="https://plus.google.com/105125149737954574452/about" target="_blank"><img alt="View Brasil - Marketing Digital" src="<?php echo base_url(); ?>assets/img/ico-g.png" title="View Brasil - Marketing Digital"></a>
                                                                </td>
                                                                <td style="padding: 10px;">
                                                                    <a href="http://instagram.com/viewbrasil" target="_blank"><img alt="View Brasil - Marketing Digital" src="<?php echo base_url(); ?>assets/img/ico-inst.png" title="View Brasil - Marketing Digital"></a>
                                                                </td>
                                                                <td style="padding: 10px;">
                                                                    <a href="https://www.linkedin.com/company/view-brasil---marketing-digital" target="_blank"><img alt="View Brasil - Marketing Digital" src="<?php echo base_url(); ?>assets/img/ico-in.png" title="View Brasil - Marketing Digital"></a>
                                                                </td>
                                                                <td style="padding: 10px;">
                                                                    <a href="https://br.pinterest.com/viewbrasil/" target="_blank"><img alt="View Brasil - Marketing Digital" src="<?php echo base_url(); ?>assets/img/ico-ptt.png" title="View Brasil - Marketing Digital"></a>
                                                                </td>
                                                                <td style="padding: 10px;">
                                                                    <a href="https://twitter.com/viewbrasil_mkt" target="_blank"><img alt="View Brasil - Marketing Digital" src="<?php echo base_url(); ?>assets/img/ico-twit.png" title="View Brasil - Marketing Digital"></a>
                                                                </td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <h2 style="margin: 15px 0;text-align:center;color: <?php echo $config['cor_principal']; ?>;font-size: 1.2em;">Contate-nos</h2>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="text-align:center;color:#295779;">
                                                    <p>
                                                        <span style="text-decoration: none;color: <?php echo $config['cor_principal']; ?>;font-weight: bold;">contato@qiclub.com.br</span> | 
                                                        <a href="<?php echo base_url(); ?>" style="text-decoration:none;color: <?php echo $config['cor_principal']; ?>;font-weight:bold;" target="_blank">www.qiclub.com.br</a>
                                                    </p>
                                                    <!--<p>Edifício Taguatinga Trade Center, Salas 616/617, Taguatinga/DF</p>-->
                                                    <!--<p>Telefone: 055 61 3042-6046</p>-->
                                                    <p style="margin-bottom:15px"><a style="border-radius:4px;display:inline-block;font-weight:bold;text-align:center;text-decoration:none!important;color:#fff;background-color: <?php echo $config['cor_principal']; ?>;font-family:Cabin,Avenir,sans-serif;font-size:20px;line-height:24px;padding:15px 65px;" href="<?php echo base_url().'newsletter/action/jhu68fkj405kfj78jy7ht6h/'.$key_log ; ?>" target="_blank">Encontre-nos no Google Maps</a></p>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="text-align:center;color:#295779">
                                                    <p style="Margin-top:0;Margin-bottom:0px;font-size:14px;line-height:50px">© Copyright 2016 QiClub | Todos direitos reservados</p>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
<script type="text/javascript">/* <![CDATA[ */(function(d,s,a,i,j,r,l,m,t){try{l=d.getElementsByTagName('a');t=d.createElement('textarea');for(i=0;l.length-i;i++){try{a=l[i].href;s=a.indexOf('/cdn-cgi/l/email-protection');m=a.length;if(a&&s>-1&&m>28){j=28+s;s='';if(j<m){r='0x'+a.substr(j,2)|0;for(j+=2;j<m&&a.charAt(j)!='X';j+=2)s+='%'+('0'+('0x'+a.substr(j,2)^r).toString(16)).slice(-2);j++;s=decodeURIComponent(s)+a.substr(j,m-j)}t.innerHTML=s.replace(/</g,'&lt;').replace(/>/g,'&gt;');l[i].href='mailto:'+t.value}}catch(e){}}}catch(e){}})(document);/* ]]> */</script></body>

</html>