public function getEmoticons($chatID) { return $this->_controller->getEmoticons($chatID); }
$idProduit = intval($_GET['id_art']); require_once $_SERVER['DOCUMENT_ROOT'] . "IMIE/Equipedia/controllers/articleadmin.php"; $controller_article = new Controller_Article(); $controller_article->modifyArticle($idProduit); } } elseif ($controller == "admins" && $action == "client") { require_once $_SERVER['DOCUMENT_ROOT'] . "IMIE/Equipedia/controllers/client.php"; $controller_client = new Controller_Client(); $controller_client->listClient(); } elseif ($controller == "admins" && $action == "viewclient") { if (empty($_GET['id'])) { echo "<p>Il manque l'identifiant du produit </p>"; } else { $idProduit = intval($_GET['id']); require_once $_SERVER['DOCUMENT_ROOT'] . "IMIE/Equipedia/controllers/client.php"; $controller_client = new Controller_Client(); $controller_client->viewClient($idProduit); } } elseif ($controller == "admins" && $action == "commande") { require_once $_SERVER['DOCUMENT_ROOT'] . "/IMIE/Equipedia/controllers/command.php"; $controller_commande = new Controller_Commande(); $controller_commande->listCommande(); } elseif ($controller == "admins" && $action == "viewcommande") { if (empty($_GET['id'])) { echo "<p>Il manque l'identifiant du produit </p>"; } else { $idProduit = intval($_GET['id']); require_once $_SERVER['DOCUMENT_ROOT'] . "IMIE/Equipedia/controllers/command.php"; $controller_commande = new Controller_Commande(); $controller_commande->viewCommande($idProduit); }