Location: PHPKode > scripts > phpSecurityAdmin > phpsecurityadmin/include/main.php
<?php // 6/6/02 4:29PM
    if(isset($_POST['LOGIN'])){
		$result=$sec_sys->Login($user,$pass);
		if($result){
			echo $result;
			$sec_sys->loginForm();
		}else{
			echo $sec_sys->PHPSECURITYADMIN_LOGIN_SUCCESS.'<br>'."\n";
		}
    }else{
		$sec_sys->Logout();
		printf($sec_sys->PHPSECURITYADMIN_WELCOME.'<br>'."\n",$sec_sys->PHPSECURITYADMIN_HOST);
		$sec_sys->loginForm();
		echo $sec_sys->PHPSECURITYADMIN_ADMIN_RIGHTS.'<br>'."\n";
    }
?>
Return current item: phpSecurityAdmin