*/ include("session.php"); require_once("class_functions.php"); require_once("class_db.php"); if(file_exists($_SESSION['config']['lang'].'.php')) { include($_SESSION['config']['lang'].'.php'); } else { $_SESSION['error'] = "Language file missing...
"; } $funct= new functions(); $_SESSION['diff_copy'] = array(); $id = ""; if(isset($_GET['id']) && !empty($_GET['id'])) { $id = $_GET['id']; } if(!empty($id)) { $conn = new dbquery(); $conn->connect(); $conn->query("select USER_ID FROM ".$_SESSION['tablename']['listinstance']." WHERE RES_ID = ".$id." and res_table='".$_SESSION['ressources'][0]['tablename']."' and SEQUENCE > 1 and USER_ID <> '' order by SEQUENCE asc "); $conn2 = new dbquery(); $conn2->connect(); while($line = $conn->fetch_object()) { $user = $line->USER_ID; $conn2->query("select LASTNAME, FIRSTNAME, USER_ID, DEPARTMENT from ".$_SESSION['tablename']['users']." where USER_ID = '".$user."'"); $res = $conn2->fetch_object(); array_push($_SESSION['diff_copy'], array("UserID" => $res->USER_ID, "LastName" => $res->LASTNAME, "FirstName" => $res->FIRSTNAME, "Service" => $res->DEPARTMENT)); } } $func = new functions(); $time = $func->get_session_time_expire(); ?> <?php echo $_SESSION['config']['applicationname']; ?> <? echo _CC_LIST;?>

.

>