optic and (C) in web

This commit is contained in:
Schrolli 2015-04-08 08:14:18 +02:00
parent 71bb7cac9c
commit 1560e04991
2 changed files with 19 additions and 8 deletions

View file

@ -72,7 +72,11 @@ $db_link = mysqli_connect ($dbhost, $dbuser, $dbpassword, $database);
?>
</div>
<br><br>
(C) BOSWatch - All rights reserved
<br><br>
</div>
</body>
</html>

View file

@ -69,7 +69,8 @@
switch ($mode) {
#Parse Service
case "service":
if (array_key_exists($data, $service)) {
if (array_key_exists($data, $service))
{
return $service[substr($data,0,1)];
}else
{
@ -79,7 +80,8 @@
#Parse Country
case "country":
if (array_key_exists($data, $country)) {
if (array_key_exists($data, $country))
{
return $country[substr($data,1,1)];
}else
{
@ -89,7 +91,8 @@
#Parse Location
case "location":
if (array_key_exists($data, $location)) {
if (array_key_exists($data, $location))
{
return $location[substr($data,2,2)];
}else
{
@ -99,7 +102,8 @@
#Parse Vehicle
case "vehicle":
if (array_key_exists($data, $vehicle)) {
if (array_key_exists($data, $vehicle))
{
return $vehicle[substr($data,4,4)];
}else
{
@ -109,9 +113,11 @@
#Parse direction
case "direction":
if(substr($fms,9,1) == 1){
if(substr($fms,9,1) == 1
{
return "L->F";
}elseif(substr($fms,9,1) == 0){
}elseif(substr($fms,9,1) == 0
{
return "F->L";
}else
return "ERR!";
@ -120,7 +126,8 @@
#Parse Zvei
case "zvei":
if (array_key_exists($data, $zvei)) {
if (array_key_exists($data, $zvei))
{
return $data ." - ". $zvei[$data];
}else
{