Subversion-Projekte lars-tiefland.em_wm

Revision

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

Revision 76 Revision 114
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)
6
        if ( defined("FINISHED") and $u->u_type != 1 )
7
		{
7
        {
8
			User_Logout();
8
            User_Logout();
9
			$smarty->assign("meld",$common["an_error_occured"]);
9
            $smarty->assign( "meld", $common["an_error_occured"] );
10
			$smarty->assign("db_meld",$f);
10
            $smarty->assign( "db_meld", $f );
11
			$smarty->assign("error",true);
11
            $smarty->assign( "error", true );
12
			$smarty->assign("user","");
12
            $smarty->assign( "user", "" );
13
			$smarty->display("login.tpl");
13
            $smarty->display( "login.tpl" );
14
		}
14
        }
15
		else
15
        else
16
		{
16
        {
17
			$smarty->assign("meld",$common["login_success"]);
17
            $smarty->assign( "meld", $common["login_success"] );
18
			$smarty->display("meld.tpl");
18
            $smarty->display( "meld.tpl" );
19
		}
19
        }
20
	}
20
    }
21
?>
21
?>