summaryrefslogtreecommitdiffstats
path: root/notFinishedCode/tricode/testCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'notFinishedCode/tricode/testCase.php')
-rw-r--r--notFinishedCode/tricode/testCase.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/notFinishedCode/tricode/testCase.php b/notFinishedCode/tricode/testCase.php
index 88de683..c9e12ee 100644
--- a/notFinishedCode/tricode/testCase.php
+++ b/notFinishedCode/tricode/testCase.php
@@ -72,10 +72,12 @@ $BTS3PING["Weight"]=0;
if ($GSMRZ1 > 0 || $GSMRZ2 > 0 || $GSMRZ3 > 0)
{
+ $GSMINT = 1;
$GSMINTCOL = 'icons/server_work.png';
}
elseif($GSMRZ1 < 0 || $GSMRZ2 < 0 || $GSMRZ3 < 0)
{
+ $GSMINT = -1;
$GSMINTCOL = 'icons/server_fail.png';
}
@@ -88,6 +90,11 @@ elseif($LANDLINE<0)
$LANDLINECOL = 'icons/telephone_fail.png';
}
+if($SIP > 0 && $GSMINT > 0)
+{
+ $LSFKS = 1;
+}
+
if($LSFKS>0)
{
$LSFKSCOL = 'icons/server_work.png';
@@ -187,6 +194,8 @@ elseif($GSMEO < 0)
$GSMEOCOL = 'icons/blackberry_fail.png';
}
+
+
//NETWORK OPERABILITY
$GSMINTPercent = rand(1,100);
$GSMEXTPercent = rand(1,100);