Example #1
0
?>
</head>

<body>
<div class="Container">
	<div class="header">
		<?php 
include "include/header.php";
?>
	</div>

		<?php 
include "process/authenticationMgt.php";
$objAuth = new authenticationProcessor();
//$objAuth->getCookie("authenticationToken");
if (!$objAuth->isLogedIn()) {
    ?>
			<div class="middle nonLogin">
		<?php 
    include "include/preLogin.php";
    ?>
			</div>
		<?php 
} else {
    ?>
			<div class="middle dashboard">
		<?php 
    include "include/postLogin.php";
    ?>
			</div>
		<?php 
Example #2
0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Edu : Login</title>
		<?php 
require_once "process/authenticationMgt.php";
$objAuth = new authenticationProcessor();
echo $objAuth->isLogedIn();
if ($objAuth->isLogedIn()) {
    header("location: index.php");
}
include "include/header_include.php";
?>
</head>

<body>
<div class="Container">
	<div class="header">
		<?php 
include "include/header.php";
?>
	</div>
	<div class="middle loginPage">
		<div class="left formInter">
			<iframe name="submitForm" id="submitForm"></iframe>
					<div class="blockDetail loginWraper active">
						<?php 
if (isset($_REQUEST['msg'])) {
    ?>
						<div class="error message">