Ejemplo n.º 1
0
    <link rel="stylesheet" href="content/index.css">
    <meta charset="UTF-8">
</head>

<body>
	<?php 
include "loginLogic/loginForm.php";
include "getConnectionObject.php";
include "loginLogic/Identification.php";
$connectionObject = getConnectionObject();
$identification = new Identification($connectionObject);
if (isset($_POST['logout'])) {
    session_destroy();
    $identification->logout();
} elseif (isset($_POST['username']) and isset($_POST['password'])) {
    $identification->login($_POST['username'], $_POST['password']);
}
?>

	<div class="centering">
		<img src="content/logo.png"/><br/>
		<span class="title">
			Bienvenue sur orgaMIsation !<br/>
			Que voulez-vous ? <br/>
		</span>
		<ul>
			<a href="orderValidation.php" class="selectionLink">
				<li>Création menus</li>
			</a><br/>
			<a href="kitchenMonitoring.php" class="selectionLink">
				<li>Monitoring en cuisine</li>