";
if (Session::getCurrentInterface() == "helpdesk") {
Html::helpFooter();
} else {
Html::footer();
}
function result($List , $root){
echo '
| '.$List['matricule'].' |
'.$List['nom']." ".$List['prenom'].' |
'.$List['fonction'].' |
'.$List['structure'].' |
'.$List['dateTime_creation'].' |
';
}
function getList(){
global $DB;
$query = "SELECT * from boite_idees where user_id = '".$_SESSION["glpiID"]."'";
$result = $DB->query($query);
$List = array();
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc()) {
$List[] = $row;
}
}
return $List;
}
$link = $CFG_GLPI["root_doc"];
$user = Session::getCurrentInterface();
?>