ALEX: WER FINDET DEN FEHLER ???

Beitrag lesen

hallo

will per cgi ausdruckfähige bestellung verschicken. leider gibt es probleme mit dem unten stehenden code.

ich hoffe, ihr könnt mir weiter helfen und sagen wo die/der fehler liegt.

mfg
alex

print MAIL "<table border=0 width=99% cellspacing=1 align=center>";

print MAIL "<tr>";
print MAIL "<td colspan="5">";
print MAIL "<table width="100%" border="0">";
print MAIL "<tr>";
print MAIL "<td width="1%"> </td>";
print MAIL "<td width="99%" height="10">Titel der Tabelle</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td width="1%" bgcolor="#FF9900"> </td>";
print MAIL "<td width="99%" height="10" bgcolor="#FF9900"> </td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td width="1%" bgcolor="#FF9900"> </td>";
print MAIL "<td width="99%" bgcolor="#FF9900">Bestellung vom <b>28.09.2002</b> - 11:45 - <b>FIRMA ABC</b></td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td width="1%" bgcolor="#FF9900"> </td>";
print MAIL "<td width="99%" height="10" bgcolor="#FF9900"> </td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td width="1%"> </td>";
print MAIL "<td width="99%"> </td>";
print MAIL "</tr>";
print MAIL "</table>";

print MAIL "<table border=0 width="100%">";
print MAIL "<tr> ";
print MAIL "<td width="16%">eMail-Adresse:</td>";
print MAIL "<td width="84%">info@mail.de</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td width="16">Anrede:</td>";
print MAIL "<td width="84">Herr</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td width="16">Vorname:</td>";
print MAIL "<td width="84">BORIS</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td width="16">Nachname/Firma:</td>";
print MAIL "<td width="84">  BECKER</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td width="16">Zusatz (Abteilung/z.Hd.):</td>";
print MAIL "<td width="84">  zuhaus</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td width="16">Straße:</td>";
print MAIL "<td width="84">NAME der STRAßE</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td width="16">Land:</td>";
print MAIL "<td width="84">DEUTSCHLAND</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td width="16">PLZ:</td>";
print MAIL "<td width="84">81745</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td width="16">Stadt:</td>";
print MAIL "<td width="84">MÜNCHEN</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td width="16">Tel :</td>";
print MAIL "<td width="84">089 74</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td width="16">Fax :</td>";
print MAIL "<td width="84">089 74</td>";
print MAIL "</tr>";
print MAIL "</table>";
print MAIL "<p> </p>";
print MAIL "</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td colspan=5 bgcolor="#FF9900"> ";
print MAIL "<div align="left"><b>Artikel im Warenkorb</b></div>";
print MAIL "</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td valign=top colspan=5 align=center height="94"> ";

print MAIL "<table width="100%" border="0">";
print MAIL "<tr> ";
print MAIL "<td width="8%">Artikel</td>";
print MAIL "<td width="13%">Rubrik</td>";
print MAIL "<td width="21%">Info</td>";
print MAIL "<td width="29%">Anzahl</td>";
print MAIL "<td width="29%">Gesamtpreis</td>";
print MAIL "</tr>";
print MAIL "</table>";

print MAIL "<table id="orderTab0" width="100%" border="0" style="display:none">";
print MAIL "<tr> ";
print MAIL "<td> ";

print MAIL "<table width="100%" border="0" style="color: #CC0000">";
print MAIL "<tr bgcolor="#FFFFCC">";
print MAIL "<td width="3%">00</td>";
print MAIL "<td width="5%" > </td>";
print MAIL "<td width="13%" >rubrik...</td>";
print MAIL "<td width="21%" > </td>";
print MAIL "<td width="29%" > </td>";
print MAIL "<td width="16" > </td>";
print MAIL "<td width="13%" ><a href="#" >INFO</a></td>";
print MAIL "</tr>";
print MAIL "</table>";

print MAIL "</td>";
print MAIL "</tr>";
print MAIL "<tr style="display:none"> ";
print MAIL "<td bgcolor="#FFFFCC" > </td>";
print MAIL "</tr>";
print MAIL "</table>";
print MAIL "<table width="100%" border="0" style="color: #CC0000">";
print MAIL "<tr> ";
print MAIL "<td width="72%"> </td>";
print MAIL "<td width="28%"  style="font-weight: bold" height="9"> </td>";
print MAIL "</tr>";
print MAIL "</table>";
print MAIL "<table width="100%" border="0" style="color: #ffffff">";
print MAIL "<tr> ";
print MAIL "<td width="72%">";
print MAIL "<div align="right"><b>Rechnungsbetrag :</b></div>";
print MAIL "</td>";
print MAIL "<td width="28%"  style="font-weight: bold" bgcolor="#0000FF"> </td>";
print MAIL "</tr>";

print MAIL "</table>";
print MAIL "</td>";
print MAIL "</tr>";
print MAIL "<tr>";
print MAIL "<td valign=top colspan=5 align=center> </td>";
print MAIL "</tr>";

print MAIL "<tr> ";
print MAIL "<td bgcolor="#FF9900" valign=top colspan=5 align=center> ";
print MAIL "<div align="left"><b>Anmerkungen</b> ";
print MAIL "</div>";
print MAIL "</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td valign=top colspan=5 align=center>  </td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td colspan=5 align=center> ";
print MAIL "<div align="left"> KEINE ANMERKUNGEN</div>";
print MAIL "</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td bgcolor="#FF9900" valign=top colspan=5 align=center> ";
print MAIL "<div align="left"><b>Zahlungsweise</b> ";
print MAIL "</div>";
print MAIL "</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td valign=top colspan=5 align=justify> </td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td colspan=5> ";
print MAIL "<table width=100%>";
print MAIL "<tr> ";
print MAIL "<td valign=center width="15%">Zahlungsart:</td>";
print MAIL "<td valign=center width="85%">&Uuml;BERWEISUNG</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td colspan=5> ";
print MAIL "<table width=100%>";
print MAIL "<tr> ";
print MAIL "<td valign=center width="15%">Name und Ort der Bank:</td>";
print MAIL "<td valign=center width="85%">SPARKASSE</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td valign=center width="15%">BLZ:</td>";
print MAIL "<td valign=center width="85%">555666888</td>";
print MAIL "</tr>";
print MAIL "<tr> ";
print MAIL "<td valign=center width="15%">Konto.-Nr.:</td>";
print MAIL "<td valign=center width="85%">123456</td>";
print MAIL "</tr>";
print MAIL "</table>";
print MAIL "</td>";
print MAIL "</tr>";
print MAIL "</table>";
print MAIL "</table>";