Exemplo n.º 1
0
<?php

require_once __DIR__ . "/autoload/session.autoload.php";
require_once __DIR__ . "/class/Network.class.php";
require_once __DIR__ . "/class/User.class.php";
require_once __DIR__ . "/class/Access.class.php";
$User = new User();
$User->checkConnected();
$Access = new Access();
$Access->setUsername($_SESSION['username']);
$Access->setModule('Acheteur');
$Access->isAllowedRedirect();
?>

<!DOCTYPE html>
<html>
<head>
  <?php 
require_once __DIR__ . "/template/headcode.template.php";
?>
  <script type="text/javascript" src="js/acheteur.js"></script>
</head>
<body>

    <?php 
include __DIR__ . "/template/modal.template.php";
?>
    
    <?php 
include __DIR__ . "/template/header.template.php";
?>