From 564d312967a45de96f8f613c3cb2e4529250f62e Mon Sep 17 00:00:00 2001 From: rm161 Date: Tue, 18 Aug 2026 10:33:14 +0200 Subject: [PATCH] autoinstalatory --- .DS_Store | Bin 6148 -> 6148 bytes .../installer-cz-salted/auto-installation.php | 204 +++++++++++++++ .../autoinstall-partials/functions.php | 71 +++++ .../autoinstall-partials/local_cs.php | 67 +++++ .../autoinstall-partials/local_de.php | 65 +++++ .../autoinstall-partials/local_en.php | 65 +++++ .../autoinstall-partials/local_hu.php | 65 +++++ .../autoinstall-partials/local_pl.php | 65 +++++ .../autoinstall-partials/local_ro.php | 65 +++++ .../auto-installation.php | 203 +++++++++++++++ .../autoinstall-partials/functions.php | 71 +++++ .../autoinstall-partials/local_cs.php | 67 +++++ .../autoinstall-partials/local_de.php | 65 +++++ .../autoinstall-partials/local_en.php | 65 +++++ .../autoinstall-partials/local_hu.php | 65 +++++ .../autoinstall-partials/local_pl.php | 65 +++++ .../autoinstall-partials/local_ro.php | 65 +++++ .../auto-installation.php | 243 ++++++++++++++++++ .../autoinstall-partials/functions.php | 71 +++++ .../autoinstall-partials/local_cs.php | 166 ++++++++++++ .../autoinstall-partials/local_de.php | 166 ++++++++++++ .../autoinstall-partials/local_en.php | 166 ++++++++++++ .../autoinstall-partials/local_hu.php | 166 ++++++++++++ .../autoinstall-partials/local_migrace_cs.php | 202 +++++++++++++++ .../autoinstall-partials/local_migrace_de.php | 202 +++++++++++++++ .../autoinstall-partials/local_migrace_en.php | 202 +++++++++++++++ .../autoinstall-partials/local_migrace_hu.php | 202 +++++++++++++++ .../autoinstall-partials/local_migrace_pl.php | 202 +++++++++++++++ .../autoinstall-partials/local_migrace_ro.php | 202 +++++++++++++++ .../autoinstall-partials/local_pl.php | 166 ++++++++++++ .../autoinstall-partials/local_ro.php | 166 ++++++++++++ wordpress-compiler/wordpress-compiler.sh | 153 +++++++++++ 32 files changed, 4008 insertions(+) create mode 100644 SODEW Instalátory/installer-cz-salted/auto-installation.php create mode 100644 SODEW Instalátory/installer-cz-salted/autoinstall-partials/functions.php create mode 100644 SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_cs.php create mode 100644 SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_de.php create mode 100644 SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_en.php create mode 100644 SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_hu.php create mode 100644 SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_pl.php create mode 100644 SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_ro.php create mode 100644 SODEW Instalátory/installer-int-salted/auto-installation.php create mode 100644 SODEW Instalátory/installer-int-salted/autoinstall-partials/functions.php create mode 100644 SODEW Instalátory/installer-int-salted/autoinstall-partials/local_cs.php create mode 100644 SODEW Instalátory/installer-int-salted/autoinstall-partials/local_de.php create mode 100644 SODEW Instalátory/installer-int-salted/autoinstall-partials/local_en.php create mode 100644 SODEW Instalátory/installer-int-salted/autoinstall-partials/local_hu.php create mode 100644 SODEW Instalátory/installer-int-salted/autoinstall-partials/local_pl.php create mode 100644 SODEW Instalátory/installer-int-salted/autoinstall-partials/local_ro.php create mode 100644 SODEW Instalátory/installer-migrace-salted/auto-installation.php create mode 100644 SODEW Instalátory/installer-migrace-salted/autoinstall-partials/functions.php create mode 100644 SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_cs.php create mode 100644 SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_de.php create mode 100644 SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_en.php create mode 100644 SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_hu.php create mode 100644 SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_cs.php create mode 100644 SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_de.php create mode 100644 SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_en.php create mode 100644 SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_hu.php create mode 100644 SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_pl.php create mode 100644 SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_ro.php create mode 100644 SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_pl.php create mode 100644 SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_ro.php create mode 100644 wordpress-compiler/wordpress-compiler.sh diff --git a/.DS_Store b/.DS_Store index 7c6f3e954f66cf168b9054e95f8145787dca87ae..613f0592a8932749cbe7bbd42136d1412dc9b2e1 100644 GIT binary patch literal 6148 zcmeHKPfrs;6n_I%wjg$a79r7OV=pE^L`P{TZ{EE3X5VjjXLbRA`;O}k<-&Y0|pm6y8oq{^P z$qsl0m)VxfEcE2tM2fecN>CrhCpH?XIeE5KdAMq3>%4!CIZtya)bIo??f*9pSu z>CdF6H*w-*pVp@hXdA^X)+&Z(*bMTfzs5()jJZ~%o7Rd$TV*{x&%DrdJnD-8r$W(X z{gLBUSS!z(UL_E*MLD4*wPaZz+uNI+ot`viu3y`qH1=*>=K7VZ`};{Plf8KJVY%kk zJ@x`?K_R%42^mxv!An$*RjXrft6IsYsMfE#9#xy{A2>C5I;9T{j|`=UGMUWinX&QF z(X(ZJ#4_z#)#p{rGne^!w@KHkzEdeSOxy9QrI0=ki_R`B>%+gfKBSc=2d3qn2KuBA z3?kiKpHffcTio0XXjnR=ua@;xVEfE2=Lg7d87&aj|XK)2Er?4#% SEhzDafS@7nVg~*x1HS<6E$P1i delta 63 zcmZoMXfc=|#>CJ*u~2NHo+2aT!~knX#>qS^j+;d|gjqH=s55V7=iui6s@N>Z@tt`x Szlb3t!(CG`BE0_TRv=6BO diff --git a/SODEW Instalátory/installer-cz-salted/auto-installation.php b/SODEW Instalátory/installer-cz-salted/auto-installation.php new file mode 100644 index 0000000..b869a50 --- /dev/null +++ b/SODEW Instalátory/installer-cz-salted/auto-installation.php @@ -0,0 +1,204 @@ + + + + + + Loading... + + + +
+ + + +\r\n"; + $headers .= "Reply-To: $from\r\n"; + $headers .= "MIME-Version: 1.0\r\n"; + $headers .= "Content-Type: text/html; charset=UTF-8\r\n"; + $unsubscribe_url = 'https://sodew.ai/unsubscribe/?email='.$user_email.'&lang=' . $language; + $api_key = isset($_GET['utm']) ? sanitize_text_field($_GET['utm']) : '0'; + $demo = isset($_GET['demo']) && in_array($_GET['demo'], ['1', '0'], true) ? $_GET['demo'] : '0'; + + // Instalace WP + if (!is_blog_installed()) { + global $wpdb; + + require_once ABSPATH . 'wp-admin/includes/translation-install.php'; + + // 1) stáhni jazyk, je-li potřeba + if (function_exists('wp_can_install_language_pack') && wp_can_install_language_pack()) { + wp_download_language_pack($locale); + } + + // 2) nainstaluj WP a předej language + // signatura: wp_install($blog_title, $user_name, $user_email, $public, $deprecated='', $user_password='', $user_language='') + wp_install($blog_title, $user_name, $empty_user_email, true, '', $user_password, $locale); + + // 3) pojisti nastavení jazyka a přepni locale pro aktuální request + update_option('WPLANG', $locale); + if (function_exists('switch_to_locale')) { + switch_to_locale($locale); + } + load_default_textdomain(); + + // Uloží do DB korektní emailovou adresu admina + update_option('siteurl', $url_without_filename); + update_option('home', $url_without_filename); + update_option('admin_email', $user_email); + update_option('api_key', $api_key); + update_option('demo', $demo); + update_option('temp_pass', $user_password); + wp_update_user(array('ID' => 1, 'user_email' => $user_email)); + + if($demo == 0) { + // E-mail body + if ($language == 'cs_CZ') { include(__DIR__ . "/autoinstall-partials/local_cs.php"); } + elseif ($language == 'de_DE') { include(__DIR__ . "/autoinstall-partials/local_de.php"); } + elseif ($language == 'pl_PL') { include(__DIR__ . "/autoinstall-partials/local_pl.php"); } + elseif ($language == 'ro_RO') { include(__DIR__ . "/autoinstall-partials/local_ro.php"); } + elseif ($language == 'fr_FR') { include(__DIR__ . "/autoinstall-partials/local_fr.php"); } + else { include(__DIR__ . "/autoinstall-partials/local_en.php"); } + + mail($user_email, $subject, $message, $headers, "-f $from"); + } + + // vytvoří cookies pro trvalé přihlášení na 1 rok + $cookie_expiration = time() + (365 * 24 * 60 * 60); + $cookie_path = COOKIEPATH; + $cookie_domain = COOKIE_DOMAIN; + setcookie(LOGGED_IN_COOKIE, wp_generate_auth_cookie(1, $cookie_expiration, 'logged_in'), $cookie_expiration, $cookie_path, $cookie_domain, is_ssl(), true); + + // Registrace funkce pro smazání skriptu po ukončení běhu + register_shutdown_function('delete_self', __FILE__, $full_login_url); + + // Přesměrování a přihlášení + $login_url = $url_without_filename . 'wp-login.php'; + echo ' + + + + + +
+ + + +
+ + + + + '; + exit; + } +} +?> \ No newline at end of file diff --git a/SODEW Instalátory/installer-cz-salted/autoinstall-partials/functions.php b/SODEW Instalátory/installer-cz-salted/autoinstall-partials/functions.php new file mode 100644 index 0000000..65520e1 --- /dev/null +++ b/SODEW Instalátory/installer-cz-salted/autoinstall-partials/functions.php @@ -0,0 +1,71 @@ +'); +} + +/** + * 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; +} +?> \ No newline at end of file diff --git a/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_cs.php b/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_cs.php new file mode 100644 index 0000000..28a0723 --- /dev/null +++ b/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_cs.php @@ -0,0 +1,67 @@ + +
+
+ E-mail byl zaslán na základě vyplnění formuláře na sodew.cz +
+
+ + Logo SODEW + +
+
+

'; + + 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 .= '

+

Váš nový web je nyní dostupný na adrese '.$url_without_filename.'

+
+ +
+

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í.

+ Přihlášení do administrace: '.$url_without_filename.'wp-login.php
+ Přihlašovací jméno: '.$user_name.'
+ Heslo: '.$user_password.'

+ Heslo doporučujeme změnit zde.

'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') + $message .= '

Pokud se vám cokoli nepovedlo nebo chcete začít s čistým štítem, kliněte sem.

'; + + $message .= '
+ +
+

Máte-li jakékoli dotazy nebo potřebujete další pomoc, přejděte do nápovědy.

+ S přáním hezkého dne
Tým SODEW

+
+
+ +
+ +
+
+ FB + IG + YT +
+
+
+

SODEW Ltd, Astbury Road 35, SE15 2NL Londýn, Velká Británie. Odhlásit odběr.

+
+
+'; + +?> \ No newline at end of file diff --git a/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_de.php b/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_de.php new file mode 100644 index 0000000..295c4d8 --- /dev/null +++ b/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_de.php @@ -0,0 +1,65 @@ + +
+
+ Diese E-Mail wurde Ihnen geschickt, weil Sie sich kürzlich bei sodew.de registriert haben. +
+
+ + Logo SODEW + +
+

'; + + 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 .= '

Ihre neue Website ist jetzt verfügbar unter '.$url_without_filename.'

+
+ +
+

Bitte bewahren Sie diese E-Mail auf, da sie wichtige Informationen enthält, die Sie für die Anmeldung benötigen.

+ Hier anmelden: '.$url_without_filename.'/wp-login.php
+ Anmeldung: '.$user_name.'
+ Passwort: '.$user_password.'

+ Wir empfehlen, Ihr Passwort hier zu ändern.

'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') + $message .= '

Wenn Sie Probleme haben oder einfach neu anfangen wollen, können Sie diesen Link benutzen.

'; + +$message .= '
+ +
+

Sollten Sie Fragen haben oder weitere Unterstützung benötigen, können Sie unsere Hilfeseite nutzen.

+ Mit freundlichen Grüßen,
Team SODEW

+
+
+ +
+ +
+
+ FB + IG + YT +
+
+
+

SODEW Ltd, Astbury Road 35, SE15 2NL London, Great Britain. Abbestellen..

+
+
+'; + +?> diff --git a/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_en.php b/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_en.php new file mode 100644 index 0000000..2d7ef9d --- /dev/null +++ b/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_en.php @@ -0,0 +1,65 @@ + +
+
+ This e-mail was sent to you because you have recently completed a registration at sodew.ai +
+
+ + Logo SODEW + +
+

'; + + 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 .= '

Your new website is now available at '.$url_without_filename.'

+
+ +
+

Please keep this e-mail as it contains important details that you will need to sign in.

+ Log in here: '.$url_without_filename.'wp-login.php
+ Login: '.$user_name.'
+ Password: '.$user_password.'

+ We recommend changing your password here.

'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') + $message .= '

If you are having problems or just want to start again, you can use this link.

'; + +$message .= '
+ +
+

Should you have any questions or need further assistance, feel free to use this help page.

+ Kindest regards,
Team at SODEW

+
+
+ +
+ +
+
+ FB + IG + YT +
+
+
+

SODEW Ltd, Astbury Road 35, SE15 2NL London, Great Britain. Unsubscribe..

+
+
+'; + +?> \ No newline at end of file diff --git a/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_hu.php b/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_hu.php new file mode 100644 index 0000000..6ee4188 --- /dev/null +++ b/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_hu.php @@ -0,0 +1,65 @@ + +
+
+ Az e-mail, űrlap kitöltése alapján lett elküldve a sodew.hu weboldalán. +
+
+ + Logo SODEW + +
+

'; + + 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 .= '

Az új weboldala mostantól a '.$url_without_filename.'

+
+ +
+

Kérjük, őrizze meg ezt az e-mailt. Fontos információkat tartalmaz, amelyek hasznára válnak a következő bejelentkezéskor.

+ Bejelentkezés az adminisztrációba: '.$url_without_filename.'wp-login.php
+ Felhasználónév: '.$user_name.'
+ Jelszó: '.$user_password.'

+ Javasoljuk a jelszó megváltoztatását itt.

'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') + $message .= '

Ha valami nem sikerült, vagy új weboldallal szeretne kezdeni, kattintson ide.

'; + +$message .= '
+ +
+

Amennyiben további kérdései vannak vagy segítségre van szüksége kattintson ide.

+ Szép napot kívánunk
SODEW csapata

+
+
+ +
+ +
+
+ FB + IG + YT +
+
+
+

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 ide.

+
+
+'; + +?> \ No newline at end of file diff --git a/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_pl.php b/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_pl.php new file mode 100644 index 0000000..5048560 --- /dev/null +++ b/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_pl.php @@ -0,0 +1,65 @@ + +
+
+ Ta wiadomość e-mail została wysłana do użytkownika, ponieważ niedawno ukończył on rejestrację na stronie sodew.pl +
+
+ + Logo SODEW + +
+

'; + + 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 .= '

Your new website is now available at '.$url_without_filename.'

+
+ +
+

Prosimy o zachowanie tego e-maila, ponieważ zawiera on ważne informacje, które będą potrzebne do zalogowania się.

+ Zaloguj się tutaj: '.$url_without_filename.'/wp-login.php
+ Login: '.$user_name.'
+ Hasło: '.$user_password.'

+ Zalecamy zmianę hasła tutaj.

'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') + $message .= '

Jeśli masz problemy lub po prostu chcesz zacząć od nowa, możesz skorzystać z tego linku.

'; + +$message .= '
+ +
+

W przypadku jakichkolwiek pytań lub potrzeby dalszej pomocy, zachęcamy do skorzystania z tej strony pomocy.

+ Z wyrazami szacunku,
Team SODEW

+
+
+ +
+ +
+
+ FB + IG + YT +
+
+
+

SODEW Ltd, Astbury Road 35, SE15 2NL London, Great Britain. Zrezygnuj z subskrypcji..

+
+
+'; + +?> diff --git a/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_ro.php b/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_ro.php new file mode 100644 index 0000000..3814e8a --- /dev/null +++ b/SODEW Instalátory/installer-cz-salted/autoinstall-partials/local_ro.php @@ -0,0 +1,65 @@ + +
+
+ Acest e-mail v-a fost trimis deoarece v-ați înregistrat recent pe sodew.ro +
+
+ + Logo SODEW + +
+

'; + + 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 .= '

Noul dumneavoastră site web este acum disponibil la '.$url_without_filename.'

+
+ +
+

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.

+ Conectați-vă aici: '.$url_without_filename.'wp-login.php
+ Login: '.$user_name.'
+ Parolă: '.$user_password.'

+ Vă recomandăm să vă schimbați parola aici.

'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') + $message .= '

Dacă întâmpinați probleme sau doriți doar să începeți din nou, puteți folosi acest link.

'; + +$message .= '
+ +
+

Dacă aveți întrebări sau aveți nevoie de asistență suplimentară, nu ezitați să utilizați această pagină de ajutor.

+ Cu cele mai bune gânduri,
Echipa SODEW

+
+
+ +
+ +
+
+ FB + IG + YT +
+
+
+

SODEW Ltd, Astbury Road 35, SE15 2NL London, Great Britain. Unsubscribe..

+
+
+'; + +?> diff --git a/SODEW Instalátory/installer-int-salted/auto-installation.php b/SODEW Instalátory/installer-int-salted/auto-installation.php new file mode 100644 index 0000000..9ce4256 --- /dev/null +++ b/SODEW Instalátory/installer-int-salted/auto-installation.php @@ -0,0 +1,203 @@ + + + + + + Loading... + + + +
+ + + +\r\n"; + $headers .= "Reply-To: $from\r\n"; + $headers .= "MIME-Version: 1.0\r\n"; + $headers .= "Content-Type: text/html; charset=UTF-8\r\n"; + $unsubscribe_url = 'https://sodew.ai/unsubscribe/?email='.$user_email.'&lang=' . $language; + $api_key = isset($_GET['utm']) ? sanitize_text_field($_GET['utm']) : '0'; + $demo = isset($_GET['demo']) && in_array($_GET['demo'], ['1', '0'], true) ? $_GET['demo'] : '0'; + + // Instalace WP + if (!is_blog_installed()) { + global $wpdb; + + require_once ABSPATH . 'wp-admin/includes/translation-install.php'; + + // 1) stáhni jazyk, je-li potřeba + if (function_exists('wp_can_install_language_pack') && wp_can_install_language_pack()) { + wp_download_language_pack($locale); + } + + // 2) nainstaluj WP a předej language + // signatura: wp_install($blog_title, $user_name, $user_email, $public, $deprecated='', $user_password='', $user_language='') + wp_install($blog_title, $user_name, $empty_user_email, true, '', $user_password, $locale); + + // 3) pojisti nastavení jazyka a přepni locale pro aktuální request + update_option('WPLANG', $locale); + if (function_exists('switch_to_locale')) { + switch_to_locale($locale); + } + load_default_textdomain(); + + // Uloží do DB korektní emailovou adresu admina + update_option('siteurl', $url_without_filename); + update_option('home', $url_without_filename); + update_option('admin_email', $user_email); + update_option('api_key', $api_key); + update_option('demo', $demo); + update_option('temp_pass', $user_password); + wp_update_user(array('ID' => 1, 'user_email' => $user_email)); + + if($demo == 0) { + // E-mail body + if ($language == 'cs_CZ') { include(__DIR__ . "/autoinstall-partials/local_cs.php"); } + elseif ($language == 'de_DE') { include(__DIR__ . "/autoinstall-partials/local_de.php"); } + elseif ($language == 'pl_PL') { include(__DIR__ . "/autoinstall-partials/local_pl.php"); } + elseif ($language == 'ro_RO') { include(__DIR__ . "/autoinstall-partials/local_ro.php"); } + elseif ($language == 'fr_FR') { include(__DIR__ . "/autoinstall-partials/local_fr.php"); } + else { include(__DIR__ . "/autoinstall-partials/local_en.php"); } + + mail($user_email, $subject, $message, $headers, "-f $from"); + } + + // vytvoří cookies pro trvalé přihlášení na 1 rok + $cookie_expiration = time() + (365 * 24 * 60 * 60); + $cookie_path = COOKIEPATH; + $cookie_domain = COOKIE_DOMAIN; + setcookie(LOGGED_IN_COOKIE, wp_generate_auth_cookie(1, $cookie_expiration, 'logged_in'), $cookie_expiration, $cookie_path, $cookie_domain, is_ssl(), true); + + // Registrace funkce pro smazání skriptu po ukončení běhu + register_shutdown_function('delete_self', __FILE__, $full_login_url); + + // Přesměrování a přihlášení + $login_url = $url_without_filename . 'wp-login.php'; + echo ' + + + + + +
+ + + +
+ + + + + '; + exit; + } +} +?> \ No newline at end of file diff --git a/SODEW Instalátory/installer-int-salted/autoinstall-partials/functions.php b/SODEW Instalátory/installer-int-salted/autoinstall-partials/functions.php new file mode 100644 index 0000000..65520e1 --- /dev/null +++ b/SODEW Instalátory/installer-int-salted/autoinstall-partials/functions.php @@ -0,0 +1,71 @@ +'); +} + +/** + * 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; +} +?> \ No newline at end of file diff --git a/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_cs.php b/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_cs.php new file mode 100644 index 0000000..28a0723 --- /dev/null +++ b/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_cs.php @@ -0,0 +1,67 @@ + +
+
+ E-mail byl zaslán na základě vyplnění formuláře na sodew.cz +
+
+ + Logo SODEW + +
+
+

'; + + 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 .= '

+

Váš nový web je nyní dostupný na adrese '.$url_without_filename.'

+
+ +
+

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í.

+ Přihlášení do administrace: '.$url_without_filename.'wp-login.php
+ Přihlašovací jméno: '.$user_name.'
+ Heslo: '.$user_password.'

+ Heslo doporučujeme změnit zde.

'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') + $message .= '

Pokud se vám cokoli nepovedlo nebo chcete začít s čistým štítem, kliněte sem.

'; + + $message .= '
+ +
+

Máte-li jakékoli dotazy nebo potřebujete další pomoc, přejděte do nápovědy.

+ S přáním hezkého dne
Tým SODEW

+
+
+ +
+ +
+
+ FB + IG + YT +
+
+
+

SODEW Ltd, Astbury Road 35, SE15 2NL Londýn, Velká Británie. Odhlásit odběr.

+
+
+'; + +?> \ No newline at end of file diff --git a/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_de.php b/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_de.php new file mode 100644 index 0000000..295c4d8 --- /dev/null +++ b/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_de.php @@ -0,0 +1,65 @@ + +
+
+ Diese E-Mail wurde Ihnen geschickt, weil Sie sich kürzlich bei sodew.de registriert haben. +
+
+ + Logo SODEW + +
+

'; + + 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 .= '

Ihre neue Website ist jetzt verfügbar unter '.$url_without_filename.'

+
+ +
+

Bitte bewahren Sie diese E-Mail auf, da sie wichtige Informationen enthält, die Sie für die Anmeldung benötigen.

+ Hier anmelden: '.$url_without_filename.'/wp-login.php
+ Anmeldung: '.$user_name.'
+ Passwort: '.$user_password.'

+ Wir empfehlen, Ihr Passwort hier zu ändern.

'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') + $message .= '

Wenn Sie Probleme haben oder einfach neu anfangen wollen, können Sie diesen Link benutzen.

'; + +$message .= '
+ +
+

Sollten Sie Fragen haben oder weitere Unterstützung benötigen, können Sie unsere Hilfeseite nutzen.

+ Mit freundlichen Grüßen,
Team SODEW

+
+
+ +
+ +
+
+ FB + IG + YT +
+
+
+

SODEW Ltd, Astbury Road 35, SE15 2NL London, Great Britain. Abbestellen..

+
+
+'; + +?> diff --git a/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_en.php b/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_en.php new file mode 100644 index 0000000..2d7ef9d --- /dev/null +++ b/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_en.php @@ -0,0 +1,65 @@ + +
+
+ This e-mail was sent to you because you have recently completed a registration at sodew.ai +
+
+ + Logo SODEW + +
+

'; + + 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 .= '

Your new website is now available at '.$url_without_filename.'

+
+ +
+

Please keep this e-mail as it contains important details that you will need to sign in.

+ Log in here: '.$url_without_filename.'wp-login.php
+ Login: '.$user_name.'
+ Password: '.$user_password.'

+ We recommend changing your password here.

'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') + $message .= '

If you are having problems or just want to start again, you can use this link.

'; + +$message .= '
+ +
+

Should you have any questions or need further assistance, feel free to use this help page.

+ Kindest regards,
Team at SODEW

+
+
+ +
+ +
+
+ FB + IG + YT +
+
+
+

SODEW Ltd, Astbury Road 35, SE15 2NL London, Great Britain. Unsubscribe..

+
+
+'; + +?> \ No newline at end of file diff --git a/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_hu.php b/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_hu.php new file mode 100644 index 0000000..6ee4188 --- /dev/null +++ b/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_hu.php @@ -0,0 +1,65 @@ + +
+
+ Az e-mail, űrlap kitöltése alapján lett elküldve a sodew.hu weboldalán. +
+
+ + Logo SODEW + +
+

'; + + 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 .= '

Az új weboldala mostantól a '.$url_without_filename.'

+
+ +
+

Kérjük, őrizze meg ezt az e-mailt. Fontos információkat tartalmaz, amelyek hasznára válnak a következő bejelentkezéskor.

+ Bejelentkezés az adminisztrációba: '.$url_without_filename.'wp-login.php
+ Felhasználónév: '.$user_name.'
+ Jelszó: '.$user_password.'

+ Javasoljuk a jelszó megváltoztatását itt.

'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') + $message .= '

Ha valami nem sikerült, vagy új weboldallal szeretne kezdeni, kattintson ide.

'; + +$message .= '
+ +
+

Amennyiben további kérdései vannak vagy segítségre van szüksége kattintson ide.

+ Szép napot kívánunk
SODEW csapata

+
+
+ +
+ +
+
+ FB + IG + YT +
+
+
+

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 ide.

+
+
+'; + +?> \ No newline at end of file diff --git a/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_pl.php b/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_pl.php new file mode 100644 index 0000000..5048560 --- /dev/null +++ b/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_pl.php @@ -0,0 +1,65 @@ + +
+
+ Ta wiadomość e-mail została wysłana do użytkownika, ponieważ niedawno ukończył on rejestrację na stronie sodew.pl +
+
+ + Logo SODEW + +
+

'; + + 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 .= '

Your new website is now available at '.$url_without_filename.'

+
+ +
+

Prosimy o zachowanie tego e-maila, ponieważ zawiera on ważne informacje, które będą potrzebne do zalogowania się.

+ Zaloguj się tutaj: '.$url_without_filename.'/wp-login.php
+ Login: '.$user_name.'
+ Hasło: '.$user_password.'

+ Zalecamy zmianę hasła tutaj.

'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') + $message .= '

Jeśli masz problemy lub po prostu chcesz zacząć od nowa, możesz skorzystać z tego linku.

'; + +$message .= '
+ +
+

W przypadku jakichkolwiek pytań lub potrzeby dalszej pomocy, zachęcamy do skorzystania z tej strony pomocy.

+ Z wyrazami szacunku,
Team SODEW

+
+
+ +
+ +
+
+ FB + IG + YT +
+
+
+

SODEW Ltd, Astbury Road 35, SE15 2NL London, Great Britain. Zrezygnuj z subskrypcji..

+
+
+'; + +?> diff --git a/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_ro.php b/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_ro.php new file mode 100644 index 0000000..3814e8a --- /dev/null +++ b/SODEW Instalátory/installer-int-salted/autoinstall-partials/local_ro.php @@ -0,0 +1,65 @@ + +
+
+ Acest e-mail v-a fost trimis deoarece v-ați înregistrat recent pe sodew.ro +
+
+ + Logo SODEW + +
+

'; + + 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 .= '

Noul dumneavoastră site web este acum disponibil la '.$url_without_filename.'

+
+ +
+

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.

+ Conectați-vă aici: '.$url_without_filename.'wp-login.php
+ Login: '.$user_name.'
+ Parolă: '.$user_password.'

+ Vă recomandăm să vă schimbați parola aici.

'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') + $message .= '

Dacă întâmpinați probleme sau doriți doar să începeți din nou, puteți folosi acest link.

'; + +$message .= '
+ +
+

Dacă aveți întrebări sau aveți nevoie de asistență suplimentară, nu ezitați să utilizați această pagină de ajutor.

+ Cu cele mai bune gânduri,
Echipa SODEW

+
+
+ +
+ +
+
+ FB + IG + YT +
+
+
+

SODEW Ltd, Astbury Road 35, SE15 2NL London, Great Britain. Unsubscribe..

+
+
+'; + +?> diff --git a/SODEW Instalátory/installer-migrace-salted/auto-installation.php b/SODEW Instalátory/installer-migrace-salted/auto-installation.php new file mode 100644 index 0000000..aaede37 --- /dev/null +++ b/SODEW Instalátory/installer-migrace-salted/auto-installation.php @@ -0,0 +1,243 @@ + + + + + + Loading... + + + +
+ + + +\r\n"; + } else { + $from = 'ai.info@sodew.ai'; + $headers = "From: SODEW AI <$from>\r\n"; + } + $headers .= "Reply-To: $from\r\n"; + $headers .= "MIME-Version: 1.0\r\n"; + $headers .= "Content-Type: text/html; charset=UTF-8\r\n"; + $unsubscribe_url = 'https://sodew.ai/unsubscribe/?email='.$user_email.'&lang=' . $language.'&domain=' . $domain_name; + $headers .= "List-Unsubscribe: , <$unsubscribe_url>\r\n"; + $headers .= "List-Unsubscribe-Post: List-Unsubscribe=One-Click\r\n"; + $api_key = isset($_GET['utm']) ? sanitize_text_field($_GET['utm']) : '0'; + $demo = isset($_GET['demo']) && in_array($_GET['demo'], ['1', '0'], true) ? $_GET['demo'] : '0'; + // Původní doména webu (před migrací), pokud byla předána v parametru url-original + $url_original = isset($_GET['url-original']) ? sanitize_text_field($_GET['url-original']) : ''; + // Připravený HTML fragment pro vložení do textu e-mailu (prázdný, pokud url-original nepřišlo) + $url_original_html = $url_original !== '' ? ' ' . htmlspecialchars($url_original) . '' : ''; + + // Instalace WP + if (!is_blog_installed()) { + global $wpdb; + + require_once ABSPATH . 'wp-admin/includes/translation-install.php'; + + // 1) stáhni jazyk, je-li potřeba + if (function_exists('wp_can_install_language_pack') && wp_can_install_language_pack()) { + wp_download_language_pack($locale); + } + + // 2) nainstaluj WP a předej language + // signatura: wp_install($blog_title, $user_name, $user_email, $public, $deprecated='', $user_password='', $user_language='') + wp_install($blog_title, $user_name, $empty_user_email, true, '', $user_password, $locale); + + // 3) pojisti nastavení jazyka a přepni locale pro aktuální request + update_option('WPLANG', $locale); + if (function_exists('switch_to_locale')) { + switch_to_locale($locale); + } + load_default_textdomain(); + + // Uloží do DB korektní emailovou adresu admina + update_option('siteurl', $url_without_filename); + update_option('home', $url_without_filename); + update_option('admin_email', $user_email); + update_option('api_key', $api_key); + update_option('demo', $demo); + update_option('temp_pass', $user_password); + wp_update_user(array('ID' => 1, 'user_email' => $user_email)); + + // Zakázání indexace webu ve vyhledávačích (WP přidá noindex a upraví robots.txt) + update_option('blog_public', 0); + + // Zakázání automatických aktualizací jádra/pluginů/motivů WP + // (registrujeme jako mu-plugin, aby platilo trvale i mimo tento request) + $mu_plugins_dir = ABSPATH . 'wp-content/mu-plugins'; + if (!is_dir($mu_plugins_dir)) { + mkdir($mu_plugins_dir, 0755, true); + } + $disable_updates_code = " + + + + +
+ + + +
+ + + + + '; + exit; + } +} +?> diff --git a/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/functions.php b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/functions.php new file mode 100644 index 0000000..65520e1 --- /dev/null +++ b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/functions.php @@ -0,0 +1,71 @@ +'); +} + +/** + * 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; +} +?> \ No newline at end of file diff --git a/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_cs.php b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_cs.php new file mode 100644 index 0000000..8a4aa90 --- /dev/null +++ b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_cs.php @@ -0,0 +1,166 @@ + + + + + + + + +
Váš nový web je připraven. Níže najdete přihlašovací údaje.
+
+ +
+ + + + + + +
+ Logo SODEW +
+
+ +
+ + + + + + + + + + + + + + + +
+
+

Dobrý den,

+

 

+

'.((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! ❤️').'

+

 

+

Váš nový web je nyní připraven. Níže najdete údaje pro přihlášení do administrace.

+
+
+ + + + + + +
+ Začít upravovat web +
+
+
+

Informace o Vašem webu:

+

🌐 Váš web: '.$url_without_filename.'

+

✉ E-mail pro přihlášení: '.$user_email.'

+

🔒 Heslo: '.$user_password.'

+

🔑 Odkaz pro přihlášení do administrace webu: Přihlásit se

+
+
+
+

Heslo doporučujeme změnit zde.

+
+
+
+'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') { + $message .= ' +
+ + + + + + +
+
+

Pokud se vám cokoli nepovedlo nebo chcete začít s čistým štítem, klikněte sem.

+
+
+
+ '; +} + +$message .= ' +
+ + + + + + +
+
+

Máte-li jakékoli dotazy nebo potřebujete další pomoc, přejděte do nápovědy.

+

 

+

Přejeme vám mnoho úspěchů s vaším novým webem!

+

 

+

Děkujeme,

+

tým SODEW

+

www.sodew.cz

+
+
+
+ +
+ + + + + + + + + + + + +
+ SODEW +
+
+

SODEW LTD
Unit Q, 35 Astbury Road, London

+

United Kingdom SE15 2NL

+

 

+

SODEW, s.r.o.
Masarykova 1230

+

373 41 Hluboká nad Vltavou

+
+
+
+

Pokud si nepřejete dostávat další e-maily, můžete se odhlásit.

+
+
+
+ +
+ + +'; +?> diff --git a/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_de.php b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_de.php new file mode 100644 index 0000000..bc14d1f --- /dev/null +++ b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_de.php @@ -0,0 +1,166 @@ + + + + + + + + +
Ihre neue Website ist bereit. Unten finden Sie Ihre Anmeldedaten.
+
+ +
+ + + + + + +
+ Logo SODEW +
+
+ +
+ + + + + + + + + + + + + + + +
+
+

Hallo,

+

 

+

'.((isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1') ? 'vielen Dank, dass Sie unser KI-Hosting für Ihr WordPress nutzen! ❤️' : 'vielen Dank, dass Sie SODEW Website nutzen! ❤️').'

+

 

+

Ihre neue Website ist jetzt bereit. Unten finden Sie die Anmeldedaten für den Administrationsbereich.

+
+
+ + + + + + +
+ Website bearbeiten +
+
+
+

Informationen zu Ihrer Website:

+

🌐 Ihre Website: '.$url_without_filename.'

+

✉ Anmeldung (E-Mail): '.$user_email.'

+

🔒 Passwort: '.$user_password.'

+

🔑 Link zur Anmeldung im Administrationsbereich: Anmelden

+
+
+
+

Wir empfehlen, Ihr Passwort hier zu ändern.

+
+
+
+'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') { + $message .= ' +
+ + + + + + +
+
+

Wenn etwas nicht funktioniert hat oder Sie neu beginnen möchten, klicken Sie hier.

+
+
+
+ '; +} + +$message .= ' +
+ + + + + + +
+
+

Sollten Sie Fragen haben oder weitere Unterstützung benötigen, besuchen Sie unsere Hilfeseite.

+

 

+

Wir wünschen Ihnen viel Erfolg mit Ihrer neuen Website!

+

 

+

Vielen Dank,

+

Team SODEW

+

sodew.de

+
+
+
+ +
+ + + + + + + + + + + + +
+ SODEW +
+
+

SODEW LTD
Unit Q, 35 Astbury Road, London

+

United Kingdom SE15 2NL

+

 

+

SODEW, s.r.o.
Masarykova 1230

+

373 41 Hluboká nad Vltavou

+
+
+
+

Wenn Sie diese E-Mails nicht mehr erhalten möchten, können Sie sich abmelden.

+
+
+
+ +
+ + +'; +?> diff --git a/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_en.php b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_en.php new file mode 100644 index 0000000..4d1ff9d --- /dev/null +++ b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_en.php @@ -0,0 +1,166 @@ + + + + + + + + +
Your new website is ready. Below you will find your login details.
+
+ +
+ + + + + + +
+ Logo SODEW +
+
+ +
+ + + + + + + + + + + + + + + +
+
+

Hello,

+

 

+

'.((isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1') ? 'thank you for using our AI hosting for your WordPress! ❤️' : 'thank you for using SODEW Website! ❤️').'

+

 

+

Your new website is now ready. Below you will find the login details for the admin area.

+
+
+ + + + + + +
+ Start editing your website +
+
+
+

Information about your website:

+

🌐 Your website: '.$url_without_filename.'

+

✉ Login email: '.$user_email.'

+

🔒 Password: '.$user_password.'

+

🔑 Admin login link: Log in

+
+
+
+

We recommend changing your password here.

+
+
+
+'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') { + $message .= ' +
+ + + + + + +
+
+

If something did not work out or you want to start with a clean slate, click here.

+
+
+
+ '; +} + +$message .= ' +
+ + + + + + +
+
+

Should you have any questions or need further assistance, feel free to visit our help page.

+

 

+

We wish you great success with your new website!

+

 

+

Thank you,

+

Team SODEW

+

www.sodew.ai

+
+
+
+ +
+ + + + + + + + + + + + +
+ SODEW +
+
+

SODEW LTD
Unit Q, 35 Astbury Road, London

+

United Kingdom SE15 2NL

+

 

+

SODEW, s.r.o.
Masarykova 1230

+

373 41 Hluboká nad Vltavou

+
+
+
+

If you no longer wish to receive these e-mails, you can unsubscribe.

+
+
+
+ +
+ + +'; +?> diff --git a/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_hu.php b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_hu.php new file mode 100644 index 0000000..2bc06cd --- /dev/null +++ b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_hu.php @@ -0,0 +1,166 @@ + + + + + + + + +
Az új weboldala elkészült. Lent találja a bejelentkezési adatait.
+
+ +
+ + + + + + +
+ Logo SODEW +
+
+ +
+ + + + + + + + + + + + + + + +
+
+

Kedves Ügyfelünk,

+

 

+

'.((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! ❤️').'

+

 

+

Az új weboldala mostantól elérhető. Lent találja az adminisztrációhoz szükséges bejelentkezési adatokat.

+
+
+ + + + + + +
+ Weboldal szerkesztése +
+
+
+

Információk a weboldaláról:

+

🌐 Weboldal: '.$url_without_filename.'

+

✉ Bejelentkezési e-mail: '.$user_email.'

+

🔒 Jelszó: '.$user_password.'

+

🔑 Bejelentkezés az adminisztrációba: Bejelentkezés

+
+
+
+

Javasoljuk a jelszó megváltoztatását itt.

+
+
+
+'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') { + $message .= ' +
+ + + + + + +
+
+

Ha valami nem sikerült, vagy új weboldallal szeretne kezdeni, kattintson ide.

+
+
+
+ '; +} + +$message .= ' +
+ + + + + + +
+
+

Amennyiben további kérdései vannak vagy segítségre van szüksége, látogasson el a súgó oldalunkra.

+

 

+

Sok sikert kívánunk az új weboldalához!

+

 

+

Köszönjük,

+

SODEW csapata

+

www.sodew.hu

+
+
+
+ +
+ + + + + + + + + + + + +
+ SODEW +
+
+

SODEW LTD
Unit Q, 35 Astbury Road, London

+

United Kingdom SE15 2NL

+

 

+

SODEW, s.r.o.
Masarykova 1230

+

373 41 Hluboká nad Vltavou

+
+
+
+

Ha nem szeretne további e-maileket kapni, akkor leiratkozhat.

+
+
+
+ +
+ + +'; +?> diff --git a/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_cs.php b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_cs.php new file mode 100644 index 0000000..c53d18f --- /dev/null +++ b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_cs.php @@ -0,0 +1,202 @@ + + + + + + + + +
+ +
+ + + + + + +
+ VEDOS Hosting +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
WebSite 1.0 končí
+
+
Zvolte si, jak chcete pokračovat
+
+
 
+
+
+

Dobrý den,

+

 

+

máte u nás vytvořený web'.$url_original_html.' ve službě WebSite 1.0. Původní službu budeme postupně ukončovat a nahradí ji nové řešení Website SODEW, které vzniklo ve spolupráci společností SODEW, s.r.o. a VEDOS.

+

 

+

Připravili jsme pro vás dvě možnosti, jak pokračovat:

+
+
+
1. Vytvořit si nový web
+
+
+

Pokud chcete začít znovu, můžete si vytvořit nový web ve službě Website SODEW.

+
+
+ + + + + + +
+ Vytvořit nový web +
+
+
2. Převést stávající web
+
+
+

Váš stávající web jsme pro vás převedli do nového řešení postaveného na WordPressu.

+
+
+ + + + + + +
+
+

Přihlašovací údaje:

+

E-mail: '.$user_email.'

+

Heslo: '.$user_password.'

+
+
+
+
+

Na první přihlášení máte 30 dní od doručení tohoto e-mailu.
Po prvním přihlášení vám začne běžet dalších 30 dní na vyzkoušení převedeného webu.

+
+
+ + + + + + +
+ Zobrazit převedený web +
+
+ + + + + + +
+ Přihlásit se do převedeného webu +
+
+
+

Podrobnější informace o ukončení služby, možnostech přechodu a novém řešení najdete zde:
vedos.cz/website-1-0-konec/

+

 

+

Pokud žádnou z možností nevyužijete, po ukončení služby WebSite 1.0 již váš původní web nebude dostupný. Doporučujeme proto změnu vyřešit včas.

+
+
+
+

S pozdravem,
tým VEDOS / SODEW

+
+
+
+ +
+ + + + + + + + + +
+
+

VEDOS, a.s.
Masarykova 1230
373 41 Hluboká nad Vltavou
E-mail: obchod@vedos.cz
URL: https://www.vedos.cz

+
+
+
+

Odhlásit se z odebírání našich e-mailů.

+
+
+
+ +
+ + +'; +?> diff --git a/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_de.php b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_de.php new file mode 100644 index 0000000..8e8179b --- /dev/null +++ b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_de.php @@ -0,0 +1,202 @@ + + + + + + + + +
+ +
+ + + + + + +
+ VEDOS Hosting +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
WebSite 1.0 endet
+
+
Wählen Sie, wie Sie fortfahren möchten
+
+
 
+
+
+

Hallo,

+

 

+

Sie haben bei uns eine Website'.$url_original_html.' im Dienst WebSite 1.0. Wir werden diesen ursprünglichen Dienst schrittweise einstellen. Er wird durch die neue Lösung Website SODEW ersetzt, die in Zusammenarbeit von SODEW, s.r.o. und VEDOS entstanden ist.

+

 

+

Wir haben für Sie zwei Möglichkeiten vorbereitet, wie Sie fortfahren können:

+
+
+
1. Neue Website erstellen
+
+
+

Wenn Sie neu beginnen möchten, können Sie eine neue Website im Dienst Website SODEW erstellen.

+
+
+ + + + + + +
+ Neue Website erstellen +
+
+
2. Bestehende Website übertragen
+
+
+

Wir haben Ihre bestehende Website für Sie in eine neue, auf WordPress basierende Lösung übertragen.

+
+
+ + + + + + +
+
+

Anmeldedaten:

+

E-Mail: '.$user_email.'

+

Passwort: '.$user_password.'

+
+
+
+
+

Für die erste Anmeldung haben Sie 30 Tage ab Zustellung dieser E-Mail Zeit.
Nach der ersten Anmeldung beginnen weitere 30 Tage, um die übertragene Website auszuprobieren.

+
+
+ + + + + + +
+ Übertragene Website ansehen +
+
+ + + + + + +
+ Bei der übertragenen Website anmelden +
+
+
+

Ausführlichere Informationen zur Einstellung des Dienstes, den Umstiegsmöglichkeiten und der neuen Lösung finden Sie hier:
vedos.cz/website-1-0-konec/

+

 

+

Wenn Sie keine der Möglichkeiten nutzen, ist Ihre ursprüngliche Website nach Einstellung des Dienstes WebSite 1.0 nicht mehr erreichbar. Wir empfehlen daher, dies rechtzeitig zu klären.

+
+
+
+

Mit freundlichen Grüßen,
Ihr VEDOS / SODEW Team

+
+
+
+ +
+ + + + + + + + + +
+
+

VEDOS, a.s.
Masarykova 1230
373 41 Hluboká nad Vltavou
E-mail: obchod@vedos.cz
URL: https://www.vedos.cz

+
+
+
+

Abmelden von unseren E-Mails.

+
+
+
+ +
+ + +'; +?> diff --git a/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_en.php b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_en.php new file mode 100644 index 0000000..3e6ac4a --- /dev/null +++ b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_en.php @@ -0,0 +1,202 @@ + + + + + + + + +
+ +
+ + + + + + +
+ VEDOS Hosting +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
WebSite 1.0 is ending
+
+
Choose how you would like to proceed
+
+
 
+
+
+

Hello,

+

 

+

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 Website SODEW solution, created in cooperation between SODEW, s.r.o. and VEDOS.

+

 

+

We have prepared two options for how to proceed:

+
+
+
1. Create a new website
+
+
+

If you want to start fresh, you can create a new website in the Website SODEW service.

+
+
+ + + + + + +
+ Create a new website +
+
+
2. Migrate your existing website
+
+
+

We have migrated your existing website for you to a new solution built on WordPress.

+
+
+ + + + + + +
+
+

Login details:

+

Email: '.$user_email.'

+

Password: '.$user_password.'

+
+
+
+
+

You have 30 days from delivery of this e-mail to log in for the first time.
After your first login, you will have another 30 days to try out the migrated website.

+
+
+ + + + + + +
+ View migrated website +
+
+ + + + + + +
+ Log in to your migrated website +
+
+
+

You can find more detailed information about the discontinuation of the service, migration options and the new solution here:
vedos.cz/website-1-0-konec/

+

 

+

If you do not use either option, your original website will no longer be available once the WebSite 1.0 service ends. We therefore recommend resolving this in time.

+
+
+
+

Kind regards,
the VEDOS / SODEW team

+
+
+
+ +
+ + + + + + + + + +
+
+

VEDOS, a.s.
Masarykova 1230
373 41 Hluboká nad Vltavou
E-mail: obchod@vedos.cz
URL: https://www.vedos.cz

+
+
+
+

Unsubscribe from our e-mails.

+
+
+
+ +
+ + +'; +?> diff --git a/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_hu.php b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_hu.php new file mode 100644 index 0000000..a6c7e92 --- /dev/null +++ b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_hu.php @@ -0,0 +1,202 @@ + + + + + + + + +
+ +
+ + + + + + +
+ VEDOS Hosting +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
A WebSite 1.0 megszűnik
+
+
Válassza ki, hogyan szeretné folytatni
+
+
 
+
+
+

Kedves Ügyfelünk,

+

 

+

Önnek nálunk van egy weboldala'.$url_original_html.' a WebSite 1.0 szolgáltatásban. Ezt az eredeti szolgáltatást fokozatosan megszüntetjük, helyette az új Website SODEW megoldás lép, amely a SODEW, s.r.o. és a VEDOS együttműködésével jött létre.

+

 

+

Két lehetőséget készítettünk elő Önnek a folytatáshoz:

+
+
+
1. Új weboldal létrehozása
+
+
+

Ha újra szeretne kezdeni, létrehozhat egy új weboldalt a Website SODEW szolgáltatásban.

+
+
+ + + + + + +
+ Új weboldal létrehozása +
+
+
2. Meglévő weboldal átköltöztetése
+
+
+

Meglévő weboldalát átköltöztettük Önnek egy új, WordPress alapú megoldásra.

+
+
+ + + + + + +
+
+

Bejelentkezési adatok:

+

E-mail: '.$user_email.'

+

Jelszó: '.$user_password.'

+
+
+
+
+

Az első bejelentkezésre 30 napja van ennek az e-mailnek a kézbesítésétől számítva.
Az első bejelentkezés után újabb 30 nap áll rendelkezésére az átköltöztetett weboldal kipróbálására.

+
+
+ + + + + + +
+ Átköltöztetett weboldal megtekintése +
+
+ + + + + + +
+ Bejelentkezés az átköltöztetett weboldalra +
+
+
+

A szolgáltatás megszüntetéséről, az átállási lehetőségekről és az új megoldásról részletesebb információt itt talál:
vedos.cz/website-1-0-konec/

+

 

+

Ha egyik lehetőséget sem veszi igénybe, a WebSite 1.0 szolgáltatás megszűnése után eredeti weboldala többé nem lesz elérhető. Javasoljuk, hogy a váltást időben oldja meg.

+
+
+
+

Üdvözlettel,
a VEDOS / SODEW csapata

+
+
+
+ +
+ + + + + + + + + +
+
+

VEDOS, a.s.
Masarykova 1230
373 41 Hluboká nad Vltavou
E-mail: obchod@vedos.cz
URL: https://www.vedos.cz

+
+
+
+

Leiratkozás e-mailjeink listájáról.

+
+
+
+ +
+ + +'; +?> diff --git a/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_pl.php b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_pl.php new file mode 100644 index 0000000..4046382 --- /dev/null +++ b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_pl.php @@ -0,0 +1,202 @@ + + + + + + + + +
+ +
+ + + + + + +
+ VEDOS Hosting +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
WebSite 1.0 się kończy
+
+
Wybierz, jak chcesz kontynuować
+
+
 
+
+
+

Dzień dobry,

+

 

+

masz u nas stronę'.$url_original_html.' w usłudze WebSite 1.0. Tę pierwotną usługę będziemy stopniowo wycofywać, a zastąpi ją nowe rozwiązanie Website SODEW, powstałe we współpracy firm SODEW, s.r.o. i VEDOS.

+

 

+

Przygotowaliśmy dla Ciebie dwie możliwości dalszego działania:

+
+
+
1. Stwórz nową stronę
+
+
+

Jeśli chcesz zacząć od nowa, możesz stworzyć nową stronę w usłudze Website SODEW.

+
+
+ + + + + + +
+ Stwórz nową stronę +
+
+
2. Przenieś istniejącą stronę
+
+
+

Przenieśliśmy dla Ciebie Twoją istniejącą stronę do nowego rozwiązania opartego na WordPressie.

+
+
+ + + + + + +
+
+

Dane logowania:

+

E-mail: '.$user_email.'

+

Hasło: '.$user_password.'

+
+
+
+
+

Na pierwsze logowanie masz 30 dni od doręczenia tej wiadomości e-mail.
Po pierwszym logowaniu rozpocznie się kolejne 30 dni na wypróbowanie przeniesionej strony.

+
+
+ + + + + + +
+ Zobacz przeniesioną stronę +
+
+ + + + + + +
+ Zaloguj się do przeniesionej strony +
+
+
+

Bardziej szczegółowe informacje o zakończeniu usługi, możliwościach migracji i nowym rozwiązaniu znajdziesz tutaj:
vedos.cz/website-1-0-konec/

+

 

+

Jeśli nie skorzystasz z żadnej z opcji, po zakończeniu usługi WebSite 1.0 Twoja pierwotna strona nie będzie już dostępna. Zalecamy zatem rozwiązanie tej kwestii na czas.

+
+
+
+

Z poważaniem,
zespół VEDOS / SODEW

+
+
+
+ +
+ + + + + + + + + +
+
+

VEDOS, a.s.
Masarykova 1230
373 41 Hluboká nad Vltavou
E-mail: obchod@vedos.cz
URL: https://www.vedos.cz

+
+
+
+

Wypisz się z otrzymywania naszych e-maili.

+
+
+
+ +
+ + +'; +?> diff --git a/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_ro.php b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_ro.php new file mode 100644 index 0000000..aeb2833 --- /dev/null +++ b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_migrace_ro.php @@ -0,0 +1,202 @@ + + + + + + + + +
+ +
+ + + + + + +
+ VEDOS Hosting +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
WebSite 1.0 se încheie
+
+
Alegeți cum doriți să continuați
+
+
 
+
+
+

Bună ziua,

+

 

+

aveți la noi un site'.$url_original_html.' creat în serviciul WebSite 1.0. Acest serviciu original va fi întrerupt treptat, fiind înlocuit de noua soluție Website SODEW, creată în colaborare de SODEW, s.r.o. și VEDOS.

+

 

+

Am pregătit pentru dvs. două opțiuni pentru a continua:

+
+
+
1. Creați un site nou
+
+
+

Dacă doriți să începeți din nou, puteți crea un site nou în serviciul Website SODEW.

+
+
+ + + + + + +
+ Creați un site nou +
+
+
2. Migrați site-ul existent
+
+
+

Am migrat pentru dvs. site-ul existent către o nouă soluție bazată pe WordPress.

+
+
+ + + + + + +
+
+

Date de conectare:

+

E-mail: '.$user_email.'

+

Parolă: '.$user_password.'

+
+
+
+
+

Aveți la dispoziție 30 de zile de la primirea acestui e-mail pentru prima conectare.
După prima conectare, veți avea încă 30 de zile pentru a testa site-ul migrat.

+
+
+ + + + + + +
+ Vizualizați site-ul migrat +
+
+ + + + + + +
+ Conectați-vă la site-ul migrat +
+
+
+

Informații mai detaliate despre încheierea serviciului, opțiunile de migrare și noua soluție găsiți aici:
vedos.cz/website-1-0-konec/

+

 

+

Dacă nu folosiți niciuna dintre opțiuni, după încheierea serviciului WebSite 1.0 site-ul dvs. original nu va mai fi disponibil. Vă recomandăm așadar să rezolvați această schimbare la timp.

+
+
+
+

Cu stimă,
echipa VEDOS / SODEW

+
+
+
+ +
+ + + + + + + + + +
+
+

VEDOS, a.s.
Masarykova 1230
373 41 Hluboká nad Vltavou
E-mail: obchod@vedos.cz
URL: https://www.vedos.cz

+
+
+
+

Dezabonare de la e-mailurile noastre.

+
+
+
+ +
+ + +'; +?> diff --git a/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_pl.php b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_pl.php new file mode 100644 index 0000000..4e2ef99 --- /dev/null +++ b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_pl.php @@ -0,0 +1,166 @@ + + + + + + + + +
Twoja nowa strona jest gotowa. Poniżej znajdziesz dane do logowania.
+
+ +
+ + + + + + +
+ Logo SODEW +
+
+ +
+ + + + + + + + + + + + + + + +
+
+

Dzień dobry,

+

 

+

'.((isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1') ? 'dziękujemy za korzystanie z naszego hostingu AI dla WordPressa! ❤️' : 'dziękujemy za korzystanie z SODEW Website! ❤️').'

+

 

+

Twoja nowa strona jest już gotowa. Poniżej znajdziesz dane do logowania w panelu administracyjnym.

+
+
+ + + + + + +
+ Edytuj swoją stronę +
+
+
+

Informacje o Twojej stronie:

+

🌐 Twoja strona: '.$url_without_filename.'

+

✉ E-mail do logowania: '.$user_email.'

+

🔒 Hasło: '.$user_password.'

+

🔑 Link do logowania w administracji strony: Zaloguj się

+
+
+
+

Zalecamy zmianę hasła tutaj.

+
+
+
+'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') { + $message .= ' +
+ + + + + + +
+
+

Jeśli masz problemy lub po prostu chcesz zacząć od nowa, kliknij tutaj.

+
+
+
+ '; +} + +$message .= ' +
+ + + + + + +
+
+

W przypadku jakichkolwiek pytań lub potrzeby dalszej pomocy, zachęcamy do odwiedzenia strony pomocy.

+

 

+

Życzymy powodzenia z Twoją nową stroną!

+

 

+

Dziękujemy,

+

Zespół SODEW

+

sodew.pl

+
+
+
+ +
+ + + + + + + + + + + + +
+ SODEW +
+
+

SODEW LTD
Unit Q, 35 Astbury Road, London

+

United Kingdom SE15 2NL

+

 

+

SODEW, s.r.o.
Masarykova 1230

+

373 41 Hluboká nad Vltavou

+
+
+
+

Jeśli nie chcesz już otrzymywać takich wiadomości, możesz się wypisać.

+
+
+
+ +
+ + +'; +?> diff --git a/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_ro.php b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_ro.php new file mode 100644 index 0000000..6f71370 --- /dev/null +++ b/SODEW Instalátory/installer-migrace-salted/autoinstall-partials/local_ro.php @@ -0,0 +1,166 @@ + + + + + + + + +
Noul dvs. site este gata. Mai jos găsiți datele de conectare.
+
+ +
+ + + + + + +
+ Logo SODEW +
+
+ +
+ + + + + + + + + + + + + + + +
+
+

Bună ziua,

+

 

+

'.((isset($_GET['just-hosting']) && $_GET['just-hosting'] == '1') ? 'vă mulțumim că folosiți găzduirea noastră AI pentru WordPress! ❤️' : 'vă mulțumim că folosiți SODEW Website! ❤️').'

+

 

+

Noul dvs. site web este acum gata. Mai jos găsiți datele de conectare pentru administrare.

+
+
+ + + + + + +
+ Editați site-ul dvs. +
+
+
+

Informații despre site-ul dvs.:

+

🌐 Site-ul dvs.: '.$url_without_filename.'

+

✉ E-mail de conectare: '.$user_email.'

+

🔒 Parolă: '.$user_password.'

+

🔑 Link de conectare la administrare: Conectați-vă

+
+
+
+

Vă recomandăm să vă schimbați parola aici.

+
+
+
+'; + +if(!isset($_GET['just-hosting']) || $_GET['just-hosting'] != '1') { + $message .= ' +
+ + + + + + +
+
+

Dacă întâmpinați probleme sau doriți doar să începeți din nou, faceți clic aici.

+
+
+
+ '; +} + +$message .= ' +
+ + + + + + +
+
+

Dacă aveți întrebări sau aveți nevoie de asistență suplimentară, vizitați pagina de ajutor.

+

 

+

Vă dorim mult succes cu noul dvs. site web!

+

 

+

Vă mulțumim,

+

Echipa SODEW

+

sodew.ro

+
+
+
+ +
+ + + + + + + + + + + + +
+ SODEW +
+
+

SODEW LTD
Unit Q, 35 Astbury Road, London

+

United Kingdom SE15 2NL

+

 

+

SODEW, s.r.o.
Masarykova 1230

+

373 41 Hluboká nad Vltavou

+
+
+
+

Dacă nu mai doriți să primiți aceste e-mailuri, vă puteți dezabona.

+
+
+
+ +
+ + +'; +?> diff --git a/wordpress-compiler/wordpress-compiler.sh b/wordpress-compiler/wordpress-compiler.sh new file mode 100644 index 0000000..fb18fad --- /dev/null +++ b/wordpress-compiler/wordpress-compiler.sh @@ -0,0 +1,153 @@ +#!/usr/bin/env bash +set -euo pipefail + +TARGET_DIR="www" +SODEW_DIR="sodew" + +# WordPress core (latest.zip) +WP_URL_BASE="https://wordpress.org/latest.zip" + +# Plugin slugs (WordPress.org) +PLUGINS=( + "litespeed-cache" +) + +need_cmd() { + command -v "$1" >/dev/null 2>&1 || { echo "Chybí příkaz: $1" >&2; exit 1; } +} +need_cmd curl +need_cmd unzip +need_cmd rsync +need_cmd mktemp +need_cmd date +need_cmd find +need_cmd grep +need_cmd sed + +tmp="$(mktemp -d)" +cleanup() { rm -rf "$tmp"; } +trap cleanup EXIT + +ts="$(date +%s)" +echo "==> TMP: $tmp" +mkdir -p "$tmp/downloads" "$tmp/extract" "$tmp/plugins" + +# --- Helper: fresh download (no cache) --- +fresh_curl() { + local url="$1" + local out="$2" + curl -fsSL --retry 3 --retry-delay 1 \ + -H "Cache-Control: no-cache, no-store, must-revalidate" \ + -H "Pragma: no-cache" \ + -H "Expires: 0" \ + -o "$out" \ + "$url" +} + +# --- Helper: detekce verze WordPressu --- +detect_wp_version() { + local version_file="$1/wp-includes/version.php" + if [[ -f "$version_file" ]]; then + grep -E "^\\\$wp_version\s*=" "$version_file" \ + | head -n1 \ + | sed -E "s/.*=\s*'([^']+)'.*/\1/" + else + echo "neznámá" + fi +} + +# --- Helper: detekce verze pluginu --- +detect_plugin_version() { + local plugin_dir="$1" + # Zkus najít verzi v PHP hlavičce hlavního souboru pluginu + local version + version="$(grep -rhiE "^\s*\*?\s*Version:\s*" "$plugin_dir" --include="*.php" 2>/dev/null \ + | head -n1 \ + | sed -E "s/.*[Vv]ersion:\s*([0-9A-Za-z.\-]+).*/\1/")" + if [[ -z "$version" ]]; then + # Fallback: zkus readme.txt (Stable tag) + local readme="$plugin_dir/readme.txt" + if [[ -f "$readme" ]]; then + version="$(grep -iE "^Stable tag:" "$readme" \ + | head -n1 \ + | sed -E "s/.*[Ss]table tag:\s*([0-9A-Za-z.\-]+).*/\1/")" + fi + fi + echo "${version:-neznámá}" +} + +# --- Fail-fast: kontrola struktury SODEW --- +echo "==> Kontroluju SODEW zdroj" +[[ -d "$SODEW_DIR" ]] || { echo "Chybí složka: $SODEW_DIR" >&2; exit 1; } +[[ -d "$SODEW_DIR/wp-content/mu-plugins" ]] || { echo "Chybí: $SODEW_DIR/wp-content/mu-plugins/" >&2; exit 1; } + +echo "==> Stahuju WordPress (vždy fresh)" +WP_URL="${WP_URL_BASE}?t=${ts}" +fresh_curl "$WP_URL" "$tmp/downloads/wordpress.zip" + +echo "==> Rozbaluju WordPress" +unzip -q "$tmp/downloads/wordpress.zip" -d "$tmp/extract" +WP_SRC="$tmp/extract/wordpress" +if [[ ! -d "$WP_SRC/wp-admin" ]]; then + echo "Chyba: WordPress nebyl správně rozbalen." >&2 + exit 1 +fi + +WP_VERSION="$(detect_wp_version "$WP_SRC")" +echo " WordPress verze: ${WP_VERSION}" + +# Pole pro shrnutí na konci +declare -A PLUGIN_VERSIONS + +echo "==> Stahuju a rozbaluju pluginy (vždy fresh)" +for slug in "${PLUGINS[@]}"; do + url="https://downloads.wordpress.org/plugin/${slug}.zip?t=${ts}" + zip="$tmp/downloads/${slug}.zip" + echo " -> $slug" + fresh_curl "$url" "$zip" + unzip -q "$zip" -d "$tmp/plugins" + + plugin_dir="$tmp/plugins/$slug" + if [[ -d "$plugin_dir" ]]; then + pv="$(detect_plugin_version "$plugin_dir")" + else + pv="neznámá" + fi + PLUGIN_VERSIONS["$slug"]="$pv" + echo " verze: ${pv}" +done + +echo "==> Připravuju cílovou složku" +mkdir -p "$TARGET_DIR" + +echo "==> Clean deploy (mažu obsah cílové složky)" +find "$TARGET_DIR" -mindepth 1 -maxdepth 1 -exec rm -rf {} + + +echo "==> Nasazuju WordPress core" +rsync -a --delete "$WP_SRC"/ "$TARGET_DIR"/ + +echo "==> Nasazuju pluginy do wp-content/plugins" +mkdir -p "$TARGET_DIR/wp-content/plugins" +rm -rf "$TARGET_DIR/wp-content/plugins/"* || true +rsync -a "$tmp/plugins"/ "$TARGET_DIR/wp-content/plugins/" + +echo "==> Includuju vše ze SODEW do rootu WP (kromě wp-content/)" +rsync -a \ + --exclude "wp-content/" \ + "$SODEW_DIR"/ \ + "$TARGET_DIR"/ + +echo "==> Includuju mu-plugins ze SODEW do wp-content/mu-plugins" +mkdir -p "$TARGET_DIR/wp-content/mu-plugins" +rsync -a --delete \ + "$SODEW_DIR/wp-content/mu-plugins/" \ + "$TARGET_DIR/wp-content/mu-plugins/" + +echo "" +echo "==> Hotovo." +echo "" +echo "Nasazené verze:" +echo " - WordPress: ${WP_VERSION}" +for slug in "${PLUGINS[@]}"; do + echo " - ${slug}: ${PLUGIN_VERSIONS[$slug]}" +done