Subversion-Projekte lars-tiefland.em_wm

Revision

Revision 70 | Revision 114 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 70 Revision 76
Zeile 1... Zeile 1...
1
<?
1
<?
2
	define("IN_ADMIN",true);
2
	define("IN_ADMIN",true);
3
	require_once("include/common.php");
3
	require_once("include/common.php");
4
	if ($a->getAuth())
4
	if ($a->getAuth())
5
	{
5
	{
-
 
6
		if (defined("FINISHED")AND $u->u_type!=1)
-
 
7
		{
-
 
8
			User_Logout();
-
 
9
			$smarty->assign("meld",$common["an_error_occured"]);
-
 
10
			$smarty->assign("db_meld",$f);
-
 
11
			$smarty->assign("error",true);
-
 
12
			$smarty->assign("user","");
-
 
13
			$smarty->display("login.tpl");
-
 
14
		}
-
 
15
		else
-
 
16
		{
6
		$smarty->assign("meld","Login erfogreich!");
17
			$smarty->assign("meld",$common["login_success"]);
7
		$smarty->display("meld.tpl");
18
			$smarty->display("meld.tpl");
-
 
19
		}
8
	}
20
	}
9
?>
21
?>