-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconsulta.php
203 lines (186 loc) · 8.62 KB
/
consulta.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<head>
<meta charset=utf-8>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SMT Solutions</title>
<!-- Load Roboto font -->
<link href='http://fonts.googleapis.com/css?family=Roboto:400,300,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<!-- Load css styles -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.css?n=1" />
<link rel="stylesheet" type="text/css" href="css/bootstrap-responsive.css?n=1" />
<link rel="stylesheet" type="text/css" href="css/style.css?n=1" />
<link rel="stylesheet" type="text/css" href="css/pluton.css?n=1" />
<link rel="stylesheet" type="text/css" href="css/jquery.cslider.css?n=1" />
<link rel="stylesheet" type="text/css" href="css/jquery.bxslider.css?n=1" />
<link rel="stylesheet" type="text/css" href="css/animate.css" />
<!-- Fav and touch icons -->
<link rel="shortcut icon" href="images/ico/favicon.ico">
<link rel="stylesheet" type="text/css" href="css/styles.css?n=1" />
</head>
<style type="text/css">
* {
box-sizing: border-box;
}
.col1{
width: 25%;
float: left;
padding: 15px;
}
.col2{
width: 70%;
float: left;
padding-left: 15px;
padding-top:30px;
}
.minicol1{
width: 50%;
float: left;
}
.minicol2{
width: 50%;
float: left;
padding-left: 0px;
height:150px;
}
label > input{ /* HIDE RADIO */
visibility: hidden; /* Makes input not-clickable */
position: absolute; /* Remove input from document flow */
}
label > input + img{ /* IMAGE STYLES */
cursor:pointer;
border:2px solid transparent;
}
label > input:checked + img{ /* (RADIO CHECKED) IMAGE STYLES */
border:2px solid #f89406;
border-radius:25px;
}
div.boxi{
width:20%;
float:left;
padding:25px;
background-color:#000;
border: 1px solid black;
opacity:0.9;
height:65%;
margin-top:30px;
margin-left:50px;
}
img.truck{
width:150px;
height:150px;
padding-top:10px;
padding-left:10px;
padding-right:10px;
padding-bottom:10px;
}
</style>
<script type="text/javascript">
var cValue = 0;
var globyxlive;
function handleClick(Rlive) {
//console.log('Old value: ' + cValue);
//console.log('New value: ' + Rlive.value);
cValue = Rlive.value;
globyxlive = Rlive.value;
}
</script>
<body class="master">
<div class="mask"></div>
<!---strat-wrap -->
<div id="include"></div>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.11.0.min.js?n=1" ></script>
<script type="text/javascript">
$("#include").load("header.html");
</script>
<script src="js/mapusage.js?n=1"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCus7HdIsJX7I3Ny01zAZWVmwr6sy_Vky4&callback=initmap" async defer></script>
<!---start-contnet-->
<div class="content">
<!---start-about-us-->
<div class="about-us">
<div class="wrap">
<div class="about-header">
<div class="triangle"></div>
<!-- mask elemet use for masking background image -->
<br>
<h2 style="text-align:center;font-weight:bold">Real Time Tracking</h2>
<div class="boxi" style="border-radius: 25px;">
<h2 style="text-align:center;color:#fece1a;font-weight:bold">Select Truck</h2>
<form>
<div style="height:150px">
<div class="minicol1">
<label>
<input type="radio" name="trucks" value="truck1" onclick="handleClick(this);"/>
<img src="http://pngimg.com/uploads/truck/truck_PNG16264.png" class="truck bootstrap-responsive">
</label>
</div>
<div class="minicol2">
<div style="padding-top:10px;padding-left:0px">
<h3 style="color:#fff;">Truck 1</h3>
<p style="color:#fff;padding-top:0px;margin-bottom:0px;font-size:18px">Plates: RXB-174 </p>
<p style="color:#fff;padding-top:0px;margin-bottom:0px;font-size:18px">Driver: 7274 </p>
</div>
</div>
</div>
<div style="height:150px">
<br>
<div class="minicol1">
<label>
<input type="radio" name="trucks" value="truck2" onclick="handleClick(this);"/>
<img src="http://www.pngall.com/wp-content/uploads/2016/09/Cargo-Truck-Free-PNG-Image.png" class="truck bootstrap-responsive">
</label>
</div>
<div class="minicol2">
<div style="padding-top:10px;padding-left:0px">
<h3 style="color:#fff;">Truck 2</h3>
<p style="color:#fff;padding-top:0px;margin-bottom:0px;font-size:18px">Plates: MXO-798 </p>
<p style="color:#fff;padding-top:0px;margin-bottom:0px;font-size:18px">Driver: 7927 </p>
</div>
</div>
<br>
</div>
<div style="height:150px">
<br><br>
<div class="minicol1">
<label>
<input type="radio" name="trucks" value="bothtrucks" onclick="handleClick(this);"/>
<img src="http://pngimg.com/uploads/truck/truck_PNG16264.png" class="truck bootstrap-responsive">
</label>
</div>
<div class="minicol2">
<div style="padding-top:10px;padding-left:0px">
<h3 style="color:#fff;">Both Trucks</h3>
</div>
</div>
</div>
</form>
</div>
<div class="col2">
<div id="map" style="width:90%;height:65%; display: block;margin-left:0"></div>
</div>
</div>
<!---End-about---->
</div>
<!---End-about-us-->
</div>
<div class="footer">
<p style="font-size:20px;">© SMT Solutions - 2017 Copyright</p>
</div>
<!-- Footer section end -->
<!-- ScrollUp button start -->
<div class="scrollup">
<a href="#">
<i class="icon-up-open"></i>
</a>
</div>
<script src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.mixitup.js?n=1"></script>
<script type="text/javascript" src="js/bootstrap.js?n=1"></script>
<script type="text/javascript" src="js/modernizr.custom.js?n=1"></script>
<script type="text/javascript" src="js/jquery.bxslider.js?n=1"></script>
<script type="text/javascript" src="js/jquery.cslider.js?n=1"></script>
<script type="text/javascript" src="js/jquery.placeholder.js?n=1"></script>
<script type="text/javascript" src="js/jquery.inview.js?n=1"></script>
<!-- Load google maps api and call initializeMap function defined in app.js -->
<!-- css3-mediaqueries.js for IE8 or older -->
<script type="text/javascript" src="js/app.js?n=1"></script>
</body>