Вход Регистрация
Файл: sngine-v2.8/Script/content/themes/default/templates/emails/test_email.html
Строк: 234
<?php
<!doctype html>
<
html>
  <
head>
    <
meta name="viewport" content="width=device-width" />
    <
meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <
title>{$template_subject}</title>
    <
style>
      
/* -------------------------------------
          GLOBAL RESETS
      ------------------------------------- */
      
      /*All the styling goes here*/
      
      
img {
        
bordernone;
        -
ms-interpolation-modebicubic;
        
max-width100%; 
      }

      
body {
        
background-color#f6f6f6;
        
font-familysans-serif;
        -
webkit-font-smoothingantialiased;
        
font-size14px;
        
line-height1.4;
        
margin0;
        
padding0;
        -
ms-text-size-adjust100%;
        -
webkit-text-size-adjust100%; 
      }

      
table {
        
border-collapseseparate;
        
mso-table-lspace0pt;
        
mso-table-rspace0pt;
        
width100%; }
        
table td {
          
font-familysans-serif;
          
font-size14px;
          
vertical-aligntop
      }

      
/* -------------------------------------
          BODY & CONTAINER
      ------------------------------------- */

      
.body {
        
background-color#f6f6f6;
        
width100%; 
      }

      
/* Set a max-width, and make it display as block so it will automatically stretch to that width, but will also shrink down on a phone or something */
      
.container {
        
displayblock;
        
margin0 auto !important;
        
/* makes it centered */
        
max-width580px;
        
padding10px;
        
width580px
      }

      
/* This should also be a block element, so that it will fill 100% of the .container */
      
.content {
        
box-sizingborder-box;
        
displayblock;
        
margin0 auto;
        
max-width580px;
        
padding10px
      }

      
/* -------------------------------------
          HEADER, FOOTER, MAIN
      ------------------------------------- */
      
.main {
        
background#ffffff;
        
border-radius3px;
        
width100%; 
      }

      .
wrapper {
        
box-sizingborder-box;
        
padding20px
      }

      .
content-block {
        
padding-bottom10px;
        
padding-top10px;
      }

      .
footer {
        
clearboth;
        
margin-top10px;
        
text-aligncenter;
        
width100%; 
      }
        .
footer td,
        .
footer p,
        .
footer span,
        .
footer a {
          
color#999999;
          
font-size12px;
          
text-aligncenter
      }

      
/* -------------------------------------
          TYPOGRAPHY
      ------------------------------------- */
      
h1,
      
h2,
      
h3,
      
h4 {
        
color#000000;
        
font-familysans-serif;
        
font-weight400;
        
line-height1.4;
        
margin0;
        
margin-bottom30px
      }

      
h1 {
        
font-size35px;
        
font-weight300;
        
text-aligncenter;
        
text-transformcapitalize
      }

      
p,
      
ul,
      
ol {
        
font-familysans-serif;
        
font-size14px;
        
font-weightnormal;
        
margin0;
        
margin-bottom15px
      }
        
p li,
        
ul li,
        
ol li {
          list-
style-positioninside;
          
margin-left5px
      }

      
{
        
color#3498db;
        
text-decorationunderline
      }

      
/* -------------------------------------
          BUTTONS
      ------------------------------------- */
      
.btn {
        
box-sizingborder-box;
        
width100%; }
        .
btn tbody tr td {
          
padding-bottom15px; }
        .
btn table {
          
widthauto
      }
        .
btn table td {
          
background-color#ffffff;
          
border-radius5px;
          
text-aligncenter
      }
        .
btn a {
          
background-color#ffffff;
          
bordersolid 1px #3498db;
          
border-radius5px;
          
box-sizingborder-box;
          
color#3498db;
          
cursorpointer;
          
displayinline-block;
          
font-size14px;
          
font-weightbold;
          
margin0;
          
padding12px 25px;
          
text-decorationnone;
          
text-transformcapitalize
      }

      .
btn-primary table td {
        
background-color#3498db; 
      
}

      .
btn-primary a {
        
background-color#3498db;
        
border-color#3498db;
        
color#ffffff; 
      
}

      
/* -------------------------------------
          OTHER STYLES THAT MIGHT BE USEFUL
      ------------------------------------- */
      
.last {
        
margin-bottom0
      }

      .
first {
        
margin-top0
      }

      .
align-center {
        
text-aligncenter
      }

      .
align-right {
        
text-alignright
      }

      .
align-left {
        
text-alignleft
      }

      .
clear {
        
clearboth
      }

      .
mt0 {
        
margin-top0
      }

      .
mb0 {
        
margin-bottom0
      }

      .
preheader {
        
colortransparent;
        
displaynone;
        
height0;
        
max-height0;
        
max-width0;
        
opacity0;
        
overflowhidden;
        
mso-hideall;
        
visibilityhidden;
        
width0
      }

      .
powered-by a {
        
text-decorationnone
      }

      
hr {
        
border0;
        
border-bottom1px solid #f6f6f6;
        
margin20px 0
      }

      
/* -------------------------------------
          RESPONSIVE AND MOBILE FRIENDLY STYLES
      ------------------------------------- */
      
@media only screen and (max-width620px) {
        
table[class=bodyh1 {
          
font-size28px !important;
          
margin-bottom10px !important
        }
        
table[class=bodyp,
        
table[class=bodyul,
        
table[class=bodyol,
        
table[class=bodytd,
        
table[class=bodyspan,
        
table[class=body{
          
font-size16px !important
        }
        
table[class=body] .wrapper,
        
table[class=body] .article {
          
padding10px !important
        }
        
table[class=body] .content {
          
padding!important
        }
        
table[class=body] .container {
          
padding!important;
          
width100% !important
        }
        
table[class=body] .main {
          
border-left-width!important;
          
border-radius!important;
          
border-right-width!important
        }
        
table[class=body] .btn table {
          
width100% !important
        }
        
table[class=body] .btn a {
          
width100% !important
        }
        
table[class=body] .img-responsive {
          
heightauto !important;
          
max-width100% !important;
          
widthauto !important
        }
      }

      
/* -------------------------------------
          PRESERVE THESE STYLES IN THE HEAD
      ------------------------------------- */
      
@media all {
        .
ExternalClass {
          
width100%; 
        }
        .
ExternalClass,
        .
ExternalClass p,
        .
ExternalClass span,
        .
ExternalClass font,
        .
ExternalClass td,
        .
ExternalClass div {
          
line-height100%; 
        }
        .
apple-link a {
          
colorinherit !important;
          
font-familyinherit !important;
          
font-sizeinherit !important;
          
font-weightinherit !important;
          
line-heightinherit !important;
          
text-decorationnone !important
        }
        
#MessageViewBody a {
          
colorinherit;
          
text-decorationnone;
          
font-sizeinherit;
          
font-familyinherit;
          
font-weightinherit;
          
line-heightinherit;
        }
        .
btn-primary table td:hover {
          
background-color#34495e !important; 
        
}
        .
btn-primary a:hover {
          
background-color#34495e !important;
          
border-color#34495e !important; 
        

      }

    </
style>
  </
head>
  <
body class="">
    <
table role="presentation" border="0" cellpadding="0" cellspacing="0" class="body">
      <
tr>
        <
td>&nbsp;</td>
        <
td class="container">
          <
div class="content">

            <!-- 
START CENTERED WHITE CONTAINER -->
            <
table role="presentation" class="main">

              <!-- 
START MAIN CONTENT AREA -->
              <
tr>
                <
td class="wrapper">
                  <
table role="presentation" border="0" cellpadding="0" cellspacing="0">
                    <
tr>
                      <
td>
                        <
p>{__("Hi")},</p>
                        <
p>{__("This is a test email")}</p>
                        <
p>{$system['system_title']} {__("Team")}</p>
                      </
td>
                    </
tr>
                  </
table>
                </
td>
              </
tr>

            <!-- 
END MAIN CONTENT AREA -->
            </
table>
            <!-- 
END CENTERED WHITE CONTAINER -->

          </
div>
        </
td>
        <
td>&nbsp;</td>
      </
tr>
    </
table>
  </
body>
</
html>
?>
Онлайн: 0
Реклама