This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
tempalmanac.php
403 lines (321 loc) · 46.2 KB
/
tempalmanac.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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
<?php include('livedata.php');?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Weather34 Almanac Temperature Data Popup </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
@font-face{font-family:weathertext;src:url(css/fonts/sanfranciscodisplay-regular-webfont.woff) format("woff")}*,*:before,*:after{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0}html,body{font-size:62.5%;font-family:-apple-system, BlinkMacSystemFont, "weathertext", Roboto, Helvetica, Arial, sans-serif;background:#1a1d21}body{color:#aaa;overflow-x:hidden;min-height:80vh;padding:10px}section{width:80vw;max-width:64rem;min-width:58.9rem;margin:0 auto;padding:10px}.weather34title{font-size:14px;font-weight:normal;padding-top:3px;font-family:'Arial',sans-serif;width:400px}.weather34cards{padding-top:2rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:5px}.weather34card{width:31rem;height:17.1rem;background-color:#none;border-radius:4px;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;color:#aaa;font-size:11px;font-weight:normal;padding:10px;border:solid #444 1px}.weather34card__weather34-container{height:50%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;padding:10px;font-family:-apple-system, BlinkMacSystemFont, "weathertext", Roboto, Helvetica, Arial, sans-serif;}.weather34card__weather34-wrapper{width:8rem;font-family:-apple-system, BlinkMacSystemFont, "weathertext", Roboto, Helvetica, Arial, sans-serif;;font-weight:100}.weather34cardguide{width:27rem;height:200px;background:RGBA(37,41,45,0);border-radius:4px;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;color:#aaa;font-size:12px;font-weight:normal;padding:5px;border:solid #444 1px;line-height:13px}.weather34card__weather34-guide{width:3rem;font-family:-apple-system, BlinkMacSystemFont, "weathertext", Roboto, Helvetica, Arial, sans-serif;;font-weight:100}.weather34card__count-container{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:10px;font-family:-apple-system, BlinkMacSystemFont, "weathertext", Roboto, Helvetica, Arial, sans-serif;}.weather34card__count-text{font-family:-apple-system, BlinkMacSystemFont, "weathertext", Roboto, Helvetica, Arial, sans-serif;;text-align:left;width:200px}.weather34card__count-textuv{font-family:-apple-system, BlinkMacSystemFont, "weathertext", Roboto, Helvetica, Arial, sans-serif;;width:200px;float:left;font-size:13px;text-align:left;margin-left:-20px;line-height:12px}.weather34card__count-text--big{font-size:36px;font-weight:200;font-family:-apple-system, BlinkMacSystemFont, "weathertext", Roboto, Helvetica, Arial, sans-serif;}.weather34card__count-text--bigs{font-size:12px;font-family:-apple-system, BlinkMacSystemFont, "weathertext", Roboto, Helvetica, Arial, sans-serif;;font-weight:normal;color:#aaa;text-align:center;margin-top:5px;width:100px}weather34card__count-text--bigsa{font-size:12px;font-family:-apple-system, BlinkMacSystemFont, "weathertext", Roboto, Helvetica, Arial, sans-serif;;font-weight:normal;color:#aaa;text-align:center}.weather34card__stuff-container{margin:0 auto;width:99%;height:16%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:15px;color:#aaa;background:RGBA(37,41,45,0);border:solid RGBA(156,156,156,0.1) 0;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;font-family:-apple-system, BlinkMacSystemFont, "weathertext", Roboto, Helvetica, Arial, sans-serif;;text-align:center;font-size:12px}.weather34card:after{content:"";display:block;position:absolute;top:0;left:0;width:16rem;height:4.625rem;padding:10px}.weather34card--earthquake1:after{background-image:radial-gradient(to bottom,rgba(106,122,135,0.5),transparent 70%)}.weather34card--earthquake2:after{background-image:radial-gradient(to bottom,rgba(106,191,96,0.5),transparent 70%)}.weather34card--earthquake3:after{background-image:radial-gradient(to bottom,rgba(96,203,231,0.5),transparent 70%)}blue{color:#01a4b4}orange{color:#ff8841}green{color:#9aba2f}red{color:#f37867}red6{color:#d65b4a}darkred{color:#f47264}value{color:#fff}yellow{color:RGBA(163,133,58,1)}purple{color:#916392}time{color:#aaa;font-weight:normal;font-family:-apple-system, BlinkMacSystemFont, "weathertext", Roboto, Helvetica, Arial, sans-serif;}time span{color:#ff8841;font-weight:normal;font-family:-apple-system, BlinkMacSystemFont, "weathertext", Roboto, Helvetica, Arial, sans-serif;}a{color:#aaa;font-size:11px;top:5px;margin-top:10px;text-decoration:none}.provided{color:#aaa;font-size:11px;top:5px;margin-top:10px;text-decoration:none;margin-left:70px}updated{position:absolute;bottom:5px;float:right}.weather34-solarrate-bar{background:0;position:absolute;height:100px;width:30px;margin-left:235px;margin-top:-6px}
.weather34solarrate{color:#ff8841;position:absolute;margin-left:36px;margin-top:17px;font-size:12px;width:20px;font-family:weathertext,arial,sans-serif;max-height:100px;line-height:10px;font-weight:normal}.weather34solarrate span{color:#777;font-family:weathertext,arial,sans-serif;font-size:12px}solarwm2{font-size:10px;font-weight:normal}.solarmaxi{position:absolute;margin-left:100px;float:right;color:#ff8841;margin-top:15px;width:100px;font-size:11px}.solarmaxi span{color:#aaa}.weather34-uvrate-bar{background:0;position:absolute;height:100px;width:30px;margin-left:235px;margin-top:-49px;color:RGBA(57,61,64,1)}.weather34-uvrate-bar .bar{shape-rendering:crispEdges;background:url(css/rain/temprulerw34.svg) no-repeat;width:37px;border:1px solid RGBA(57,61,64,1.00);border-bottom:5px solid RGBA(57,61,64,1.00);border-top:3px solid RGBA(57,61,64,1.00);-webkit-border-radius:1px 1px 2px 2px;position:absolute;bottom:0}.weather34-uvrate-bar .bar-1{height:100px;max-height:100px}
.weather34-uvrate-bar .bar-inner10{shape-rendering:crispEdges;background:RGBA(128,105,152,0.5);width:100%;-webkit-border-radius:1px 1px 2px 2px;border:0}
.weather34-uvrate-bar .bar-inner8{shape-rendering:crispEdges;background:RGBA(174,81,82,0.6);width:100%;-webkit-border-radius:1px 1px 2px 2px;border:0}
.weather34-uvrate-bar .bar-inner5{shape-rendering:crispEdges;background:rgba(255, 124, 57, 0.8);width:100%;-webkit-border-radius:1px 1px 2px 2px;border:0}
.weather34-uvrate-bar .bar-inner3{shape-rendering:crispEdges;background:rgba(144, 177, 42, 0.6);width:100%;-webkit-border-radius:1px 1px 2px 2px;border:0}
.weather34-uvrate-bar .bar-inner{shape-rendering:crispEdges;background:rgba(0, 154, 171, 0.6);width:100%;-webkit-border-radius:1px 1px 2px 2px;border:0}.weather34uvrate{color:#ff8841;position:absolute;margin-left:238px;margin-top:17px;font-size:12px;width:20px;font-family:weathertext,arial,sans-serif;max-height:100px;line-height:10px;font-weight:normal}.weather34uvrate span{color:#777;font-family:weathertext,arial,sans-serif;font-size:12px;font-weight:normal}purpleuv{color:#a475cb}reduv{color:#d65b4a}orangeuv{color:#ff8841}greenuv{color:#9aba2f}greyuv{color:#aaa}.uvmaxi{position:absolute;left:10px;color:rgba(0, 154, 171, 1.000);margin-top:-40px;font-size:16px;width:200px;}.uvmaxi span{color:#aaa}.weather34-luxrate-bar{background:0;position:absolute;height:100px;width:30px;margin-left:245px;margin-top:-6px}.weather34-luxrate-bar .bar{shape-rendering:crispEdges;background:url(css/rain/luxrulerw34.svg) no-repeat;width:37px;border:1px solid RGBA(57,61,64,1.00);border-bottom:5px solid RGBA(57,61,64,1.00);border-top:3px solid RGBA(57,61,64,1.00);-webkit-border-radius:1px 1px 2px 2px;position:absolute;bottom:0}.weather34-luxrate-bar .bar-1{height:100px;max-height:100px}.weather34-luxrate-bar .bar-inner1000{shape-rendering:crispEdges;background:RGBA(164,117,203,0.7);width:100%;-webkit-border-radius:1px 1px 2px 2px;border:0}.weather34-luxrate-bar .bar-inner700{shape-rendering:crispEdges;background:RGBA(211,93,78,0.7);width:100%;-webkit-border-radius:1px 1px 2px 2px;border:0}.weather34-luxrate-bar .bar-inner600{shape-rendering:crispEdges;background:RGBA(211,93,78,0.7);width:100%;-webkit-border-radius:1px 1px 2px 2px;border:0}.weather34-luxrate-bar .bar-inner400{shape-rendering:crispEdges;background:RGBA(233,145,65,0.5);width:100%;-webkit-border-radius:1px 1px 2px 2px;border:0}.weather34-luxrate-bar .bar-inner300{shape-rendering:crispEdges;background:RGBA(233,145,65,0.5);width:100%;-webkit-border-radius:1px 1px 2px 2px;border:0}.weather34-luxrate-bar .bar-inner1{shape-rendering:crispEdges;background:RGBA(255,136,65,0.7);width:100%;-webkit-border-radius:1px 1px 2px 2px;border:0}.weather34luxrate{color:#ff8841;position:absolute;margin-left:238px;margin-top:17px;font-size:12px;width:20px;font-family:weathertext,arial,sans-serif;max-height:100px;line-height:10px;font-weight:normal}.weather34luxrate span{color:#777;font-family:weathertext,arial,sans-serif;font-size:12px;font-weight:normal}.uvsun{position:absolute;top:10px;margin-left:175px}.sunfade{opacity:.8}unit{font-size:13px;color:#aaa;}.uvmaxi2{position:absolute;left:-10px;color:rgba(0, 154, 171, 1.000);margin-top:-60px;font-size:16px;width:200px;}.uvmaxi2 span{color:#aaa}
actual{font-size:13px;float:right;position:absolute;left:130px;top:20px;-webkit-border-radius:4px;-moz-border-radius:4px;-o-border-radius:4px;border-radius:4px;background:rgba(61, 64, 66, 1.000);padding:5px;font-weight:normal;}.uvmaxi3{position:absolute;left:-30px;color:rgba(0, 154, 171, 1.000);margin-top:-40px;font-size:16px;width:240px;}.uvmaxi3 span{color:#aaa}.hitemp{color:#aaa;font-size:12px;}.hitemp span{color:rgba(255, 124, 57, 1.000)}
.hitempy{background:rgba(61, 64, 66, 0.5);color:#aaa;font-size:12px;width:240px;padding:1px;border-radius:4px;margin-top:2px;margin-left:0;padding-left:3px;}
.lotemp{font-size:26px;font-family:weathertext;}blue{color:rgba(0, 154, 171, 1.000)}.icon{position:absolute;right:0;bottom:10px;}
.weather34chart-btn.close:after,.weather34chart-btn.close:before{color:#ccc;position:absolute;font-size:14px;font-family:Arial,Helvetica,sans-serif;font-weight:600}.weather34browser-header{flex-basis:auto;height:35px;background:#ebebeb;background:0;border-bottom:0;display:flex;margin-top:-20px;width:100%;-webkit-border-top-left-radius:5px;-webkit-border-top-right-radius:5px;-moz-border-radius-topleft:5px;-moz-border-radius-topright:5px;border-top-left-radius:5px;border-top-right-radius:5px}.weather34browser-footer{flex-basis:auto;height:35px;background:#ebebeb;background:rgba(56,56,60,1);border-bottom:0;display:flex;bottom:-20px;width:97.4%;-webkit-border-bottom-right-radius:5px;-webkit-border-bottom-left-radius:5px;-moz-border-radius-bottomright:5px;-moz-border-radius-bottomleft:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.weather34chart-btns{position:absolute;height:35px;display:inline-block;padding:0 10px;line-height:38px;width:55px;flex-basis:auto;top:5px}.weather34chart-btn{width:14px;height:14px;border:1px solid rgba(0,0,0,.15);border-radius:6px;display:inline-block;margin:1px}.weather34chart-btn.close{background-color: rgba(255, 124, 57, 1.000)}.weather34chart-btn.close:before{content:"x";margin-top:-14px;margin-left:2px}.weather34chart-btn.close:after{content:"close window";margin-top:-13px;margin-left:15px;width:300px}a{color:#aaa;text-decoration:none}
.weather34darkbrowser{position:relative;background:0;width:104%;max-height:30px;margin:auto;margin-top:-15px;margin-left:-20px;border-top-left-radius:5px;border-top-right-radius:5px;padding-top:45px;background-image:radial-gradient(circle,#EB7061 6px,transparent 8px),radial-gradient(circle,#F5D160 6px,transparent 8px),radial-gradient(circle,#81D982 6px,transparent 8px),radial-gradient(circle,rgba(97,106,114,1) 2px,transparent 2px),radial-gradient(circle,rgba(97,106,114,1) 2px,transparent 2px),radial-gradient(circle,rgba(97,106,114,1) 2px,transparent 2px),linear-gradient(to bottom,rgba(59,60,63,0.4) 40px,transparent 0);background-position:left top,left top,left top,right top,right top,right top,0 0;background-size:50px 45px,90px 45px,130px 45px,50px 30px,50px 45px,50px 60px,100%;background-repeat:no-repeat,no-repeat}.weather34darkbrowser[url]:after{content:attr(url);color:#aaa;font-size:14px;position:absolute;left:0;right:0;top:0;padding:2px 15px;margin:11px 50px 0 90px;border-radius:3px;background:rgba(97, 106, 114, 0.3);height:20px;box-sizing:border-box}
</style>
</head>
<body>
<div class="weather34darkbrowser" url="Almanac Temperature Data <?php echo $stationlocation;?>"></div>
<section class="weather34cards">
<div class="weather34card weather34card--earthquake1">
<div class="weather34card_weather34-container">
<div class="weather34card_weather34-wrapper"><span class="weather34card__count-text--big">
<?php
// temp today
if ($tempunit=='C' && $weather["tempdmax"]>=29) {
echo "<red>",$weather["tempdmax"] . "</value>";}
else if ($tempunit=='C' && $weather["tempdmax"]>18) {
echo "<orange>",$weather["tempdmax"] . "</value>";}
else if ($tempunit=='C' && $weather["tempdmax"]>10) {
echo "<green>",$weather["tempdmax"] . "</value>";}
else if ($tempunit=='C' && $weather["tempdmax"]>=-50) {
echo "<blue>",$weather["tempdmax"] . "</value>";}
if ($tempunit=='F' && $weather["tempdmax"]>90) {
echo "<red>",$weather["tempdmax"] . "</value>";}
else if ($tempunit=='F' &&$weather["tempdmax"]>65) {
echo "<orange>",$weather["tempdmax"] . "</value>";}
else if ($tempunit=='F' &&$weather["tempdmax"]>50) {
echo "<green>",$weather["tempdmax"] . "</value>";}
else if ($tempunit=='F' &&$weather["tempdmax"]>=1) {
echo "<blue>",$weather["tempdmax"] . "</value>";}
echo "<sup><unit>°",$weather["temp_units"]
?>
</span>
<div class="weather34-uvrate-bar">
<svg iopacity="0.8" d="weather34 solar radiation svg" width="40pt" height="80pt" viewBox="0 0 44 84">
<path fill="currentcolor" opacity="0.8" d=" M 0.00 7.99 C 1.33 8.00 2.67 8.00 4.00 8.01 C 4.01 31.34 3.99 54.67 4.00 77.99 C 16.00 78.01 28.00 78.00 40.00 78.00 C 40.01 54.67 39.99 31.34 40.00 8.01 C 41.34 8.00 42.67 8.00 44.00 7.99 L 44.00 9.95 C 43.50 9.97 42.50 10.02 42.00 10.05 C 42.00 33.36 42.00 56.68 42.00 80.00 C 28.67 80.01 15.34 80.00 2.01 80.00 C 1.99 56.70 2.00 33.40 2.00 10.10 C 1.50 10.04 0.50 9.92 0.00 9.86 L 0.00 7.99 Z" />
<path fill="<?php if( $tempunit=='C' && $weather["tempdmax"]>38){echo "rgba(237, 73, 71, 0.5)";} if( $tempunit=='F' && $weather["tempdmax"]>100){echo "rgba(237, 73, 71, 0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 8.01 C 17.00 8.00 27.00 8.00 37.00 8.00 C 37.00 8.75 37.00 10.25 37.00 11.00 C 27.00 11.00 17.00 11.00 7.00 11.00 C 7.00 10.25 7.00 8.75 7.00 8.01 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempdmax"]>35){echo "rgba(237, 73, 71, 0.5)";} else if($tempunit=='F' && $weather["tempdmax"]>95){echo "rgba(237, 73, 71, 0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 12.00 C 17.00 12.00 27.00 12.00 37.00 12.00 C 37.00 13.67 37.00 15.33 37.00 17.00 C 27.00 17.00 17.00 17.00 7.00 17.00 C 7.00 15.33 7.00 13.67 7.00 12.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempdmax"]>30){echo " rgba(237, 73, 71, 0.5)";} else if($tempunit=='F' && $weather["tempdmax"]>86){echo " rgba(237, 73, 71, 0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 18.00 C 17.00 18.00 27.00 18.00 37.00 18.00 C 37.00 19.67 37.00 21.33 37.00 23.00 C 27.00 23.00 17.00 23.00 7.00 23.00 C 7.00 21.33 7.00 19.67 7.00 18.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempdmax"]>27){echo " rgba(255, 69, 1,0.5)";} else if($tempunit=='F' && $weather["tempdmax"]>80.6){echo " rgba(255, 69, 1,0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 24.00 C 17.00 24.00 27.00 24.00 37.00 24.00 C 37.00 25.67 37.00 27.33 37.00 29.00 C 27.00 29.00 17.00 29.00 7.00 29.00 C 7.00 27.33 7.00 25.67 7.00 24.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempdmax"]>25){echo " rgba(255, 124, 57, 0.7)";} else if($tempunit=='F' && $weather["tempdmax"]>77){echo " rgba(255, 124, 57, 0.7)";}else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 30.00 C 17.00 30.00 27.00 30.00 37.00 30.00 C 37.00 31.67 37.00 33.33 37.00 35.00 C 27.00 35.00 17.00 35.00 7.00 35.00 C 7.00 33.33 7.00 31.67 7.00 30.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempdmax"]>23){echo " rgba(255, 124, 57, 0.7)";} else if($tempunit=='F' && $weather["tempdmax"]>73.4){echo " rgba(255, 124, 57, 0.7)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 36.00 C 17.00 36.00 27.00 36.00 37.00 36.00 C 37.00 37.67 37.00 39.33 37.00 41.00 C 27.00 41.00 17.00 41.00 7.00 41.00 C 7.00 39.33 7.00 37.67 7.00 36.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempdmax"]>18){echo " rgba(255, 124, 57, 0.8)";} else if($tempunit=='F' && $weather["tempdmax"]>64.4){echo " rgba(255, 124, 57, 0.8)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 42.00 C 17.00 41.99 27.00 42.00 37.00 42.00 C 37.00 43.67 37.00 45.33 37.00 47.00 C 27.00 47.00 17.00 47.00 7.00 47.00 C 7.00 45.33 7.00 43.67 7.00 42.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempdmax"]>15){echo " rgba(255, 164, 2, 0.8)";} else if($tempunit=='F' && $weather["tempdmax"]>59){echo " rgba(255, 164, 2, 0.8)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 48.00 C 17.00 48.00 27.00 48.00 37.00 48.00 C 37.00 49.67 37.00 51.33 37.00 53.00 C 27.00 53.00 17.00 53.00 7.00 53.00 C 7.00 51.33 7.00 49.67 7.00 48.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempdmax"]>12){echo " rgba(255, 164, 2, 0.8)";} else if($tempunit=='F' && $weather["tempdmax"]>53.6){echo " rgba(255, 164, 2, 0.8)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 54.00 C 17.00 54.00 27.00 54.00 37.00 54.00 C 37.00 55.67 37.00 57.33 37.00 59.00 C 27.00 59.00 17.00 59.00 7.00 59.00 C 7.00 57.33 7.00 55.67 7.00 54.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempdmax"]>=10){echo " rgba(254, 255, 3,0.5)";} else if($tempunit=='F' && $weather["tempdmax"]>=50){echo " rgba(254, 255, 3,0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 60.00 C 17.00 60.00 27.00 60.00 37.00 60.00 C 37.00 61.67 37.00 63.33 37.00 65.00 C 27.00 65.00 17.00 65.00 7.00 65.00 C 7.00 63.33 7.00 61.67 7.00 60.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempdmax"]>=5){echo " rgba(4, 255, 170,0.5)";} else if($tempunit=='F' && $weather["tempdmax"]>41){echo "rgba(4, 255, 170,0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 66.00 C 17.00 66.00 27.00 66.00 37.00 66.00 C 37.00 67.67 37.00 69.33 37.00 71.00 C 27.00 71.00 17.00 71.00 7.00 71.00 C 7.00 69.33 7.00 67.67 7.00 66.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempdmax"]>-50){echo "rgba(0, 153, 170, 1)";} else if($tempunit=='F' && $weather["tempdmax"]>-50){echo "rgba(0, 153, 170, 1)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 72.00 C 17.00 72.00 27.00 72.00 37.00 72.00 C 37.00 73.67 37.00 75.33 37.00 77.00 C 27.00 77.00 17.00 77.00 7.00 77.00 C 7.00 75.33 7.00 73.67 7.00 72.00 Z" /></svg>
</svg></div></div>
<div class="hitemp">Highest Temp Measured at <span><?php echo $weather["tempdmaxtime"];?></span>
<div class="lotemp">
<?php //min day
if ($tempunit=='C' && $weather["tempdmin"]>=29) {
echo "<red>",$weather["tempdmin"] . "</value>";}
else if ($tempunit=='C' && $weather["tempdmin"]>18) {
echo "<orange>",$weather["tempdmin"] . "</value>";}
else if ($tempunit=='C' && $weather["tempdmin"]>10) {
echo "<green>",$weather["tempdmin"] . "</value>";}
else if ($tempunit=='C' && $weather["tempdmin"]>=-50) {
echo "<blue>",$weather["tempdmin"] . "</value>";}
if ($tempunit=='F' && $weather["tempdmin"]>90) {
echo "<red>",$weather["tempdmin"] . "</value>";}
else if ($tempunit=='F' && $weather["tempdmin"]>65) {
echo "<orange>",$weather["tempdmin"] . "</value>";}
else if ($tempunit=='F' && $weather["tempdmin"]>50) {
echo "<green>",$weather["tempdmin"] . "</value>";}
else if ($tempunit=='F' && $weather["tempdmin"]>=1) {
echo "<blue>",$weather["tempdmin"] . "</value>";}
echo "<sup><unit>°",$weather["temp_units"];
?>
<div class="hitemp">Lowest Temp Measured at <span><?php echo $weather["tempdmintime"];?></span></div>
<div class="hitempy">
<?php if ($weather["tempdmax"] < $weather["tempydmax"]){echo "Max <green>Today</green> Recorded is <blue>Less</blue> than Yesterday"; echo " <b>",$weather["tempydmax"] - $weather["tempdmax"], "°",$weather["temp_units"]," <blue>Cooler ".$fallingsymbol."</blue>";}
else if ($weather["tempdmax"] > $weather["tempydmax"]){echo "Max <green>Today</green> Recorded is <orange>Higher</orange> than Yesterday";echo " <b>",$weather["tempdmax"] - $weather["tempydmax"], "°",$weather["temp_units"]," </b><orange>Warmer ".$risingsymbol."</orange> ";}
else if ($weather["tempdmax"] = $weather["tempydmax"]){echo "Max <green>Today</green> Recorded is <orange>Same</orange> as Yesterday";echo "<orange> ".$steadysymbol."</orange> ";}
?></span>
<div class="icon"><img src=css/icons/temp34.svg width=25px></div>
</div>
</div>
<div class="weather34card__count-container">
<div class="weather34card__count-text">
</div>
</div>
<div class="weather34card__stuff-container">
<div class="weather34card__stuff-text">
</div> </div>
<actual><?php echo date('l jS');?></actual>
</div></div></div>
</div>
<div class="weather34card weather34card--earthquake2">
<div class="weather34card_weather34-container">
<div class="weather34card_weather34-wrapper"><span class="weather34card__count-text--big">
<div class="weather34-uvrate-bar" style="margin-top:0;">
<svg iopacity="0.8" d="weather34 solar radiation svg" width="40pt" height="80pt" viewBox="0 0 44 84">
<path fill="currentcolor" opacity="0.8" d=" M 0.00 7.99 C 1.33 8.00 2.67 8.00 4.00 8.01 C 4.01 31.34 3.99 54.67 4.00 77.99 C 16.00 78.01 28.00 78.00 40.00 78.00 C 40.01 54.67 39.99 31.34 40.00 8.01 C 41.34 8.00 42.67 8.00 44.00 7.99 L 44.00 9.95 C 43.50 9.97 42.50 10.02 42.00 10.05 C 42.00 33.36 42.00 56.68 42.00 80.00 C 28.67 80.01 15.34 80.00 2.01 80.00 C 1.99 56.70 2.00 33.40 2.00 10.10 C 1.50 10.04 0.50 9.92 0.00 9.86 L 0.00 7.99 Z" />
<path fill="<?php if( $tempunit=='C' && $weather["tempmmax"]>38){echo "rgba(237, 73, 71, 0.5)";} if( $tempunit=='F' && $weather["tempmmax"]>100){echo "rgba(237, 73, 71, 0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 8.01 C 17.00 8.00 27.00 8.00 37.00 8.00 C 37.00 8.75 37.00 10.25 37.00 11.00 C 27.00 11.00 17.00 11.00 7.00 11.00 C 7.00 10.25 7.00 8.75 7.00 8.01 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempmmax"]>35){echo "rgba(237, 73, 71, 0.5)";} else if($tempunit=='F' && $weather["tempmmax"]>95){echo "rgba(237, 73, 71, 0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 12.00 C 17.00 12.00 27.00 12.00 37.00 12.00 C 37.00 13.67 37.00 15.33 37.00 17.00 C 27.00 17.00 17.00 17.00 7.00 17.00 C 7.00 15.33 7.00 13.67 7.00 12.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempmmax"]>30){echo " rgba(237, 73, 71, 0.5)";} else if($tempunit=='F' && $weather["tempmmax"]>86){echo " rgba(237, 73, 71, 0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 18.00 C 17.00 18.00 27.00 18.00 37.00 18.00 C 37.00 19.67 37.00 21.33 37.00 23.00 C 27.00 23.00 17.00 23.00 7.00 23.00 C 7.00 21.33 7.00 19.67 7.00 18.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempmmax"]>27){echo " rgba(255, 69, 1,0.5)";} else if($tempunit=='F' && $weather["tempmmax"]>80.6){echo " rgba(255, 69, 1,0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 24.00 C 17.00 24.00 27.00 24.00 37.00 24.00 C 37.00 25.67 37.00 27.33 37.00 29.00 C 27.00 29.00 17.00 29.00 7.00 29.00 C 7.00 27.33 7.00 25.67 7.00 24.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempmmax"]>25){echo " rgba(255, 124, 57, 0.7)";} else if($tempunit=='F' && $weather["tempmmax"]>77){echo " rgba(255, 124, 57, 0.7)";}else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 30.00 C 17.00 30.00 27.00 30.00 37.00 30.00 C 37.00 31.67 37.00 33.33 37.00 35.00 C 27.00 35.00 17.00 35.00 7.00 35.00 C 7.00 33.33 7.00 31.67 7.00 30.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempmmax"]>23){echo " rgba(255, 124, 57, 0.7)";} else if($tempunit=='F' && $weather["tempmmax"]>73.4){echo " rgba(255, 124, 57, 0.7)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 36.00 C 17.00 36.00 27.00 36.00 37.00 36.00 C 37.00 37.67 37.00 39.33 37.00 41.00 C 27.00 41.00 17.00 41.00 7.00 41.00 C 7.00 39.33 7.00 37.67 7.00 36.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempmmax"]>18){echo " rgba(255, 124, 57, 0.8)";} else if($tempunit=='F' && $weather["tempmmax"]>64.4){echo " rgba(255, 124, 57, 0.8)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 42.00 C 17.00 41.99 27.00 42.00 37.00 42.00 C 37.00 43.67 37.00 45.33 37.00 47.00 C 27.00 47.00 17.00 47.00 7.00 47.00 C 7.00 45.33 7.00 43.67 7.00 42.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempmmax"]>15){echo " rgba(255, 164, 2, 0.8)";} else if($tempunit=='F' && $weather["tempmmax"]>59){echo " rgba(255, 164, 2, 0.8)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 48.00 C 17.00 48.00 27.00 48.00 37.00 48.00 C 37.00 49.67 37.00 51.33 37.00 53.00 C 27.00 53.00 17.00 53.00 7.00 53.00 C 7.00 51.33 7.00 49.67 7.00 48.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempmmax"]>12){echo " rgba(255, 164, 2, 0.8)";} else if($tempunit=='F' && $weather["tempmmax"]>53.6){echo " rgba(255, 164, 2, 0.8)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 54.00 C 17.00 54.00 27.00 54.00 37.00 54.00 C 37.00 55.67 37.00 57.33 37.00 59.00 C 27.00 59.00 17.00 59.00 7.00 59.00 C 7.00 57.33 7.00 55.67 7.00 54.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempmmax"]>=10){echo " rgba(254, 255, 3,0.5)";} else if($tempunit=='F' && $weather["tempmmax"]>=50){echo " rgba(254, 255, 3,0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 60.00 C 17.00 60.00 27.00 60.00 37.00 60.00 C 37.00 61.67 37.00 63.33 37.00 65.00 C 27.00 65.00 17.00 65.00 7.00 65.00 C 7.00 63.33 7.00 61.67 7.00 60.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempmmax"]>=5){echo " rgba(4, 255, 170,0.5)";} else if($tempunit=='F' && $weather["tempmmax"]>41){echo "rgba(4, 255, 170,0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 66.00 C 17.00 66.00 27.00 66.00 37.00 66.00 C 37.00 67.67 37.00 69.33 37.00 71.00 C 27.00 71.00 17.00 71.00 7.00 71.00 C 7.00 69.33 7.00 67.67 7.00 66.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempmmax"]>-50){echo "rgba(0, 153, 170, 1)";} else if($tempunit=='F' && $weather["tempmmax"]>-50){echo "rgba(0, 153, 170, 1)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 72.00 C 17.00 72.00 27.00 72.00 37.00 72.00 C 37.00 73.67 37.00 75.33 37.00 77.00 C 27.00 77.00 17.00 77.00 7.00 77.00 C 7.00 75.33 7.00 73.67 7.00 72.00 Z" /></svg>
</svg></div>
<?php
//month
if ($tempunit=='C' && $weather["tempmmax"]>=29) {
echo "<red>",$weather["tempmmax"] . "</value>";}
else if ($tempunit=='C' && $weather["tempmmax"]>18) {
echo "<orange>",$weather["tempmmax"] . "</value>";}
else if ($tempunit=='C' && $weather["tempmmax"]>10) {
echo "<green>",$weather["tempmmax"] . "</value>";}
else if ($tempunit=='C' && $weather["tempmmax"]>=-50) {
echo "<blue>",$weather["tempmmax"] . "</value>";}
if ($tempunit=='F' && $weather["tempmmax"]>90) {
echo "<red>",$weather["tempmmax"] . "</value>";}
else if ($tempunit=='F' && $weather["tempmmax"]>65) {
echo "<orange>",$weather["tempmmax"] . "</value>";}
else if ($tempunit=='F' && $weather["tempmmax"]>50) {
echo "<green>",$weather["tempmmax"] . "</value>";}
else if ($tempunit=='F' && $weather["tempmmax"]>=-1) {
echo "<blue>",$weather["tempmmax"] . "</value>";}
echo "<sup><unit>°",$weather["temp_units"]
?>
</span> <div class="hitemp">Highest Temp Measured <span><?php echo $weather["tempmmaxtime"];?></span>
<div class="lotemp">
<?php //min year
if ($tempunit=='C' && $weather["tempmmin"]>=29) {
echo "<red>",$weather["tempmmin"] . "</value>";}
else if ($tempunit=='C' && $weather["tempmmin"]>18) {
echo "<orange>",$weather["tempmmin"] . "</value>";}
else if ($tempunit=='C' && $weather["tempmmin"]>10) {
echo "<green>",$weather["tempmmin"] . "</value>";}
else if ($tempunit=='C' && $weather["tempmmin"]>=-50) {
echo "<blue>",$weather["tempmmin"] . "</value>";}
if ($tempunit=='F' && $weather["tempmmin"]>90) {
echo "<red>",$weather["tempmmin"] . "</value>";}
else if ($tempunit=='F' && $weather["tempmmin"]>65) {
echo "<orange>",$weather["tempmmin"] . "</value>";}
else if ($tempunit=='F' && $weather["tempmmin"]>50) {
echo "<green>",$weather["tempmmin"] . "</value>";}
else if ($tempunit=='F' && $weather["tempmmin"]>=-1) {
echo "<blue>",$weather["tempmmin"] . "</value>";}
echo "<sup><unit>°",$weather["temp_units"];?>
<div class="hitemp">Lowest Temp Measured <span><?php echo $weather["tempmmintime"];?></span></div>
<div class="icon"><img src=css/icons/temp34.svg width=25px></div>
</div>
</div>
<div class="weather34card__count-container">
<div class="weather34card__count-textuv">
<span class="weather34card__count-text--bigs">
</div>
</div><br>
<div class="weather34card__stuff-container">
<actual><?php echo date(' F Y');?></actual>
<div class="icon"><img src=css/icons/temp34.svg width=25px></div>
</section>
<section class="weather34cards">
<div class="weather34card weather34card--earthquake1">
<div class="weather34card_weather34-container">
<div class="weather34card_weather34-wrapper"><span class="weather34card__count-text--big">
<div class="weather34-uvrate-bar" style="margin-top:0;">
<svg iopacity="0.8" d="weather34 solar radiation svg" width="40pt" height="80pt" viewBox="0 0 44 84">
<path fill="currentcolor" opacity="0.8" d=" M 0.00 7.99 C 1.33 8.00 2.67 8.00 4.00 8.01 C 4.01 31.34 3.99 54.67 4.00 77.99 C 16.00 78.01 28.00 78.00 40.00 78.00 C 40.01 54.67 39.99 31.34 40.00 8.01 C 41.34 8.00 42.67 8.00 44.00 7.99 L 44.00 9.95 C 43.50 9.97 42.50 10.02 42.00 10.05 C 42.00 33.36 42.00 56.68 42.00 80.00 C 28.67 80.01 15.34 80.00 2.01 80.00 C 1.99 56.70 2.00 33.40 2.00 10.10 C 1.50 10.04 0.50 9.92 0.00 9.86 L 0.00 7.99 Z" />
<path fill="<?php if( $tempunit=='C' && $weather["tempydmax"]>38){echo "rgba(237, 73, 71, 0.5)";} if( $tempunit=='F' && $weather["tempydmax"]>100){echo "rgba(237, 73, 71, 0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 8.01 C 17.00 8.00 27.00 8.00 37.00 8.00 C 37.00 8.75 37.00 10.25 37.00 11.00 C 27.00 11.00 17.00 11.00 7.00 11.00 C 7.00 10.25 7.00 8.75 7.00 8.01 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempydmax"]>35){echo "rgba(237, 73, 71, 0.5)";} else if($tempunit=='F' && $weather["tempydmax"]>95){echo "rgba(237, 73, 71, 0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 12.00 C 17.00 12.00 27.00 12.00 37.00 12.00 C 37.00 13.67 37.00 15.33 37.00 17.00 C 27.00 17.00 17.00 17.00 7.00 17.00 C 7.00 15.33 7.00 13.67 7.00 12.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempydmax"]>30){echo " rgba(237, 73, 71, 0.5)";} else if($tempunit=='F' && $weather["tempydmax"]>86){echo " rgba(237, 73, 71, 0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 18.00 C 17.00 18.00 27.00 18.00 37.00 18.00 C 37.00 19.67 37.00 21.33 37.00 23.00 C 27.00 23.00 17.00 23.00 7.00 23.00 C 7.00 21.33 7.00 19.67 7.00 18.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempydmax"]>27){echo " rgba(255, 69, 1,0.5)";} else if($tempunit=='F' && $weather["tempydmax"]>80.6){echo " rgba(255, 69, 1,0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 24.00 C 17.00 24.00 27.00 24.00 37.00 24.00 C 37.00 25.67 37.00 27.33 37.00 29.00 C 27.00 29.00 17.00 29.00 7.00 29.00 C 7.00 27.33 7.00 25.67 7.00 24.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempydmax"]>25){echo " rgba(255, 124, 57, 0.7)";} else if($tempunit=='F' && $weather["tempydmax"]>77){echo " rgba(255, 124, 57, 0.7)";}else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 30.00 C 17.00 30.00 27.00 30.00 37.00 30.00 C 37.00 31.67 37.00 33.33 37.00 35.00 C 27.00 35.00 17.00 35.00 7.00 35.00 C 7.00 33.33 7.00 31.67 7.00 30.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempydmax"]>23){echo " rgba(255, 124, 57, 0.7)";} else if($tempunit=='F' && $weather["tempydmax"]>73.4){echo " rgba(255, 124, 57, 0.7)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 36.00 C 17.00 36.00 27.00 36.00 37.00 36.00 C 37.00 37.67 37.00 39.33 37.00 41.00 C 27.00 41.00 17.00 41.00 7.00 41.00 C 7.00 39.33 7.00 37.67 7.00 36.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempydmax"]>18){echo " rgba(255, 124, 57, 0.8)";} else if($tempunit=='F' && $weather["tempydmax"]>64.4){echo " rgba(255, 124, 57, 0.8)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 42.00 C 17.00 41.99 27.00 42.00 37.00 42.00 C 37.00 43.67 37.00 45.33 37.00 47.00 C 27.00 47.00 17.00 47.00 7.00 47.00 C 7.00 45.33 7.00 43.67 7.00 42.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempydmax"]>15){echo " rgba(255, 164, 2, 0.8)";} else if($tempunit=='F' && $weather["tempydmax"]>59){echo " rgba(255, 164, 2, 0.8)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 48.00 C 17.00 48.00 27.00 48.00 37.00 48.00 C 37.00 49.67 37.00 51.33 37.00 53.00 C 27.00 53.00 17.00 53.00 7.00 53.00 C 7.00 51.33 7.00 49.67 7.00 48.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempydmax"]>12){echo " rgba(255, 164, 2, 0.8)";} else if($tempunit=='F' && $weather["tempydmax"]>53.6){echo " rgba(255, 164, 2, 0.8)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 54.00 C 17.00 54.00 27.00 54.00 37.00 54.00 C 37.00 55.67 37.00 57.33 37.00 59.00 C 27.00 59.00 17.00 59.00 7.00 59.00 C 7.00 57.33 7.00 55.67 7.00 54.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempydmax"]>=10){echo " rgba(254, 255, 3,0.5)";} else if($tempunit=='F' && $weather["tempydmax"]>=50){echo " rgba(254, 255, 3,0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 60.00 C 17.00 60.00 27.00 60.00 37.00 60.00 C 37.00 61.67 37.00 63.33 37.00 65.00 C 27.00 65.00 17.00 65.00 7.00 65.00 C 7.00 63.33 7.00 61.67 7.00 60.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempydmax"]>=5){echo " rgba(4, 255, 170,0.5)";} else if($tempunit=='F' && $weather["tempydmax"]>41){echo "rgba(4, 255, 170,0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 66.00 C 17.00 66.00 27.00 66.00 37.00 66.00 C 37.00 67.67 37.00 69.33 37.00 71.00 C 27.00 71.00 17.00 71.00 7.00 71.00 C 7.00 69.33 7.00 67.67 7.00 66.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempydmax"]>-50){echo "rgba(0, 153, 170, 1)";} else if($tempunit=='F' && $weather["tempydmax"]>-50){echo "rgba(0, 153, 170, 1)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 72.00 C 17.00 72.00 27.00 72.00 37.00 72.00 C 37.00 73.67 37.00 75.33 37.00 77.00 C 27.00 77.00 17.00 77.00 7.00 77.00 C 7.00 75.33 7.00 73.67 7.00 72.00 Z" /></svg>
</svg></div>
<?php
// yesterday
if ($tempunit=='C' && $weather["tempydmax"]>=29) {
echo "<red>",$weather["tempydmax"] . "</value>";}
else if ($tempunit=='C' && $weather["tempydmax"]>18) {
echo "<orange>",$weather["tempydmax"] . "</value>";}
else if ($tempunit=='C' && $weather["tempydmax"]>10) {
echo "<green>",$weather["tempydmax"] . "</value>";}
else if ($tempunit=='C' && $weather["tempydmax"]>=-50) {
echo "<blue>",$weather["tempydmax"] . "</value>";}
if ($tempunit=='F' && $weather["tempydmax"]>90) {
echo "<red>",$weather["tempydmax"] . "</value>";}
else if ($tempunit=='F' && $weather["tempydmax"]>65) {
echo "<orange>",$weather["tempydmax"] . "</value>";}
else if ($tempunit=='F' && $weather["tempydmax"]>50) {
echo "<green>",$weather["tempydmax"] . "</value>";}
else if ($tempunit=='F' && $weather["tempydmax"]>=-50) {
echo "<blue>",$weather["tempydmax"] . "</value>";}
echo "<sup><unit>°",$weather["temp_units"]
?>
</span> <div class="hitemp">Highest Temp Measured at <span><?php echo $weather["tempydmaxtime"];?></span>
<div class="lotemp">
<?php //min year
if ($tempunit=='C' && $weather["tempydmin"]>=29) {
echo "<red>",$weather["tempydmin"] . "</value>";}
else if ($tempunit=='C' && $weather["tempydmin"]>18) {
echo "<orange>",$weather["tempydmin"] . "</value>";}
else if ($tempunit=='C' && $weather["tempydmin"]>10) {
echo "<green>",$weather["tempydmin"] . "</value>";}
else if ($tempunit=='C' && $weather["tempydmin"]>=-50) {
echo "<blue>",$weather["tempydmin"] . "</value>";}
if ($tempunit=='F' && $weather["tempydmin"]>90) {
echo "<red>",$weather["tempydmin"] . "</value>";}
else if ($tempunit=='F' && $weather["tempydmin"]>65) {
echo "<orange>",$weather["tempydmin"] . "</value>";}
else if ($tempunit=='F' && $weather["tempydmin"]>50) {
echo "<green>",$weather["tempydmin"] . "</value>";}
else if ($tempunit=='F' && $weather["tempydmin"]>=-50) {
echo "<blue>",$weather["tempydmin"] . "</value>";}
echo "<sup><unit>°",$weather["temp_units"];?>
<div class="hitemp">Lowest Temp Measured at <span><?php echo $weather["tempydmintime"];?></span></div>
<div class="icon"><img src=css/icons/temp34.svg width=25px></div>
</div> </div>
</div>
<div class="weather34card__count-container">
<div class="weather34card__count-textuv">
<span class="weather34card__count-text--big"> </span></div>
<div class="weather34card__stuff-container"><br>
<actual>Yesterday</actual></div></div></div></div>
<div class="weather34card weather34card--earthquake2">
<div class="weather34card_weather34-container">
<div class="weather34card_weather34-wrapper"><span class="weather34card__count-text--big">
<div class="weather34-uvrate-bar" style="margin-top:0;">
<svg iopacity="0.8" d="weather34 solar radiation svg" width="40pt" height="80pt" viewBox="0 0 44 84">
<path fill="currentcolor" opacity="0.8" d=" M 0.00 7.99 C 1.33 8.00 2.67 8.00 4.00 8.01 C 4.01 31.34 3.99 54.67 4.00 77.99 C 16.00 78.01 28.00 78.00 40.00 78.00 C 40.01 54.67 39.99 31.34 40.00 8.01 C 41.34 8.00 42.67 8.00 44.00 7.99 L 44.00 9.95 C 43.50 9.97 42.50 10.02 42.00 10.05 C 42.00 33.36 42.00 56.68 42.00 80.00 C 28.67 80.01 15.34 80.00 2.01 80.00 C 1.99 56.70 2.00 33.40 2.00 10.10 C 1.50 10.04 0.50 9.92 0.00 9.86 L 0.00 7.99 Z" />
<path fill="<?php if( $tempunit=='C' && $weather["tempymax"]>38){echo "rgba(237, 73, 71, 0.5)";} if( $tempunit=='F' && $weather["tempymax"]>100){echo "rgba(237, 73, 71, 0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 8.01 C 17.00 8.00 27.00 8.00 37.00 8.00 C 37.00 8.75 37.00 10.25 37.00 11.00 C 27.00 11.00 17.00 11.00 7.00 11.00 C 7.00 10.25 7.00 8.75 7.00 8.01 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempymax"]>35){echo "rgba(237, 73, 71, 0.5)";} else if($tempunit=='F' && $weather["tempymax"]>95){echo "rgba(237, 73, 71, 0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 12.00 C 17.00 12.00 27.00 12.00 37.00 12.00 C 37.00 13.67 37.00 15.33 37.00 17.00 C 27.00 17.00 17.00 17.00 7.00 17.00 C 7.00 15.33 7.00 13.67 7.00 12.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempymax"]>30){echo " rgba(237, 73, 71, 0.5)";} else if($tempunit=='F' && $weather["tempymax"]>86){echo " rgba(237, 73, 71, 0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 18.00 C 17.00 18.00 27.00 18.00 37.00 18.00 C 37.00 19.67 37.00 21.33 37.00 23.00 C 27.00 23.00 17.00 23.00 7.00 23.00 C 7.00 21.33 7.00 19.67 7.00 18.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempymax"]>27){echo " rgba(255, 69, 1,0.5)";} else if($tempunit=='F' && $weather["tempymax"]>80.6){echo " rgba(255, 69, 1,0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 24.00 C 17.00 24.00 27.00 24.00 37.00 24.00 C 37.00 25.67 37.00 27.33 37.00 29.00 C 27.00 29.00 17.00 29.00 7.00 29.00 C 7.00 27.33 7.00 25.67 7.00 24.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempymax"]>25){echo " rgba(255, 124, 57, 0.7)";} else if($tempunit=='F' && $weather["tempymax"]>77){echo " rgba(255, 124, 57, 0.7)";}else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 30.00 C 17.00 30.00 27.00 30.00 37.00 30.00 C 37.00 31.67 37.00 33.33 37.00 35.00 C 27.00 35.00 17.00 35.00 7.00 35.00 C 7.00 33.33 7.00 31.67 7.00 30.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempymax"]>23){echo " rgba(255, 124, 57, 0.7)";} else if($tempunit=='F' && $weather["tempymax"]>73.4){echo " rgba(255, 124, 57, 0.7)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 36.00 C 17.00 36.00 27.00 36.00 37.00 36.00 C 37.00 37.67 37.00 39.33 37.00 41.00 C 27.00 41.00 17.00 41.00 7.00 41.00 C 7.00 39.33 7.00 37.67 7.00 36.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempymax"]>18){echo " rgba(255, 124, 57, 0.8)";} else if($tempunit=='F' && $weather["tempymax"]>64.4){echo " rgba(255, 124, 57, 0.8)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 42.00 C 17.00 41.99 27.00 42.00 37.00 42.00 C 37.00 43.67 37.00 45.33 37.00 47.00 C 27.00 47.00 17.00 47.00 7.00 47.00 C 7.00 45.33 7.00 43.67 7.00 42.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempymax"]>15){echo " rgba(255, 164, 2, 0.8)";} else if($tempunit=='F' && $weather["tempymax"]>59){echo " rgba(255, 164, 2, 0.8)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 48.00 C 17.00 48.00 27.00 48.00 37.00 48.00 C 37.00 49.67 37.00 51.33 37.00 53.00 C 27.00 53.00 17.00 53.00 7.00 53.00 C 7.00 51.33 7.00 49.67 7.00 48.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempymax"]>12){echo " rgba(255, 164, 2, 0.8)";} else if($tempunit=='F' && $weather["tempymax"]>53.6){echo " rgba(255, 164, 2, 0.8)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 54.00 C 17.00 54.00 27.00 54.00 37.00 54.00 C 37.00 55.67 37.00 57.33 37.00 59.00 C 27.00 59.00 17.00 59.00 7.00 59.00 C 7.00 57.33 7.00 55.67 7.00 54.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempymax"]>=10){echo " rgba(254, 255, 3,0.5)";} else if($tempunit=='F' && $weather["tempymax"]>=50){echo " rgba(254, 255, 3,0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 60.00 C 17.00 60.00 27.00 60.00 37.00 60.00 C 37.00 61.67 37.00 63.33 37.00 65.00 C 27.00 65.00 17.00 65.00 7.00 65.00 C 7.00 63.33 7.00 61.67 7.00 60.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempymax"]>=5){echo " rgba(4, 255, 170,0.5)";} else if($tempunit=='F' && $weather["tempymax"]>41){echo "rgba(4, 255, 170,0.5)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 66.00 C 17.00 66.00 27.00 66.00 37.00 66.00 C 37.00 67.67 37.00 69.33 37.00 71.00 C 27.00 71.00 17.00 71.00 7.00 71.00 C 7.00 69.33 7.00 67.67 7.00 66.00 Z" />
<path fill="<?php if($tempunit=='C' && $weather["tempymax"]>-50){echo "rgba(0, 153, 170, 1)";} else if($tempunit=='F' && $weather["tempymax"]>-50){echo "rgba(0, 153, 170, 1)";} else echo "currentcolor"?>" opacity="0.8" d=" M 7.00 72.00 C 17.00 72.00 27.00 72.00 37.00 72.00 C 37.00 73.67 37.00 75.33 37.00 77.00 C 27.00 77.00 17.00 77.00 7.00 77.00 C 7.00 75.33 7.00 73.67 7.00 72.00 Z" /></svg>
</div>
<?php
// year
if ($tempunit=='C' && $weather["tempymax"]>=29) {
echo "<red>",$weather["tempymax"] . "</value>";}
else if ($tempunit=='C' && $weather["tempymax"]>18) {
echo "<orange>",$weather["tempymax"] . "</value>";}
else if ($tempunit=='C' && $weather["tempymax"]>10) {
echo "<green>",$weather["tempymax"] . "</value>";}
else if ($tempunit=='C' && $weather["tempymax"]>=-50) {
echo "<blue>",$weather["tempymax"] . "</value>";}
if ($tempunit=='F' && $weather["tempymax"]>90) {
echo "<red>",$weather["tempymax"] . "</value>";}
else if ($tempunit=='F' && $weather["tempymax"]>65) {
echo "<orange>",$weather["tempymax"] . "</value>";}
else if ($tempunit=='F' && $weather["tempymax"]>50) {
echo "<green>",$weather["tempymax"] . "</value>";}
else if ($tempunit=='F' && $weather["tempymax"]>=-50) {
echo "<blue>",$weather["tempymax"] . "</value>";}
echo "<sup><unit>°",$weather["temp_units"]
?>
</span> <div class="hitemp">Highest Temp Measured <span><?php echo $weather["tempymaxtime"];?></span><br>
<div class="lotemp">
<?php //min year
if ($tempunit=='C' && $weather["tempymin"]>=29) {
echo "<red>",$weather["tempymin"] . "</value>";}
else if ($tempunit=='C' && $weather["tempymin"]>18) {
echo "<orange>",$weather["tempymin"] . "</value>";}
else if ($tempunit=='C' && $weather["tempymin"]>10) {
echo "<green>",$weather["tempymin"] . "</value>";}
else if ($tempunit=='C' && $weather["tempymin"]>=-50) {
echo "<blue>".$weather["tempymin"]."</value>";}
if ($tempunit=='F' && $weather["tempymin"]>90) {
echo "<red>",$weather["tempymin"] . "</value>";}
else if ($tempunit=='F' && $weather["tempymin"]>65) {
echo "<orange>",$weather["tempymin"] . "</value>";}
else if ($tempunit=='F' && $weather["tempymin"]>50) {
echo "<green>",$weather["tempymin"] . "</value>";}
else if ($tempunit=='F' && $weather["tempymin"]>=-50) {
echo "<blue>".$weather["tempymin"]."</value>";}
echo "<sup><unit>°",$weather["temp_units"];?>
<div class="hitemp">Lowest Temp Measured <span><?php echo $weather["tempymintime"];?></span></div>
</div>
</div>
</div>
<div class="weather34card__count-container">
<div class="weather34card__count-textuv">
<span class="weather34card__count-text--big"> </span></div>
<div class="weather34card__stuff-container"><br>
<actual>Year <?php echo date('Y');?></actual>
<div class="icon"><img src=css/icons/temp34.svg width=25px></div>
</section>
<div class="provided">
Almanac Meteobridge PHP scripts by <a href="https://weather34.com" title="weather34.com" target="_blank">weather34.com ©<?php echo date('Y');?></a></div>
</body>
</html>