From 0ab20a8871a75d2137b37eedfe6bd6e7842ce9e4 Mon Sep 17 00:00:00 2001 From: Roman Pyrih Date: Fri, 24 Apr 2026 10:48:30 +0200 Subject: [PATCH] Add new email for forms --- plugins/special-actions-middle.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/plugins/special-actions-middle.php b/plugins/special-actions-middle.php index 2222e09..812a5df 100644 --- a/plugins/special-actions-middle.php +++ b/plugins/special-actions-middle.php @@ -263,6 +263,7 @@ if ( \S::get('action') == 'send-contact' and \S::get('token') == \S::get_session // send copy to k.zarzyczny@vidok.com \S::send_email('k.zarzyczny@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); \S::send_email('arkuszevidok@gmail.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); + \S::send_email('zapytania@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); \S::alert(\S::lang('wiadomosc-zostala-wyslana')); } else @@ -341,6 +342,7 @@ if ( \S::get('action') == 'send-contact-modal' and \S::get('token') == \S::get_s // send copy to k.zarzyczny@vidok.com \S::send_email('k.zarzyczny@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); \S::send_email('arkuszevidok@gmail.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); + \S::send_email('zapytania@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); \S::alert(\S::lang('wiadomosc-zostala-wyslana')); header('Location: ' . $_SERVER['REQUEST_URI'] . '?modal_form_sent=1'); } @@ -374,6 +376,8 @@ if (\S::get('action') == 'send-services' and \S::get('token') == \S::get_session if (\S::send_email('zgloszenia@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send)) { \S::send_email('serwis@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); + \S::send_email('arkuszevidok@gmail.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); + \S::send_email('zapytania@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); \S::send_email(\S::get('inputEmail'), 'Wiadomość ze strony vidok.com', $msg,); \S::alert(\S::lang('wiadomosc-zostala-wyslana')); } @@ -418,6 +422,7 @@ if (\S::get('action') == 'send-contact-landing' and \S::get('token') == \S::get_ // send copy to k.zarzyczny@vidok.com \S::send_email('k.zarzyczny@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); \S::send_email('arkuszevidok@gmail.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); + \S::send_email('zapytania@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); \S::alert(\S::lang('wiadomosc-zostala-wyslana')); } else @@ -490,6 +495,7 @@ if (\S::get('action') == 'send-contact-form-new' and \S::get('token') == \S::get // send copy to k.zarzyczny@vidok.com \S::send_email('k.zarzyczny@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); \S::send_email('arkuszevidok@gmail.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); + \S::send_email('zapytania@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); \S::alert(\S::lang('wiadomosc-zostala-wyslana')); header('Location: ' . $_SERVER['REQUEST_URI'] . '?form_sent=1'); exit; @@ -562,6 +568,7 @@ if (\S::get('action') == 'send-partner-form-new' and \S::get('token') == \S::get // send copy to k.zarzyczny@vidok.com \S::send_email('k.zarzyczny@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); \S::send_email('arkuszevidok@gmail.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); + \S::send_email('zapytania@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); \S::alert(\S::lang('wiadomosc-zostala-wyslana')); header('Location: ' . $_SERVER['REQUEST_URI'] . '?form_sent=1'); exit; @@ -638,6 +645,7 @@ if (\S::get('action') == 'send-contact-form-new-2' and \S::get('token') == \S::g // send copy to k.zarzyczny@vidok.com \S::send_email('k.zarzyczny@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); \S::send_email('arkuszevidok@gmail.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); + \S::send_email('zapytania@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); \S::alert(\S::lang('wiadomosc-zostala-wyslana')); header('Location: ' . $_SERVER['REQUEST_URI'] . '?form_sent=1'); exit; @@ -702,7 +710,8 @@ if (\S::get('action') == 'send-contact-form-new-b2b' and \S::get('token') == \S: { // send copy to k.zarzyczny@vidok.com \S::send_email('k.zarzyczny@vidok.com', 'Wiadomość ze strony vidok.com (B2B)', $text, \S::get('email')); - \S::send_email('arkuszevidok@gmail.com', 'Wiadomość ze strony vidok.com (B2B)', $text, \S::get('email')); + \S::send_email('arkuszevidok@gmail.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); + \S::send_email('zapytania@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); \S::alert(\S::lang('wiadomosc-zostala-wyslana')); header('Location: ' . $_SERVER['REQUEST_URI'] . '?form_sent=1'); exit; @@ -781,6 +790,7 @@ if (\S::get('action') == 'send-contact-form-new-deweloper' and \S::get('token') // send copy to k.zarzyczny@vidok.com \S::send_email('k.zarzyczny@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); \S::send_email('arkuszevidok@gmail.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); + \S::send_email('zapytania@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email'), $files_to_send); \S::alert(\S::lang('wiadomosc-zostala-wyslana')); header('Location: ' . $_SERVER['REQUEST_URI'] . '?form_sent=1'); exit;