forked from lightmaster/Meteobridge-Weather34-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheasyweathersetup.php
2324 lines (1903 loc) · 121 KB
/
easyweathersetup.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
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
include('settings1.php');
$iicon = '<svg id="i-info" viewBox="0 0 32 32" width="10" height="10" fill="rgba(24, 25, 27, 0.8)" stroke="rgba(24, 25, 27, 0.8)" stroke-linecap="round" stroke-linejoin="round" stroke-width="16.25%">
<path d="M16 14 L16 23 M16 8 L16 10" />
<circle cx="16" cy="16" r="14" />
</svg>';
$oiicon = '<svg id="i-info" viewBox="0 0 32 32" width="10" height="10" fill="#FF793A" stroke="#FF793A" stroke-linecap="round" stroke-linejoin="round" stroke-width="16.25%">
<path d="M16 14 L16 23 M16 8 L16 10" /><circle cx="16" cy="16" r="14" /></svg>';
$rightchevron = '<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg>';
$downchevron = '<svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>';
// HOMEWEATHERSTATION EASY SETUP AUGUST 2016 //
// SIMPLE EASY PHP BASED AND CSS //
// DEVELOPED BY BRIAN UNDERDOWN //
// RELEASED NOVEMBER 2016 //
// Meteobridge //
//original weather34 script original css/svg/php by weather34 2015-2019 clearly marked as original by weather34//
IF (ISSET($_POST["Submit"])) {
$string = '<?php
$apikey = "'. $_POST["wuapi"]. '";
$wuapikey = "'. $_POST["wuapikey"]. '";
$weatherflowID = "'. $_POST["wfid"]. '";
$weatherflowoption = "'. $_POST["weatherflowoption"]. '";
$weatherflowlightning = "'. $_POST["wfli"]. '";
$weatherflowmapzoom = "'. $_POST["weatherflowmapzoom"]. '";
$id = "'. $_POST["WUID"]. '";
$purpleairID = "'. $_POST["purpleair"]. '";
$purpleairhardware = "'. $_POST["purpleairhardware"]. '";
$metarapikey ="'. $_POST["metarapikey"]. '";
$TZ = "'. $_POST["TZ"]. '";
$UTC = "'. $_POST["UTC"]. '";
$lon = '. $_POST["lon"]. ';
$lat = '. $_POST["lat"]. ';
$darkskyunit = "'. $_POST["darkskyunit"]. '";
$wuapiunit = "'. $_POST["wuapiunit"]. '";
$stationlocation = "'. $_POST["stationlocation"]. '";
$stationName = "'. $_POST["stationName"]. '";
$moonadj = "'. $_POST["moonadj"]. '";
$unit = "'. $_POST["unit"]. '";
$metric = '. $_POST["metric"]. ';
$elevation = "'. $_POST["elevation"]. '";
$uk = '. $_POST["uk"]. ';
$usa = '. $_POST["usa"]. ';
$scandinavia = '. $_POST["scandinavia"]. ';
$restoftheworld = '. $_POST["restoftheworld"]. ';
$windunit = "'. $_POST["windunit"]. '";
$distanceunit = "'. $_POST["distanceunit"]. '";
$tempunit = "'. $_POST["tempunit"]. '";
$rainunit = "'. $_POST["rainunit"]. '";
$rainrate = "'. $_POST["rainrate"]. '";
$pressureunit = "'. $_POST["pressureunit"]. '";
$livedataFormat = "'. $_POST["livedataFormat"]. '";
$livedata = "'. $_POST["livedata"]. '";
$currentconditions = "'. $_POST["currentconditions"]. '";
$chartsource = "'. $_POST["chartsource"]. '";
$extralinks = "'. $_POST["extralinks"]. '";
$languages = "'. $_POST["languages"]. '";
$dateFormat = "'. $_POST["dateFormat"]. '";
$timeFormat = "'. $_POST["timeFormat"]. '";
$timeFormatShort = "'. $_POST["timeFormatShort"]. '";
$clockformat = "'. $_POST["clockformat"]. '";
$showDate = '. $_POST["showDate"]. ';
$temperaturemodule = "'. $_POST["temperaturemodule"]. '";
$position1 = "'. $_POST["position1"]. '";
$position2 = "'. $_POST["position2"]. '";
$position3 = "'. $_POST["position3"]. '";
$position4 = "'. $_POST["position4"]. '";
$position1title = "'. $_POST["position1title"]. '";
$position2title = "'. $_POST["position2title"]. '";
$position3title = "'. $_POST["position3title"]. '";
$position4title = "'. $_POST["position4title"]. '";
$position6title = "'. $_POST["position6title"]. '";
$position6 = "'. $_POST["position6"]. '";
$position12title = "'. $_POST["position12title"]. '";
$position12 = "'. $_POST["position12"]. '";
$positionlastmoduletitle = "'. $_POST["positionlastmoduletitle"]. '";
$positionlastmodule = "'. $_POST["positionlastmodule"]. '";
$webcamurl = "'. $_POST["webcamurl"]. '";
$videoWeatherCamURL = "'.$_POST["videoWeatherCamURL"].'";
$email = "'. $_POST["email"]. '";
$twitter = "'. $_POST["twitter"]. '";
$theme1 = "'. $_POST["theme1"]. '";
$since = "'. $_POST["since"]. '";
$weatherhardware = "'.$_POST["weatherhardware"]. '";
$mbplatform = "'.$_POST["mbplatform"]. '";
$davis = "'.$_POST["davis"]. '";
$db_host = "'. $_POST["db_host"]. '";
$db_user = "'. $_POST["db_user"]. '";
$db_pass = "'. $_POST["db_pass"]. '";
$db_name = "'. $_POST["db_name"]. '";
$sunoption = "'. $_POST["sunoption"]. '";
$hemisphere = "'. $_POST["hemisphere"]. '";
$metar = "'. $_POST["metar"]. '";
$icao1 = "'. $_POST["icao1"]. '";
$airport1 = "'. $_POST["airport1"]. '";
$airport1dist = "'. $_POST["airport1dist"]. '";
$defaultlanguage = "'.$_POST["defaultlanguage"]. '";
$language = "'.$_POST['language']. '";
$password = "'.$_POST['password']. '";
$flag = "'.$_POST["flag"]. '";
$dshourly = "'.$_POST["dshourly"].'";
$manifestShortName = "'.$_POST["manifestShortName"].'";
$notifications = "'. $_POST["notifications"]. '";
$notifyWind = "'. $_POST["notifyWind"]. '";
$notifyEarthquake = "'. $_POST["notifyEarthquake"]. '";
$notifyMagnitude = '. $_POST["notifyMagnitude"]. ';
$linkWU = "'. $_POST["linkWU"]. '";
$linkWUNew = "'. $_POST["linkWUNew"]. '";
$linkCWOPID = "'. $_POST["linkCWOPID"]. '";
$linkFindUID = "'. $_POST["linkFindUID"]. '";
$linkNOAA = "'. $_POST["linkNOAA"]. '";
$linkMADIS = "'. $_POST["linkMADIS"]. '";
$linkMesoWest = "'. $_POST["linkMesoWest"]. '";
$linkWeatherCloudID = "'. $_POST["linkWeatherCloudID"]. '";
$linkWindyID = "'. $_POST["linkWindyID"]. '";
$linkAWEKASID = "'. $_POST["linkAWEKASID"]. '";
$linkAmbientWeatherID = "'. $_POST["linkAmbientWeatherID"]. '";
$linkPWSWeatherID = "'. $_POST["linkPWSWeatherID"]. '";
$linkMetOfficeID = "'. $_POST["linkMetOfficeID"]. '";
$linkCustom1Title = "'. $_POST["linkCustom1Title"]. '";
$linkCustom1URL = "'. $_POST["linkCustom1URL"]. '";
$linkCustom2Title = "'. $_POST["linkCustom2Title"]. '";
$linkCustom2URL = "'. $_POST["linkCustom2URL"]. '";
$USAWeatherFinder = "'. $_POST["USAWeatherFinder"]. '";
$extraLinkTitle = "'. $_POST["extraLinkTitle"]. '";
$extraLinkColor = "'. $_POST["extraLinkColor"]. '";
$extraLinkURL = "'. $_POST["extraLinkURL"]. '";
?>';
$fp = FOPEN("settings1.php", "w") or die("Unable to open settings1.php file check file permissions !");
FWRITE($fp, $string);
FCLOSE($fp);
}
?>
<html>
<head>
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon">
<link href="favicon.ico" rel="icon" type="image/x-icon">
<script src="js/jquery.js"></script>
<link href="css/easyweathersetup.css" rel="stylesheet prefetch">
</head>
<body>
<div class="loginformarea">
<?php
//lets secure the homeweatherstation easy setup ///
function showForm($error="LOGIN"){
?> <?php echo $error; ?>
<div class="login_screen" style="width:60%;max-width:600px;margin:0 auto;color:rgba(24, 25, 27, 1.000);border:solid 1px grey;padding:10px;border-radius:4px;"> <?php echo 'Your Current PHP version is :<span style="color:rgba(236, 87, 27, 1.000);"> ' . phpversion(), '</span> <br/>(PHP 5.6 or higher PHP 7+ is advised if you are not already using these versions)'; ?>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" name="pwd" >
Enter Your Password For Meteobridge Setup Screen Below
<center> <div class="modal-buttons">
<input name="passwd" type="password" class="input-button"/> <input type="submit" name="submit_pwd" value="Login " class="modal-button" />
</form>
</center>
<?php echo "2015-" ;?><?php echo date('Y');?> ©</a> WEATHER34 MB-UB<span style="color:rgba(236, 87, 27, 1.000);">40.1</span>-IHVN</span></span></span>
<br/><br/>
<?php
}
?>
</div>
<div span style="width:auto;margin:0 auto;text-align:center;color:#fff;background:0;font-family:arial;padding:20px;border-radius:4px;">
<?php
$Password = $password;
if (isset($_POST['submit_pwd'])){ $pass = isset($_POST['passwd']) ? $_POST['passwd'] : '';
if ($pass != $Password) {
showForm("Dashboard Meteobridge EASY SETUP");
exit();
}
} else {
showForm("Dashboard Meteobridge EASY SETUP");
exit();
}
?>
</div>
<div span style="width:390px;margin:0 auto;margin-top:10px;text-align:center;color:#4a636f;background:0;font-family:arial;padding:20px;border-radius:4px;border:1px solid rgba(74, 99, 111, 0.4);">
<img src='img/easyweathersetupweather34.svg' width='120px'>
<img src='img/nano.svg' width='40px' style="float:none;transform: rotate(100grad)"><img src='img/MeteobridgePRO.svg' width='60px' style="float:none;"><img src='img/TP-LINK.svg' width='60px' style="float:none;">
<br/>
Welcome you have logged into the WEATHER34 Meteobridge setup screen <?php echo date("M jS Y H:i"); ?>
</span>
</div>
</div></div>
</div></div>
<div class="theframe1">
<div class="theframe">
<form action="" method="post" name="install" id="install">
<!--##########################################################################################
######### Start of Easy Password Sidebar #########
##########################################################################################-->
<div class="weatheroptionssidebar">
<?php echo $iicon;?> Please setup and password protect this page for later use it is for your privacy and protection.
</div>
<!--##########################################################################################
######### Start of Easy Password Section #########
##########################################################################################-->
<div class="weatheroptions">
<div class="weathersectiontitle">
<svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
<circle cx="16" cy="16" r="4" />
</svg>
Setup Unique Easysetup Password</div><br/>
<div class="stationvalue"> Set Easysetup Password it is for your privacy & protection</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg>
<input name="password" type="password" id="password" value="<?php echo $password ;?>" class="choose">
</div>
<br/>
<!--##########################################################################################
######### Start of Database Sidebar #########
##########################################################################################-->
<div class="weatheroptionssidebar">
<?php echo $iicon;?> Database uses the standard PHP connection strings for mySqli,you need to have database setup on server prior to using this feature.This feature currently only supports <strong>Meteobridge-API</strong> with direct server upload.
<div class="weatherbottominfo">
<svg id="i-checkmark" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M2 20 L12 28 30 4" />
</svg>
check username password</div>
</div>
<!--##########################################################################################
######### Start of Database Section #########
##########################################################################################-->
<div class="weatheroptions">
<div class="weathersectiontitle">
<svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
<circle cx="16" cy="16" r="4" />
</svg>
Database Credentials</div><br/>
<div class="stationvalue"> Database Host</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg>
<input name="db_host" type="text" id="db_host" value="<?php echo $db_host ;?>" class="choose">
<div class="stationvalue"> Database Username</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg>
<input name="db_user" type="text" id="db_user" value="<?php echo $db_user ;?>" class="choose">
<br/>
<div class="stationvalue"> Database Password</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg>
<input name="db_pass" type="password" id="db_pass" value="<?php echo $db_pass ;?>" class="choose">
<div class="stationvalue"> Database Name</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg>
<input name="db_name" type="text" id="db_name" value="<?php echo $db_name ;?>" class="choose">
</div>
<br/><br/>
<!--##########################################################################################
######### Start of Language Sidebar #########
##########################################################################################-->
<div class="weatheroptionssidebar">
<?php echo $iicon;?> Setup the default language
<div class="weatherbottominfo">
<svg id="i-checkmark" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M2 20 L12 28 30 4" />
</svg>
check languages</div>
</div>
<!--##########################################################################################
######### Start of Language Section #########
##########################################################################################-->
<div class="weatheroptions">
<div class="weathersectiontitle">
Choose the default Language to display and use</div>
<br/>
<div class="stationvalue">
Template Language (lowercase)</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="#F05E40" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<label name="defaultlanguage"></label>
<select id="defaultlanguage" name="defaultlanguage" class="choose1">
<option><?php echo $defaultlanguage ;?></option>
<option>en</option>
<option>can</option>
<option>cat</option>
<option>dk</option>
<option>dl</option>
<option>fi</option>
<option>fr</option>
<option>gr</option>
<option>hu</option>
<option>it</option>
<option>nl</option>
<option>pl</option>
<option>sk</option>
<option>sp</option>
<option>sw</option>
<option>tr</option>
<option>us</option>
</select>
<br/>
<div class="stationvalue">
Your Country Flag</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="#F05E40" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<label name="flag"></label>
<select id="flag" name="flag" class="choose1">
<option><?php echo $flag ;?></option>
<option>ar</option>
<option>aus</option>
<option>en</option>
<option>can</option>
<option>cat</option>
<option>ch</option>
<option>dk</option>
<option>dl</option>
<option>fi</option>
<option>fr</option>
<option>gr</option>
<option>hu</option>
<option>iom</option>
<option>ire</option>
<option>it</option>
<option>mi</option>
<option>nl</option>
<option>no</option>
<option>nz</option>
<option>pl</option>
<option>sa</option>
<option>scot</option>
<option>singapore</option>
<option>sk</option>
<option>sp</option>
<option>sw</option>
<option>tr</option>
<option>us</option>
<option>wal</option>
</select>
<br/>
<div class="stationvalue">DARK SKY Forecast Language full list here <a href="https://darksky.net/dev/docs" title="https://darksky.net/dev/docs" target="_blank"><white>https://darksky.net/dev/docs</white></a></div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="#F05E40" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<label name="language"></label>
<select id="language" name="language" class="choose1">
<option><?php echo $language ;?></option>
<option>en</option>
<option>bg</option>
<option>bs</option>
<option>ca</option>
<option>da</option>
<option>de</option>
<option>el</option>
<option>es</option>
<option>fi</option>
<option>fr</option>
<option>hu</option>
<option>it</option>
<option>nl</option>
<option>pl</option>
<option>sv</option>
<option>tr</option>
</select>
</div>
<br/>
<!--##########################################################################################
######### Start of MB Sidebar #########
##########################################################################################-->
<div class="weatheroptionssidebar">
<?php echo $iicon;?> Meteobridge Hardware
<br/><br/>
<svg id="i-checkmark" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M2 20 L12 28 30 4" />
</svg>
check path to data file
<br/><br/>
<span style="color:rgba(86, 95, 103, 1.000)">
<?php echo $iicon;?> getting the path correct is essential for live realtime data display <span style="color:#FF793A">(mbridge/MBrealtimeupload.txt)</span></span>
<div class="weatherbottominfo"></div>
</div>
<!--##########################################################################################
######### Start of MB Section #########
##########################################################################################-->
<div class="weatheroptions">
<div class="weathersectiontitle">
<svg id="i-code" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M10 9 L3 17 10 25 M22 9 L29 17 22 25 M18 7 L14 27" />
</svg>
METEOBRIDGE Software Path to Data file</div><br/>
<div class="stationvalue">Data Type</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<label name="livedataFormat"></label>
<select id="livedataFormat" name="livedataFormat" class="choose1">
<option>meteobridge-api</option>
</select>
<br/>
<div class="stationvalue">Add Your Path to data file</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg>
<svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" /></svg>
<input name="livedata" type="text" id="livedata" value="<?php echo $livedata ;?>" class="chooseapi">
<br/>
<span style='color:red'>Do not change unless you know what you're doing</span>
<br/>
<div class="stationvalue">Meteobridge Chart Data</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<label name="chartsource"></label>
<select id="chartsource" name="chartsource" class="choose1">
<option>mbcharts</option>
</select>
<br/>
<span style="color:red">(Fixed Option WU history charts no longer supported)</span>
</div>
<br/>
<!--##########################################################################################
######### Start of Hardware Section #########
##########################################################################################-->
<div class="weatheroptions">
<div class="weathersectiontitle">
<svg id="i-code" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M10 9 L3 17 10 25 M22 9 L29 17 22 25 M18 7 L14 27" />
</svg>
Hardware Options</div><br/>
<div class="stationvalue">
Using Davis Hardware?</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="#F05E40" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<label name="davis"></label>
<select id="davis" name="davis" class="choose1">
<option><?php echo $davis ;?></option>
<option>Yes</option>
<option>No</option>
</select>
<br/>
<div class="stationvalue"> Your Weather Station Hardware</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="#F05E40" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<label name="weatherhardware"></label>
<select id="weatherhardware" name="weatherhardware" class="chooseapi">
<option><?php echo $weatherhardware ;?></option>
<option>Davis Vantage Pro2</option>
<option>Davis Vantage Pro2 Plus</option>
<option>Davis Vantage Pro2 Plus+FARS</option>
<option>Davis Vantage Pro2 FARS</option>
<option>Davis Vantage Pro2 Solar</option>
<option>Davis Vantage Pro2 UV</option>
<option>Davis Vantage Vue</option>
<option>Davis Envoy8x</option>
<option>Davis Cabled Vantage Pro2</option>
<option>Davis Cabled Vantage Pro2 Plus</option>
<option>Davis Vantage Pro1</option>
<option>Davis Vantage Pro1+Solar/UV</option>
<option>Davis Vantage Pro1+Solar/UV/FARS</option>
<option>Davis Vantage Pro1+FARS</option>
<option>Davis Cabled Vantage Pro1</option>
<option>Davis Cabled Vantage Pro1+Solar/UV</option>
<option>Davis Cabled Vantage Pro1+Solar/UV/FARS</option>
<option>Davis Cabled Vantage Pro1+FARS</option>
<option>Oregon Scientific WMR-100</option>
<option>Oregon Scientific WMR-200</option>
<option>Oregon Scientific WMR-300</option>
<option>Oregon Scientific WMR-100</option>
<option>Oregon Scientific WMR-88</option>
<option>Oregon Scientific WMR-968</option>
<option>Oregon Scientific WMR-969</option>
<option>Oregon Scientific WMR-100</option>
<option>Ambient Weather Observer-IP</option>
<option>Ambient Weather WS-12-IP</option>
<option>Ambient Weather WS-1000</option>
<option>Fine Offset WH-1080</option>
<option>Fine Offset WH-2080</option>
<option>Fine Offset WH-3080</option>
<option>Fine Offset WH-1080</option>
<option>Ecowitt GW-1000</option>
<option>Accurite</option>
<option>La Crosse</option>
<option>Weatherflow Air-Sky</option>
<option>Lufft WS10</option>
<option>Lufft WS100</option>
<option>Lufft WS200 UMB</option>
<option>Lufft WS300 UMB</option>
<option>Lufft WS301 UMB</option>
<option>Lufft WS302 UMB</option>
<option>Lufft WS303 UMB</option>
<option>Lufft WS304 UMB</option>
<option>Lufft WS310 UMB</option>
<option>Lufft WS400 UMB</option>
<option>Lufft WS401 UMB</option>
<option>Lufft WS500 UMB</option>
<option>Lufft WS501 UMB</option>
<option>Lufft WS502 UMB</option>
<option>Lufft WS503 UMB</option>
<option>Lufft WS504 UMB</option>
<option>Lufft WS510 UMB</option>
<option>Lufft WS600 UMB</option>
<option>Lufft WS601 UMB</option>
<option>Lufft WS700 UMB</option>
<option>Lufft WS800 UMB</option>
<option>Lufft WS3100 UMB</option>
<option>None of above</option>
</select>
<br/>
<div class="stationvalue">Which Meteobridge Platform Do You Use</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="#F05E40" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<label name="mbplatform"></label>
<select id="mbplatform" name="mbplatform" class="chooseapi">
<option><?php echo $mbplatform ;?></option>
<option>Meteobridge Nano</option>
<option>Meteobridge NanoSD</option>
<option>Meteobridge Pro</option>
<option>MB TP-Link</option>
<option>MB D-Link</option>
<option>MB Asus</option>
<option>Meteobridge</option>
</select>
</div>
<br/>
<!--##########################################################################################
######### Start of Current Weather Section #########
##########################################################################################-->
<div class="weatheroptions">
<div class="weathersectiontitle">
<svg id="i-code" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M10 9 L3 17 10 25 M22 9 L29 17 22 25 M18 7 L14 27" />
</svg>
Current Weather Conditions Text</strong></div><br/>
<div class="stationvalue"><strong>Options</strong></div>
<svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" /></svg>
<label name="currentconditions"></label>
<select id="currentconditions" name="currentconditions" class="chooseapi">
<option ><?php echo $currentconditions ;?></option>
<option>currentconditionsmetar34davis.php</option>
<option>currentconditionsmetar34.php</option>
<option>currentconditionsds.php</option>
</select>
<br/>
<span style="color:#777">
<?php echo $iicon;?> <span style="color:rgba(86, 95, 103, 1.000);">currentconditionsmetar34davis.php</span> <strong>*New*</strong> for Davis owners. <strong>English Only.</strong> Outputs Davis forecast console text. Also uses Nearby Metar Aviation Weather Options must get API key and insert into option near bottom of this setup screen.*requires meteobridge reboot <br/>
<br/>
<?php echo $iicon;?> <span style="color:rgba(86, 95, 103, 1.000);">currentconditionsmetar34.php</span> uses Nearby Metar Aviation Weather Options must get API key and insert into option near bottom of this setup screen.<br/>
<br/>
<?php echo $iicon;?> <span style="color:rgba(86, 95, 103, 1.000);">currentconditionsds.php</span> uses DarkSky must get API key and insert into option near bottom of this setup screen.</strong></span></span>
</div>
<br/>
<!--##########################################################################################
######### Start of Station Name Sidebar #########
##########################################################################################-->
<div class="weatheroptionssidebar"> try and keep these short dont include full country try a short code
<br/><br/>
<svg id="i-alert" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M16 3 L30 29 2 29 Z M16 11 L16 19 M16 23 L16 25" /> </svg>
Web App Name should be less than 10 characters long. If you exceed 10 characters, the excess will be replaced with ... on Android or iPhone.
</div>
<div class="weatherbottominfo"></div>
<!--##########################################################################################
######### Start of Station Name Section #########
##########################################################################################-->
<div class="weatheroptions">
<div class="weathersectiontitle">
<svg id="i-location" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<circle cx="16" cy="11" r="4" />
<path d="M24 15 C21 22 16 30 16 30 16 30 11 22 8 15 5 8 10 2 16 2 22 2 27 8 24 15 Z" />
</svg>
Station Names</div><br/>
<div class="stationvalue"> Station Location</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg>
<input name="stationlocation" type="text" id="stationlocation" value="<?php echo $stationlocation ;?>" class="chooseapi">
<br/>
<div class="stationvalue"> Station Name</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg>
<input name="stationName" type="text" id="stationName" value="<?php echo $stationName ;?>" class="chooseapi">
<br/>
<div class="stationvalue">Web App Name</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg>
<input name="manifestShortName" type="text" id="manifestShortName" value="<?php echo $manifestShortName ;?>" class="chooseapi">
</div>
<br/>
<!--##########################################################################################
######### Start of Location Info Section #########
##########################################################################################-->
<div class="weatheroptionssidebar">Here is the area where you set your Lat/Lon with timezone + UTC offset , for timezone you can check
<a href="http://php.net/manual/en/timezones.php" title="http://php.net/manual/en/timezones.php" target="_blank"> the official php timezone documented page</a>
<br/><br/>
<strong>Lat</strong> 54.00000 <strong>Lon</strong> -22.00000<br/><br/>
<strong>UTC</strong> offset use single number like -2,-4,1,2,3,4 etc <br/>do not use -01,0-04,01 ,02,03, 04 etc <br/>
</div>
<!--##########################################################################################
######### Start of Location Info Section #########
##########################################################################################-->
<div class="weatheroptions">
<div class="weathersectiontitle">
<svg id="i-location" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<circle cx="16" cy="11" r="4" />
<path d="M24 15 C21 22 16 30 16 30 16 30 11 22 8 15 5 8 10 2 16 2 22 2 27 8 24 15 Z" />
</svg>
Location Information
</div><br/>
<div class="stationvalue">Timezone</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg>
<input name="TZ" type="text" id="TZ" value="<?php echo $TZ ;?>" class="choose">
<div class="stationvalue">UTC Offset</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg>
<input name="UTC" type="text" id="UTC" value="<?php echo $UTC ;?>" class="choose">
<br/>
<div class="stationvalue">Latitude</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg>
<input name="lat" type="text" id="lat" value="<?php echo $lat ;?>" class="choose">
<div class="stationvalue">Longitude</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg>
<input name="lon" type="lon" id="lon" value="<?php echo $lon ;?>" class="choose">
<br/>
<div class="stationvalue">Elevation</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg>
<input name="elevation" type="text" id="elevation" value="<?php echo $elevation ;?>" class="choose">
</div>
<br/>
<br/><br/><br/>
<!--##########################################################################################
######### Start of Units Sidebar #########
##########################################################################################-->
<div class="weatheroptionssidebar"><svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg> Set the units for the main page display and modules it is connected to the
unit selector in the menu
<div class="weatherbottominfo">
<svg id="i-checkmark" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M2 20 L12 28 30 4" />
</svg>
double check again
</div>
</div>
<!--##########################################################################################
######### Start of Units Section #########
##########################################################################################-->
<div class="weatheroptions">
<div class="weathersectiontitle">
<svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
<circle cx="16" cy="16" r="4" />
</svg>
Units Selection</div><br/>
<label name="unit"></label>
<div class="stationvalue">Units</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="unit" name="unit" class="choose1">
<option><?php echo $unit ;?></option>
<option>metric</option>
<option>english</option>
</select>
<label name="metric"></label>
<div class="stationvalue">Metric</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="metric" name="metric" class="choose1">
<option <?php if($metric=="false") echo "selected"; ?> >false</option>
<option <?php if($metric=="true") echo "selected"; ?> >true</option>
</select>
<span style="color:#777;"> set: <?php echo $iicon;?> true=metric , <?php echo $iicon;?> false=non metric</span>
<br/>
<label name="windunit"></label>
<div class="stationvalue">Wind Unit</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="windunit" name="windunit" class="choose1">
<option><?php echo $windunit ;?></option>
<option>km/h</option>
<option>mph</option>
<option>m/s</option>
<option>kts</option>
</select>
<label name="tempunit"></label>
<div class="stationvalue">Temperature Unit</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="tempunit" name="tempunit" class="choose1">
<option><?php echo $tempunit ;?></option>
<option>C</option>
<option>F</option>
</select>
<br/>
<label name="rainunit"></label>
<div class="stationvalue">Rain Unit </div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="rainunit" name="rainunit" class="choose1">
<option><?php echo $rainunit ;?></option>
<option>mm</option>
<option>in</option>
</select>
<label name="rainrate"></label>
<div class="stationvalue">Rain Rate (per Hr/Min)</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="rainrate" name="rainrate" class="choose1">
<option><?php echo $rainrate ;?></option>
<option>/h</option>
<option>/m</option>
</select>
<br/>
<label name="pressureunit"></label>
<div class="stationvalue">Barometer Unit</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="pressureunit" name="pressureunit" class="choose1">
<option><?php echo $pressureunit ;?></option>
<option>mb</option>
<option>hPa</option>
<option>inHg</option>
</select>
<br/>
<label name="distanceunit"></label>
<div class="stationvalue">Distance unit measured miles or kilometres</div> <svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="distanceunit" name="distanceunit" class="choose1">
<option><?php echo $distanceunit ;?></option>
<option>mi</option>
<option>km</option>
</select>
</div>
<br/>
<!--##########################################################################################
######### Start of Theming Sidebar #########
##########################################################################################-->
<div class="weatheroptionssidebar"><svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg> Here you can set (2 choices)the default theme dark or light option<br />
and set the default display unit
<div class="weatherbottominfo">
<svg id="i-checkmark" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M2 20 L12 28 30 4" />
</svg>
check unit(s)
</div>
</div>
<!--##########################################################################################
######### Start of Theming Section #########
##########################################################################################-->
<div class="weatheroptions">
<div class="weathersectiontitle">
<svg id="i-settings" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M13 2 L13 6 11 7 8 4 4 8 7 11 6 13 2 13 2 19 6 19 7 21 4 24 8 28 11 25 13 26 13 30 19 30 19 26 21 25 24 28 28 24 25 21 26 19 30 19 30 13 26 13 25 11 28 8 24 4 21 7 19 6 19 2 Z" />
<circle cx="16" cy="16" r="4" />
</svg>
Theme Selection</div><br/>
<div class="stationvalue"> Default Theme Colour</div>
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg><svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="#777" stroke="#777" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<label name="theme1"></label>
<select id="theme1" name="theme1" class="choose1">
<option><?php echo $theme1 ;?></option>
<option>dark</option>
<option>light</option>
</select>
<span style="color:#777;"> set: <svg id="i-info" viewBox="0 0 32 32" width="10" height="10" fill="#25292D" stroke="rgba(230, 232, 239, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="16.25%">
<path d="M16 14 L16 23 M16 8 L16 10" /><circle cx="16" cy="16" r="14" /></svg> dark, <svg id="i-info" viewBox="0 0 32 32" width="10" height="10" fill="rgba(144, 177, 42, 1.000)" stroke="rgba(230, 232, 239, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="16.25%">
<path d="M16 14 L16 23 M16 8 L16 10" /><circle cx="16" cy="16" r="14" /></svg> light</span>
</div>
<br/>
<!--##########################################################################################
######### Start of Notify Sidebar #########
##########################################################################################-->
<div class="weatheroptionssidebar">
<svg id="i-chevron-right" viewBox="0 0 32 32" width="14" height="14" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M12 30 L24 16 12 2" />
</svg>
Selection which notifications to show
<br/><br/>
<svg id="i-info" viewBox="0 0 32 32" width="10" height="10" fill="rgba(102, 188, 199, 1.000)" stroke="rgba(102, 188, 199, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="16.25%">
<path d="M16 14 L16 23 M16 8 L16 10" />
<circle cx="16" cy="16" r="14" />