|
@@ -43,7 +43,7 @@
|
|
|
}
|
|
|
$model=json_decode(trim($output[0]))->{'ModelName'};
|
|
|
if(substr($model,0,1)=="A"){
|
|
|
- if(substr($model,10,1)=="E" || substr($model,10,1)=="W" || substr($model,10,1)=="T" || substr($model,10,1)=="U"){
|
|
|
+ if(substr($model,10,1)=="E" || substr($model,10,1)=="W" || substr($model,10,1)=="T" || substr($model,10,1)=="U" || substr($model,10,1)=="D" || substr($model,10,1)=="A" || substr($model,10,1)=="F"){
|
|
|
$ModelName='AC Net';
|
|
|
}
|
|
|
else if(substr($model,10,1)=="0" || substr($model,10,1)=="R" || substr($model,10,1)=="B"){
|
|
@@ -57,7 +57,7 @@
|
|
|
$ModelName='DC';
|
|
|
}
|
|
|
}
|
|
|
- if(substr($model,10,1)=="E"){
|
|
|
+ if(substr($model,10,1)=="E" || substr($model,10,1)=="U"){
|
|
|
$showEthernet="block";
|
|
|
$showWifi="none";
|
|
|
$showTelcom="none";
|
|
@@ -72,11 +72,16 @@
|
|
|
$showWifi="none";
|
|
|
$showTelcom="block";
|
|
|
}
|
|
|
- if(substr($model,10,1)=="D"){
|
|
|
+ if(substr($model,10,1)=="D" || substr($model,10,1)=="A"){
|
|
|
$showEthernet="block";
|
|
|
$showWifi="block";
|
|
|
$showTelcom="block";
|
|
|
}
|
|
|
+ if(substr($model,10,1)=="F"){
|
|
|
+ $showEthernet="none";
|
|
|
+ $showWifi="block";
|
|
|
+ $showTelcom="none";
|
|
|
+ }
|
|
|
|
|
|
//$ModelName='AC Net';
|
|
|
//$ModelName='AC Eco';
|