da_mike
Grünschnabel
Wie kann ich ein Ergebnis aus einem vorangegangenen Formulars genau so wie es als HTML ausgegeben wurde als Email versenden ?
Script Preview
Also das heißt nach der Auswertung ein weiteres Formular zu Kontaktaufname öffnen und Die Ausgabe als mail versenden. (HTML bevorzugt)
Das Problem das ich schon die ganze Zeit habe ist das die Post Werte die checkboxen usw. in einer Mail so dargestellt werden
xx1 = Ja
xx2 = JA
usw....
sollte aber z.B. so Ausehen
Innenbeleuchtung im Fahrerhaus 150 ,- EUR
Radio 350 ,- EUR
usw. ....
Ich will aber generell die alten Post Werte sozusagen killen und mit z.B. einem hidden Feld die Berrechneten Werte dann als Email versenden.
Wie kann ich das am besten Lösen ? danke schon im voraus.
So nun zum Quellcode: .... und Bitte nicht Erschrecken ich bin Absoluter Neuling in PHP
Form Eingabe:
Berechnung und Ausgabe:
Script Preview
Also das heißt nach der Auswertung ein weiteres Formular zu Kontaktaufname öffnen und Die Ausgabe als mail versenden. (HTML bevorzugt)
Das Problem das ich schon die ganze Zeit habe ist das die Post Werte die checkboxen usw. in einer Mail so dargestellt werden
xx1 = Ja
xx2 = JA
usw....
sollte aber z.B. so Ausehen
Innenbeleuchtung im Fahrerhaus 150 ,- EUR
Radio 350 ,- EUR
usw. ....
Ich will aber generell die alten Post Werte sozusagen killen und mit z.B. einem hidden Feld die Berrechneten Werte dann als Email versenden.
Wie kann ich das am besten Lösen ? danke schon im voraus.
So nun zum Quellcode: .... und Bitte nicht Erschrecken ich bin Absoluter Neuling in PHP
Form Eingabe:
PHP:
<? include "config.php"; ?>
<form action="wert.php" method="post" target="_self">
<div align="center">
<table width="670" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td width="250"><b><? print "$auswertung"; ?></b></td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><? print "$n53"; ?></td>
<td>
<select name="train">
<option value="<? echo $none_zug; ?>"><? print "$n1"; ?></option>
<option value="88"><? print "$n2 $t88 $n45"; ?></option>
<option value="94"><? print "$n3 $t94 $n45"; ?></option>
<option value="109"><? print "$n4 $t109 $n45"; ?></option>
<option value="122"><? print "$n5 $t122 $n45"; ?></option>
<option value="160"><? print "$n6 $t160 $n45"; ?></option>
<option value="185"><? print "$n7 $t185 $n45"; ?></option>
<option value="215"><? print "$n8 $t215 $n45"; ?></option>
<option value="177"><? print "$n9 $t177 $n45"; ?></option>
</select></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="106"><? print "$n54"; ?></td>
<td width="198" align="right"><? print "$n55"; ?> </td>
<td width="35">
<select name="anzahl_wag">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</td>
<td width="10"> </td>
</tr>
</table>
<td width="350">
<select name="wag">
<option value="<? echo $none_wag; ?>"><? print "$n1"; ?></option>
<option value="sts1"><? print "$n10 $w1 $n45"; ?></option>
<option value="sts2"><? print "$n11 $w2 $n45"; ?></option>
<option value="sts3"><? print "$n12 $w3 $n45"; ?></option>
<option value="sts4"><? print "$n13 $w4 $n45"; ?></option>
<option value="sts5"><? print "$n14 $w5 $n45"; ?></option>
<option value="sts6"><? print "$n15 $w6 $n45"; ?></option>
<option value="sts7"><? print "$n16 $w7 $n45"; ?></option>
<option value="sts8"><? print "$n17 $w8 $n45"; ?> </option>
</select></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td colspan="2"><br><b><? print "$n46"; ?></b></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="57%"><? print "$n18"; ?></td>
<td width="14%" align="right"><? print "$x1 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx1" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n19"; ?></td>
<td width="14%" align="right"><? print "$x2 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx2" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n20"; ?></td>
<td width="14%" align="right"><? print "$x3 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx3" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n21"; ?></td>
<td width="14%" align="right"><? print "$x4 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx4" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n22"; ?></td>
<td width="14%" align="right"><? print "$x5 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx5" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n23"; ?></td>
<td width="14%" align="right"><? print "$x6 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx6" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n24"; ?></td>
<td width="14%" align="right"><? print "$x7 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx7" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n25"; ?></td>
<td width="14%" align="right"><? print "$x8 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx8" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n26"; ?></td>
<td width="14%" align="right"><? print "$x9 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx9" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n27"; ?></td>
<td width="14%" align="right"><? print "$x10 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx10" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n28"; ?></td>
<td width="14%" align="right"><? print "$x11 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx11" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n29"; ?></td>
<td width="14%" align="right"><? print "$x12 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx12" value="ja" /></td>
</tr>
<tr>
<td width="57%"> </td>
<td width="14%" align="right"> </td>
<td width="13%"> </td>
<td width="16%"> </td>
</tr>
<tr>
<td width="57%"><? print "$n30"; ?></td>
<td width="14%" align="right"><? print "$x13 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx13" value="ja" /></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td colspan="4"> </td>
</tr>
<tr>
<td colspan="4">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="57%"><b><? print "$n50"; ?></b></td>
<td width="14%" align="right"> </td>
<td width="13%"> </td>
<td width="16%"> </td>
</tr>
<tr>
<td width="57%"> </td>
<td width="14%" align="right"> </td>
<td width="13%"> </td>
<td width="16%"> </td>
</tr>
<tr>
<td width="57%"><? print "$n39"; ?></td>
<td width="14%" align="right"><? print "$x22 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx22" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n41"; ?></td>
<td width="14%" align="right"><? print "$x23 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx23" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n42"; ?></td>
<td width="14%" align="right"><? print "$x24 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx24" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n43"; ?></td>
<td width="14%" align="right"><? print "$x25 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx25" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n44"; ?></td>
<td width="14%" align="right"><? print "$x26 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx26" value="ja" /></td>
</tr>
</table></td>
</tr>
<tr>
<td width="57%"><br><b><? print "$n47"; ?></b></td>
<td width="14%"> </td>
<td width="13%"> </td>
<td width="16%"> </td>
</tr>
<tr>
<td width="57%"> </td>
<td width="14%"> </td>
<td width="13%"> </td>
<td width="16%"> </td>
</tr>
<tr>
<td width="57%"><? print "$n31"; ?></td>
<td width="14%" align="right"><? print "$x14 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx14" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n32"; ?></td>
<td width="14%" align="right"><? print "$x15 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx15" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n33"; ?></td>
<td width="14%" align="right"><? print "$x16 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx16" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n34"; ?></td>
<td width="14%" align="right"><? print "$x17 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx17" value="ja" /></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="57%"><b><? print "$n48"; ?></b></td>
<td width="14%"> </td>
<td width="13%"> </td>
<td width="16%"> </td>
</tr>
<tr>
<td width="57%"> </td>
<td width="14%" align="right"></td>
<td width="13%"> </td>
<td width="16%"> </td>
</tr>
<tr>
<td width="57%"><? print "$n35"; ?></td>
<td width="14%" align="right"><? print "$x18 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx18" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n36"; ?></td>
<td width="14%" align="right"><? print "$x19 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx19" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n37"; ?></td>
<td width="14%" align="right"><? print "$x20 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx20" value="ja" /></td>
</tr>
<tr>
<td width="57%"><? print "$n38"; ?></td>
<td width="14%" align="right"><? print "$x21 $n45"; ?></td>
<td width="13%"> </td>
<td width="16%"><input type="checkbox" name="xx21" value="ja" /></td>
</tr>
<tr>
<td width="57%"></td>
<td width="14%"> </td>
<td width="13%"> </td>
<td width="16%"> </td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"> <font size="2"><? print "$n49"; ?></font></td>
</tr>
<tr>
<td colspan="2"> <br />
<input type="submit" value=" <? print "$n57"; ?> " name="submit" ?>
<? print "$n52"; ?><br /></td>
</tr>
</table>
</div>
</form>
Berechnung und Ausgabe:
PHP:
<?
include ("config.inc");
include ("language_de.inc");
include ("rechner.php");
{
echo "<div align=\"center\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"600\"><tr><td width=\"600\" colspan=\"2\"><b>";
}
print "$auswertung";
{
echo "</b></td></tr><tr><td width=\"400\"> </td><td width=\"200\" align=\"right\"></td></tr><tr><td width=\"400\">";
}
print "$modell";
{
echo ": ";
}
if ($_POST["train"] == "$none_zug")
{
print "$none_zug";
}
if ($_POST["train"] == "88")
{
print "$n2";
}
if ($_POST["train"] == "94")
{
print "$n3";
}
if ($_POST["train"] == "109")
{
print "$n4";
}
if ($_POST["train"] == "122")
{
print "$n5";
}
if ($_POST["train"] == "160")
{
print "$n6";
}
if ($_POST["train"] == "185")
{
print "$n7";
}
if ($_POST["train"] == "215")
{
print "$n8";
}
if ($_POST["train"] == "177")
{
print "$n9";
}
{
echo "</td><td width=\"200\" align=\"right\">";
}
if ($_POST["train"] == "88")
{
print "$t88 $n45";
}
if ($_POST["train"] == "94")
{
print "$t94 $n45";
}
if ($_POST["train"] == "109")
{
print "$t109 $n45";
}
if ($_POST["train"] == "122")
{
print "$t122 $n45";
}
if ($_POST["train"] == "160")
{
print "$t160 $n45";
}
if ($_POST["train"] == "185")
{
print "$t185 $n45";
}
if ($_POST["train"] == "215")
{
print "$t215 $n45";
}
if ($_POST["train"] == "177")
{
print "$t177 $n45";
}
{
echo "</td></tr><tr><td> </td><td> </td></tr><tr><td>";
}
print "$modell_wag";
{
echo ": ";
}
{
print $_POST["anzahl_wag"]; print " $stuck ";
}
if ($_POST["wag"] == "$none_wag")
{
print "$none_wag";
}
if ($_POST["wag"] == "sts1")
{
print "$n10";
}
if ($_POST["wag"] == "sts2")
{
print "$n11";
}
if ($_POST["wag"] == "sts3")
{
print "$n12";
}
if ($_POST["wag"] == "sts4")
{
print "$n13";
}
if ($_POST["wag"] == "sts5")
{
print "$n14";
}
if ($_POST["wag"] == "sts6")
{
print "$n15";
}
if ($_POST["wag"] == "sts7")
{
print "$n16";
}
if ($_POST["wag"] == "sts8")
{
print "$n17";
}
{
echo "</td><td align=\"right\">";
}
if ($_POST["wag"] == "sts1")
{
echo $preis2+= $anzahl_wag * $w1; echo "$n45";
}
if ($_POST["wag"] == "sts2")
{
echo $preis2+= $anzahl_wag * $w2; echo "$n45";
}
if ($_POST["wag"] == "sts3")
{
echo $preis2+= $anzahl_wag * $w3; echo "$n45";
}
if ($_POST["wag"] == "sts4")
{
echo $preis2+= $anzahl_wag * $w4; echo "$n45";
}
if ($_POST["wag"] == "sts5")
{
echo $preis2+= $anzahl_wag * $w5; echo "$n45";
}
if ($_POST["wag"] == "sts6")
{
echo $preis2+= $anzahl_wag * $w6; echo "$n45";
}
if ($_POST["wag"] == "sts7")
{
echo $preis2+= $anzahl_wag * $w7; echo "$n45";
}
if ($_POST["wag"] == "sts8")
{
echo $preis2+= $anzahl_wag * $w8; echo "$n45";
}
{
echo "</td></tr><tr><td><b>";
}
if (($_POST["xx1"]))
{
print "<br> $n46 <br>";
}
else
if (($_POST["xx2"]))
{
print "<br> $n46 <br>";
}
else
if (($_POST["xx3"]))
{
print "<br> $n46 <br>";
}
else
if (($_POST["xx4"]))
{
print "<br> $n46 <br>";
}
else
if (($_POST["xx5"]))
{
print "<br> $n46 <br>";
}
else
if (($_POST["xx6"]))
{
print "<br> $n46 <br>";
}
else
if (($_POST["xx7"]))
{
print "<br> $n46 <br>";
}
else
if (($_POST["xx8"]))
{
print "<br> $n46 <br>";
}
else
if (($_POST["xx9"]))
{
print "<br> $n46 <br>";
}
else
if (($_POST["xx10"]))
{
print "<br> $n46 <br>";
}
else
if (($_POST["xx11"]))
{
print "<br> $n46 <br>";
}
else
if (($_POST["xx12"]))
{
print "<br> $n46 <br>";
}
else
{
if ($_POST["xx13"])
{
print "<br> $n46 <br>";
}
else
{
echo " ";
}
}
{
echo "</b>";
}
if ($_POST["xx1"] == "ja")
print "<br> $n18";
if ($_POST["xx2"] == "ja")
print "<br> $n19";
if ($_POST["xx3"] == "ja")
print "<br> $n20";
if ($_POST["xx4"] == "ja")
print "<br> $n21";
if ($_POST["xx5"] == "ja")
print "<br> $n22";
if ($_POST["xx6"] == "ja")
print "<br> $n23";
if ($_POST["xx7"] == "ja")
print "<br> $n24";
if ($_POST["xx8"] == "ja")
print "<br> $n25";
if ($_POST["xx9"] == "ja")
print "<br> $n26";
if ($_POST["xx10"] == "ja")
print "<br> $n27";
if ($_POST["xx11"] == "ja")
print "<br> $n28";
if ($_POST["xx12"] == "ja")
print "<br> $n39";
if ($_POST["xx13"] == "ja")
print "<br> $n30";
{
echo "<b>";
}
if (($_POST["xx14"]))
{
print "<br><br> $n47 <br>";
}
else
if (($_POST["xx15"]))
{
print "<br><br> $n47 <br>";
}
else
if (($_POST["xx16"]))
{
print "<br><br> $n47 <br>";
}
else
{
if ($_POST["xx17"])
{
print "<br><br> $n47 <br>";
}
else
{
echo " ";
}
}
{
echo "</b>";
}
if ($_POST["xx14"] == "ja")
{
print "<br> $n31";
}
if ($_POST["xx15"] == "ja")
{
print "<br> $n32";
}
if ($_POST["xx16"] == "ja")
{
print "<br> $n33";
}
if ($_POST["xx17"] == "ja")
{
print "<br> $n34";
}
{
echo "<b>";
}
if (($_POST["xx18"]))
{
print "<br><br> $n48 <br>";
}
else
if (($_POST["xx19"]))
{
print "<br><br> $n48 <br>";
}
else
if (($_POST["xx20"]))
{
print "<br><br> $n48 <br>";
}
else
{
if ($_POST["xx21"])
{
print "<br><br> $n48 <br>";
}
else
{
echo " ";
}
}
{
echo "</b>";
}
if ($_POST["xx18"] == "ja")
{
print "<br> $n35";
}
if ($_POST["xx19"] == "ja")
{
print "<br> $n36";
}
if ($_POST["xx20"] == "ja")
{
print "<br> $n37";
}
if ($_POST["xx21"] == "ja")
{
print "<br> $n38";
}
{
echo "<b>";
}
if (($_POST["xx22"]))
{
print "<br><br> $n50 <br>";
}
else
if (($_POST["xx23"]))
{
print "<br><br> $n50 <br>";
}
else
if (($_POST["xx24"]))
{
print "<br><br> $n50 <br>";
}
else
if (($_POST["xx27"]))
{
print "<br><br> $n50 <br>";
}
else
{
if ($_POST["xx26"])
{
print "<br><br> $n50 <br>";
}
else
{
echo " ";
}
}
{
echo "</b>";
}
if ($_POST["xx22"] == "ja")
{
print "<br> $n39";
}
if ($_POST["xx23"] == "ja")
{
print "<br> $n41";
}
if ($_POST["xx24"] == "ja")
{
print "<br> $n42";
}
if ($_POST["xx25"] == "ja")
{
print "<br> $n43";
}
if ($_POST["xx26"] == "ja")
{
print "<br> $n44";
}
{
echo "</td><td align=\"right\" valign=\"top\">";
}
if (($_POST["xx1"]))
{
print "<br><br>";
}
else
if (($_POST["xx2"]))
{
print "<br><br>";
}
else
if (($_POST["xx3"]))
{
print "<br><br>";
}
else
if (($_POST["xx4"]))
{
print "<br><br>";
}
else
if (($_POST["xx5"]))
{
print "<br><br>";
}
else
if (($_POST["xx6"]))
{
print "<br><br>";
}
else
if (($_POST["xx7"]))
{
print "<br><br>";
}
else
if (($_POST["xx8"]))
{
print "<br><br>";
}
else
if (($_POST["xx9"]))
{
print "<br><br>";
}
else
if (($_POST["xx10"]))
{
print "<br><br>";
}
else
if (($_POST["xx11"]))
{
print "<br><br>";
}
else
if (($_POST["xx12"]))
{
print "<br><br>";
}
else
{
if ($_POST["xx13"])
{
print "<br><br>";
}
else
{
echo " ";
}
}
// Begin Extras Zugmaschiene
if ($_POST["xx1"] == "ja")
{
print "<br> $x1 $n45";
}
if ($_POST["xx2"] == "ja")
{
print "<br> $x2 $n45";
}
if ($_POST["xx3"] == "ja")
{
print "<br> $x3 $n45";
}
if ($_POST["xx4"] == "ja")
{
print "<br> $x4 $n45";
}
if ($_POST["xx5"] == "ja")
{
print "<br> $x5 $n45";
}
if ($_POST["xx6"] == "ja")
{
print "<br> $x6 $n45";
}
if ($_POST["xx7"] == "ja")
{
print "<br> $x7 $n45";
}
if ($_POST["xx8"] == "ja")
{
print "<br> $x8 $n45";
}
if ($_POST["xx9"] == "ja")
{
print "<br> $x9 $n45";
}
if ($_POST["xx10"] == "ja")
{
print "<br> $x10 $n45";
}
if ($_POST["xx11"] == "ja")
{
print "<br> $x11 $n45";
}
if ($_POST["xx12"] == "ja")
{
print "<br> $x12 $n45";
}
if ($_POST["xx13"] == "ja")
{
print "<br> $x13 $n45";
}
if (($_POST["xx14"]))
{
print "<br><br><br>";
}
else
if (($_POST["xx15"]))
{
print "<br><br><br>";
}
else
if (($_POST["xx16"]))
{
print "<br><br><br>";
}
else
{
if ($_POST["xx17"])
{
print "<br><br><br>";
}
else
{
echo " ";
}
}
// Beginn Extras Wagone kurz
if ($_POST["xx14"] == "ja")
{
print "<br>"; echo $preisx14+= $anzahl_wag * $x14; print "$n45";
}
if ($_POST["xx15"] == "ja")
{
print "<br>"; echo $preisx15+= $anzahl_wag * $x15; print "$n45";
}
if ($_POST["xx16"] == "ja")
{
print "<br>"; echo $preisx16+= $anzahl_wag * $x16; print "$n45";
}
if ($_POST["xx17"] == "ja")
{
print "<br>"; echo $preisx17+= $anzahl_wag * $x17; print "$n45";
}
if (($_POST["xx18"]))
{
print "<br><br><br>";
}
else
if (($_POST["xx19"]))
{
print "<br><br><br>";
}
else
if (($_POST["xx20"]))
{
print "<br><br><br>";
}
else
{
if ($_POST["xx21"])
{
print "<br><br><br>";
}
else
{
echo " ";
}
}
if ($_POST["xx18"] == "ja")
{
print "<br>"; echo $preisx18+= $anzahl_wag * $x18; print "$n45";
}
if ($_POST["xx19"] == "ja")
{
print "<br>"; echo $preisx19+= $anzahl_wag * $x19; print "$n45";
}
if ($_POST["xx20"] == "ja")
{
print "<br>"; echo $preisx20+= $anzahl_wag * $x20; print "$n45";
}
if ($_POST["xx21"] == "ja")
{
print "<br>"; echo $preisx21+= $anzahl_wag * $x21; print "$n45";
}
if (($_POST["xx22"]))
{
print "<br><br><br>";
}
else
if (($_POST["xx23"]))
{
print "<br><br><br>";
}
else
if (($_POST["xx24"]))
{
print "<br><br><br>";
}
else
if (($_POST["xx27"]))
{
print "<br><br><br>";
}
else
{
if ($_POST["xx26"])
{
print "<br><br><br>";
}
else
{
echo " ";
}
}
if ($_POST["xx22"] == "ja")
{
print "<br>"; echo $preisx22+= $anzahl_wag * $x22; print "$n45";
}
if ($_POST["xx23"] == "ja")
{
print "<br>"; echo $preisx23+= $anzahl_wag * $x23; print "$n45";
}
if ($_POST["xx24"] == "ja")
{
print "<br>"; echo $preisx24+= $anzahl_wag * $x24; print "$n45";
}
if ($_POST["xx25"] == "ja")
{
print "<br>"; echo $preisx25+= $anzahl_wag * $x25; print "$n45";
}
if ($_POST["xx26"] == "ja")
{
print "<br>"; echo $preisx26+= $anzahl_wag * $x26; print "$n45";
}
{
echo "</td></tr><tr><td> </td><td> </td></tr><tr><td>";
}
print "$preis_aus";
{
echo "</td><td align=\"right\">";
}
echo "<b>$preis $n45</b>";
{
echo "</td></tr><tr><td> </td><td> </td></tr><tr><td width=\"400\"><a href=\"index.php\">";
}
print "$zurueck";
{
echo "</a></td><td width=\"200\"> </td></tr></table></div>";
} ?>