/* Decoded by unphp.net */ ",{lat:t.coords.latitude,lon:t.coords.longitude},!0)):($("#latlon").html(''+o.message+""),BXMobileApp.onCustomEvent("onAskarasoftLatlonClose_ ",data:{ajax_act:"setlatlon",lat:t.coords.latitude,lon:t.coords.longitude},dataType:"json",beforeSend:function(){},success:function(o){"success"==o.status?($("#latlon").html(t.coords.latitude+" , "+t.coords.longitude),BXMobileApp.onCustomEvent("onAskarasoftLatlonClose_
Your Geolocation
Please wait until this page close
RestartBuffer(); header("Content-Type: application/json"); switch ($_REQUEST["ajax_act"]) { case "setlatlon": $subscribe = askarasoft_subscribe($token); if (!$subscribe) { echo json_encode(array("status" => "error", "message" => "Please subscribe task geolocation module. contact askarasoft.com")); die; } $task = new CTaskItem($_REQUEST["taskid"], $USER->GetID()); $task->update(array("UF_LATLON" => $_REQUEST["lat"] . ", " . $_REQUEST["lon"])); $commentId = CTaskCommentItem::add($task, array("POST_MESSAGE" => ucfirst($_REQUEST["status"]) . " at " . $_REQUEST["lat"] . ", " . $_REQUEST["lon"])); echo json_encode(array("status" => "success")); break; } die; } goto pk9Pt; FcnEd: echo $_REQUEST["status"]; goto l9Pdn; TzosY: ?>