Files
SODEW/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_cs.php
T
2026-08-18 10:33:14 +02:00

167 lines
7.7 KiB
PHP

<?php
if(isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1')
$subject = 'Váš nový WordPress s AI hostingem od SODEW je připraven!';
else
$subject = 'Váš nový web se SODEW AI builderem je připraven!';
// 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="cs">
<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">Váš nový web je připraven. Níže najdete přihlašovací údaje.</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>Dobrý den,</p>
<p>&nbsp;</p>
<p>'.((isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1') ? 'děkujeme, že používáte náš AI hosting pro váš WordPress! ❤️' : 'děkujeme, že používáte SODEW Website! ❤️').'</p>
<p>&nbsp;</p>
<p>Váš nový web je nyní připraven. Níže najdete údaje pro přihlášení do administrace.</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;">Začít upravovat web</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>Informace o Vašem webu:</strong></p>
<p>&#127760; <strong>Váš web:</strong> <a href="'.$url_without_filename.'" style="color:#65278A;text-decoration:underline;">'.$url_without_filename.'</a></p>
<p>&#9993; <strong>E-mail pro přihlášení:</strong> '.$user_email.'</p>
<p>&#128274; <strong>Heslo:</strong> '.$user_password.'</p>
<p>&#128273; <strong>Odkaz pro přihlášení do administrace webu:</strong> <a href="'.$full_login_url.'" style="color:#65278A;text-decoration:underline;">Přihlásit se</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>Heslo doporučujeme změnit <a href="'.$lostpassword_url.'" style="color:#65278A;text-decoration:underline;">zde</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>Pokud se vám cokoli nepovedlo nebo chcete začít s čistým štítem, klikněte <a href="'.$admin_starter_url.'" style="color:#65278A;text-decoration:underline;">sem</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>Máte-li jakékoli dotazy nebo potřebujete další pomoc, přejděte do <a href="https://sodew.cz/napoveda" style="color:#65278A;text-decoration:underline;">nápovědy</a>.</p>
<p>&nbsp;</p>
<p>Přejeme vám mnoho úspěchů s vaším novým webem!</p>
<p>&nbsp;</p>
<p>Děkujeme,</p>
<p>tým SODEW</p>
<p><a href="https://www.sodew.cz" style="color:#65278A;text-decoration:underline;">www.sodew.cz</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>&nbsp;</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>Pokud si nepřejete dostávat další e-maily, můžete se <a href="'.$unsubscribe_url.'" target="_blank" style="color:#b3b3b3;">odhlásit</a>.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>
';
?>