Exemple #1
0
<?php

include_once dirname(__FILE__) . '/class/Weather.php';
include_once dirname(__FILE__) . '/class/GPS.php';
if (!isset($_GET['device_id'])) {
    die;
} else {
    $device_id = $_GET['device_id'];
    $lastPosition = GPS::getLastPosition($device_id);
}
?>

<!DOCTYPE html>
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="css/reset.css" />
        <link rel="stylesheet" type="text/css" href="css/style.css" />

        <title>M-Future</title>

        <style type="text/css">
            /* Set a size for our map container, the Google Map will take up 100% of this container */
            #map {
                height: 200px;
                width: 460px;
                margin-left: 5px;
            }
            #placeholder{height: 250px; width: 100%; margin-top: 35px; margin-bottom: 20px; background: #00080D;}
        </style>

        <script type="text/javascript" src="js/jquery.js"></script>