167 lines
7.8 KiB
PHP
167 lines
7.8 KiB
PHP
<?php
|
|
if(isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1')
|
|
$subject = 'Elkészült az új WordPress oldala a SODEW AI tárhellyel!';
|
|
else
|
|
$subject = 'Elkészült az új weboldala a SODEW AI építővel!';
|
|
|
|
// Oprava kodovani predmetu (diakritika/emoji se u nekterych klientu - Kolab, iCloud - zobrazovaly rozbite)
|
|
$subject = mb_encode_mimeheader($subject, 'UTF-8', 'B', "\r\n");
|
|
|
|
$admin_edit_url = $url_without_filename.'wp-admin/site-editor.php?canvas=edit';
|
|
$admin_starter_url = $url_without_filename.'wp-admin/site-editor.php?canvas=edit&website-starter=1';
|
|
$lostpassword_url = $url_without_filename.'wp-login.php?action=lostpassword';
|
|
|
|
$message = '
|
|
<!DOCTYPE html>
|
|
<html lang="hu">
|
|
<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:#d0d0d0;">
|
|
<div style="font-size:1px;line-height:1px;display:none;color:#fff;max-height:0;max-width:0;opacity:0;overflow:hidden">Az új weboldala elkészült. Lent találja a bejelentkezési adatait.</div>
|
|
<div style="background-color:#d0d0d0;">
|
|
|
|
<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:30px 0 10px 0;text-align:center;">
|
|
<img src="https://sodew.ai/img/bg-logo.png" alt="Logo SODEW" style="max-width:400px;width:80%;height:auto;">
|
|
</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 style="padding:10px 30px;">
|
|
<div style="font-family:Arial, Helvetica, sans-serif;font-size:16px;line-height:1.5em;color:#333;">
|
|
<p>Kedves Ügyfelünk,</p>
|
|
<p> </p>
|
|
<p>'.((isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1') ? 'köszönjük, hogy a WordPress-hez az AI tárhelyünket használja! ❤️' : 'köszönjük, hogy a SODEW Website szolgáltatást használja! ❤️').'</p>
|
|
<p> </p>
|
|
<p>Az új weboldala mostantól elérhető. Lent találja az adminisztrációhoz szükséges bejelentkezési adatokat.</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" style="padding:15px 30px 25px 30px;">
|
|
<table border="0" cellpadding="0" cellspacing="0" role="presentation">
|
|
<tbody>
|
|
<tr>
|
|
<td align="center" style="border-radius:6px;background-color:#4CAF50;">
|
|
<a href="'.$admin_edit_url.'" target="_blank" style="display:inline-block;padding:14px 28px;font-family:Arial, Helvetica, sans-serif;font-size:16px;color:#ffffff;text-decoration:none;border-radius:6px;">Weboldal szerkesztése</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding:0 30px 20px 30px;">
|
|
<div style="font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:1.7em;color:#333;">
|
|
<p><strong>Információk a weboldaláról:</strong></p>
|
|
<p>🌐 <strong>Weboldal:</strong> <a href="'.$url_without_filename.'" style="color:#65278A;text-decoration:underline;">'.$url_without_filename.'</a></p>
|
|
<p>✉ <strong>Bejelentkezési e-mail:</strong> '.$user_email.'</p>
|
|
<p>🔒 <strong>Jelszó:</strong> '.$user_password.'</p>
|
|
<p>🔑 <strong>Bejelentkezés az adminisztrációba:</strong> <a href="'.$full_login_url.'" style="color:#65278A;text-decoration:underline;">Bejelentkezés</a></p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding:0 30px 20px 30px;">
|
|
<div style="font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:1.7em;color:#333;">
|
|
<p>Javasoljuk a jelszó megváltoztatását <a href="'.$lostpassword_url.'" style="color:#65278A;text-decoration:underline;">itt</a>.</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
';
|
|
|
|
if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') {
|
|
$message .= '
|
|
<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 30px 20px 30px;">
|
|
<div style="font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:1.7em;color:#333;">
|
|
<p>Ha valami nem sikerült, vagy új weboldallal szeretne kezdeni, kattintson <a href="'.$admin_starter_url.'" style="color:#65278A;text-decoration:underline;">ide</a>.</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
';
|
|
}
|
|
|
|
$message .= '
|
|
<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 30px 25px 30px;">
|
|
<div style="font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:1.7em;color:#333;">
|
|
<p>Amennyiben további kérdései vannak vagy segítségre van szüksége, látogasson el a <a href="https://docs.sodew.ai/" style="color:#65278A;text-decoration:underline;">súgó oldalunkra</a>.</p>
|
|
<p> </p>
|
|
<p>Sok sikert kívánunk az új weboldalához!</p>
|
|
<p> </p>
|
|
<p>Köszönjük,</p>
|
|
<p>SODEW csapata</p>
|
|
<p><a href="https://www.sodew.hu" style="color:#65278A;text-decoration:underline;">www.sodew.hu</a></p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div style="background:#000000;margin:0px auto;max-width:600px;">
|
|
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#000000;width:100%;">
|
|
<tbody>
|
|
<tr>
|
|
<td style="padding:30px 25px 10px 25px;text-align:center;">
|
|
<img src="https://sales.sodew.ai/media/images/logo_sodew_ai_white_shadow.png" alt="SODEW" style="width:150px;height:auto;">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" style="padding:10px 25px;">
|
|
<div style="font-family:Arial, Helvetica, sans-serif;font-size:12px;line-height:1.5;color:#ffffff;">
|
|
<p>SODEW LTD<br>Unit Q, 35 Astbury Road, London</p>
|
|
<p>United Kingdom SE15 2NL</p>
|
|
<p> </p>
|
|
<p>SODEW, s.r.o.<br>Masarykova 1230</p>
|
|
<p>373 41 Hluboká nad Vltavou</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center" style="padding:10px 25px 30px 25px;">
|
|
<div style="font-family:Arial, Helvetica, sans-serif;font-size:11px;line-height:1.5;color:#b3b3b3;">
|
|
<p>Ha nem szeretne további e-maileket kapni, akkor <a href="'.$unsubscribe_url.'" target="_blank" style="color:#b3b3b3;">leiratkozhat</a>.</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|
|
';
|
|
?>
|