203 lines
10 KiB
PHP
203 lines
10 KiB
PHP
<?php
|
|
$subject = 'WebSite 1.0 is coming to an end - choose how to proceed';
|
|
|
|
// Oprava kodovani predmetu (diakritika/emoji se u nekterych klientu - Kolab, iCloud - zobrazovaly rozbite)
|
|
$subject = mb_encode_mimeheader($subject, 'UTF-8', 'B', "\r\n");
|
|
|
|
$header_image_url = 'https://sodew.ai/img/vedos-header-image.jpg';
|
|
|
|
// TODO: over / dopln skutecnou cilovou URL pro zalozeni noveho webu ve sluzbe Website SODEW
|
|
$new_website_url = 'https://vedos.cz/website-sodew/';
|
|
$more_info_url = 'https://vedos.cz/website-1-0-konec/';
|
|
|
|
$message = '
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<style type="text/css">
|
|
body { margin:0; padding:0; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; }
|
|
table, td { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; }
|
|
img { border:0; height:auto; line-height:100%; outline:none; text-decoration:none; -ms-interpolation-mode:bicubic; }
|
|
p { display:block; margin:0; }
|
|
</style>
|
|
</head>
|
|
<body style="word-spacing:normal;background-color:#f4f4f4;">
|
|
<div style="background-color:#f4f4f4;">
|
|
|
|
<div style="background:#ffffff;margin:0px auto;max-width:600px;">
|
|
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#ffffff;width:100%;">
|
|
<tbody>
|
|
<tr>
|
|
<td style="padding:0;text-align:center;">
|
|
<img src="'.$header_image_url.'" alt="VEDOS Hosting" style="width:100%;height:auto;display:block;">
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div style="background:#ffffff;margin:0px auto;max-width:600px;">
|
|
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#ffffff;width:100%;">
|
|
<tbody>
|
|
<tr>
|
|
<td align="center" style="padding:35px 30px 5px 30px;">
|
|
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:28px;font-weight:700;color:#2962ff;">WebSite 1.0 is ending</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" style="padding:5px 30px 10px 30px;">
|
|
<div style="font-family:\'Open Sans\', Helvetica, Arial, sans-serif;font-size:16px;color:#6d6d6d;">Choose how you would like to proceed</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" style="padding:0 30px 20px 30px;">
|
|
<div style="width:50px;height:3px;background-color:#2962ff;font-size:1px;line-height:1px;"> </div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding:0 30px 15px 30px;">
|
|
<div style="font-family:\'Open Sans\', Helvetica, Arial, sans-serif;font-size:15px;line-height:1.7em;color:#333;">
|
|
<p>Hello,</p>
|
|
<p> </p>
|
|
<p>you have a website'.$url_original_html.' with us in the WebSite 1.0 service. We will be gradually discontinuing this original service, and it will be replaced by the new <strong>Website SODEW</strong> solution, created in cooperation between SODEW, s.r.o. and VEDOS.</p>
|
|
<p> </p>
|
|
<p>We have prepared <strong>two options</strong> for how to proceed:</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding:10px 30px 0 30px;">
|
|
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:18px;font-weight:700;color:#2962ff;">1. Create a new website</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding:5px 30px 15px 30px;">
|
|
<div style="font-family:\'Open Sans\', Helvetica, Arial, sans-serif;font-size:15px;line-height:1.7em;color:#333;">
|
|
<p>If you want to start fresh, you can create a new website in the <strong>Website SODEW</strong> service.</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" style="padding:5px 30px 25px 30px;">
|
|
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:separate;width:280px;line-height:100%;">
|
|
<tbody>
|
|
<tr>
|
|
<td align="center" bgcolor="#2962ff" style="border:none;border-radius:15px;background:#2962ff;">
|
|
<a href="'.$new_website_url.'" target="_blank" style="display:inline-block;width:216px;background:#2962ff;color:#ffffff;font-family:\'Open Sans\', Helvetica, Arial, sans-serif;font-size:14px;font-weight:600;line-height:120%;margin:0;text-decoration:none;padding:16px 32px;border-radius:15px;">Create a new website</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding:10px 30px 0 30px;">
|
|
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:18px;font-weight:700;color:#2962ff;">2. Migrate your existing website</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding:5px 30px 15px 30px;">
|
|
<div style="font-family:\'Open Sans\', Helvetica, Arial, sans-serif;font-size:15px;line-height:1.7em;color:#333;">
|
|
<p>We have migrated your existing website for you to a new solution built on WordPress.</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding:0 30px 15px 30px;">
|
|
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;background-color:#f4f6fa;border-radius:8px;">
|
|
<tbody>
|
|
<tr>
|
|
<td style="padding:18px 20px;">
|
|
<div style="font-family:\'Open Sans\', Helvetica, Arial, sans-serif;font-size:15px;line-height:1.8em;color:#333;">
|
|
<p><strong>Login details:</strong></p>
|
|
<p>Email: '.$user_email.'</p>
|
|
<p>Password: '.$user_password.'</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding:5px 30px 15px 30px;">
|
|
<div style="font-family:\'Open Sans\', Helvetica, Arial, sans-serif;font-size:15px;line-height:1.7em;color:#333;">
|
|
<p>You have 30 days from delivery of this e-mail to log in for the first time.<br>After your first login, you will have another 30 days to try out the migrated website.</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" style="padding:5px 30px 10px 30px;">
|
|
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:separate;width:280px;line-height:100%;">
|
|
<tbody>
|
|
<tr>
|
|
<td align="center" bgcolor="#2962ff" style="border:none;border-radius:15px;background:#2962ff;">
|
|
<a href="'.$url_without_filename.'" target="_blank" style="display:inline-block;width:216px;background:#2962ff;color:#ffffff;font-family:\'Open Sans\', Helvetica, Arial, sans-serif;font-size:14px;font-weight:600;line-height:120%;margin:0;text-decoration:none;padding:16px 32px;border-radius:15px;">View migrated website</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" style="padding:5px 30px 25px 30px;">
|
|
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:separate;width:360px;line-height:100%;">
|
|
<tbody>
|
|
<tr>
|
|
<td align="center" bgcolor="#2962ff" style="border:none;border-radius:15px;background:#2962ff;">
|
|
<a href="'.$full_login_url.'" target="_blank" style="display:inline-block;width:296px;background:#2962ff;color:#ffffff;font-family:\'Open Sans\', Helvetica, Arial, sans-serif;font-size:14px;font-weight:600;line-height:120%;margin:0;text-decoration:none;padding:16px 32px;border-radius:15px;">Log in to your migrated website</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding:5px 30px 15px 30px;">
|
|
<div style="font-family:\'Open Sans\', Helvetica, Arial, sans-serif;font-size:15px;line-height:1.7em;color:#333;">
|
|
<p>You can find more detailed information about the discontinuation of the service, migration options and the new solution here:<br><a href="'.$more_info_url.'" style="color:#2962ff;text-decoration:underline;">vedos.cz/website-1-0-konec/</a></p>
|
|
<p> </p>
|
|
<p>If you do not use either option, your original website <strong>will no longer be available</strong> once the WebSite 1.0 service ends. We therefore recommend resolving this in time.</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding:15px 30px 30px 30px;">
|
|
<div style="font-family:\'Open Sans\', Helvetica, Arial, sans-serif;font-size:15px;line-height:1.7em;color:#333;">
|
|
<p>Kind regards,<br><strong>the VEDOS / SODEW team</strong></p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div style="background:#ffffff;margin:0px auto;max-width:600px;border-top:1px solid #e0e0e0;">
|
|
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#ffffff;width:100%;">
|
|
<tbody>
|
|
<tr>
|
|
<td style="padding:20px 25px 10px 25px;">
|
|
<div style="font-family:\'Open Sans\', Helvetica, Arial, sans-serif;font-size:14px;line-height:1.6;color:#4d4d4d;">
|
|
<p><strong style="color:#ff5a00;">VEDOS,</strong> a.s.<br>Masarykova 1230<br>373 41 Hluboká nad Vltavou<br>E-mail: <a href="mailto:obchod@vedos.cz" style="color:#2962ff;">obchod@vedos.cz</a><br>URL: <a href="https://vedos.cz" style="color:#2962ff;">https://www.vedos.cz</a></p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding:5px 25px 25px 25px;">
|
|
<div style="font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:11px;line-height:1.5;color:#6d6d6d;">
|
|
<p><a href="'.$unsubscribe_url.'" style="color:#6d6d6d;">Unsubscribe</a> from our e-mails.</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|
|
';
|
|
?>
|