$data_wyslania = date ( "Y-m-d" ); $godzina_wyslania = date ( "H:i:s" ); $adres_ip = getenv( 'REMOTE_ADDR' ); $nazwa_hosta = gethostbyaddr( getenv( 'REMOTE_ADDR' ) ); $agent = getenv( 'HTTP_USER_AGENT' ); if ( empty ( $_POST[ 'email' ] ) ) $email = "anonim@nobdepot.com"; else $email = trim ( $_POST[ 'email' ] ); if ( $_POST['formType'] == "zapisBiuletyn" ) { include ( "lib/funkcje.connect.inc.php" ); include ( "lib/funkcje.biuletyn_subskrybenci.inc.php" ); $biuletyn = dodajSubskrybentZeStrony ( $_POST['email'] ); $tresc = "E-mail:\t\t" . $email . "\n\n"; $tresc .= wordwrap( "Zapis na biuletyn dnia " . $data_wyslania . " roku o godzinie " . $godzina_wyslania . " z adresu " . $adres_ip . " ( " . $nazwa_hosta . " ) " . "\n\nSystem: " . $agent . "\n\nWysłane z " . $_SERVER[ 'SERVER_NAME' ], 80 ); $tresc = trim ( $tresc ); mail( "biuletyn@nobdepot.com" , "Biuletyn", $tresc, "From:" . $email . "\nReplay-to:" . $email . "\nMime-Version: 1.0\nContent-Type:text/plain; charset=\"ISO-8859-2\"\nX-mailer: MaDONET Mail" ); header( "Location: main.html" ); exit; } if ( $_GET['w'] == 1 ) { $komunikat = "Formularz został wysłany. Dziękujemy !!"; } else { if ( $_POST['formType'] == "wyslijWiadomosc" ) { $imie = trim ( $_POST[ 'imie' ] ); $wiadomosc = trim ( $_POST[ 'tresc' ] ); $tresc = "Imię:\t\t" . $imie . "\n"; $tresc .= "\nWiadomość:\n--------\n" . wordwrap( $wiadomosc, 80 ) . "\n\n"; $tresc .= "------------------------------------------------------------------------------\n"; $tresc .= wordwrap( "Wiadomość wysłana została dnia " . $data_wyslania . " roku o godzinie " . $godzina_wyslania . " z adresu " . $adres_ip . " ( " . $nazwa_hosta . " ) " . "\n\nSystem: " . $agent . "\n\nWysłane z " . $_SERVER[ 'SERVER_NAME' ], 80 ); $tresc = trim ( $tresc ); mail( "formularz@nobdepot.com" , "Formularz", $tresc, "From:" . $email . "\nReplay-to:" . $email . "\nMime-Version: 1.0\nContent-Type:text/plain; charset=\"ISO-8859-2\"\nX-mailer: MaDONET Mail" ); header ( "Location: main.html" ); exit; } } ?>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Contact ..........lubię informacje - wypełniaj i pisz.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Info .informacje.........moja
twarz w przygotowaniu |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Strona ta jest eksperymentem który prezentuje
moje pomysły i rozwiązania. Z zebranych tu prac wyłania się portfolio, króre
pokazuje umiejęności i potencjał mojej osoby. Autor: Dominik Cymer |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||