Add new email for forms

This commit is contained in:
Roman Pyrih
2026-04-24 10:48:30 +02:00
parent a5e769c8d3
commit 0ab20a8871

View File

@@ -263,6 +263,7 @@ if ( \S::get('action') == 'send-contact' and \S::get('token') == \S::get_session
// send copy to k.zarzyczny@vidok.com // 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('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('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')); \S::alert(\S::lang('wiadomosc-zostala-wyslana'));
} }
else 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 // 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('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('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')); \S::alert(\S::lang('wiadomosc-zostala-wyslana'));
header('Location: ' . $_SERVER['REQUEST_URI'] . '?modal_form_sent=1'); 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)) 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('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::send_email(\S::get('inputEmail'), 'Wiadomość ze strony vidok.com', $msg,);
\S::alert(\S::lang('wiadomosc-zostala-wyslana')); \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 // 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('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('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')); \S::alert(\S::lang('wiadomosc-zostala-wyslana'));
} }
else 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 // 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('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('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')); \S::alert(\S::lang('wiadomosc-zostala-wyslana'));
header('Location: ' . $_SERVER['REQUEST_URI'] . '?form_sent=1'); header('Location: ' . $_SERVER['REQUEST_URI'] . '?form_sent=1');
exit; 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 // 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('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('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')); \S::alert(\S::lang('wiadomosc-zostala-wyslana'));
header('Location: ' . $_SERVER['REQUEST_URI'] . '?form_sent=1'); header('Location: ' . $_SERVER['REQUEST_URI'] . '?form_sent=1');
exit; 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 // 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('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('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')); \S::alert(\S::lang('wiadomosc-zostala-wyslana'));
header('Location: ' . $_SERVER['REQUEST_URI'] . '?form_sent=1'); header('Location: ' . $_SERVER['REQUEST_URI'] . '?form_sent=1');
exit; 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 // 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('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')); \S::alert(\S::lang('wiadomosc-zostala-wyslana'));
header('Location: ' . $_SERVER['REQUEST_URI'] . '?form_sent=1'); header('Location: ' . $_SERVER['REQUEST_URI'] . '?form_sent=1');
exit; 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 // 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('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('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')); \S::alert(\S::lang('wiadomosc-zostala-wyslana'));
header('Location: ' . $_SERVER['REQUEST_URI'] . '?form_sent=1'); header('Location: ' . $_SERVER['REQUEST_URI'] . '?form_sent=1');
exit; exit;