<?php session_start(); include 'config.php'; include 'include/classMapCanvas.php'; $deviceDetailID = $_SESSION['deviceDetailID']; $getLatitude = new MapCanvas(); $result = $getLatitude->gatLatitude($deviceDetailID, $condb); echo $result;
<?php include 'config.php'; $deviceID = $_GET['deviceIDPost']; $positionName = $_GET['positionNamePost']; $dating = $_GET['datingPost']; $timing = $_GET['timingPost']; $rating = $_GET['ratingPost']; $geoLocationStop = new MapCanvas(); $result = $geoLocationStop->geoLocationStop($deviceID, $positionName, $dating, $latiTude, $timing, $rating); echo $result;
<?php include 'config.php'; include 'include/classMapCanvas.php'; $deviceID = $_GET['deviceIDPost']; $keyPass = $_GET['keyPassPost']; $locationNearby = $_GET['locationNearbyPost']; $latiTude = $_GET['latiPost']; $longtiTude = $_GET['longtiPost']; $speed = $_GET['speedPost']; $date = $_GET['datePost']; $time = $_GET['timePost']; $totalTime = $_GET['totalTimePost']; $notificateStatus = $_GET['notificateStatusPost']; $statusID = $_GET['statusIDPost']; $geoLocationStart = new MapCanvas(); $result = $geoLocationStart->geoLocationStart($deviceID, $keyPass, $locationNearby, $latiTude, $longtiTude, $speed, $date, $time, $totalTime, $notificateStatus, $statusID); echo $result;