'; ?> id ) { initEditor(); } $collspan_offset = ( mosCountModules( 'right' ) + mosCountModules( 'user2' ) ) ? 2 : 1; //script to determine which div setup for layout to use based on module configuration $user1 = 0; $user2 = 0; $colspan = 0; $right = 0; // banner combos //user1 combos if ( mosCountModules( 'user1' ) + mosCountModules( 'user2' ) == 2) { $user1 = 2; $user2 = 2; $colspan = 3; } elseif ( mosCountModules( 'user1' ) == 1 ) { $user1 = 1; $colspan = 1; } elseif ( mosCountModules( 'user2' ) == 1 ) { $user2 = 1; $colspan = 1; } //right based combos if ( mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) { $right = 1; } ?>
PMP is the flexible partner who supplies and cooperates with the pulp & paper, machine- building and heavy industries.We look forward to working with you!
Name and Surname Company Place E-mail    
"; } // sprawdzamy, czy zmienne przesłane z formularza nie są puste elseif (!empty($_POST['name']) && !empty($_POST['company']) && !empty($_POST['place']) && !empty($_POST['email'])) { // jeżeli powyższy warunek jest spełniony tworzona jest wiadomość // zmienna $message zawiera treść wiadomości $message = "PROŚBA O DODANIE DO NEWSLETTERA\nWysłał: $_POST[name]\nFirma: $_POST[company]\nStanowisko: $_POST[place]\nAdres e-mail:$_POST[email]"; // zmienna $header zawiera przede wszystkim adres zwrotny $header = "From: $_POST[name] <$_POST[email]>"; // funkcja mail() za pomocą której wiadomość zostanie wysłana @mail("patryk.szczepanski@pmpgroup.com","PROSBA O DOPISANIE DO NEWSLETTERA","$message","$header") or die('Sorry, the massage could not be delivered. Please try gain later or send an e-mail to Maja Mejsner at maja.mejsner@pmpgroup.com'); // wyświetlenie komunikatu w przypadku powodzenia echo "
The massage has been send sucesfull!
"; } // lub w przypadku nie wypełnienia formularza do końca else echo "Please... uzupelnij dane ..."; ?>
Tissue Business
Paper Business
Divisions