Commit 8085eb71 authored by Skia's avatar Skia

Ragnarök! First redirections to new site

parent f1508e4a
......@@ -22,6 +22,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
header("Location: https://ae2.utbm.fr/subscription");
exit;
$topdir = "../";
/**
......
......@@ -21,6 +21,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
if (isset($_REQUEST['id_comptoir']))
header("Location: https://ae2.utbm.fr/counter/admin".$_REQUEST['id_comptoir']);
else
header("Location: https://ae2.utbm.fr/counter/admin");
exit;
$topdir="../";
require_once("include/comptoirs.inc.php");
......@@ -132,7 +137,7 @@ elseif ( $_REQUEST["action"] == "delcomptoir" && $site->user->is_in_group("gesti
$frm->add_hidden("id_comptoir_succ",$_REQUEST["id_comptoir_succ"]);
$frm->add_submit("valid","Supprimer");
$cts->add($frm,true);
$site->add_contents($cts);
$site->end_page();
exit();
......@@ -170,7 +175,7 @@ elseif ( $_REQUEST["action"] == "dodelcomptoir" && $site->user->is_in_group("ges
$site->end_page();
exit();
}
/*
Ajout d'un type de produit
......
......@@ -42,6 +42,9 @@
* @see get_localisation
*/
header("Location: https://ae2.utbm.fr/counter/".$_REQUEST['id_comptoir']);
exit;
$topdir="../";
require_once("include/comptoirs.inc.php");
require_once($topdir. "include/cts/user.inc.php");
......
......@@ -29,6 +29,9 @@
* 02111-1307, USA.
*/
header("Location: https://ae2.utbm.fr/eboutic/");
exit;
$topdir="../";
require_once($topdir . "include/site.inc.php");
......
......@@ -24,6 +24,9 @@
* 02111-1307, USA.
*/
header("Location: https://ae2.utbm.fr/launderette/");
exit;
define("ID_ASSO_LAVERIE", 84);
define("GRP_BLACKLIST", 29);
define("CPT_MACHINES", 8);
......
......@@ -22,6 +22,9 @@
* 02111-1307, USA.
*/
header("Location: https://ae2.utbm.fr/register");
exit;
$topdir = "./";
require_once($topdir. "include/site.inc.php");
......
......@@ -20,6 +20,12 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
if ( isset($_REQUEST['id_utilisateur']) )
header("Location: https://ae2.utbm.fr/user/".$_REQUEST['id_utilisateur']."/account");
else
header("Location: https://ae2.utbm.fr/user/");
exit;
$topdir="../";
require_once($topdir."include/site.inc.php");
require_once($topdir."include/cts/sqltable.inc.php");
......@@ -43,6 +49,7 @@ if ( isset($_REQUEST['id_utilisateur']) )
else
$user = &$site->user;
if ( ($_REQUEST["action"] == "delete") && ($site->user->is_in_group("gestion_ae") || $site->user->is_in_group("foyer_admin") || $site->user->is_in_group("kfet_admin") || $site->user->is_in_group("la_gommette_admin")) && ( $site->user->is_in_group("root") || $site->user->id != $user->id ) )
{
if ( isset($_REQUEST["id_facture"]))
......
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