Commit 5ea1125c authored by Skia's avatar Skia

Ragnarök continues

parent bb05f611
......@@ -23,8 +23,8 @@
* 02111-1307, USA.
*/
header("Location: https://ae2.utbm.fr/subscription");
exit;
// header("Location: https://ae2.utbm.fr/subscription");
// exit;
$topdir = "../";
......
......@@ -22,9 +22,9 @@
* 02111-1307, USA.
*/
if (isset($_REQUEST['id_comptoir']))
header("Location: https://ae2.utbm.fr/counter/admin".$_REQUEST['id_comptoir']);
header("Location: https://ae2.utbm.fr/counter/admin/".$_REQUEST['id_comptoir']);
else
header("Location: https://ae2.utbm.fr/counter/admin");
header("Location: https://ae2.utbm.fr/counter/admin/");
exit;
$topdir="../";
......
......@@ -363,7 +363,7 @@ class interfaceweb
$this->buffer .= "<a href=\"./edt.php\">Emploi du temps</a>";
$this->buffer .= "<a href=\"./matmat.php\">Mat'Matronch</a>";
if ($this->user->ae)
$this->buffer .= "<p>Compte AE : " . (sprintf("%.2f", $this->user->montant_compte / 100)) . "</p>";
$this->buffer .= "<p>Compte AE</p>";
//$this->buffer .= "<a href=\"./forum2.php\">Forum</a>";
$this->buffer .= "</div>";
......@@ -437,7 +437,7 @@ class interfaceweb
$i++;
if ($this->user->ae) {
$this->buffer .= "menu_utilisateur[$i]='<a href=\"" . $topdir . "user/compteae.php?id_utilisateur=" .
$this->user->id . "\">Compte AE : " . (sprintf("%.2f", $this->user->montant_compte / 100)) . " €</a>';";
$this->user->id . "\">Compte AE</a>';";
$i++;
}
$i++;
......
......@@ -938,6 +938,7 @@ if(!defined("MOBILE")) {
}
}
return "";
return '<div id="head_comptoirs">'.$list.'</div>';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment