*/ include("session.php"); if(file_exists($_SESSION['config']['lang'].'.php')) { include($_SESSION['config']['lang'].'.php'); } else { $_SESSION['error'] = "Language file missing...
"; } ?> <?php echo $_SESSION['config']['applicationname']; ?> connect(); $db2 = new dbquery(); $db2->connect(); $couleur=0; if(empty($_SESSION['tablechoice'])) { $_SESSION['tablechoice'] = 'res_x'; } if(isset($_GET['id'])) { $s_id = $_GET['id']; } else { $s_id = ""; } //$db->query("select INFO, EVENT_DATE, USER_ID from ".$_SESSION['tablename']['history']." WHERE TABLE_NAME= '".$_SESSION['tablechoice']."' AND RECORD_ID= ".$s_id." ORDER BY EVENT_DATE desc"); $db->query("select RES_ID, TYPE_ID, CREATION_DATE, TITLE, DESCRIPTION, AUTHOR, RELATION, CUSTOM_T1, CUSTOM_T2, CUSTOM_T3, CUSTOM_T4, CUSTOM_T5, STATUS from ".$_SESSION['tablechoice']." where RELATION = '".$s_id."' AND STATUS = 'MEL' ORDER BY CREATION_DATE DESC"); //$db->show(); if(isset($_GET['title'])) { echo '

'._MAIL_HISTORY.'

'; } ?> fetch_object()){ if($color == ' class="col"'){ $color = ''; } else{ $color = ' class="col"'; } /*$db2->query("select LASTNAME, FIRSTNAME from ".$_SESSION['tablename']['users']." where USER_ID = '".$res->USER_ID."'"); $res2 = $db2->fetch_object(); $nom = $res2->LASTNAME; $prenom = $res2->FIRSTNAME;*/ ?> >
RES_ID; ?> show($res->DESCRIPTION); ?> dateformat($res->CREATION_DATE); ?> CUSTOM_T1; ?>  <?php echo _DETAILS; ?>
"details") {?>