'; echo ''; echo ''; echo '


Kraftstoff für eine saubere Zukunft.
Sitemap    Impressum    RSS    Datenschutz    Anmelden
Bremer Offensive
Aktuelles
Erdgas als Kraftstoff
Fahrzeuge
Autohäuser
Tankstellen
Presse
Service
Sebastian erklärt Erdgas


'; echo '
'; sys_headline($g_password_headline); if ($g_password_autorequest) { $errortext=''; if ($_GET["chk"]=='1') { if ($_POST["txtusername"]=='') { $errortext.=frm_error($g_password_nousername); $errorusername=true; } else { $success=false; $pwd=''; $result=db_query("SELECT logonname,password,email FROM users WHERE logonname='". db_escape($_POST["txtusername"])."'"); if ($row=mysql_fetch_assoc($result)) { if (strtolower($row["logonname"])==strtolower($_POST["txtusername"])) { // Anmeldename ist gültig $email=$row["email"]; $pwd=$row["password"]; $success=true; } } mysql_free_result($result); if (!$success) { $errortext.=frm_error($g_password_wrongentry); $errorusername=true; } } if ($errortext!='') { echo '

'.nl2br(htmlentities($g_password_formerror,NULL, "")).'

'. $errortext; } else { if ($success) { echo '

'.nl2br(htmlentities($g_password_success,NULL, "")).'

'. $errortext; // Mail versenden @mail(trim($email),$g_password_mailsubject,sprintf($g_password_mailbody, $_POST["txtusername"],$pwd),"From: ".$g_password_mailform."\r\n". "Reply-To: ".$g_password_mailfrom); echo ''. htmlentities($g_password_gotologon,NULL, "").''; } } } // Paranoia unset($pwd); unset($email); if ($_GET["chk"]!="1" || $errortext!='') { echo '

'.nl2br(htmlentities($g_password_text,NULL, "")).'

'; echo '
'; echo ''; // Benutzername echo ''; echo frm_label($g_password_username,$errorusername); echo frm_textbox('txtusername',$_POST["txtusername"],15,15); echo ''; // Schaltfläche "Anfordern" echo ''; echo ''; echo ''; echo ''; echo '
'; echo ''; echo '
'; echo '
'; echo ''; } } else { sys_noprivileges(); } echo '
'; ?>