Add files via upload
This commit is contained in:
parent
d075d04a2a
commit
b9a7f053dd
@ -18,13 +18,6 @@
|
||||
}
|
||||
|
||||
//Methods:
|
||||
public static function getManager($id){
|
||||
$bd = new Manager_DAO('complucine');
|
||||
if($bd ) {
|
||||
return $bd->GetManager($id);
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
//Getters && Setters:
|
||||
public function setId($id){ $this->_id = $id; }
|
||||
|
@ -1,8 +1,6 @@
|
||||
<?php
|
||||
include_once('../dao.php');
|
||||
include_once('manager.php');
|
||||
$template = new Template();
|
||||
$prefix = $template->get_prefix();
|
||||
include_once($prefix.'assets/php/dao.php');
|
||||
|
||||
class Manager_DAO extends DAO {
|
||||
|
||||
|
@ -11,9 +11,6 @@
|
||||
|
||||
if($_SESSION["login"] && $_SESSION["rol"] === "manager"){
|
||||
|
||||
if(!$_SESSION["cinema"])
|
||||
$_SESSION["cinema"] = Manager::getManager(unserialize($_SESSION['user'])->getId())->getIdcinema();
|
||||
|
||||
switch($_GET["state"]){
|
||||
case "view_ruser":
|
||||
case "view_user":
|
||||
|
Loading…
Reference in New Issue
Block a user