autoinstalatory

This commit is contained in:
2026-08-18 10:33:14 +02:00
parent af7110ad3a
commit 564d312967
32 changed files with 4008 additions and 0 deletions
@@ -0,0 +1,71 @@
<?php
// Funkce generuje náhodné heslo
function generateRandomString($minLength = 10, $maxLength = 20) {
$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
$charactersLength = strlen($characters); $length = rand($minLength, $maxLength);
$randomString = '';
for ($i = 0; $i < $length; $i++) $randomString .= $characters[rand(0, $charactersLength - 1)];
return $randomString;
}
// Funkce pro získání prefixu emailu
function getEmailPrefix($email) {
$atPos = strpos($email, '@');
return $atPos !== false ? substr($email, 0, $atPos) : '';
}
// Funkce maže soubory autoinstalátoru, přepisuje auto-installation.php na přesměrování
function delete_self($root_file, $full_login_url) {
$directory = dirname(__FILE__);
$files = glob($directory . '/*');
foreach ($files as $file) {
if (is_file($file) && basename($file) !== 'functions.php')
unlink($file);
}
$functions_file = $directory . '/functions.php';
if (file_exists($functions_file))
unlink($functions_file);
if (is_dir($directory))
rmdir($directory);
if (file_exists($root_file)) // unlink($kill_file);
file_put_contents($root_file, '<?php header("Location: '.$full_login_url.'"); ?>');
}
/**
* Nahradí výchozí AUTH/SECURE/LOGGED_IN/NONCE klíče a salty ve wp-config.php
* vlastními náhodnými hodnotami. Musí být volána PŘED require wp-load.php,
* jinak se PHP konstanty definují starými hodnotami a přihlašovací cookie
* po redirectu přestane sedět (uživatel by se odhlásil).
*/
function replace_wp_config_salts($config_path) {
if (!file_exists($config_path) || !is_writable($config_path))
return false;
$config_content = file_get_contents($config_path);
if ($config_content === false)
return false;
// Pokud config už neobsahuje placeholder frázi, nemá smysl nic dělat
if (strpos($config_content, 'put your unique phrase here') === false)
return true;
$keys = [
'AUTH_KEY', 'SECURE_AUTH_KEY', 'LOGGED_IN_KEY', 'NONCE_KEY',
'AUTH_SALT', 'SECURE_AUTH_SALT', 'LOGGED_IN_SALT', 'NONCE_SALT',
];
foreach ($keys as $key) {
$new_value = addslashes(base64_encode(random_bytes(48)));
$pattern = "/define\(\s*'" . preg_quote($key, '/') . "'\s*,\s*'(?:[^'\\\\]|\\\\.)*'\s*\);/";
$replacement = "define('" . $key . "', '" . $new_value . "');";
$config_content = preg_replace($pattern, $replacement, $config_content, 1);
}
return file_put_contents($config_path, $config_content) !== false;
}
?>
@@ -0,0 +1,67 @@
<?php
if(isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1')
$subject = '🦜 Užij si svůj nový WordPress s AI hostingem od SODEW!';
else
$subject = '🦜 Užij si svůj nový web se SODEW AI builderem!';
$message = '
<div style="width:100%; padding:10px 0; background-color: #d6dde5; font-family: Arial, sans-serif;">
<div style="max-width: 600px; background: #fff; margin: 8px auto;">
<div style="text-align: center; padding: 2px 0 2px 0; font-size: 12px; color: #333;">
E-mail byl zaslán na základě vyplnění formuláře na <a href="https://sodew.cz" style="color:#65278A; text-decoration: underline;">sodew.cz</a>
</div>
<div style="width:100%; height: 88px; text-align:center;">
<a href="https://www.sodew.cz">
<img src="https://sodew.ai/img/bg-logo.png" alt="Logo SODEW" style="max-width: 100%; height: auto;">
</a>
</div>
<div style="padding: 5px 20px">
<h1 style="text-align: center; font-size:22px; padding:5px 0 10px 0;color: #333; font-weight: normal">';
if(isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1')
$message .= 'Děkujeme, že používáte náš AI hosting pro váš WordPress!';
else
$message .= 'Děkujeme, že používáte náš nástroj pro tvorbu webových stránek!';
$message .= '</h1>
<p style="color: #333; font-size:15px; padding: 0">Váš nový web je nyní dostupný na adrese <a href="'.$url_without_filename.'" style="color:#65278A; text-decoration: underline;">'.$url_without_filename.'</a></p>
</div>
<img src="https://sodew.ai/img/line1.png" alt="">
<div style="font-size:15px; padding: 8px 20px;">
<p style="color: #333;">Tento e-mail si prosím uschovejte. Obsahuje důležité informace, které se vám budou hodit při příštím přihlášení.<br><br>
<strong>Přihlášení do administrace:</strong> <a style="color:#65278A; text-decoration: underline;" href="'.$url_without_filename.'/wp-login.php">'.$url_without_filename.'wp-login.php</a><br>
<strong>Přihlašovací jméno:</strong> '.$user_name.'<br>
<strong>Heslo:</strong> '.$user_password.'<br><br>
Heslo doporučujeme změnit <a href="'.$url_without_filename.'wp-login.php?action=lostpassword" style="color:#65278A; text-decoration: underline;">zde</a>.</p>';
if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1')
$message .= '<p style="color: #333;">Pokud se vám cokoli nepovedlo nebo chcete začít s čistým štítem, kliněte <a href="'.$url_without_filename.'wp-admin/site-editor.php?canvas=edit&website-starter=1" style="color:#65278A; text-decoration: underline;">sem</a>.</p>';
$message .= '</div>
<img src="https://sodew.ai/img/line2.png" alt="">
<div style="font-size:15px; padding: 5px 20px;">
<p style="color: #333;">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>.<br><br>
S přáním hezkého dne<br>Tým SODEW</p>
</div>
<div style="background-color: #65278A; color: #fff; padding: 15px 10px; font-size: 12px; display: flex; justify-content: space-between;">
<div style="flex: 1 1 100%; width: 180px; margin-bottom: 10px; text-align: left">
<a href="mailto:info@sodew.cz" style="color: #fff; text-decoration: underline;">info@sodew.cz</a><br>
<a href="https://www.sodew.cz" style="color: #fff; text-decoration: underline;">www.sodew.cz</a><br>
<a href="https://www.linkedin.com/company/sodew/" style="color: #fff; text-decoration: underline;">linkedin.com/sodew</a>
</div>
<div style="flex: 1 1 100%; width: 200px; margin-bottom: 10px; padding: 0 10px; text-align: center">
<a href="https://sodew.cz" target="_blank"><img src="https://sodew.ai/img/btn-cz-500px.png" alt="" style="max-width: 200px; height: auto;"></a>
</div>
<div style="flex: 1 1 100%; width: 180px; text-align: right; display: block">
<a href="https://www.facebook.com/sodew.cz"><img src="https://sodew.ai/img/facebook.png" height="33" width="33" alt="FB"></a>
<a href="https://www.instagram.com/sodew.cz"><img src="https://sodew.ai/img/instagram.png" height="33" width="33" alt="IG"></a>
<a href="https://youtube.com/@sodew-ai"><img src="https://sodew.ai/img/youtube.png" height="33" width="33" alt="YT"></a>
</div>
</div>
<div style="font-size: 12px; color: #757e8a; text-align:center;">
<p style="padding:0;">SODEW Ltd, Astbury Road 35, SE15 2NL Londýn, Velká Británie. <a href="'.$unsubscribe_url.'" target="_blank">Odhlásit odběr</a>.</p>
</div>
</div>
</div>';
?>
@@ -0,0 +1,65 @@
<?php
if(isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1')
$subject = '🦜 Viel Spaß mit Ihrer neuen WordPress-Website mit SODEW AI Hosting!';
else
$subject = '🦜 Viel Spaß mit Ihrer neuen Website mit SODEW AI Builder!';
$message = '
<div style="width:100%; padding:10px 0; background-color: #d6dde5; font-family: Arial, sans-serif;">
<div style="max-width: 600px; background: #fff; margin: 8px auto;">
<div style="text-align: center; padding: 2px 0 2px 0; font-size: 12px; color: #333;">
Diese E-Mail wurde Ihnen geschickt, weil Sie sich kürzlich bei <a href="https://sodew.de" style="color:#65278A; text-decoration: underline;">sodew.de</a> registriert haben.
</div>
<div style="width:100%; height: 88px; text-align:center;">
<a href="https://www.sodew.de">
<img src="https://sodew.ai/img/bg-logo.png" alt="Logo SODEW" style="max-width: 100%; height: auto;">
</a>
</div>
<div style="padding: 5px 20px"><h1 style="text-align: center; font-size:22px; padding:5px 0 10px 0;color: #333; font-weight: normal">';
if(isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1')
$message .= 'Vielen Dank, dass Sie unser KI-Hosting für Ihr WordPress nutzen!';
else
$message .= 'Vielen Dank, dass Sie unseren KI-Builder für Ihre Website verwenden!';
$message .= '</h1><p style="color: #333; font-size:15px; padding: 0">Ihre neue Website ist jetzt verfügbar unter <a href="'.$url_without_filename.'" style="color:#65278A; text-decoration: underline;">'.$url_without_filename.'</a></p>
</div>
<img src="https://sodew.ai/img/line1.png" alt="">
<div style="font-size:15px; padding: 8px 20px;">
<p style="color: #333;">Bitte bewahren Sie diese E-Mail auf, da sie wichtige Informationen enthält, die Sie für die Anmeldung benötigen.<br><br>
<strong>Hier anmelden:</strong> <a style="color:#65278A; text-decoration: underline;" href="'.$url_without_filename.'/wp-login.php">'.$url_without_filename.'/wp-login.php</a><br>
<strong>Anmeldung:</strong> '.$user_name.'<br>
<strong>Passwort:</strong> '.$user_password.'<br><br>
Wir empfehlen, Ihr Passwort <a href="'.$url_without_filename.'/wp-login.php?action=lostpassword" style="color:#65278A; text-decoration: underline;">hier</a> zu ändern.</p>';
if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1')
$message .= '<p style="color: #333;">Wenn Sie Probleme haben oder einfach neu anfangen wollen, können Sie <a href="'.$url_without_filename.'/wp-admin/site-editor.php?canvas=edit&website-starter=1" style="color:#65278A; text-decoration: underline;">diesen Link</a> benutzen.</p>';
$message .= '</div>
<img src="https://sodew.ai/img/line2.png" alt="">
<div style="font-size:15px; padding: 5px 20px;">
<p style="color: #333;">Sollten Sie Fragen haben oder weitere Unterstützung benötigen, können Sie unsere <a href="https://docs.sodew.ai/" style="color:#65278A; text-decoration: underline;">Hilfeseite</a> nutzen.<br><br>
Mit freundlichen Grüßen,<br>Team SODEW</p>
</div>
<div style="background-color: #65278A; color: #fff; padding: 15px 10px; font-size: 12px; display: flex; justify-content: space-between;">
<div style="flex: 1 1 100%; width: 180px; margin-bottom: 10px; text-align: left">
<a href="mailto:info@sodew.ai" style="color: #fff; text-decoration: underline;">info@sodew.ai</a><br>
<a href="https://sodew.de" style="color: #fff; text-decoration: underline;">sodew.de</a><br>
<a href="https://www.linkedin.com/company/sodew/" style="color: #fff; text-decoration: underline;">linkedin.com/sodew</a>
</div>
<div style="flex: 1 1 100%; width: 200px; margin-bottom: 10px; padding: 0 10px; text-align: center">
<a href="https://sodew.ai" target="_blank"><img src="https://sodew.ai/img/btn-en-500px.png" alt="" style="max-width: 200px; height: auto;"></a>
</div>
<div style="flex: 1 1 100%; width: 180px; text-align: right; display: block">
<a href="https://www.facebook.com/sodewai"><img src="https://sodew.ai/img/facebook.png" height="33" width="33" alt="FB"></a>
<a href="https://www.instagram.com/sodew.ai"><img src="https://sodew.ai/img/instagram.png" height="33" width="33" alt="IG"></a>
<a href="https://youtube.com/@sodew-ai"><img src="https://sodew.ai/img/youtube.png" height="33" width="33" alt="YT"></a>
</div>
</div>
<div style="font-size: 12px; color: #757e8a; text-align:center;">
<p style="padding:0;">SODEW Ltd, Astbury Road 35, SE15 2NL London, Great Britain. <a href="'.$unsubscribe_url.'" target="_blank">Abbestellen.</a>.</p>
</div>
</div>
</div>';
?>
@@ -0,0 +1,65 @@
<?php
if(isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1')
$subject = '🦜 Enjoy Your New WordPress Website with SODEW AI Hosting!';
else
$subject = '🦜 Enjoy Your New Website with SODEW AI Builder!';
$message = '
<div style="width:100%; padding:10px 0; background-color: #d6dde5; font-family: Arial, sans-serif;">
<div style="max-width: 600px; background: #fff; margin: 8px auto;">
<div style="text-align: center; padding: 2px 0 2px 0; font-size: 12px; color: #333;">
This e-mail was sent to you because you have recently completed a registration at <a href="https://sodew.ai" style="color:#65278A; text-decoration: underline;">sodew.ai</a>
</div>
<div style="width:100%; height: 88px; text-align:center;">
<a href="https://www.sodew.ai">
<img src="https://sodew.ai/img/bg-logo.png" alt="Logo SODEW" style="max-width: 100%; height: auto;">
</a>
</div>
<div style="padding: 5px 20px"><h1 style="text-align: center; font-size:22px; padding:5px 0 10px 0;color: #333; font-weight: normal">';
if(isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1')
$message .= 'Thank you for using our AI hosting for your WordPress!';
else
$message .= 'Thank you for using our AI builder for your website!';
$message .= '</h1><p style="color: #333; font-size:15px; padding: 0">Your new website is now available at <a href="'.$url_without_filename.'" style="color:#65278A; text-decoration: underline;">'.$url_without_filename.'</a></p>
</div>
<img src="https://sodew.ai/img/line1.png" alt="">
<div style="font-size:15px; padding: 8px 20px;">
<p style="color: #333;">Please keep this e-mail as it contains important details that you will need to sign in.<br><br>
<strong>Log in here:</strong> <a style="color:#65278A; text-decoration: underline;" href="'.$url_without_filename.'/wp-login.php">'.$url_without_filename.'wp-login.php</a><br>
<strong>Login:</strong> '.$user_name.'<br>
<strong>Password:</strong> '.$user_password.'<br><br>
We recommend changing your password <a href="'.$url_without_filename.'wp-login.php?action=lostpassword" style="color:#65278A; text-decoration: underline;">here</a>.</p>';
if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1')
$message .= '<p style="color: #333;">If you are having problems or just want to start again, you can use <a href="'.$url_without_filename.'wp-admin/site-editor.php?canvas=edit&website-starter=1" style="color:#65278A; text-decoration: underline;">this link</a>.</p>';
$message .= '</div>
<img src="https://sodew.ai/img/line2.png" alt="">
<div style="font-size:15px; padding: 5px 20px;">
<p style="color: #333;">Should you have any questions or need further assistance, feel free to use this <a href="https://docs.sodew.ai/" style="color:#65278A; text-decoration: underline;">help page</a>.<br><br>
Kindest regards,<br>Team at SODEW</p>
</div>
<div style="background-color: #65278A; color: #fff; padding: 15px 10px; font-size: 12px; display: flex; justify-content: space-between;">
<div style="flex: 1 1 100%; width: 180px; margin-bottom: 10px; text-align: left">
<a href="mailto:info@sodew.ai" style="color: #fff; text-decoration: underline;">info@sodew.ai</a><br>
<a href="https://www.sodew.ai" style="color: #fff; text-decoration: underline;">www.sodew.ai</a><br>
<a href="https://www.linkedin.com/company/sodew/" style="color: #fff; text-decoration: underline;">linkedin.com/sodew</a>
</div>
<div style="flex: 1 1 100%; width: 200px; margin-bottom: 10px; padding: 0 10px; text-align: center">
<a href="https://sodew.ai" target="_blank"><img src="https://sodew.ai/img/btn-en-500px.png" alt="" style="max-width: 200px; height: auto;"></a>
</div>
<div style="flex: 1 1 100%; width: 180px; text-align: right; display: block">
<a href="https://www.facebook.com/sodewai"><img src="https://sodew.ai/img/facebook.png" height="33" width="33" alt="FB"></a>
<a href="https://www.instagram.com/sodew.ai"><img src="https://sodew.ai/img/instagram.png" height="33" width="33" alt="IG"></a>
<a href="https://youtube.com/@sodew-ai"><img src="https://sodew.ai/img/youtube.png" height="33" width="33" alt="YT"></a>
</div>
</div>
<div style="font-size: 12px; color: #757e8a; text-align:center;">
<p style="padding:0;">SODEW Ltd, Astbury Road 35, SE15 2NL London, Great Britain. <a href="'.$unsubscribe_url.'" target="_blank">Unsubscribe.</a>.</p>
</div>
</div>
</div>';
?>
@@ -0,0 +1,65 @@
<?php
if(isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1')
$subject = '🦜 Élvezze az új WordPress-ét a SODEW AI tárhelyével!';
else
$subject = '🦜 Élvezze az új weboldalát a SODEW AI építőjével!';
$message = '
<div style="width:100%; padding:10px 0; background-color: #d6dde5; font-family: Arial, sans-serif;">
<div style="max-width: 600px; background: #fff; margin: 8px auto;">
<div style="text-align: center; padding: 2px 0 2px 0; font-size: 12px; color: #333;">
Az e-mail, űrlap kitöltése alapján lett elküldve a <a href="https://sodew.hu" style="color:#65278A; text-decoration: underline;">sodew.hu</a> weboldalán.
</div>
<div style="width:100%; height: 88px; text-align:center;">
<a href="https://www.sodew.ai">
<img src="https://sodew.ai/img/bg-logo.png" alt="Logo SODEW" style="max-width: 100%; height: auto;">
</a>
</div>
<div style="padding: 5px 20px"><h1 style="text-align: center; font-size:22px; padding:5px 0 10px 0;color: #333; font-weight: normal">';
if(isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1')
$message .= 'Köszönjük, hogy a WordPress-hez az AI tárhelyünket használja!';
else
$message .= 'Köszönjük, hogy a weboldalépítő szolgáltatásunkat használja!';
$message .= '</h1><p style="color: #333; font-size:15px; padding: 0">Az új weboldala mostantól a <a href="'.$url_without_filename.'" style="color:#65278A; text-decoration: underline;">'.$url_without_filename.'</a></p>
</div>
<img src="https://sodew.ai/img/line1.png" alt="">
<div style="font-size:15px; padding: 8px 20px;">
<p style="color: #333;">Kérjük, őrizze meg ezt az e-mailt. Fontos információkat tartalmaz, amelyek hasznára válnak a következő bejelentkezéskor.<br><br>
<strong>Bejelentkezés az adminisztrációba:</strong> <a style="color:#65278A; text-decoration: underline;" href="'.$url_without_filename.'/wp-login.php">'.$url_without_filename.'wp-login.php</a><br>
<strong>Felhasználónév:</strong> '.$user_name.'<br>
<strong>Jelszó:</strong> '.$user_password.'<br><br>
Javasoljuk a jelszó megváltoztatását <a href="'.$url_without_filename.'wp-login.php?action=lostpassword" style="color:#65278A; text-decoration: underline;">itt</a>.</p>';
if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1')
$message .= '<p style="color: #333;">Ha valami nem sikerült, vagy új weboldallal szeretne kezdeni, kattintson <a href="'.$url_without_filename.'wp-admin/site-editor.php?canvas=edit&website-starter=1" style="color:#65278A; text-decoration: underline;">ide</a>.</p>';
$message .= '</div>
<img src="https://sodew.ai/img/line2.png" alt="">
<div style="font-size:15px; padding: 5px 20px;">
<p style="color: #333;">Amennyiben további kérdései vannak vagy segítségre van szüksége kattintson <a href="https://docs.sodew.ai/" style="color:#65278A; text-decoration: underline;">ide</a>.<br><br>
Szép napot kívánunk<br>SODEW csapata</p>
</div>
<div style="background-color: #65278A; color: #fff; padding: 15px 10px; font-size: 12px; display: flex; justify-content: space-between;">
<div style="flex: 1 1 100%; width: 180px; margin-bottom: 10px; text-align: left">
<a href="mailto:info@sodew.ai" style="color: #fff; text-decoration: underline;">info@sodew.ai</a><br>
<a href="https://www.sodew.hu" style="color: #fff; text-decoration: underline;">www.sodew.hu</a><br>
<a href="https://www.linkedin.com/company/sodew/" style="color: #fff; text-decoration: underline;">linkedin.com/sodew</a>
</div>
<div style="flex: 1 1 100%; width: 200px; margin-bottom: 10px; padding: 0 10px; text-align: center">
<a href="https://sodew.hu" target="_blank"><img src="https://sodew.ai/img/btn-en-500px.png" alt="" style="max-width: 200px; height: auto;"></a>
</div>
<div style="flex: 1 1 100%; width: 180px; text-align: right; display: block">
<a href="https://www.facebook.com/sodewai"><img src="https://sodew.ai/img/facebook.png" height="33" width="33" alt="FB"></a>
<a href="https://www.instagram.com/sodew.ai"><img src="https://sodew.ai/img/instagram.png" height="33" width="33" alt="IG"></a>
<a href="https://youtube.com/@sodew-ai"><img src="https://sodew.ai/img/youtube.png" height="33" width="33" alt="YT"></a>
</div>
</div>
<div style="font-size: 12px; color: #757e8a; text-align:center;">
<p style="padding:0;">SODEW Ltd, Astbury Road 35, SE15 2NL London, Egyesült Királyság. Ha többé nem akar hírlevelet kapni tőlünk, akkor kattintson <a href="'.$unsubscribe_url.'" target="_blank">ide</a>.</p>
</div>
</div>
</div>';
?>
@@ -0,0 +1,65 @@
<?php
if(isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1')
$subject = '🦜 Ciesz się nową stroną WordPress z hostingiem SODEW AI!';
else
$subject = '🦜 Ciesz się swoją nową stroną internetową dzięki SODEW AI Builder!';
$message = '
<div style="width:100%; padding:10px 0; background-color: #d6dde5; font-family: Arial, sans-serif;">
<div style="max-width: 600px; background: #fff; margin: 8px auto;">
<div style="text-align: center; padding: 2px 0 2px 0; font-size: 12px; color: #333;">
Ta wiadomość e-mail została wysłana do użytkownika, ponieważ niedawno ukończył on rejestrację na stronie <a href="https://sodew.pl" style="color:#65278A; text-decoration: underline;">sodew.pl</a>
</div>
<div style="width:100%; height: 88px; text-align:center;">
<a href="https://www.sodew.pl">
<img src="https://sodew.ai/img/bg-logo.png" alt="Logo SODEW" style="max-width: 100%; height: auto;">
</a>
</div>
<div style="padding: 5px 20px"><h1 style="text-align: center; font-size:22px; padding:5px 0 10px 0;color: #333; font-weight: normal">';
if(isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1')
$message .= 'Dziękujemy za korzystanie z naszego hostingu AI dla WordPressa!';
else
$message .= 'Dziękujemy za skorzystanie z naszego kreatora AI!';
$message .= '</h1><p style="color: #333; font-size:15px; padding: 0">Your new website is now available at <a href="'.$url_without_filename.'" style="color:#65278A; text-decoration: underline;">'.$url_without_filename.'</a></p>
</div>
<img src="https://sodew.ai/img/line1.png" alt="">
<div style="font-size:15px; padding: 8px 20px;">
<p style="color: #333;">Prosimy o zachowanie tego e-maila, ponieważ zawiera on ważne informacje, które będą potrzebne do zalogowania się.<br><br>
<strong>Zaloguj się tutaj:</strong> <a style="color:#65278A; text-decoration: underline;" href="'.$url_without_filename.'/wp-login.php">'.$url_without_filename.'/wp-login.php</a><br>
<strong>Login:</strong> '.$user_name.'<br>
<strong>Hasło:</strong> '.$user_password.'<br><br>
Zalecamy zmianę hasła <a href="'.$url_without_filename.'/wp-login.php?action=lostpassword" style="color:#65278A; text-decoration: underline;">tutaj</a>.</p>';
if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1')
$message .= '<p style="color: #333;">Jeśli masz problemy lub po prostu chcesz zacząć od nowa, możesz skorzystać <a href="'.$url_without_filename.'/wp-admin/site-editor.php?canvas=edit&website-starter=1" style="color:#65278A; text-decoration: underline;">z tego linku</a>.</p>';
$message .= '</div>
<img src="https://sodew.ai/img/line2.png" alt="">
<div style="font-size:15px; padding: 5px 20px;">
<p style="color: #333;">W przypadku jakichkolwiek pytań lub potrzeby dalszej pomocy, zachęcamy do skorzystania <a href="https://docs.sodew.ai/" style="color:#65278A; text-decoration: underline;">z tej strony pomocy</a>.<br><br>
Z wyrazami szacunku, <br>Team SODEW</p>
</div>
<div style="background-color: #65278A; color: #fff; padding: 15px 10px; font-size: 12px; display: flex; justify-content: space-between;">
<div style="flex: 1 1 100%; width: 180px; margin-bottom: 10px; text-align: left">
<a href="mailto:info@sodew.ai" style="color: #fff; text-decoration: underline;">info@sodew.ai</a><br>
<a href="https://sodew.pl" style="color: #fff; text-decoration: underline;">sodew.pl</a><br>
<a href="https://www.linkedin.com/company/sodew/" style="color: #fff; text-decoration: underline;">linkedin.com/sodew</a>
</div>
<div style="flex: 1 1 100%; width: 200px; margin-bottom: 10px; padding: 0 10px; text-align: center">
<a href="https://sodew.ai" target="_blank"><img src="https://sodew.ai/img/btn-en-500px.png" alt="" style="max-width: 200px; height: auto;"></a>
</div>
<div style="flex: 1 1 100%; width: 180px; text-align: right; display: block">
<a href="https://www.facebook.com/sodewai"><img src="https://sodew.ai/img/facebook.png" height="33" width="33" alt="FB"></a>
<a href="https://www.instagram.com/sodew.ai"><img src="https://sodew.ai/img/instagram.png" height="33" width="33" alt="IG"></a>
<a href="https://youtube.com/@sodew-ai"><img src="https://sodew.ai/img/youtube.png" height="33" width="33" alt="YT"></a>
</div>
</div>
<div style="font-size: 12px; color: #757e8a; text-align:center;">
<p style="padding:0;">SODEW Ltd, Astbury Road 35, SE15 2NL London, Great Britain. <a href="'.$unsubscribe_url.'" target="_blank">Zrezygnuj z subskrypcji.</a>.</p>
</div>
</div>
</div>';
?>
@@ -0,0 +1,65 @@
<?php
if(isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1')
$subject = '🦜 Bucură-te de noul tău site web WordPress cu găzduirea SODEW AI!';
else
$subject = '🦜 Bucură-te de noul tău site web cu SODEW AI Builder!';
$message = '
<div style="width:100%; padding:10px 0; background-color: #d6dde5; font-family: Arial, sans-serif;">
<div style="max-width: 600px; background: #fff; margin: 8px auto;">
<div style="text-align: center; padding: 2px 0 2px 0; font-size: 12px; color: #333;">
Acest e-mail v-a fost trimis deoarece v-ați înregistrat recent pe <a href="https://sodew.ro" style="color:#65278A; text-decoration: underline;">sodew.ro</a>
</div>
<div style="width:100%; height: 88px; text-align:center;">
<a href="https://sodew.ro">
<img src="https://sodew.ai/img/bg-logo.png" alt="Logo SODEW" style="max-width: 100%; height: auto;">
</a>
</div>
<div style="padding: 5px 20px"><h1 style="text-align: center; font-size:22px; padding:5px 0 10px 0;color: #333; font-weight: normal">';
if(isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1')
$message .= 'Vă mulțumim că ați folosit găzduirea noastră bazată pe inteligență artificială pentru WordPress-ul dvs.!';
else
$message .= 'Vă mulțumim că ați folosit constructorul nostru de inteligență artificială pentru site-ul dvs. web!';
$message .= '</h1><p style="color: #333; font-size:15px; padding: 0">Noul dumneavoastră site web este acum disponibil la <a href="'.$url_without_filename.'" style="color:#65278A; text-decoration: underline;">'.$url_without_filename.'</a></p>
</div>
<img src="https://sodew.ai/img/line1.png" alt="">
<div style="font-size:15px; padding: 8px 20px;">
<p style="color: #333;">Vă rugăm să păstrați acest e-mail, deoarece conține detalii importante de care veți avea nevoie pentru a vă conecta.<br><br>
<strong>Conectați-vă aici:</strong> <a style="color:#65278A; text-decoration: underline;" href="'.$url_without_filename.'wp-login.php">'.$url_without_filename.'wp-login.php</a><br>
<strong>Login:</strong> '.$user_name.'<br>
<strong>Parolă:</strong> '.$user_password.'<br><br>
Vă recomandăm să vă schimbați parola <a href="'.$url_without_filename.'wp-login.php?action=lostpassword" style="color:#65278A; text-decoration: underline;">aici</a>.</p>';
if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1')
$message .= '<p style="color: #333;">Dacă întâmpinați probleme sau doriți doar să începeți din nou, puteți folosi <a href="'.$url_without_filename.'wp-admin/site-editor.php?canvas=edit&website-starter=1" style="color:#65278A; text-decoration: underline;">acest link</a>.</p>';
$message .= '</div>
<img src="https://sodew.ai/img/line2.png" alt="">
<div style="font-size:15px; padding: 5px 20px;">
<p style="color: #333;">Dacă aveți întrebări sau aveți nevoie de asistență suplimentară, nu ezitați să utilizați această <a href="https://docs.sodew.ai/" style="color:#65278A; text-decoration: underline;">pagină de ajutor</a>.<br><br>
Cu cele mai bune gânduri,<br>Echipa SODEW</p>
</div>
<div style="background-color: #65278A; color: #fff; padding: 15px 10px; font-size: 12px; display: flex; justify-content: space-between;">
<div style="flex: 1 1 100%; width: 180px; margin-bottom: 10px; text-align: left">
<a href="mailto:info@sodew.ai" style="color: #fff; text-decoration: underline;">info@sodew.ai</a><br>
<a href="https://sodew.ro" style="color: #fff; text-decoration: underline;">sodew.ro</a><br>
<a href="https://www.linkedin.com/company/sodew/" style="color: #fff; text-decoration: underline;">linkedin.com/sodew</a>
</div>
<div style="flex: 1 1 100%; width: 200px; margin-bottom: 10px; padding: 0 10px; text-align: center">
<a href="https://sodew.ro" target="_blank"><img src="https://sodew.ai/img/btn-en-500px.png" alt="" style="max-width: 200px; height: auto;"></a>
</div>
<div style="flex: 1 1 100%; width: 180px; text-align: right; display: block">
<a href="https://www.facebook.com/sodewai"><img src="https://sodew.ai/img/facebook.png" height="33" width="33" alt="FB"></a>
<a href="https://www.instagram.com/sodew.ai"><img src="https://sodew.ai/img/instagram.png" height="33" width="33" alt="IG"></a>
<a href="https://youtube.com/@sodew-ai"><img src="https://sodew.ai/img/youtube.png" height="33" width="33" alt="YT"></a>
</div>
</div>
<div style="font-size: 12px; color: #757e8a; text-align:center;">
<p style="padding:0;">SODEW Ltd, Astbury Road 35, SE15 2NL London, Great Britain. <a href="'.$unsubscribe_url.'" target="_blank">Unsubscribe.</a>.</p>
</div>
</div>
</div>';
?>