update admin
muestra de mensaje al usar la funciona de ver como
This commit is contained in:
parent
59368957ff
commit
ebc7d4708c
@ -71,13 +71,13 @@
|
|||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
case 'un':
|
case 'un':
|
||||||
AdminPanel::see_like_user();
|
$reply=AdminPanel::see_like_user();
|
||||||
break;
|
break;
|
||||||
case 'ur':
|
case 'ur':
|
||||||
AdminPanel::see_like_registed_user();
|
$reply=AdminPanel::see_like_registed_user();
|
||||||
break;
|
break;
|
||||||
case 'ag':
|
case 'ag':
|
||||||
AdminPanel::see_like_manager();
|
$reply=AdminPanel::see_like_manager();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$reply=AdminPanel:: panel();
|
$reply=AdminPanel:: panel();
|
||||||
|
@ -434,8 +434,8 @@
|
|||||||
$_SESSION["lastRol"] = $_SESSION["rol"];
|
$_SESSION["lastRol"] = $_SESSION["rol"];
|
||||||
//unset($_SESSION["rol"]);
|
//unset($_SESSION["rol"]);
|
||||||
$_SESSION["rol"] = null;
|
$_SESSION["rol"] = null;
|
||||||
header("Location: {$_SERVER['PHP_SELF']}");
|
//header("Location: {$_SERVER['PHP_SELF']}");
|
||||||
$_SESSION['message'] = "<div class=''>
|
return $reply = "<div class=''>
|
||||||
<div class='column side'></div>
|
<div class='column side'></div>
|
||||||
<div class='column middle'>
|
<div class='column middle'>
|
||||||
<div class='code info'>
|
<div class='code info'>
|
||||||
@ -451,8 +451,8 @@
|
|||||||
static function see_like_registed_user(){
|
static function see_like_registed_user(){
|
||||||
$_SESSION["lastRol"] = $_SESSION["rol"];
|
$_SESSION["lastRol"] = $_SESSION["rol"];
|
||||||
$_SESSION["rol"] = "user";
|
$_SESSION["rol"] = "user";
|
||||||
header("Location: {$_SERVER['PHP_SELF']}");
|
//header("Location: {$_SERVER['PHP_SELF']}");
|
||||||
$_SESSION['message'] = "<div class='row'>
|
return $reply = "<div class='row'>
|
||||||
<div class='column side'></div>
|
<div class='column side'></div>
|
||||||
<div class='column middle'>
|
<div class='column middle'>
|
||||||
<div class='code info'>
|
<div class='code info'>
|
||||||
@ -468,8 +468,8 @@
|
|||||||
static function see_like_manager(){
|
static function see_like_manager(){
|
||||||
$_SESSION["lastRol"] = $_SESSION["rol"];
|
$_SESSION["lastRol"] = $_SESSION["rol"];
|
||||||
$_SESSION["rol"] = "manager";
|
$_SESSION["rol"] = "manager";
|
||||||
header("Location: {$_SERVER['PHP_SELF']}");
|
//header("Location: {$_SERVER['PHP_SELF']}");
|
||||||
$_SESSION['message'] = "<div class='row'>
|
return $reply = "<div class='row'>
|
||||||
<div class='column side'></div>
|
<div class='column side'></div>
|
||||||
<div class='column middle'>
|
<div class='column middle'>
|
||||||
<div class='code info'>
|
<div class='code info'>
|
||||||
|
Loading…
Reference in New Issue
Block a user