query($query); $List = array(); if ($result->num_rows > 0) { while($row = $result->fetch_assoc()) { $List[] = $row; } } return $List; } $result = getDetailEmploye(); //print("
".print_r($_SESSION,true).""); if($_SESSION['glpiactiveprofile']['name'] == "Super-admin"){ echo ""; if(!empty($result[0]['employe'])){ echo ""; echo ""; }else{ echo" "; } if (Session::getCurrentInterface() == "helpdesk") { Html::helpFooter(); } else { Html::footer(); } $link=$CFG_GLPI["root_doc"]; ?>