|
|
@@ -630,6 +630,19 @@ switch ($action) {
|
|
|
$ps = 10;
|
|
|
|
|
|
$sqlWhere = ' where ' . common::searchExtendHandNew("ocean", $_SESSION["ONLINE_USER"]);
|
|
|
+ $transportation = $_REQUEST["transportation"];
|
|
|
+ if(!is_array($transportation)){
|
|
|
+ $transportation = array($transportation);
|
|
|
+ }
|
|
|
+
|
|
|
+ $list = array();
|
|
|
+ if(count($transportation) == 1 && strtolower($transportation[0]) == 'all' ){
|
|
|
+ $transportation = array("Sea","Air","Road");
|
|
|
+ }else{
|
|
|
+ if(!in_array("Sea",$transportation)){
|
|
|
+ $sqlWhere .= " and 1<>1 ";
|
|
|
+ }
|
|
|
+ }
|
|
|
// test dome
|
|
|
// $_POST['is_default'] = "no";
|
|
|
// $_POST['date_start'] =null;
|