-
Notifications
You must be signed in to change notification settings - Fork 1
/
single_track.php
62 lines (57 loc) · 1.97 KB
/
single_track.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php
session_start();
if(isset($_SESSION['uname'])){
?>
<!DOCTYPE html>
<html>
<head>
<title>Testing the samples</title>
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<section id="header">
<div class="container-fluid">
<div class="col-sm-3">
<div class="logo-space">
<img src="img/logo.png" height="40" />
</div>
</div>
<div class="col-sm-9">
<div class="top-menus">
<a href="#">Reports</a>
<a href="#">Change Password</a>
<a href="logout.php">LogOut</a>
</div>
</div>
</div>
</section>
<section id="main-content">
<div class="container-full fixed">
<div class="side-bar">
<br/><br/>
<p><b>Tracker(IMEI:<?php echo $_GET['imei'];?>)</b></p>
<button id="live_track" onclick="start_track(<?php echo $_GET['imei'];?>)" class="btn btn-success btn-xs">Start</button> <button id="stop_track" class="btn btn-danger btn-xs">Stop</button>
<a href="history.php?imei=<?php echo $_GET['imei'];?>" class="btn btn-primary btn-xs">Show History</a><br/><br/>
<br/>
<a href="home.php" >Go back</a>
<br/><br/><br/><br/><br/>
<img src="img/logo_1.png" class="img-responsive" />
<p>© <a href="#">abc company</a></p>
</div>
<div class="map-section">
<div id="map">
</div>
</div>
</div>
<div id="footer">
</div>
</section>
<script src="js/jquery.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key='api_key'&callback=initMap&libraries=geometry" async defer></script>
</body>
</html>
<?php }else{
header( "Location:index.php" );
}