main
Thomas Chazot 2 years ago
parent fbdeca8622
commit 09e15e4451

@ -7,7 +7,12 @@
</head> </head>
<body> <body>
<header>
<form method="POST" name="goBackHome" id="GoHome">
<input type="image" src="assets/logo.png"/>
<input type="hidden" name="action" value="goHome"/>
</form>
</header>
<div class="sidenav"> <div class="sidenav">
<a href="#">About</a> <a href="#">About</a>
@ -22,10 +27,7 @@
<a href="#home">Se connecter</a> <a href="#home">Se connecter</a>
</div> </div>
<form method="POST" name="goBackHome" id="GoHome">
<input type="image" src="assets/logo.png"/>
<input type="hidden" name="action" value="goHome"/>
</form>
<h2>Liste Publique</h2> <h2>Liste Publique</h2>
<div class="container"> <div class="container">

@ -5,7 +5,6 @@ class VisitorController {
{ {
global $rep,$vues; global $rep,$vues;
$mdlUsr = new MdlUser(); $mdlUsr = new MdlUser();
$user = new User();
//session_start(); //session_start();
$dVueEreur = array (); $dVueEreur = array ();
@ -14,11 +13,10 @@ class VisitorController {
$action = $_REQUEST['action']??null; $action = $_REQUEST['action']??null;
switch($action) { switch($action) {
case NULL: case NULL:
echo "pd1"; echo "pd2";
$this->Reinit(); $this->Reinit();
break; break;
case "goHome": case "goHome":
echo "pd2";
$this->Reinit(); $this->Reinit();
break; break;

Loading…
Cancel
Save