예제 #1
0
 public function ShowUsers($_message)
 {
     parent::model("accounts");
     $account = new accounts();
     $data["users"] = $account->ShowAllUsers();
     if ($_message != null) {
         $data['message'] = $_message["message"];
         $data['alert'] = $_message["alert"];
     }
     //Affiche tout les éléments de la page
     parent::view("shared/header");
     parent::view("advisor/menu");
     parent::view("advisor/users", $data);
     parent::view("shared/footer");
 }