email.phtml 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. <?php
  2. /**
  3. * @version 7.10 [rev.7.10.01]
  4. */
  5. ?>
  6. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  7. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  8. <html xmlns="http://www.w3.org/1999/xhtml">
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  11. <meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" name="viewport"/>
  12. <title>Email</title>
  13. <!-- Latest compiled and minified CSS -->
  14. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
  15. integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
  16. <!-- Optional theme -->
  17. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css"
  18. integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
  19. <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"
  20. integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
  21. <link href="<?php echo $this->sitePath; ?>/css/style.global.css" rel="stylesheet">
  22. <style type="text/css">
  23. <!--
  24. body {
  25. background-color: #f2f2f2;
  26. }
  27. a {
  28. color: #f07057;
  29. text-decoration: none;
  30. }
  31. a:hover {
  32. color: #f07057;
  33. text-decoration: underline;
  34. }
  35. img {
  36. border: none;
  37. display: block;
  38. }
  39. .site-logo img {
  40. max-width: 75%;
  41. }
  42. .table {
  43. width: 100%;
  44. }
  45. .table td {
  46. font-family: sans-serif;
  47. font-size: 15px;
  48. }
  49. ul {
  50. list-style: none;
  51. padding-left: 0;
  52. margin: 1em 0;
  53. }
  54. -->
  55. @media only screen and (max-width: 640px) {
  56. body {
  57. width: 100% !important;
  58. }
  59. table table {
  60. width: 550px !important;
  61. }
  62. }
  63. @media only screen and (max-width: 320px) {
  64. body {
  65. width: 100% !important;
  66. }
  67. table table {
  68. width: 300px !important;
  69. }
  70. }
  71. </style>
  72. </head>
  73. <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  74. <table width="100% !important" height="100% !important" bgcolor="#f2f2f2" align="center" cellspacing="0" cellpadding="0"
  75. border="0"
  76. style="border-collapse:collapse!important;background-color:#f2f2f2;font-family:sans-serif;height:100%!important;margin:0;padding:0;width:100%!important">
  77. <tbody>
  78. <tr>
  79. <td width="100% !important" valign="top" height="100% !important" align="center"
  80. style="height:100%!important;margin:0;padding:0;width:100%!important">
  81. <table width="630" cellspacing="0" cellpadding="0" border="0"
  82. style="border-collapse:collapse!important;width:630px;">
  83. <tbody>
  84. <tr>
  85. <td valign="top" bgcolor="#f2f2f2" align="center"
  86. style="padding:10px 20px;background-color:#f2f2f2">
  87. <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="0" border="0"
  88. style="border-collapse:separate!important;border-radius:4px;background-color:#ffffff;padding:30px;border:1px solid #cccccc;border-bottom:1px solid #acacac">
  89. <tbody>
  90. <tr>
  91. <td valign="top" align="center">
  92. <table width="100%" cellspacing="0" cellpadding="0" border="0"
  93. style="border-collapse:collapse!important;width:100%;">
  94. <tbody>
  95. <tr>
  96. <td width="100%" valign="top" align="left"
  97. style="color:#444444;font-family:sans-serif;font-size:15px;line-height:150%;text-align:left">
  98. <table width="100%" cellspacing="0" cellpadding="0" border="0"
  99. style="border-collapse:collapse!important">
  100. <tbody>
  101. <tr>
  102. <td width="100.0%" valign="top" align="left"
  103. style="text-align:left;font-family:sans-serif;font-size:15px;line-height:1.5em;color:#444444" class="site-logo">
  104. <a href="<?php echo $this->sitePath; ?>"><img
  105. src="<?php echo $this->sitePath; ?>/<?php echo $this->siteLogo; ?>"
  106. alt=""/></a>
  107. </td>
  108. </tr>
  109. </tbody>
  110. </table>
  111. </td>
  112. </tr>
  113. <tr>
  114. <td width="100%" valign="top" align="left"
  115. style="font-weight:bold;color:#333;font-family:sans-serif;font-size:22px;line-height:160%;padding-top:20px;text-align:left;border-bottom: 1px solid #acacac; ">
  116. <?php echo $this->_($this->headerMessage); ?>
  117. </td>
  118. </tr>
  119. <tr>
  120. <td width="100%" valign="top" align="left"
  121. style="color:#444444;font-family:sans-serif;font-size:15px;line-height:150%;text-align:left;padding-top: 10px;">
  122. <!-- Add content here -->
  123. <?php echo $this->getContent(); ?>
  124. </td>
  125. </tr>
  126. </tbody>
  127. </table>
  128. </td>
  129. </tr>
  130. </tbody>
  131. </table>
  132. </td>
  133. </tr>
  134. <tr>
  135. <td valign="top" align="center">
  136. <table width="100%" bgcolor="#f2f2f2" align="center" cellspacing="0" cellpadding="0" border="0"
  137. style="border-collapse:collapse!important;background-color:#f2f2f2;color:#999999;font-family:sans-serif;font-size:12px;line-height:120%;padding-top:20px;padding-right:20px;padding-bottom:20px;padding-left:20px;text-align:center">
  138. <tbody>
  139. <tr>
  140. <td width="100%" valign="top" align="left"
  141. style="color:#444444;font-family:sans-serif;font-size:15px;line-height:150%;text-align:left">
  142. <table width="100%" cellspacing="0" cellpadding="0" border="0"
  143. style="border-collapse:collapse!important">
  144. <tbody>
  145. <tr>
  146. <td width="100.0%" valign="top" align="left"
  147. style="text-align:left;font-family:sans-serif;font-size:15px;line-height:1.5em;color:#444444">
  148. <p align="center"
  149. style="margin-bottom:1em;font-family:sans-serif;text-align:center;font-size:12px;line-height:1.34em;color:#999999;display:block">
  150. <!-- Add footer code here -->
  151. &copy;<?php echo date('Y'); ?>
  152. <a href="<?php echo $this->sitePath; ?>"
  153. style="color: #999;"><?php echo $this->siteName; ?></a>.
  154. All rights reserved.
  155. </p>
  156. </td>
  157. </tr>
  158. </tbody>
  159. </table>
  160. </td>
  161. </tr>
  162. </tbody>
  163. </table>
  164. </td>
  165. </tr>
  166. </tbody>
  167. </table>
  168. </td>
  169. </tr>
  170. </tbody>
  171. </table>
  172. </body>
  173. </html>