connect(); if($_SESSION['courrier']['emetteur'] == '') { $_SESSION['courrier']['emetteur'] = "dest"; } $_SESSION['courrier']['emetteur'] = "dest"; if( isset($_GET['id']) && !empty($_GET['id'])) { $table = $_SESSION['ressources'][0]['tablename']; $db->query("select destination, is_ingoing, wait_action from ".$table." where RES_ID = ".$_GET['id']); $line = $db->fetch_object(); $_SESSION['courrier']['service'] = $line->destination; if( isset($_GET['reload']) && !empty($_GET['reload'])) { } else { if($line->is_ingoing == 'Y') { $_SESSION['courrier']["is_ingoing"] = true; } else { $_SESSION['courrier']["is_ingoing"] = false; } if($line->wait_action == 'Y') { $_SESSION['courrier']["wait_action"] = true; } else { $_SESSION['courrier']["wait_action"] = false; } } $res_id = $_GET['id']; } else { $_SESSION['error'] = _ID.' '._MISSING; } ?> <?php echo $_SESSION['config']['applicationname']; ?>

: " maxlength="2" /> : " maxlength="2" /> : " maxlength="4" />   

: " maxlength="2" /> : " maxlength="2" /> : " maxlength="4" /> *

; " id="nom_prenom">

onfocus="if(this.value==''){this.value='';}"/> />

"Y") { ?>

*

connect(); $dbt->query("SELECT date( CUSTOM_D2) as DATE FROM ".$_SESSION['ressources'][0]['tablename']." WHERE RES_ID = '".$_SESSION['courrier']['folder_id']."'" ); $current_folder = $dbt->fetch_object(); $current_folder_limit = $current_folder->DATE; if($_SESSION['config']['update_limit_date'] == true) { if($current_folder_limit <> null) { ?>

<? echo addslashes(_CALENDAR); ?>

: *