Exemplo n.º 1
0
        $_hx = array("uid", "fid", "share");
        $_tbx = FriendManager::getAllFriendList();
        show($_hx, $_tbx);
        break;
    case "c":
        echo "<h1 style='color:#09C'>CHAT DATA</h1>";
        require_once "chats.php";
        $_hx = array("timest", "sender", "recipient", "msg");
        $_tbx = ChatsManager::getAllChats();
        show($_hx, $_tbx);
        break;
    case "h":
        echo "<h1 style='color:#09C'>HISTORY DATA</h1>";
        require_once "history.php";
        $_hx = array("timest", "lat", "lng");
        $_tbx = HistoryManager::getAllUserHistory();
        show($_hx, $_tbx);
        break;
    case "l":
        echo "<h1 style='color:#09C'>LOCATION DATA</h1>";
        require_once "location.php";
        $_hx = array("lat", "lng", "street", "sublocality", "locality", "adminstrative_area", "country", "fulladdr");
        $_tbx = LocationManager::getAllLocationData();
        show($_hx, $_tbx);
        break;
    default:
        break;
}
?>
</body>
</html>