*/ include("session.php"); require("class_functions.php"); require("class_db.php"); if(file_exists($_SESSION['config']['lang'].'.php')) { include($_SESSION['config']['lang'].'.php'); } else { $_SESSION['error'] = "Language file missing...
"; } $group = ""; if(isset($_GET['id']) && !empty($_GET['id'])) { $group = $_GET['id']; } $db = new dbquery(); $db->connect(); $db->query("SELECT s.SERVICE, u.LASTNAME as NOM, u.FIRSTNAME as PRENOM , u.USER_ID as ID FROM ".$_SESSION['tablename']['usergroup_content']." uc, ".$_SESSION['tablename']['users']." u, ".$_SESSION['tablename']['services']." s WHERE uc.USER_ID = u.USER_ID AND u.ENABLED = 'Y' AND uc.GROUP_ID = '".$group."' and u.DEPARTMENT = s.ID order by u.LASTNAME asc"); $users = array(); while($res = $db->fetch_object()) { array_push($users, array( 'ID' => $res->ID, 'NOM' => $res->NOM, 'PRENOM' => $res->PRENOM, 'SERVICE' => $res->SERVICE)); } $func = new functions(); $time = $func->get_session_time_expire(); ?> <?php echo _USERS_LIST_IN_GROUP.' '.$group;?>

>