CMXX - Multisite setup
This commit is contained in:
@@ -53,13 +53,15 @@ $responses = ioServer($api_url,'');
|
||||
if (!empty($responses)){$responses = decode_payload($responses);}else{$responses = null;}
|
||||
|
||||
//Return QueryTotal from API
|
||||
$api_url = '/v1/equipments/'.$GET_VALUES.'&totals=';
|
||||
$total_url = ((!empty($GET_VALUES) && $GET_VALUES !='') ? '&totals=' : 'totals=' );
|
||||
$api_url = '/v1/equipments/'.$GET_VALUES.$total_url;
|
||||
$query_total = ioServer($api_url,'');
|
||||
//Decode Payload
|
||||
if (!empty($query_total)){$query_total = decode_payload($query_total);}else{$query_total = null;}
|
||||
|
||||
//Get Products related to assets
|
||||
$api_url = '/v1/equipments/'.$GET_VALUES.'&products=';
|
||||
$product_url = ((!empty($GET_VALUES) && $GET_VALUES !='') ? '&products=' : 'products=' );
|
||||
$api_url = '/v1/equipments/'.$GET_VALUES.$product_url;
|
||||
$query_products = ioServer($api_url,'');
|
||||
//Decode Payload
|
||||
if (!empty($query_products)){$query_products = decode_payload($query_products);}else{$query_products = null;}
|
||||
|
||||
Reference in New Issue
Block a user