"; $text .= $_POST['tname'].",".LF.LF; } $comment .= nl2br ( stripslashes($_POST['sonst']) ); $text .= stripslashes($_POST['sonst']); $comment .= "

".$fromname; $text .= LF.LF.$fromname; $comment .= "


"; $text .= LF.LF.LF; } else { $comment .= $fullfrom.' schickt Ihnen diese Seite:

'; } $text .= $fullfrom.' schickt Ihnen diese Seite:'; $text .= LF.'http://'.$_SERVER['HTTP_HOST'].$pageuri; $article=file_get_contents('http://'.$_SERVER['HTTP_HOST'].$pageuri); //replace stylesheets by inline styles?? if ( preg_match_all ( '/\]*)\>/i', $article, $matches ) ) { foreach ( $matches[0] as $amatch ) { $stylinline = ''; if ( preg_match ( '/ HREF=[\"\']([^\"\']*)[\"\']/i', $amatch, $hrefs ) ) { $stylinline=file_get_contents('http://'.$_SERVER['HTTP_HOST'].$basedir.$hrefs[1]); $stylinline=''; } $article=str_replace($amatch, $stylinline, $article); } } // remove javascripts $article=preg_replace ( '/\]*)\> *\<\/SCRIPT\>/i', '', $article ); $article=preg_replace ( "/HREF=\"http:/i", "~h~r~e~f~=\"http:", $article ); $article=preg_replace ( "/HREF=\"ftp:/i", "~h~r~e~f~=\"ftp:", $article ); $article=preg_replace ( "/HREF=\"/i", "HREF=\"http://www.rosman.co.at/", $article ); $article=preg_replace ( "/~h~r~e~f~/", "HREF", $article ); $article=preg_replace ( "/SRC=\"http:/i", "~s~r~c~=\"http:", $article ); $article=preg_replace ( "/SRC=\"ftp:/i", "~s~r~c~=\"ftp:", $article ); $article=preg_replace ( "/SRC=\"/i", "SRC=\"cid:", $article ); $article=preg_replace ( "/~s~r~c~/", "SRC", $article ); $images = explode ( 'SRC="cid:', $article ); unset ( $images[0] ); foreach ( $images as $idx => $image ) { list ( $images[$idx], $dummy ) = explode ( '"', $image, 2 ); } // insert comment $article = preg_replace ( '/\
]*)\> *\<\/div\>/i', '
'.$comment.'
', $article ); $html = $comment; $html = $article.LF; $boundary = md5(time()); $headers = ''; if ( isset ( $_POST['fname'] ) ) { $headers .= "From: ".$_POST['fname']." <".$_POST['from'].">".LF; } else { $headers .= "From: ".$_POST['from'].LF; } $headers .= 'Reply-To: <'.$_POST['from'].'>'.LF; if ( isset($_POST['copy']) and ($_POST['copy']=='on') ) { $headers .= "Cc: ".$_POST['from'].LF; } $headers .= 'MIME-Version: 1.0'.LF; $headers .= 'Content-type: multipart/related; boundary="MAIN-'.$boundary.'"'.LF; $headers .= 'This is a multi-part message in MIME format'.LF; $headers .= '--MAIN-'.$boundary.LF; $headers .= 'Content-Type: multipart/alternative; boundary="PART-'.$boundary.'"'.LF; $message = '--PART-'.$boundary.LF; $message .= 'Content-Type: text/plain; charset="iso-8859-15"'.LF; $message .= 'Content-Transfer-Encoding: 8bit'.LF.LF; $message .= $text.LF.LF; $message .= '--PART-'.$boundary.LF; $message .= 'Content-Type: text/html; charset="iso-8859-15"'.LF; $message .= 'Content-Transfer-Encoding: 8bit'.LF.LF; $message .= $html.LF.LF; $message .= '--PART-'.$boundary.'--'.LF.LF; if ( is_array ( $images ) ) { foreach ( $images as $src ) { if ( $fp = fopen ( 'http://'.$_SERVER['HTTP_HOST'].$basedir.$src, 'rb' ) ) { $image = null; while ( ! feof ( $fp ) ) $image .= fread ( $fp, 4096 ); fclose ( $fp ); $info = getimagesize ( 'http://'.$_SERVER['HTTP_HOST'].$basedir.$src ); $image = chunk_split ( base64_encode($image) ); $message .= '--MAIN-'.$boundary.LF; $message .= 'Content-Type: '.$info['mime'].'; name="'.basename($src).'"'.LF; $message .= 'Content-Transfer-Encoding: base64'.LF; $message .= 'Content-ID: '.$src.LF.LF; $message .= $image.LF.LF; } } } $message .= '--MAIN-'.$boundary.'--'.LF; /* and now mail it */ mail($to, $subject, $message, $headers); } } else { $doform = ( $_SERVER['SERVER_ADDR'] != $_SERVER['REMOTE_ADDR'] ); } if ($doform) { ?>

Seite mailen

    Füllen Sie bitte alle Rot gekennzeichnete Felder aus."; } ?>
Empfänger Name:
align="right">Empfänger e-Mail:
Ihr Name:
align="right">Ihre e-Mail Adresse:
Ihre Anmerkung:      
> Ich möchte einen Kopie erhalten
Wir nutzen Ihre Angaben nur zum Weitersenden an den angegeben Empfänger. Die Daten werden nicht an Dritte weitergeben oder anderweitig bspw. für Marketingzwecke ausgewertet.

Seite wurde versand    


Bau Natürlich

Ökologisch Bauen

ökologisch bauen Die Ökologie berücksichtigt den Kreislauf der Natur. Von der Herstellung über die Verteilung, Konsumation bis zur Abfallentsorgung verbrauchen unsere Waren Energie und Umwelt. Ökologisch denken heißt diese Eingriffe möglichst schonend und gering zu halten, deshalb achten wir auf die Ökobilanz unserer Waren. Kreislaufdenken statt Durchlaufdenken ist unser Slogan. Bau Natürlich interessiert der ganze Lebenszyklus der Ware und nicht bloß vom Zeitpunkt des Einkaufs bis zum Verkauf.

(c) Bau Natürlich, Schmidt und Rosman OG
Webmaster: Rosman - Internet Services; Managed with gotopage