*/ session_name('LetterBox2'); session_start(); 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...
"; } $func = new functions(); $users = array(); $what = "all"; $where = ""; $is_service = false; if(isset($_GET['what']) && !empty($_GET['what'])) { $what = addslashes($func->wash($_GET['what'], "no", "", "no")); if($_GET['service'] == "true") { $is_service = true; if($what == "all") { $where = " order by DEPARTMENT, LastName "; } else { $where = " and DEPARTMENT like '".strtolower($what)."%' or DEPARTMENT like '".strtoupper($what)."%' order by DEPARTMENT, LastName "; } } else { if($what == "all") { $where = " order by LastName "; } else { $where = " and LastName like '".strtolower($what)."%' or LastName like '".strtoupper($what)."%' order by LastName"; } } } if(empty($where)) { $where = " order by LastName "; } $db = new dbquery(); $db->connect(); $db->query("select USER_ID, FIRSTNAME, LASTNAME, DEPARTMENT, MAIL from ".$_SESSION['tablename']['users']." where STATUS <> 'DEL' ".$where); $i=1; while($line = $db->fetch_object()) { $users[$i] = array("ID" => $line->USER_ID, "PRENOM" => $line->FIRSTNAME, "NOM" => $line->LASTNAME, "DEP" => $line->DEPARTMENT, "MAIL" => $line->MAIL); $i++; } $redirect_ind = ""; if($_GET['action'] == "choose" && !empty($_GET['ind'])) { $redirect_ind = $_GET['ind']; } if($_POST['redirect']) { $_SESSION['courrier']['id_expediteur'] = $_POST['user']; $db->query("select LASTNAME, FIRSTNAME from ".$_SESSION['tablename']['users']." where USER_ID = '".$_POST['user']."'"); $res = $db->fetch_object(); $_SESSION['courrier']['nom_expediteur'] = $res->FIRSTNAME.' '.$res->LASTNAME; ?> get_session_time_expire(); ?> <? echo _CHOOSE_SHIPPER2;?>
:  
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z -
:  
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z -


>
 
" class="change">


:


.
.