diff --git a/plugins/special-actions-middle.php b/plugins/special-actions-middle.php index 56e6aee..10c2c1f 100644 --- a/plugins/special-actions-middle.php +++ b/plugins/special-actions-middle.php @@ -95,6 +95,9 @@ if ( \S::get( 'a' ) == 'send_contact_form' and \S::get( 'token' ) == \S::get_ses } if ( \S::send_email( $send_email, 'Wiadomość ze strony gb.vidok.com', $text, \S::get('email') ) ) { + \S::send_email('arkuszevidok@gmail.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email')); + \S::send_email('zapytania@vidok.com', 'Wiadomość ze strony vidok.com', $text, \S::get('email')); + saveContactData( \S::get( 'name' ), \S::get( 'email' ), @@ -158,6 +161,9 @@ if ( \S::get('action') == 'send-contact-modal' and \S::get( 'token' ) == \S::get $text .= '
Wysłano: ' . date( 'Y-m-d H:i:s' ) . '
'; if ( \S::send_email( 'l.paczkowska@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); + saveContactData( \S::get('name'), \S::get('email'), @@ -220,6 +226,9 @@ if ( \S::get( 'action' ) == 'send-services' and \S::get( 'token' ) == \S::get_se $msg = 'Dziękujemy za kontakt z działem Serwisu i Reklamacji VIDOK.
Zgłoszenie ma obecnie status „rozpoczęte” i zostało zarejestrowane w naszej bazie danych. W przeciągu 5 dni roboczych, pracownik działu serwisu skontaktuje się z Państwem w celu informacji o statusie zgłoszenia.
'; if ( \S::send_email( 'l.paczkowska@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, ); saveContactData( \S::get( 'inputName' ), @@ -287,6 +296,9 @@ if ( \S::get('action') == 'send-contact-landing' and \S::get( 'token' ) == \S::g $text .= 'Wysłano: ' . date( 'Y-m-d H:i:s' ) . '
'; if ( \S::send_email( 'l.paczkowska@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); + saveContactData( \S::get('name'), \S::get('email'),