"; } $func = new functions(); $connexion = new dbquery(); $sec = new security(); $connexion->connect(); $table = $_SESSION['ressources'][0]['tablename']; if ($_GET['id'] <> '') { $s_id = $_GET['id']; $connexion->query("SELECT CUSTOM_T5, CUSTOM_T6, CUSTOM_T7, CUSTOM_T15, CUSTOM_T16, CUSTOM_T17, CUSTOM_T8, CUSTOM_T1, STATUS FROM ".$table." where RES_ID = ".$s_id); $details = $connexion->fetch_object(); $courrier = $details -> CUSTOM_T5; $direct = $details -> CUSTOM_T6; $mail = $details -> CUSTOM_T7; $courrierAR = $details -> CUSTOM_T15; $fax = $details -> CUSTOM_T16; $norep = $details -> CUSTOM_T17; $autre = $details -> CUSTOM_T8; $notes = $details->CUSTOM_T1; $status = $details->STATUS; $connexion->query("select date(CREATION_DATE) as CREATION_DATE, RES_ID, TITLE FROM res_x WHERE STATUS='REP' AND RELATION=".$s_id." order by CREATION_DATE desc"); $rep = array(); while($line = $connexion->fetch_object()) { array_push($rep, array("ID" => $line->RES_ID, "DATE" => $connexion->inverse_date($line->CREATION_DATE), 'TITLE' => $line->TITLE)); } } else { echo "ERROR"; exit(); } //AFFICHAGE DES INFOS COURRIER PRIS EN CHARGE OU COURRIER CLOTURE //if( $status=="COU" || $status == "END") if(1==1) { ?>
false && $courrier <>'false') { $types_rep_courrier = "checked=\"checked\""; } if($courrierAR <> false && $courrierAR <>'false') { $types_rep_courrierAR = "checked=\"checked\""; } if($direct <> false && $direct <>'false') { $types_rep_direct = "checked=\"checked\""; } if($mail <> false && $mail <> 'false') { $types_rep_mail = "checked=\"checked\""; } if($fax <> false && $fax <>'false') { $types_rep_fax = "checked=\"checked\""; } if($noresp <> false && $norep <>'false') { $types_rep_noresp = "checked=\"checked\""; } if($autre <> false && $autre <>'false') { $types_rep_autre = "checked=\"checked\""; } $types_rep = ereg_replace(', $', '', $types_rep); ?>
/>
/>
/>
/>
/>
/>
/>
>![]() |
class="title" alt="" title="" > | class="title" alt="" title="" > |