<?php
//Session
session_start();
if (!isset($_SESSION['captcha']))
{
$_SESSION['captcha'] = rand(1000,9999);
}
//Captcha Aufruf
if (isset($_GET["action"]) && ($_GET["action"] == "captcha"))
{
Captcha();
}
$errName = "";
$errVorname = "";
$errEmail = "";
$errNachricht = "";
$errThema = "";
$errCaptcha = "";
if (isset($_POST["Name"])) $varName = $_POST["Name"]; else $varName = "";
if (isset($_POST["Vorname"])) $varVorname = $_POST["Vorname"]; else $varVorname = "";
if (isset($_POST["telefon"])) $vartelefon = $_POST["telefon"]; else $vartelefon = "";
if (isset($_POST["Username"])) $varUsername = $_POST["Username"]; else $varUsername = "";
if (isset($_POST["Email"])) $varEmail = $_POST["Email"]; else $varEmail = "";
if (isset($_POST["Nachricht"])) $varNachricht = $_POST["Nachricht"]; else $varNachricht = "";
$lstThema_0 = "";
$lstThema_1 = "";
$lstThema_2 = "";
$lstThema_3 = "";
$lstThema_4 = "";
$lstThema_5 = "";
$lstThema_6 = "";
$lstThema_7 = "";
if (isset($_POST["Thema"]))
{
if ($_POST["Thema"] == "Bitte auswählen") $lstThema_0 = "selected";
if ($_POST["Thema"] == "Kaufen") $lstThema_1 = "selected";
if ($_POST["Thema"] == "Verkaufen") $lstThema_2 = "selected";
if ($_POST["Thema"] == "Mitgliedskonto") $lstThema_3 = "selected";
if ($_POST["Thema"] == "Buchaltung") $lstThema_4 = "selected";
if ($_POST["Thema"] == "Bewertung") $lstThema_5 = "selected";
if ($_POST["Thema"] == "Sponsor werden") $lstThema_6 = "selected";
if ($_POST["Thema"] == "Sonstiges") $lstThema_7 = "selected";
}
//E-Mailversand
if (isset($_GET["action"]) && ($_GET["action"] == "send"))
{
$bFormOK = true;
if ($_POST["Name"] == "")
{
$errName = "<span style=\"color:#FF0000;\">Bitte geben Sie einen Wert in das Feld Name ein!</span>";
$bFormOK = false;
}
if ($_POST["Vorname"] == "")
{
$errVorname = "<span style=\"color:#FF0000;\">Bitte geben Sie einen Wert in das Feld Vorname ein!</span>";
$bFormOK = false;
}
if (preg_match("|^[a-zA-Z0-9][a-zA-Z0-9._-]*@[a-zA-Z0-9._-]+\.[a-zA-Z]{2,6}$|",$_POST["Email"]) == false)
{
$errEmail = "<span style=\"color:#FF0000;\">Bitte geben Sie einen Wert in das Feld E-Mail-Adresse ein!</span>";
$bFormOK = false;
}
if ($_POST["Nachricht"] == "")
{
$errNachricht = "<span style=\"color:#FF0000;\">Bitte geben Sie einen Wert in das Feld Bitte geben Sie Ihre Nachricht ein: ein!</span>";
$bFormOK = false;
}
if ($_POST["Thema"] == "Bitte auswählen")
{
$errThema = "<span style=\"color:#FF0000;\">Bitte wählen Sie etwas im Feld Thema aus!!</span>";
$bFormOK = false;
}
if ($_POST["captcha_input"] != $_SESSION["captcha"])
{
$errCaptcha = "<span style=\"color:#FF0000;\">Fehler, bitte übertragen Sie die Zahl aus dem Bild!</span>";
$bFormOK = false;
}
if ($bFormOK == true) sendMail();
}
//Funktionsteil
function CryptString($str)
{
for ($i=0;$i<=strlen($str)-1;$i++)
{
$str[$i] = chr(23 ^ ord($str[$i]));
}
return $str;
}
function CheckTransmitField($name)
{
$res = true;
if ($name == "redirect") $res = false;
if ($name == "einleittext") $res = false;
if ($name == "probe") $res = false;
if ($name == "crypt") $res = false;
if ($name == "ReturnToSender") $res = false;
if ($name == "next") $res = false;
if ($name == "typemail") $res = false;
if ($name == "admin") $res = false;
if ($name == "admin1") $res = false;
if ($name == "admin2") $res = false;
if ($name == "subject") $res = false;
if ($name == "captcha_input") $res = false;
if ($name == "formid") $res = false;
if ($name == "settings") $res = false;
if ($name == "copyfields") $res = false;
if ($name == "copyip") $res = false;
if ($name == "hide_empty_fields") $res = false;
if ($name == "PHPSESSID") $res = false;
if (substr($name,0,8) == "anzeige_") $res = false;
return $res;
}
function Captcha()
{
$c_captcha_breite = 80; //größe Captcha Bild
$c_captcha_hoehe = 25;
$c_captcha_groesse = 15; //Schriftgröße Captcha
Header("Content-Disposition: filename=\"captcha.png\"\r\n");
Header("Content-type: image/png");
//Bild erzeugen
$im = imagecreate($c_captcha_breite,$c_captcha_hoehe);
//Farbe und Schriftart
$captcha_color = imagecolorallocate($im,44,44,44);
$captcha_bg_color = imagecolorallocate($im,150,150,150);
$captcha_stoer_color = imagecolorallocate($im,100,100,100);
imagefill($im,0,0,$captcha_bg_color);
srand ((double)microtime()*1000000);
//Störmuster einbringen
for ($x = 0;$x<=$c_captcha_breite;$x++)
for ($y = 0;$y<=$c_captcha_hoehe;$y++)
{
$curRand = rand(0,3);
if ($curRand == 1) imagesetpixel($im,$x,$y,$captcha_stoer_color);
}
imagestring($im,5,15,5,$_SESSION["captcha"],$captcha_color);
ImagePng($im);
}
function CleanXML($str)
{
$str = str_replace("&","&",$str);
$str = str_replace("<","<",$str);
$str = str_replace(">",">",$str);
$str = stripslashes($str);
return $str;
}
function sendMail()
{
//Textmail-Template
$messageText='#SUBJECT#
-----------------------------------------------------------------';
//HTML-Template
$messageHTML = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Formular</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
p,li { font-family: Verdana, sans-serif; font-size: 10pt }
body { font-family:Verdana, sans-serif; font-size: 10pt;
background-color:#FFFFFF;
scrollbar-shadow-color: #000000; scrollbar-face-color: #CCCCCC;
scrollbar-highlight-color: #000000; scrollbar-3dlight-color: #FFFFFF;
scrollbar-darkshadow-color: #ffffff; scrollbar-track-color: #EEEEEE;
scrollbar-arrow-color: #000000 }
TD { font-family:Verdana, sans-serif; font-size: 10pt }
H1 { font-family:Verdana, sans-serif; font-size: 16pt; font-weight: bold; font-style: italic; }
H2 { font-family:Verdana, sans-serif; font-size: 14pt; font-weight: bold; font-style: italic;}
H3 { font-family:Verdana, sans-serif; font-size: 12pt; font-style: italic; font-weight: bold }
A { font-family:Verdana, sans-serif; color: #000080; font-size: 9pt; font-weight: normal; text-decoration: none }
A:hover { color: #FF0400; text-decoration: underline }
-->
</style>
</head>
<body>
<div align="center">
<table width="65%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="5%" rowspan="3" bgcolor="#999999"> </td>
<td width="95%"><div align="center">
<h2>#SUBJECT#</h2>
</div></td>
</tr>
<tr>
<td><hr size="1">
<div align="center">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="5">
<tr>
<td colspan="2" valign="top">
<div align="left">#EINLEITTEXT#</div></td>
</tr>
</table>
<p>#PLACEHOLDER#</p>
</div>
#IP_INFOS#
<hr size="1">
</td>
</tr>
<tr>
<td><div align="center"></div></td>
</tr>
</table>
</div>
</body>
</html>
';
$messageHTMLContent = '<hr size="1">
<div align="center"><strong><br>
Weitere Informationen:</strong> </div>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="5">
<tr>
<td width="25%" height="18" valign="top">
<div align="right"><strong>Datum:</strong></div></td>
<td width="75%">#DATE#</td>
</tr>
<tr>
<td height="18" valign="top">
<div align="right"><strong>IP-Adresse:</strong></div></td>
<td>#IP#</td>
</tr>
<tr>
<td height="18" valign="top">
<div align="right"><strong>User-Agent:</strong></div></td>
<td>#UA#</td>
</tr>
</table>';
$redir = $_POST["redirect"];
$sender = $_POST["email"];
$subj = $_POST["subject"];
$type = $_POST["typemail"];
$kopie_absender = $_POST["copyfields"];
$ip_informationen = $_POST["copyip"];
$strEinleitText = CryptString(base64_decode($_POST["einleittext"]));
$strFormID = $_POST["formid"];
$strSettings = CryptString(base64_decode($_POST["settings"]));
$returnSender = $_POST["ReturnToSender"];
//Action ermitteln
if (isset($_POST["crypt"])) $cryptMail = $_POST["crypt"];
else $cryptMail = "0";
//E-Mail-Adressen auslesen
if ($cryptMail == "1")
{
$rec1 = CryptString(base64_decode(stripslashes($_POST["admin"])));
$rec2 = CryptString(base64_decode(stripslashes($_POST["admin1"])));
$rec3 = CryptString(base64_decode(stripslashes($_POST["admin2"])));
}
else
{
$rec1 = $_POST["admin"];
$rec2 = $_POST["admin1"];
$rec3 = $_POST["admin2"];
}
$textmail = true;
if ($type == "plain" || $type == "")
{
$fmtTrail= "";
$message= $messageText;
$message.= "\n\n";
$fields = "";
foreach($_POST as $name=> $value)
{
$str = stripslashes($value);
if (CheckTransmitField($name) == true)
{
//in Mail eintragen
if (!(isset($_POST["hide_empty_fields"])) || (!($_POST["hide_empty_fields"]) == "-1") || ($str != ""))
$fields.= "$name: $str\n\n";
//Einleitungstextersetzung durchführen
$strEinleitText = str_replace('{#' . $name . '#}', $str, $strEinleitText);
}
}
$message.= str_replace("#br#", "\n", $strEinleitText);
$message.= "\n\n";
//$message.= $fields;
$message.= "#fields#" . "\n";
$message.= $fmtTrail;
//Anhängen der IP, Browser und Datum
if ($ip_informationen == "-1")
{
$message.= "-----------------------------\n";
$internal_datum=date("j.n.Y");
$internal_zeit=date("H:i");
$message.= "Datum: $internal_datum | Uhrzeit: $internal_zeit" . "\n";
$message.= $_SERVER['REMOTE_ADDR'] . "\n";
$message.= $_SERVER['HTTP_USER_AGENT'];
}
//Replace Operationen
$message = str_replace("#SUBJECT#", $subj, $message);
$messageCopy = $message;
//Nachrichtenkopie erzeugen und Inhalt einfügen
if ($kopie_absender == "-1")
{
$messageCopy = str_replace("#fields#",$fields, $messageCopy);
} else $messageCopy = str_replace("#fields#","", $messageCopy);
$message = str_replace("#fields#",$fields, $message);
$textmail = true;
}
if ($type == "html")
{
$inHtml= "<table width=\"95%\">";
$message= $messageHTML;
foreach($_POST as $name=> $value)
{
$str = stripslashes($value);
$str = str_replace("\n","<br>",$str);
if (CheckTransmitField($name) == true)
{
//Daten eintragen
if (!(isset($_POST["hide_empty_fields"])) || (!($_POST["hide_empty_fields"]) == "-1") || ($str != ""))
{
$inHtml.= "<tr>\n";
$inHtml.= "<td width=\"33%\" valign=\"top\"><div align=\"right\"><strong>" . $name . ":</strong></div></td>\n";
$inHtml.= "<td width=\"67%\" valign=\"top\">" . $str . "</td></tr>\n";
//Ersetzung in Einleitungstext
$strEinleitText = str_replace('{#' . $name . '#}', $str, $strEinleitText);
}
}
}
$inHtml.= "</table>";
//Anhängen der IP, Browser und Datum
if ($ip_informationen == "-1")
{
$ip_infos= $messageHTMLContent;
$internal_datum=date("j.n.Y");
$internal_zeit=date("H:i");
$datum = $internal_datum . " | " . $internal_zeit . " Uhr \n";
$ip = $_SERVER['REMOTE_ADDR'] . "\n";
$ua = $_SERVER['HTTP_USER_AGENT'];
//replace Operationen
$ip_infos = str_replace("#DATE#", $datum, $ip_infos);
$ip_infos = str_replace("#IP#", $ip, $ip_infos);
$ip_infos = str_replace("#UA#", $ua, $ip_infos);
$ip_infos = str_replace("#SUBJECT#", $subj, $ip_infos);
//in Haupttemplate einfügen
$message = str_replace("#IP_INFOS#", $ip_infos, $message);
} else $message = str_replace("#IP_INFOS#", "", $message);
$message = str_replace("#EINLEITTEXT#", str_replace("#br#", "<br>", $strEinleitText), $message);
$message = str_replace("#SUBJECT#", $subj, $message);
$messageCopy = $message;
//Nachrichtenkopie erzeugen und Inhalt einfügen
if ($kopie_absender == "-1") $messageCopy = str_replace("#PLACEHOLDER#", $inHtml, $messageCopy);
else $messageCopy = str_replace("#PLACEHOLDER#", "", $messageCopy);
$message = str_replace("#PLACEHOLDER#", $inHtml, $message);
$textmail = false;
}
if ($type == "xml")
{
$message = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" standalone=\"yes\"?>\n\n";
$message .= "<dataroot>\n";
$message .= " <xml>\n";
foreach($_POST as $name=> $value)
{
$str = CleanXML($value);
if (CheckTransmitField($name) == true)
{
$message .= " <" . $name . ">" . $str . "</" . $name .">\n";
}
}
//Anhängen der IP, Browser und Datum
$message .= " <date>" . time() . "</date>\n";
$message .= " <ip>" . $_SERVER['REMOTE_ADDR'] . "</ip>\n";
$message .= " <ua>" . $_SERVER['HTTP_USER_AGENT'] . "</ua>\n";
$message .= " </xml>\n";
$message .= "</dataroot>";
$textmail = true;
}
//Anhang
$anhang = false;
//Über alle Felder gehen
foreach ($_FILES as $value)
{
if (!$value['error'] and ($value['name'] != '.htaccess'))
{
move_uploaded_file($value['tmp_name'], "filetemp/" . $value['name']);
$anhang = true;
}
}
$mail = new sendmail();
$mail->from($sender);
$mail->to($rec1);
$mail->subject($subj);
$mail->text($message,$textmail,$anhang);
if ($anhang == true)
{
foreach ($_FILES as $value)
{
$mail->attachment("filetemp/" . $value['name']);
}
}
$mail->send();
if ($rec2 != "")
{
$mail2 = new sendmail();
$mail2->from($sender);
$mail2->to($rec2);
$mail2->subject($subj);
$mail2->text($message,$textmail,$anhang);
if ($anhang == true)
{
foreach ($_FILES as $value)
{
$mail2->attachment("filetemp/" . $value['name']);
}
}
$mail2->send();
}
if ($rec3 != "")
{
$mail3 = new sendmail();
$mail3->from($sender);
$mail3->to($rec3);
$mail3->subject($subj);
$mail3->text($message,$textmail,$anhang);
if ($anhang == true)
{
foreach ($_FILES as $value)
{
$mail3->attachment("filetemp/" . $value['name']);
}
}
$mail3->send();
}
//Kopie an Absender
if ($returnSender == "-1")
{
$mail4 = new sendmail();
$mail4->from($rec1);
$mail4->to($sender);
$mail4->subject($subj);
$mail4->text($messageCopy,$textmail,$anhang);
$mail4->send();
}
//Dateien löschen
if ($anhang == true)
{
foreach ($_FILES as $value)
{
@unlink("filetemp/" . $value['name']);
}
}
header("Location:" . $redir);
}
class sendmail
{
// Variable deklarieren
var $emailheader = "";
var $emailheader2 = "";
var $textheader = "";
var $textboundary = "";
var $emailboundary = "";
var $betreff = "";
var $empfaenger = "";
var $attachment = array();
function sendmail()
{
$this->textboundary = uniqid(time());
$this->emailboundary = uniqid(time());
}
// Von wem die Email kommt in den Header setzen
function from($name)
{
$this->emailheader .= "From: $name\n";
$this->emailheader .= "MIME-Version: 1.0\n";
}
// Funktion um den Adressaten anzugeben
function to($to)
{
$this->empfaenger = $to;
}
// Funktionn für den Betreff anzugeben
function subject($subject)
{
$this->betreff = $subject;
}
// Textdaten in Email Header packen
function text($text,$textmail,$anhang)
{
if ($textmail == false)
{
$this->emailheader2 .= "Content-Type: multipart/alternative; boundary=\"$this->textboundary\"\n";
$this->textheader .= "--$this->textboundary\n";
$this->textheader .= "Content-Type: text/plain; charset=\"ISO-8859-1\"\n";
$this->textheader .= "Content-Transfer-Enconding: quoted-printable\n\n";
$this->textheader .= strip_tags($text)."\n\n";
$this->textheader .= "--$this->textboundary\n";
$this->textheader .= "Content-Type: text/html; charset=\"ISO-8859-1\"\n";
$this->textheader .= "Content-Transfer-Enconding: quoted-printable\n\n";
$this->textheader .= "<html><body>$text</body></html>\n\n";
$this->textheader .= "--$this->textboundary--\n\n";
}
else
{
if ($anhang == true)
{
$this->emailheader2 .= "Content-Type: multipart/alternative; boundary=\"$this->textboundary\"\n";
$this->textheader .= "--$this->textboundary\n";
$this->textheader .= "Content-Type: text/plain; charset=\"ISO-8859-1\"\n";
$this->textheader .= "Content-Transfer-Enconding: quoted-printable\n\n";
}
$this->textheader .= $text . "\n\n";
if ($anhang == true)
{
$this->textheader .= "--$this->textboundary--\n\n";
}
}
}
// Funktion zum anhängen für Attachments in der Email
function attachment($datei)
{
// Überprüfen ob File Existiert
if(is_file($datei))
{
// Header für Attachment erzeugen
$filename = str_replace("filetemp/", "", $datei);
$attachment_header = "--".$this->emailboundary."\n" ;
$attachment_header .= "Content-Type: application/octet-stream;\n name=\"$datei\"\n";
$attachment_header .= "Content-Transfer-Encoding: base64\n";
$attachment_header .= "Content-Disposition: attachment;\n filename=\"$filename\"\n\n";
// Daten der Datei einlesen, in das BASE64 Format formatieren und auf max 72 Zeichen pro Zeile
// aufteilen
$file['inhalt'] = fread(fopen($datei,"rb"),filesize($datei));
$file['inhalt'] = base64_encode($file['inhalt']);
$file['inhalt'] = chunk_split($file['inhalt'],72);
// Attachment mit Header in der Klassenvariable speichern
$this->attachment[] = $attachment_header.$file['inhalt']."\n";
}
}
// Funktion zum erstellen des Kompletten Headers der Email
// Senden der Email
function send()
{
$header = $this->emailheader;
$body = "";
// Überprüfen ob Attachments angehängt wurden
if(count($this->attachment)>0)
{
$header .= "Content-Type: multipart/mixed; boundary=\"$this->emailboundary\"\n";
$body .= "--$this->emailboundary\n";
$body .= $this->emailheader2 . "\n";
$body .= $this->textheader;
for($i=0;$i<count($this->attachment);$i++)
{
$body .= $this->attachment[$i];
}
$body .= "--$this->emailboundary--";
}
else
{
$header .= $this->emailheader2;
$body .= $this->textheader;
}
// Versenden der Mail
mail("$this->empfaenger",$this->betreff,$body,$header);
}
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>
Kontaktformular
</title>
<meta name="generator" content="DA-Formmaker">
<style type="text/css">
<!--
body { background-color:#FFFFFF; }
h1 { color:#000000; font-family:Arial,Helvetica,Geneva; font-size:12pt; }
p,li { color:#000080; font-family:Arial,Helvetica,Geneva; font-size:10pt; }
TD { color:#000080; font-family:Arial,Helvetica,Geneva; font-size:10pt; }
td.my { background-color:#C0C0C0}
-->
</style>
<!-- JSCRIPT -->
<script type="text/javascript">
<!--
function zaehle_Nachricht()
{
if (window.document.DAFORM.Nachricht.value.length>10000)
{
window.document.DAFORM.Nachricht.value=formfeld;
return;
}
else
{
formfeld = window.document.DAFORM.Nachricht.value;
window.document.DAFORM.anzeige_Nachricht.value = 10000-window.document.DAFORM.Nachricht.value.length;
}
}
//--></script>
</head>
<body>
<form action="<?php print $_SERVER["PHP_SELF"]?>?action=send&PHPSESSID=<?php echo session_id();?>" method="POST" name="DAFORM" enctype="multipart/form-data" target="_self">
<input type="hidden" name="formid" value="4595845">
<input type="hidden" name="settings" value="Y2Vicg==">
<input type="hidden" name="redirect" value="danke.htm">
<input type="hidden" name="subject" value="Kontaktformular">
<input type="hidden" name="admin" value="info@fixauktion.de">
<input type="hidden" name="admin1" value="">
<input type="hidden" name="admin2" value="">
<input type="hidden" name="typemail" value="html">
<input type="hidden" name="crypt" value="1">
<input type="hidden" name="einleittext" value="">
<input type="hidden" name="copyfields" value="-1">
<input type="hidden" name="copyip" value="-1">
<input type="hidden" name="hide_empty_fields" value="0">
<input type="hidden" name="email" value="info@fixauktion.de">
<input type="hidden" name="ReturnToSender" value="0">
<table width="500px" align="center" border="0" cellpadding="3" cellspacing="2">
<tr>
<td colspan="2"><h1>Bitte geben Sie Ihre Daten ein.<br>
</h1></td>
</tr>
<tr>
<td colspan="2"><p>Mit diesem Formular können Sie mit uns Kontakt
aufnehmen.
<br>
</p></td>
</tr>
<tr><td align="right" valign="top" class="my" nowrap>Name <font color="#0000FF"><b>*</b></font></td>
<td class="my">
<input type="text" name="Name" value="<?php echo $varName;?>" size="15" maxlength="100"> <br><?php echo $errName;?></td></tr>
<tr><td align="right" valign="top" class="my" nowrap>Vorname <font color="#0000FF"><b>*</b></font></td>
<td class="my">
<input type="text" name="Vorname" value="<?php echo $varVorname;?>" size="15" maxlength="100"> <br><?php echo $errVorname;?></td></tr>
<tr><td align="right" valign="top" class="my" nowrap>Telefon</td>
<td class="my">
<input type="text" name="telefon" value="<?php echo $vartelefon;?>" size="15" maxlength="100"> </td></tr>
<tr><td align="right" valign="top" class="my" nowrap>Username</td>
<td class="my">
<input type="text" name="Username" value="<?php echo $varUsername;?>" size="15" maxlength="100"> </td></tr>
<tr><td align="right" valign="top" class="my" nowrap>E-Mail-Adresse <font color="#0000FF"><b>*</b></font></td>
<td class="my">
<input type="text" name="Email" value="<?php echo $varEmail;?>" size="15" maxlength="100"> <br><?php echo $errEmail;?></td></tr>
<tr><td align="right" valign="top" class="my" nowrap>Bitte geben Sie Ihre Nachricht ein: <font color="#0000FF"><b>*</b></font></td>
<td class="my">
<textarea name="Nachricht" cols="40" rows="10" onkeyup="javascript:zaehle_Nachricht()" ><?php echo $varNachricht;?></textarea> <br><input name="anzeige_Nachricht" type="text" size="8" readonly value="10000"> Zeichen übrig<br><?php echo $errNachricht;?></td></tr>
<tr><td align="right" valign="top" class="my" nowrap>Thema <font color="#0000FF"><b>*</b></font></td>
<td class="my">
<select name="Thema" size="1"><option <?php echo $lstThema_0;?>>Bitte auswählen</option>
<option <?php echo $lstThema_1;?>>Kaufen</option>
<option <?php echo $lstThema_2;?>>Verkaufen</option>
<option <?php echo $lstThema_3;?>>Mitgliedskonto</option>
<option <?php echo $lstThema_4;?>>Buchaltung</option>
<option <?php echo $lstThema_5;?>>Bewertung</option>
<option <?php echo $lstThema_6;?>>Sponsor werden</option>
<option <?php echo $lstThema_7;?>>Sonstiges</option>
</select> <br><?php echo $errThema;?></td></tr>
<tr>
<td class="my" align="right" valign="middle"><p class="my">Spam-Schutz <font color="#0000FF"><b>*</b></font></p></td>
<td class="my" valign="middle">
<table width="100%" border="0" cellspacing="0" cellpadding="00">
<tr valign="middle">
<td width="20%"><input type="text" name="captcha_input" size="10" maxlength="5" ></td>
<td width="80%"> <img src="<?php print $_SERVER["PHP_SELF"];?>?action=captcha&PHPSESSID=<?php echo session_id();?>" border="1" alt="captcha"></td>
</tr>
</table>
<?php echo $errCaptcha;?>
</td>
<tr></tr>
<td><font color="#0000FF"><b>*</b></font> Felder sind Pflichfelder</td>
<tr>
<td colspan="2"><p class="my"><br>
</p></td>
</tr>
<tr>
<td colspan="2">
<input type="submit" name="next" value="Absenden" >
<input type="reset" name="next" value="Zurücksetzen" >
<input type="button" name="print" value="Drucken" onClick="javascript:window.print()" class="button">
</td>
</tr>
</table>
</form>
</body>
</html>