/*
###############################
## ##
## (c) 2002 ##
## Pro-Auction.de ##
## Die Auktionshaus Software ##
## ##
## mail@pro-auction.de ##
## ##
###############################
*/
require('./includes/config.inc.php');
require('./includes/messages.inc.php');
require("./header.php");
//print $HTTP_COOKIE_VARS["$LOGGED_IN_NICK"]."
";
if(empty($action))
{
$action = "login";
}
if (($REQUEST_METHOD=="GET" && $action=="login") && !$HTTP_COOKIE_VARS["$LOGGED_IN_COOKIE"])
{
//include "header.php";
include "templates/template_user_login_php.html";
include "footer.php";
exit;
}
// Prüfen, ob eingeloggt
if($HTTP_COOKIE_VARS["$LOGGED_IN_COOKIE"]) // sollte aber eigentlich immer der Fall sein
{
$bm_user_nick = $HTTP_COOKIE_VARS["$LOGGED_IN_NICK"];
if (!empty($pwsafe))
{
$bm_password = $HTTP_COOKIE_VARS["$LOGGED_IN_PW"];
}
$bm_query = "select id from users where nick='$bm_user_nick'";
$bm_result = mysql_query($bm_query);
if(!$bm_result)
{
print "
|
|
|