<?php

### Konfiguration ###

# Bitte passen Sie die folgenden Werte an, bevor Sie das Script benutzen!

# An welche Adresse sollen die Mails gesendet werden?
$strEmpfaenger = 'birgergrave@googlemail.com,info@petersundkonsorten.de';

# Welche Adresse soll als Absender angegeben werden?
# (Manche Hoster lassen diese Angabe vor dem Versenden der Mail ueberschreiben)
$strFrom       = '"Post von der Website" <birgergrave@googlemail.com>';

# Welchen Betreff sollen die Mails erhalten?
$strSubject    = 'Feedback von der Website';

# Zu welcher Seite soll als "Danke-Seite" weitergeleitet werden?
# Wichtig: Sie muessen hier eine gueltige HTTP-Adresse angeben!
$strReturnhtml = 'http://www.graveillustration.de/alte-seite/kontakt_danke.html';

# Welche(s) Zeichen soll(en) zwischen dem Feldnamen und dem angegebenen Wert stehen?
$strDelimiter  = ":\t";

### Ende Konfiguration ###

if($_POST)
{
 $strMailtext = "";

 while(list($strName,$value) = each($_POST))
 {
  if(is_array($value))
  {
   foreach($value as $value_array)
   {
    $strMailtext .= $strName.$strDelimiter.$value_array."\n";
   }
  }
  else
  {
   $strMailtext .= $strName.$strDelimiter.$value."\n";
  }
 }

 if(get_magic_quotes_gpc())
 {
  $strMailtext = stripslashes($strMailtext);
 }

 mail($strEmpfaenger, $strSubject, $strMailtext, "From: ".$strFrom)
  or die("Die Mail konnte nicht versendet werden.");
 header("Location: $strReturnhtml");
 exit;
}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>BIRGER T. GRAVE | ILLUSTRATION</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="Birger T. Grave, Illustration" />

<link type="text/css" href="css/graveillustration.css" rel="stylesheet" media="screen" />

<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>

</head>

<body onload="MM_preloadImages('img/navigation/home_01.gif','img/navigation/bildserien_01.gif','img/navigation/bestellung_01.gif','img/navigation/vita_01.gif','img/navigation/arbeitsweise_01.gif','img/navigation/links_01.gif')">
<div id="container">

	<div id="header" >
		<a href="../index.php"><img src="img/header.gif" alt="" width="400" height="85" border="0" /></a>
	  <div id="navigation" >
	    <table width="580" height="20" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td><a href="../index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','img/navigation/home_01.gif',1)"><img src="img/navigation/home_00.gif" alt="Birger T. Grave | Illustration | Home" name="home" width="63" height="20" border="0" id="home" /></a></td>
            <td><img src="img/navigation/trennstrich.gif" width="5" height="20" /></td>
            <td><a href="arbeitsweise.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('arbeitsweise','','img/navigation/arbeitsweise_01.gif',1)"><img src="img/navigation/arbeitsweise_00.gif" alt="Birger T. Grave | Illustration | Arbeitsweise" name="arbeitsweise" width="157" height="20" border="0" id="arbeitsweise" /></a></td>
            <td><img src="img/navigation/trennstrich.gif" width="5" height="20" /></td>
            <td><a href="bildserie_hollaender.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('bildserien','','img/navigation/bildserien_01.gif',1)"><img src="img/navigation/bildserien_00.gif" alt="Birger T. Grave | Illustration | Bildserien" name="bildserien" width="128" height="20" border="0" id="bildserien" /></a></td>
            <td><img src="img/navigation/trennstrich.gif" width="5" height="20" /></td>
            <td><a href="bestellung.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('bestellung','','img/navigation/bestellung_01.gif',1)"><img src="img/navigation/bestellung_00.gif" alt="Birger T. Grave | Illustration | Bestellung" name="bestellung" width="141" height="20" border="0" id="bestellung" /></a></td>
            <td><img src="img/navigation/trennstrich.gif" width="5" height="20" /></td>
            <td><a href="vita_01.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('vita','','img/navigation/vita_01.gif',1)"><img src="img/navigation/vita_00.gif" alt="Birger T. Grave | Illustration | Vita" name="vita" width="52" height="20" border="0" id="vita" /></a></td>
            <td><img src="img/navigation/trennstrich.gif" width="5" height="20" /></td>
            <td><a href="links.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('links','','img/navigation/links_01.gif',1)"><img src="img/navigation/links_00.gif" alt="Birger T. Grave | Illustration | Links" name="links" width="69" height="20" border="0" id="vita" /></a></td>
            <td><img src="img/navigation/trennstrich.gif" width="5" height="20" /></td>
            <td><img src="img/navigation/kontakt_01.gif" alt="Birger T. Grave | Illustration | Kontakt" name="kontakt" width="100" height="20" border="0" id="kontakt" /></td>
          </tr>
        </table>
	  </div>
	</div>
	<div id="content">
	<form action="<?php print $_SERVER['PHP_SELF']; ?>" method="post">
	<img src="img/headlines/kontakt.gif" alt="Birger T. Grave | Kontakt" width="480" height="40" />
	  <p><strong>Birger T. Grave</strong><br />
        Illustration<br />
        Schl&uuml;terstrasse 80<br />
      20146 Hamburg</p>
      <p>Fon: +49(0)40 - 413 55 494</p>
      <p>eMail: <a href="mailto:birgergrave@googlemail.com">birgergrave@googlemail.com</a></p>
      <p>&nbsp;</p>
      <p>Sie haben Anregungen oder Verbesserungen?<br />
      An dieser Stelle k&ouml;nnen Sie sie loswerden:  </p>
      <p><strong>
        <input name="&gt;Feedback" type="hidden" id="&gt;Feedback" value="--------------------------------------------------" />
      </strong>Vorname/Name:<br />
      <input name="Vorname/Name" type="text" id="Vorname/Name" size="18" />
      <br />
      <br />
E-Mail-Adresse:<br />
<input name="E-Mail" type="text" id="E-Mail" size="18" />
<br />
<br />
Telefon:<br />
<input name="Telefon" type="text" id="Telefon" size="18" />
<br />
<br />
Feedback:<br />
<textarea name="Feedback" cols="20" rows="5" id="Feedback"></textarea>
      </p>
      <p>&nbsp;</p>
      <table width="480" border="0" cellpadding="0" cellspacing="5">
        <tr align="center" valign="top">
          <td width="100">&nbsp;</td>
          <td width="120"><input name="reset" type="reset" id="reset" value="Zur&uuml;cksetzen" /></td>
          <td width="40">&nbsp;</td>
          <td width="120"><strong>
            <input name="&gt;Versand" type="hidden" id="&gt;Versand" value="abgeschlossen" />
            </strong>
              <input name="submit" type="submit" id="submit" value="Senden" /></td>
          <td width="100">&nbsp;</td>
        </tr>
      </table>
      <p>&nbsp;</p>
	</form>
  </div>
</div>
</body>
</html>