0) { extract(${'HTTP_' . $type . '_VARS'}, EXTR_OVERWRITE); }}} include("config.inc.php"); mysql_connect("$dbserver","$dbuser","$dbpass"); mysql_select_db($dbdata); session_name("cls"); session_start(); if($_SESSION[mbox]!="") $mbox=$_SESSION[mbox]; if($_SESSION[pass]!="") $pass=$_SESSION[pass]; if($_POST[mbox]!="") $mbox=strtolower($_POST[mbox]); if($_POST[pass]!="") $pass=$_POST[pass]; if($mbox!="" && $pass!="" && $d!="logout") { $mdc = mysql_query("SELECT * FROM fm_user WHERE mbox = '".addslashes($mbox)."' AND pass = '".addslashes($pass)."'"); $usrd = mysql_fetch_array($mdc); if($usrd[id]!="") { $_SESSION[mbox] = $mbox; $_SESSION[pass] = $pass; $lg="ok"; } else { session_unset(); $lg=""; } } else { session_unset(); $lg=""; } if((($_REQUEST[l]=="schreiben") || ($_REQUEST[l]=="lesen") || ($_REQUEST[l]=="glesen"))&& ($_REQUEST['edhtml'] == "html")) { echo ' '; $chkhtml= ($_REQUEST['edhtml'] == "html") ? "selected='selected'" : ""; $chktext= ($_REQUEST['edhtml'] == "text") ? "selected='selected'" : ""; $m_format= ($_REQUEST['edhtml'] == "html") ? "html" : "text"; } ?> <? echo $wstitel ?>