diff options
Diffstat (limited to 'intern.gospeladlershof.de/code/template')
| -rw-r--r-- | intern.gospeladlershof.de/code/template/html_mail.php | 250 | ||||
| -rw-r--r-- | intern.gospeladlershof.de/code/template/text_mail.php | 10 |
2 files changed, 260 insertions, 0 deletions
diff --git a/intern.gospeladlershof.de/code/template/html_mail.php b/intern.gospeladlershof.de/code/template/html_mail.php new file mode 100644 index 0000000..0389e64 --- /dev/null +++ b/intern.gospeladlershof.de/code/template/html_mail.php @@ -0,0 +1,250 @@ +<!doctype html> +<html> +<head> +<meta name="viewport" content="width=device-width"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>Gospelchor Adlershof | Login</title> +<style> +/* ------------------------------------- + GLOBAL +------------------------------------- */ +* { + font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; + font-size: 100%; + line-height: 1.6em; + margin: 0; + padding: 0; +} + +img { + max-width: 600px; + width: 100%; +} + +body { + -webkit-font-smoothing: antialiased; + height: 100%; + -webkit-text-size-adjust: none; + width: 100% !important; +} + + +/* ------------------------------------- + ELEMENTS +------------------------------------- */ +a { + color: #3083D6; +} + +.btn-primary { + Margin-bottom: 10px; + width: auto !important; +} + +.btn-primary td { + background-color: #3083D6; + border-radius: 25px; + font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; + font-size: 14px; + text-align: center; + vertical-align: top; +} + +.btn-primary td a { + background-color: #3083D6; + border: solid 1px #3083D6; + border-radius: 25px; + border-width: 10px 20px; + display: inline-block; + color: #ffffff; + cursor: pointer; + font-weight: bold; + line-height: 2; + text-decoration: none; +} + +.last { + margin-bottom: 0; +} + +.first { + margin-top: 0; +} + +.padding { + padding: 10px 0; +} + + +/* ------------------------------------- + BODY +------------------------------------- */ +table.body-wrap { + padding: 20px; + width: 100%; +} + +table.body-wrap .container { + border: 1px solid #f0f0f0; +} + + +/* ------------------------------------- + FOOTER +------------------------------------- */ +table.footer-wrap { + clear: both !important; + width: 100%; +} + +.footer-wrap .container p { + color: #666666; + font-size: 12px; + +} + +table.footer-wrap a { + color: #999999; +} + + +/* ------------------------------------- + TYPOGRAPHY +------------------------------------- */ +h1, +h2, +h3 { + color: #111111; + font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; + font-weight: 200; + line-height: 1.2em; + margin: 40px 0 10px; +} + +h1 { + font-size: 36px; +} +h2 { + font-size: 28px; +} +h3 { + font-size: 22px; +} + +p, +ul, +ol { + font-size: 14px; + font-weight: normal; + margin-bottom: 10px; +} + +ul li, +ol li { + margin-left: 5px; + list-style-position: inside; +} + +/* --------------------------------------------------- + RESPONSIVENESS +------------------------------------------------------ */ + +/* 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 { + clear: both !important; + display: block !important; + Margin: 0 auto !important; + max-width: 600px !important; +} + +/* Set the padding on the td rather than the div for Outlook compatibility */ +.body-wrap .container { + padding: 20px; +} + +/* This should also be a block element, so that it will fill 100% of the .container */ +.content { + display: block; + margin: 0 auto; + max-width: 600px; +} + +/* Let's make sure tables in the content area are 100% wide */ +.content table { + width: 100%; +} + +</style> +</head> + +<body bgcolor="#f6f6f6"> + +<!-- body --> +<table class="body-wrap" bgcolor="#f6f6f6"> + <tr> + <td></td> + <td class="container" bgcolor="#FFFFFF"> + + <!-- content --> + <div class="content"> + <table> + <tr> + <td> + <h1>Gospelchor Adlershof</h1> + <p>Hallo,</p> + <p>um dich auf der Website des Gospelchors einzuloggen, folge bitte diesem Link:</p> + <!-- button --> + <table class="btn-primary" cellpadding="0" cellspacing="0" border="0"> + <tr> + <td> + <a href="https://intern.gospeladlershof.de/code/check_login.php?email=<?php echo htmlentities($mail); ?>&hash=<?php echo $hash; ?>" title="Einloggen">Hier klicken um zur Website des Gospelchors zu kommen</a> + </td> + </tr> + </table> + <!-- /button --> + <p>Der Link verfällt innerhalb 24h.</p> + <p>Sollte der Link nicht funktionieren, dein Authentifizierungscode lautet <strong><?php echo $hash; ?></strong>.</p> + <!--p>Wenn du diese E-Mail nicht erwartet hast, bitte ignoriere sie.</p--> + <p>Viele Gr<?php echo htmlentities("üß"); ?>, <br> + der Gospelchor</p> + <p><a href="https://www.gospeladlershof.de/" title="Website des Gospelchors">Website des Gospelchors</a></p> + <p><a href="https://intern.iamfabulous.de/mailman/private/chor" title="Archiv der Mailing Liste">Archiv der Mailing Liste</a></p> + </td> + </tr> + </table> + </div> + <!-- /content --> + + </td> + <td></td> + </tr> +</table> +<!-- /body --> + +<!-- footer --> +<table class="footer-wrap"> + <tr> + <td></td> + <td class="container"> + + <!-- content --> + <div class="content"> + <table> + <tr> + <td align="center"> + <p><a href="https://www.complicissimus.de/">Maximilian Möhring</a> + </p> + </td> + </tr> + </table> + </div> + <!-- /content --> + + </td> + <td></td> + </tr> +</table> +<!-- /footer --> + +</body> +</html> diff --git a/intern.gospeladlershof.de/code/template/text_mail.php b/intern.gospeladlershof.de/code/template/text_mail.php new file mode 100644 index 0000000..7e67be7 --- /dev/null +++ b/intern.gospeladlershof.de/code/template/text_mail.php @@ -0,0 +1,10 @@ +Hallo, + +um dich auf der Webseite des Gospelchors einzuloggen, folge bitte diesem Link: +https://intern.gospeladlershof.de/code/check_login.php?email=<?php echo htmlentities($mail);>&hash=<?php echo $hash; ?> + +Der Link verfällt innerhalb 24h. +Sollte der Link nicht funktionieren, dein Authentifizierungscode lautet <?php echo $hash; ?>. + +Viele Grüße, +der Gospelchor |
