<?php
$zieladresse = 'lehnertmarcus@web.de';

// Welche Adresse soll als Absender angegeben werden?
// (Manche Hoster lassen diese Angabe vor dem Versenden der Mail ueberschreiben)
$absenderadresse = 'lehnertmarcus@web.de';
$betreff = 'Preisanfrage';
$urlDankeSeite = 'https://lehnertmarcus.lima-city.de/danke_anfrage.html';

// Welche(s) Zeichen soll(en) zwischen dem Feldnamen und dem angegebenen Wert stehen?
$trenner = ":\t"; // Doppelpunkt + Tabulator
if ($_SERVER['REQUEST_METHOD'] === "POST") {

	$header = array();
	$header[] = "From: ".mb_encode_mimeheader($absendername, "utf-8", "Q")." <".$absenderadresse.">";
	
		$header[] = "MIME-Version: 1.0";
	$header[] = "Content-type: text/plain; charset=utf-8";
	$header[] = "Content-transfer-encoding: 8bit";
	
    $mailtext = "";

    foreach ($_POST as $name => $wert) {
        if (is_array($wert)) {
		    foreach ($wert as $einzelwert) {
			    $mailtext .= $name.$trenner.$einzelwert."\n";
            }
        } else {
            $mailtext .= $name.$trenner.$wert."\n";
        }
    }

    mail(
    	$zieladresse, 
    	mb_encode_mimeheader($betreff, "utf-8", "Q"), 
    	$mailtext,
    	implode("\n", $header)
    ) or die("Die Mail konnte nicht versendet werden.");
    header("Location: $urlDankeSeite");
    exit;
}

header("Content-type: text/html; charset=utf-8");

?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">

<html lang="de" xml:lang="de" xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<meta name="keywords" content="Druck Leipzig" />
		<title>Druckerei Werbung Bechmann Leipzig stellt sich vor</title>
		<meta name="generator" content="Adobe GoLive" />
		<meta name="description" content="Druckerei, Leipzig, über uns" />
		<meta name="robots" content="index, follow" />
		<meta name=viewport content="width=device-width, initial-scale=1">
		<link href="../css/agl-styles.css" rel="stylesheet" type="text/css" media="all" />
		<link href="../css/basic.css" type="text/css" rel="stylesheet" media="all" />
		<style type="text/css" media="all"><!--
a:link { color: #0cf; }
a:visited { color: #0cf; }
a:active { color: #0cf; }
body { color: #fff; background-color: #036; margin-right: 0; margin-left: 0; }
.dsR13585 /*agl rulekind: base;*/ { width: 100px; height: 36px; }
.dsR13596 /*agl rulekind: base;*/ { height: 30px; }
.dsR13597 /*agl rulekind: base;*/ { width: 43px; height: 30px; }
.ds59 /*agl rulekind: base;*/ { color: #45c0eb; font-size: 9px; font-family: Arial; font-weight: bold; }
.ds65 /*agl rulekind: base;*/ { font-size: 9px; }
.dsR13808 /*agl rulekind: base;*/ { width: 310px; height: auto; }
.dsR13809 /*agl rulekind: base;*/ { width: 306px; height: auto; }
.dsR13812 /*agl rulekind: base;*/ { width: 147px; height: auto; }
.dsR13815 /*agl rulekind: base;*/ { width: 300px; height: auto; }
.dsR14067 /*agl rulekind: base;*/ { width: 94px; height: 17px; }
.dsR11751 /*agl rulekind: base;*/ { text-align: center; width: 43px; }
.dsR11750 /*agl rulekind: base;*/ { width: 43px; height: 20px; }
.dsR12548 /*agl rulekind: base;*/ { top: 0; left: 0; width: 43px; height: 20px; }
.dsR14176 /*agl rulekind: base;*/ { top: 44px; left: 1px; width: 317px; height: 24px; }
.dsR14177 /*agl rulekind: base;*/ { top: 1px; left: 1px; width: 317px; height: 40px; }
.dsR14187 /*agl rulekind: base;*/ { text-align: left; height: 20px; vertical-align: top; }
.dsR14189 /*agl rulekind: base;*/ { top: 68px; left: 1px; width: 317px; height: 25px; }
.dsR14289 /*agl rulekind: base;*/ { text-align: left; }
.dsR14291 /*agl rulekind: base;*/ { text-align: left; height: 12px; }
.dsR14292 /*agl rulekind: base;*/ { width: 106px; height: auto; }
.dsR14293 /*agl rulekind: base;*/ { text-align: left; height: 24px; }
.dsR14306 /*agl rulekind: base;*/ { text-align: left; vertical-align: top; }
#Preisanfrage { width: 303px; height: 751px; }
.dsR14312 /*agl rulekind: base;*/ { top: 97px; left: 2px; width: 318px; height: 763px; }
.dsR14319 /*agl rulekind: base;*/ { width: 125px; height: auto; }
.dsR14331 /*agl rulekind: base;*/ { width: 100px; height: 10px; }
.dsR14333 /*agl rulekind: base;*/ { width: 305px; height: 28px; }
.dsR14334 /*agl rulekind: base;*/ { width: 193px; height: 10px; }
.dsR14335 /*agl rulekind: base;*/ { background-color: #036; width: 326px; height: 868px; }
--></style>
	</head>

	<body>
		<div align="center">
			<table class="dsR14335" width="326" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#003366" cool="cool" gridx="4" gridy="4" height="868" showgridx="showgridx" showgridy="showgridy" usegridx="usegridx" usegridy="usegridy">
				<tr height="1">
					<td width="1" height="963" rowspan="5"><spacer type="block" width="1" height="963" /></td>
					<td width="324" height="1" colspan="2"><spacer type="block" width="324" height="1" /></td>
					<td width="1" height="1"><spacer type="block" width="1" height="1" /></td>
				</tr>
				<tr height="43">
					<td width="324" height="43" colspan="2" valign="top" align="left" xpos="1">
						<table class="dsR14177" border="0" cellspacing="2" cellpadding="0">
							<tr>
								<td class="dsR13597"></td>
								<td class="dsR13596"><img class="dsR11303 dsR13585" src="Home/Druckerei%20Leipzig.png" alt="" height="36" width="100" border="0" /></td>
								<td class="dsR13596"></td>
							</tr>
						</table>
					</td>
					<td width="1" height="43"><spacer type="block" width="1" height="43" /></td>
				</tr>
				<tr height="24">
					<td width="324" height="24" colspan="2" valign="top" align="left" xpos="1">
						<table class="dsR11727 dsR14176" border="0" cellspacing="2" cellpadding="0">
							<tr>
								<td class="dsR11751"><a href="index.html"><img class="dsR11750" src="Home/leiste_1.gif" alt="" border="0" /></a></td>
								<td class="dsR11751"><a href="ueber_uns.html"><img class="dsR11750" src="Home/leiste_2.gif" alt="" border="0" /></a></td>
								<td class="dsR11751"><a href="kontakt.html"><img class="dsR11750" src="Home/leiste_4.gif" alt="" border="0" /></a></td>
								<td class="dsR11751"><a href="anfahrt.html"><img class="dsR11750" src="Home/leiste_5.gif" alt="" border="0" /></a></td>
								<td class="dsR11751"><a href="preisanfrage.php5"><img class="dsR11750" src="Home/leiste_6.gif" alt="" border="0" /></a></td>
								<td class="dsR11751"><a href="agb.html"><img class="dsR11750" src="Home/leiste_8.gif" alt="" border="0" /></a></td>
								<td class="dsR11751"><a href="impressum.html"><img class="dsR12548" src="Home/leiste_9.gif" alt="" border="0" /></a></td>
							</tr>
						</table>
					</td>
					<td width="1" height="24"><spacer type="block" width="1" height="24" /></td>
				</tr>
				<tr height="29">
					<td width="324" height="29" colspan="2" valign="top" align="left" xpos="1">
						<table class="dsR14189" border="0" cellspacing="2" cellpadding="0">
							<tr>
								<td class="dsR11750"></td>
								<td class="dsR14187">
									<table class="dsR14067" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td><span class="ds59">Preisanfrage</span></td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
					<td width="1" height="29"><spacer type="block" width="1" height="29" /></td>
				</tr>
				<tr height="866">
					<td width="1" height="866"><spacer type="block" width="1" height="866" /></td>
					<td width="323" height="866" valign="top" align="left" xpos="2">
						<table class="dsR14312" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td class="dsR14306">
									<form id="Preisanfrage" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" name="Preisanfrage">
										<table class="dsR13815" width="265" border="0" cellspacing="2" bgcolor="#003366">
											<tr>
												<td class="dsR14289" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">Ansprechpartner</span></font></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><input class="dsR13808" type="text" name="Ansprechpartner" size="49" tabindex="1" /></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">Firma</span></font></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><input class="dsR13809" type="text" name="Firma" size="49" tabindex="2" /></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">Strasse + Nr.</span></font></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><input class="dsR13809" type="text" name="Strasse" size="49" tabindex="3" /></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">PLZ</span></font></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><input class="dsR13809" type="text" name="PLZ" size="49" tabindex="4" /></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">Ort</span></font></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><input class="dsR13809" type="text" name="Ort" size="49" tabindex="5" /></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">Telefon</span></font></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><input class="dsR13809" type="text" name="Telefon" size="49" tabindex="6" /></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">Telefax</span></font></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><input class="dsR13809" type="text" name="Fax" size="49" tabindex="7" /></td>
											</tr>
											<tr height="23">
												<td class="dsR14291" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">E-Mail</span></font></td>
											</tr>
											<tr height="23">
												<td width="258" height="23"><input class="dsR13809" type="text" name="Mail" size="49" tabindex="8" /></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">Produkt (was soll es werden, bitte einen Titel angeben)</span></font></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><input class="dsR13809" type="text" name="Produkt" size="49" tabindex="9" /></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">Auflage</span></font></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><input class="dsR13809" type="text" name="Auflage" size="49" tabindex="10" /></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">Format (geschlossenes und offenes Format angeben)</span></font></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><input class="dsR13809" type="text" name="Format" size="49" tabindex="11" /></td>
											</tr>
											<tr>
												<td class="dsR14291" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">Umfang (gewuenschte Seitenzahl, getrennt fuer Umschlag und Inhalt)</span></font></td>
											</tr>
											<tr>
												<td class="dsR14293" width="258"><input class="dsR13809" type="text" name="Umfang" size="49" tabindex="12" /></td>
											</tr>
											<tr height="19">
												<td class="dsR732 dsR14291" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">Druck (ein,- zwei, drei- oder vierfarbig)</span></font></td>
											</tr>
											<tr>
												<td class="dsR732 dsR14289" width="258"><input class="dsR13809" type="text" name="Druck" size="49" tabindex="13" /></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">Farben (Skala oder Sonderfarben HKS bzw. Pantone)</span></font></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><select class="felem dsR13812" name="Farben" size="1" tabindex="14" onchange="removePrice();">
														<option value="Euroskala">Euroskala</option>
														<option value="HKS">HKS</option>
														<option value="Pantone">Pantone</option>
													</select></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">Papier (welche Sorte, welche Grammatur)</span></font></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><input class="dsR13809" type="text" name="Papier" size="49" tabindex="15" /></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">Weiterverarbeitung (z.B. welcher Falz, Rueckstichbroschur usw.)</span></font></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><input class="dsR13809" type="text" name="Weiterverarbeitung" size="49" tabindex="16" /></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><font color="white" face="Arial, Helvetica, Geneva, Swiss, SunSans-Regular"><span class="ds65">Bemerkungen</span></font></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258"><textarea class="dsR13809" name="Bemerkungen" rows="4" cols="47" tabindex="17"></textarea></td>
											</tr>
											<tr>
												<td class="dsR14289" width="258">
													<table class="dsR14333" border="0" cellspacing="2" cellpadding="0">
														<tr>
															<td class="dsR14334"><input class="dsR14319" type="submit" name="absenden" value="Anfrage absenden" tabindex="18" /></td>
															<td class="dsR14331"><input class="Button dsR14292" type="reset" name="B2" value="Zuruecksetzen" tabindex="19" /></td>
														</tr>
													</table>
												</td>
											</tr>
										</table>
									</form>
								</td>
							</tr>
						</table>
					</td>
					<td width="1" height="866"><spacer type="block" width="1" height="866" /></td>
				</tr>
				<tr height="1" cntrlrow="cntrlrow">
					<td width="1" height="1"><spacer type="block" width="1" height="1" /></td>
					<td width="1" height="1"><spacer type="block" width="1" height="1" /></td>
					<td width="323" height="1"><spacer type="block" width="323" height="1" /></td>
					<td width="1" height="1"><spacer type="block" width="1" height="1" /></td>
				</tr>
			</table>
			<p></p>
		</div>
	</body>

</html>





















