-
Notifications
You must be signed in to change notification settings - Fork 0
/
console-setup.php
executable file
·1443 lines (1161 loc) · 119 KB
/
console-setup.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('console-settings.php');
$weather34tvicon='<svg width="18pt" height="18pt" viewBox="0 0 512 512" version="weather34 smart tv icon">
<g id="#00a4b4"><path fill="#00a4b4" opacity="1.00" d=" M 34.18 52.19 C 38.04 49.11 43.05 47.89 47.93 48.00 C 186.98 48.02 326.04 47.97 465.09 48.02 C 476.40 47.50 486.34 57.77 485.97 68.99 C 486.04 165.65 485.99 262.32 485.99 358.99 C 486.20 366.47 482.38 374.01 475.83 377.78 C 471.70 380.37 466.69 380.76 461.94 380.65 C 433.86 380.50 405.76 380.87 377.68 380.46 C 378.40 391.28 377.80 402.16 378.00 413.00 C 400.00 413.00 422.00 413.00 444.00 413.00 C 444.00 416.33 444.00 419.66 444.00 423.00 C 318.67 423.00 193.33 423.00 68.00 423.00 C 68.00 419.66 68.00 416.33 68.00 413.00 C 90.67 413.00 113.33 413.00 136.00 413.00 C 136.20 402.16 135.59 391.28 136.32 380.46 C 107.22 380.87 78.10 380.50 49.00 380.65 C 43.65 380.83 38.03 379.70 33.84 376.18 C 28.67 372.13 25.88 365.54 26.01 359.03 C 25.99 262.65 26.00 166.28 26.01 69.90 C 25.80 63.15 28.71 56.27 34.18 52.19 M 53.06 75.72 C 53.06 149.64 53.06 223.56 53.06 297.47 C 188.35 297.47 323.65 297.48 458.94 297.47 C 458.94 223.55 458.94 149.64 458.94 75.72 C 323.65 75.72 188.35 75.72 53.06 75.72 M 64.27 324.27 C 57.22 325.89 51.68 332.68 51.91 339.97 C 51.57 348.56 59.36 356.39 67.95 356.09 C 76.93 356.48 84.95 347.97 84.07 339.02 C 83.88 329.35 73.60 321.79 64.27 324.27 M 110.36 324.46 C 102.96 326.05 97.42 333.47 98.09 341.03 C 98.39 349.57 106.57 356.74 115.08 355.91 C 123.99 355.58 131.25 346.68 129.81 337.89 C 128.88 328.83 119.17 322.13 110.36 324.46 M 151.69 380.46 C 152.40 391.28 151.81 402.16 152.00 413.00 C 222.00 413.00 292.00 413.00 362.00 413.00 C 362.20 402.16 361.59 391.28 362.32 380.46 C 348.57 380.86 334.81 380.52 321.06 380.63 C 305.05 380.37 289.06 381.24 273.04 381.00 C 251.70 380.83 230.33 381.38 209.00 380.62 C 189.90 380.53 170.79 380.85 151.69 380.46 Z" />
</g><g id="#b0a9a5">
<path fill="#b0a9a5" opacity="1.00" d=" M 80.13 94.10 C 91.35 89.76 104.38 91.01 115.32 95.64 C 113.83 99.59 112.31 103.54 110.85 107.50 C 104.66 104.63 97.70 103.36 90.90 103.99 C 87.57 104.24 83.56 106.24 83.60 110.08 C 83.52 113.43 86.60 115.41 89.25 116.73 C 97.00 120.52 106.28 121.89 112.43 128.44 C 117.91 133.98 117.89 142.98 114.83 149.73 C 111.63 156.60 104.07 160.03 96.89 160.88 C 87.05 161.99 76.93 160.66 67.66 157.22 C 69.20 153.22 70.80 149.23 72.32 145.22 C 80.53 148.47 90.00 150.60 98.58 147.53 C 103.20 146.23 104.15 139.29 100.03 136.81 C 92.31 131.67 82.15 131.20 75.20 124.72 C 65.57 116.63 68.24 98.67 80.13 94.10 Z" />
<path fill="#b0a9a5" opacity="1.00" d=" M 313.44 102.69 C 317.92 101.50 322.41 100.32 326.89 99.13 C 326.90 102.62 326.89 106.11 326.89 109.60 C 331.40 109.60 335.91 109.60 340.42 109.60 C 340.42 113.34 340.42 117.09 340.43 120.83 C 335.92 120.83 331.41 120.83 326.90 120.83 C 326.95 127.55 326.78 134.28 326.98 140.99 C 327.17 143.80 327.34 147.29 330.02 148.93 C 333.24 150.29 336.73 149.19 339.90 148.30 C 340.79 151.65 341.73 154.98 342.64 158.32 C 335.71 160.93 327.85 162.89 320.63 160.29 C 315.75 158.53 313.71 153.09 313.56 148.28 C 313.28 139.14 313.52 129.98 313.44 120.84 C 310.88 120.83 308.32 120.83 305.77 120.83 C 305.76 117.09 305.76 113.34 305.77 109.60 C 308.32 109.60 310.88 109.60 313.44 109.59 C 313.44 107.29 313.44 104.99 313.44 102.69 Z" />
<path fill="#b0a9a5" opacity="1.00" d=" M 148.83 109.74 C 153.84 107.77 159.91 107.52 164.65 110.33 C 167.45 112.06 168.98 115.07 170.41 117.91 C 173.50 113.22 178.07 109.01 183.90 108.45 C 189.22 107.85 195.67 108.30 199.32 112.77 C 202.80 117.39 203.03 123.48 203.27 129.03 C 203.40 139.35 203.29 149.68 203.32 160.00 C 198.85 160.00 194.37 160.00 189.89 160.00 C 189.81 149.97 190.07 139.93 189.75 129.90 C 189.45 126.72 189.18 122.66 186.03 120.95 C 180.18 118.10 172.12 122.19 171.88 128.92 C 171.78 139.28 171.88 149.64 171.85 160.00 C 167.36 160.00 162.88 160.00 158.39 160.00 C 158.35 150.33 158.50 140.66 158.32 131.00 C 157.99 127.58 158.05 123.23 154.86 121.09 C 149.30 118.15 141.30 121.77 140.39 128.11 C 140.30 138.74 140.39 149.37 140.36 160.00 C 135.87 160.00 131.39 160.00 126.91 160.00 C 126.91 143.20 126.91 126.40 126.91 109.60 C 130.37 109.60 133.83 109.60 137.28 109.60 C 137.82 112.08 138.36 114.57 138.95 117.04 C 142.24 114.61 144.86 111.16 148.83 109.74 Z" />
<path fill="#b0a9a5" opacity="1.00" d=" M 217.42 113.10 C 225.15 109.90 233.58 108.62 241.92 108.70 C 246.76 108.80 252.06 109.78 255.52 113.45 C 258.63 116.81 259.45 121.57 259.53 125.98 C 259.56 137.35 257.42 148.99 260.82 160.09 C 257.17 160.10 253.53 160.10 249.89 160.10 C 249.10 157.39 248.31 154.68 247.28 152.05 C 244.22 155.16 241.08 158.55 236.73 159.79 C 230.64 161.50 223.36 161.04 218.47 156.66 C 211.05 150.06 212.94 136.14 221.94 131.85 C 229.43 128.19 238.13 128.57 246.15 129.91 C 246.32 126.51 246.75 121.58 242.73 120.22 C 235.45 118.21 227.75 120.39 220.96 123.18 C 219.80 119.82 218.62 116.45 217.42 113.10 M 230.39 138.42 C 226.41 140.86 227.14 147.74 231.52 149.33 C 236.33 151.04 242.07 149.19 245.06 145.05 C 246.82 143.00 245.91 140.09 246.17 137.64 C 241.02 136.66 235.16 135.62 230.39 138.42 Z" />
<path fill="#b0a9a5" opacity="1.00" d=" M 292.84 109.80 C 296.51 107.95 300.75 108.43 304.59 109.40 C 303.98 113.53 303.31 117.65 302.72 121.78 C 298.52 120.82 293.66 120.34 289.97 123.04 C 287.77 124.61 286.13 127.20 286.35 129.99 C 286.35 139.99 286.36 150.00 286.36 160.00 C 281.87 160.00 277.39 160.00 272.91 160.00 C 272.91 143.20 272.91 126.40 272.91 109.60 C 276.43 109.60 279.95 109.59 283.46 109.60 C 283.94 112.19 284.43 114.81 285.55 117.21 C 287.57 114.41 289.52 111.21 292.84 109.80 Z" />
<path fill="#b0a9a5" opacity="1.00" d=" M 263.47 199.46 C 263.46 194.17 263.46 188.88 263.47 183.60 C 294.57 183.56 325.67 183.66 356.77 183.60 C 362.49 198.70 368.18 213.81 373.94 228.90 C 376.55 234.96 376.45 241.71 378.16 248.02 C 379.96 241.71 380.10 234.99 382.56 228.86 C 388.07 213.79 393.49 198.68 398.97 183.60 C 405.31 183.60 411.66 183.60 418.00 183.60 C 406.51 212.27 394.98 240.94 383.49 269.61 C 379.17 269.62 374.85 269.62 370.54 269.61 C 359.67 242.73 348.83 215.83 337.93 188.96 C 337.35 187.48 336.97 185.95 336.78 184.37 C 334.56 189.02 336.17 194.47 335.69 199.46 C 326.66 199.46 317.63 199.45 308.60 199.46 C 308.61 222.64 308.59 245.82 308.61 268.99 C 302.59 269.01 296.57 269.00 290.55 269.00 C 290.54 245.82 290.55 222.64 290.54 199.46 C 281.52 199.46 272.49 199.46 263.47 199.46 Z" />
<path fill="#b0a9a5" opacity="1.00" d=" M 64.27 324.27 C 73.60 321.79 83.88 329.35 84.07 339.02 C 84.95 347.97 76.93 356.48 67.95 356.09 C 59.36 356.39 51.57 348.56 51.91 339.97 C 51.68 332.68 57.22 325.89 64.27 324.27 Z" />
</g><g id="#8d8d8d">
<path fill="#8d8d8d" opacity="1.00" d=" M 110.36 324.46 C 119.17 322.13 128.88 328.83 129.81 337.89 C 131.25 346.68 123.99 355.58 115.08 355.91 C 106.57 356.74 98.39 349.57 98.09 341.03 C 97.42 333.47 102.96 326.05 110.36 324.46 Z" />
</g></svg>
';
if (isset($_POST["Submit"])) {
$string = '<?php
$unit = "' . $_POST["unit"] . '";
$metric = ' . $_POST["metric"] . ';
$windunit = "' . $_POST["windunit"] . '";
$distanceunit = "' . $_POST["distanceunit"] . '";
$tempunit = "' . $_POST["tempunit"] . '";
$rainunit = "' . $_POST["rainunit"] . '";
$rainrate = "' . $_POST["rainrate"] . '";
$pressureunit = "' . $_POST["pressureunit"] . '";
$livedataFormat = "' . $_POST["livedataFormat"] . '";
$livedata = "' . $_POST["livedata"] . '";
$dateFormat = "' . $_POST["dateFormat"] . '";
$password = "' . $_POST['password'] . '";
$display2019 = "' . $_POST['display2019'] . '";
$smarttv = "' . $_POST['smarttv'] . '";
$notifications = "' . $_POST['notifications'] . '";
$webcamdevice = "' . $_POST['webcamdevice'] . '";
$position1 = "' . $_POST['position1'] . '";
$position2 = "' . $_POST['position2'] . '";
$position3 = "' . $_POST['position3'] . '";
$position4 = "' . $_POST['position4'] . '";
$position5 = "' . $_POST['position5'] . '";
$position6 = "' . $_POST['position6'] . '";
$position7 = "' . $_POST['position7'] . '";
$position8 = "' . $_POST['position8'] . '";
$position9 = "' . $_POST['position9'] . '";
$position10 = "' . $_POST['position10'] . '";
$position11 = "' . $_POST['position11'] . '";
$position12 = "' . $_POST['position12'] . '";
$position13 = "' . $_POST['position13'] . '";
$chartoption = "' . $_POST['chartoption'] . '";
$chartoption2 = "' . $_POST['chartoption2'] . '";
$defaultlanguage = "' . $_POST["defaultlanguage"] . '";
$defaultlanguage2 = "' . $_POST["defaultlanguage2"] . '";
$languages = "' . $_POST["languages"] . '";
$stationName = "' . $_POST["stationName"] . '";
$theme = "' . $_POST["theme"] . '";
$TZ = "' . $_POST["TZ"] . '";
$lon = ' . $_POST["lon"] . ';
$lat = ' . $_POST["lat"] . ';
$UTC = "' . $_POST["UTC"] . '";
$clockformat = "' . $_POST["clockformat"] . '";
$hemisphere = "' . $_POST["hemisphere"] . '";
$webcamurl = "' . $_POST["webcamurl"] . '";
$displayalmanac = "' . $_POST['displayalmanac'] . '";
$uvsensor = "' . $_POST['uvsensor'] . '";
$mbyear = "' . $_POST['mbyear'] . '";
$mbplatform = "' . $_POST["mbplatform"] . '";
$brand = "' . $_POST["brand"] . '";
$model = "' . $_POST["model"] . '";
$installed = "' . $_POST["installed"] . '";
$wuapikey = "' . $_POST["wuapikey"] . '";
$wuapiunit = "' . $_POST["wuapiunit"] . '";
$purpleairID = "' . $_POST["purpleair"] . '";
$purpleairhardware = "' . $_POST["purpleairhardware"] . '";
$wulanguage = "' . $_POST['wulanguage'] . '";
';
$fp = FOPEN("console-settings.php", "w") or die("Unable to open console-settings.php file check file permissions !");
FWRITE($fp, $string);
FCLOSE($fp);
}
?>
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon">
<link href="favicon.ico" rel="icon" type="image/x-icon">
<style>
@font-face{font-family:clock;src:url(fonts/clock3-webfont.woff) format("woff")}@font-face{font-family:weathertext3;src:url(fonts/verbatim-regular.woff) format("woff")}
@font-face{font-family:weathertext2;src:url(fonts/verbatim-medium.woff) format("woff")}
@font-face{font-family:headingtext;src:url(fonts/HelveticaNeue-Medium.woff) format("woff")}
body{font-family:headingtext;margin:0 auto;color:#aeb6bf;background:#141418;width:100%;max-width:1024px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-moz-font-smoothing:unset;-moz-osx-font-smoothing:grayscale;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}h1{color:rgba(86,95,103,1);font-size:24px;margin-bottom:10px;font-weight:700;margin:10px 0}h2{color:rgba(86,95,103,1);font-size:20px;margin-bottom:10px;font-weight:700;margin:10px 0}h3{color:silver;font-size:14px;margin-bottom:20px;font-weight:700;margin:20px 0}.weathersetuptitle{font-size:18px;text-align:center;font-weight:200;font-family:Arial,Helvetica,sans-serif;padding:5px;border:0;background:rgba(67,58,80,1);border-radius:5px;color:#fff;width:600px;margin:0 auto;border:0;border:1px solid silver}.theframe1{font-size:14px;font-family:Arial,Helvetica,sans-serif;color:#fff;border:0 solid silver;margin:0 auto;margin-top:10px;margin-bottom:10px;width:1024px;background:0;padding:5px;border-radius:4px}.theframe{font-size:14px;font-family:Arial,Helvetica,sans-serif;color:#fff;border:1px solid rgba(7,114,125,1,.4);margin:0 auto;margin-top:10px;margin-bottom:10px;width:960px;font-family:headingtext;margin:0 auto;color:#aeb6bf;background:#141418;width:100%;max-width:1024px;padding:5px;border-radius:4px;-webkit-box-shadow:4px 7px 20px -5px rgba(0,0,0,.75);-moz-box-shadow:4px 7px 20px -5px rgba(0,0,0,.75);box-shadow:4px 7px 20px -5px rgba(0,0,0,.75)}.weatheroptions{margin:5px;padding:10px;border-radius:4px;border:1px solid #3d464d;border-bottom:18px solid #3d464d;width:95%}.weatheroptionssidebar{display:none}.weatheroptionssidebarbottom{display:none}.weatherbottominfo{position:absolute;font-size:12px;color:silver;padding:3px;margin-top:3px}.weatherbottomwarning{position:absolute;font-size:12px;color:silver;padding:3px;margin-top:7px}.weatheroptions .button{background:rgba(240,94,64,1);border-radius:4px;padding:5px;font-size:16px;color:#fff;font-family:Arial,Helvetica,sans-serif;border:0;outline:0;-webkit-appearance:none}
.weatheroptions .choose{background:rgba(7,114,125,1);border-radius:4px;padding:5px;padding-right:10px;font-size:14px;color:#fff;font-family:Arial,Helvetica,sans-serif;
border:0;width:200px;max-width:400px;outline:0;-webkit-appearance:none;text-align:left;margin-bottom:5px;}
.weatheroptions .choose1{background:rgba(7,114,125,1);border-radius:3px;padding:5px;padding-right:10px;font-size:14px;color:#fff;font-family:Arial,Helvetica,sans-serif;
border:0;width:130px;outline:0;-webkit-appearance:none;margin-bottom:5px;}
.weatheroptions .choose2{background:rgba(86,95,103,1);border-radius:3px;padding:5px;padding-right:10px;font-size:14px;color:#fff;font-family:Arial,Helvetica,sans-serif;
border:0;width:100px;outline:0;-webkit-appearance:none;margin-bottom:5px;}
.weatheroptions .chooseapi{background:rgba(7,114,125,1);border-radius:4px;padding:5px;padding-right:10px;font-size:14px;color:#fff;font-family:Arial,Helvetica,sans-serif;
border:0;width:300px;outline:0;-webkit-appearance:none;text-align:left;margin-bottom:5px;}
.weatheroptions .personal{background:rgba(7,114,125,1);border-radius:4px;padding:5px;padding-right:10px;font-size:14px;color:#fff;font-family:Arial,Helvetica,sans-serif;
border:0;width:99%;outline:0;-webkit-appearance:none;text-align:left;margin-bottom:5px;}
.weatheroptions .stationvalue{background:rgba(86,95,103,1);border-radius:3px;padding:5px;font-size:14px;color:#fff;font-family:Arial,Helvetica,sans-serif;border:0;outline:0;display:inline-block;-webkit-appearance:none}.weatheroptions .stationvalue1{background:silver;border-radius:3px;padding:5px;font-size:14px;color:#fff;font-family:Arial,Helvetica,sans-serif;border:0;outline:0;display:inline-block;-webkit-appearance:none}.weathersectiontitle{background:silver;border-radius:4px;padding:5px;font-size:14px;color:#fff;font-family:Arial,Helvetica,sans-serif;border:0;outline:0;margin:5px;display:inline-block;-webkit-appearance:none;background:#444}.weatheroptions a{font-size:14px;color:rgba(86,95,103,1);font-family:Arial,Helvetica,sans-serif;border:0;text-transform:none;outline:0;-webkit-appearance:none}a{font-size:14px;color:rgba(86,95,103,1);font-family:Arial,Helvetica,sans-serif;border:0;text-transform:none;outline:0;-webkit-appearance:none}#weatherpopupcontainer{width:960px;margin:auto;padding:30px}p{margin-bottom:20px;line-height:24px}#hover{position:fixed;background:#fff;width:100%;height:100%;opacity:.6}#weatherpopup{position:fixed;width:600px;height:320px;background:#fff;left:50%;top:25%;border-radius:5px;padding:60px 0;margin-left:-320px;margin-top:-100px;text-align:center;border:1px solid #e9ebf1;border-bottom:23px solid rgba(40,39,39,.7);color:#fff;padding:10px}.weatherpopupbottom{margin-top:55px;padding:10px;float:left;color:#fff;position:absolute;font-size:11px}#close{position:absolute;background:#fff;color:#fff;right:-10px;top:-10px;border-radius:50%;width:30px;height:30px;line-height:30px;text-align:center;font-size:14px;font-weight:700;font-family:Arial,Arial,sans-serif;cursor:pointer}body{font-family:headingtext;margin:0 auto;color:#aeb6bf;background:#141418;width:100%;max-width:1024px}.seperator{width:700px;border-top:1px #ddd dotted;margin-top:5px;padding:10px}*{box-sizing:border-box}:focus{outline:0}.login{margin:0 auto;width:300px;background-color:none}a{font-size:12px;text-transform:none;text-decoration:none;color:silver}a:hover{color:#7bbb28}.login-screen{background-color:none;padding:20px;border-radius:5px;margin:0 auto}.app-title{text-align:center;color:silver;background-color:none}.login-form{text-align:center;background-color:none}.control-group{margin-bottom:10px}input{text-align:center;background-color:silver;border:2px solid transparent;border-radius:3px;font-size:16px;font-weight:200;padding:10px 0;width:250px;transition:border .5s;color:#fff;border:2px solid rgba(86,95,103,1);box-shadow:none;margin:0 auto;margin-top:10px}input:focus{border:2px solid rgba(86,95,103,1);box-shadow:none}.btn{border:2px solid transparent;background:rgba(86,95,103,1);color:#fff;font-size:16px;line-height:25px;padding:10px 0;text-decoration:none;text-shadow:none;border-radius:3px;box-shadow:none;transition:.25s;display:block;width:150px;margin:10px;text-align:center;-webkit-appearance:none}.btn:hover{background-color:rgba(86,95,103,1)}.login-link{font-size:12px;color:#444;display:block;margin-top:12px}.loginformarea{margin:0 auto;text-align:center;font-size:16px}orange{color:rgba(236,87,27,1)}green{color:rgba(67,58,80,1)}blue{color:rgba(67,58,80,1)}img{border-radius:4px}white{color:#fff}.input-button,.modal-button{font-size:18px;padding:10px 40px}.input-block input,.input-button,.modal-button{font-family:Arial,sans-serif;border:1px solid #ccc}.icon-button,.input-block input,.input-button,.modal-button{outline:0;cursor:pointer}.modal-button{color:#f5f5f5;border-radius:5px;background:#2095a7;width:120px;text-align:center}.modal-button:hover{border-color:rgba(255,255,255,.2);background:rgba(144,177,42,1);color:#f8f8f8}.input-button{color:#7d695e;border-radius:5px;background:#fff}.input-button:hover{background:rgba(144,177,42,1);color:#fff}.input-label{font-size:11px;text-transform:uppercase;font-family:Arial,sans-serif;font-weight:600;letter-spacing:.7px;color:#8c7569}.input-block{display:flex;flex-direction:column;padding:10px 10px 8px;border:1px solid #ddd;border-radius:4px;margin-bottom:20px}.input-block input{color:#fff;font-size:18px;padding:10px 40px;border-radius:5px;background:rgba(144,177,42,1)}.input-block input::-webkit-input-placeholder{color:silver;opacity:1}.input-block input:-ms-input-placeholder{color:silver;opacity:1}.input-block input::-ms-input-placeholder{color:silver;opacity:1}.input-block input::placeholder{color:silver;opacity:1}.input-block:focus-within{border-color:#8c7569}.input-block:focus-within .input-label{color:rgba(140,117,105,.8)}.icon-button{position:absolute;right:10px;top:12px;width:32px;height:32px;background:0;padding:0}oblue{color:#00a4b4}
.updater a{background:#00a4b4;font-size:18px;color:#ffffff;position:relative;bottom:3px;margin:0 auto;width:300px;border-radius:3px;text-align:center;
padding:10px;}
blue{color:#00adbd }
</style>
</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:silver;border:solid 1px grey;padding:10px;
border-radius:4px;font-size:14px"> <?php echo 'Your Current PHP version is :<oblue><b> ' . phpversion(), '</b></oblue>
<br>'; ?>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" name="pwd">
Enter Your Password To Enter Setup Screen
<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 Console Version <blue>5.34</blue></span></span></span>
<br><br>
<center>
<a href="index.php" alt="return to dashboard" title="return to dashboard"> <?php
$backtohome='<svg width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="#00a4b4" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="#555" d="M0 0h24v24H0z" stroke-width="0"/><rect x="3" y="4" width="18" height="16" rx="3" /><circle cx="9" cy="10" r="2" stroke="#ccc"/><line x1="15" y1="8" x2="17" y2="8" stroke="#777"/><line x1="15" y1="12" x2="17" y2="12" stroke="#777"/>
<line x1="7" y1="16" x2="17" y2="16" stroke="#777"/></svg>';
echo $backtohome ?></a></center>
<?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;font-size:14px">
<?php
$Password = $password;
if (isset($_POST['submit_pwd'])) {
$pass = isset($_POST['passwd']) ? $_POST['passwd'] : '';
if ($pass != $Password) {
showForm("Alternative Weather34 Console Setup");
exit();
}
} else {
showForm("Alternative Weather34 Console Setup");
exit();
}
?>
</div>
<div span style="width:450px;margin:0 auto;margin-top:10px;text-align:center;color:white;background:0;
font-family:arial;padding:20px;border-radius:4px;border:1px solid rgba(74, 99, 111, 0.4);font-size:16px">
<img src='Wxsoft34-app.png' width='80px' style="float:left">
<br>
Welcome you have logged into the <br>WEATHER<oblue>34</oblue> <br>Alternative Console setup screen
</span>
</div>
</div>
</div>
</div>
</div>
<div class="theframe1">
<div class="theframe">
<p>
<form action="" method="post" name="install" id="install">
<div class="weatheroptionssidebar">
<svg id="i-info" viewBox="0 0 32 32" width="10" height="10" fill="rgba(7, 114, 125, 1.000)" stroke="rgba(7, 114, 125, 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> Please setup and password protect this page for later use it is for your privacy and protection.
<br>
<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 password </div>
</div>
<p>
<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>
<p>
<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>
<p>
<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>
<p>
<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="silver" stroke="silver" 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><?php echo $livedataFormat; ?></option>
<option>meteobridge-api</option>
</select>
</p>
<div class="stationvalue">Add Your Path to data file (mbridge/MBrealtimeupload.txt)</div>
<svg id="i-chevron-bottom" viewBox="0 0 32 32" width="10" height="10" fill="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" /></svg><br>
<input name="livedata" type="text" id="livedata" value="<?php echo $livedata; ?>" class="chooseapi">
<br><br>
<strong><svg id="i-info" viewBox="0 0 32 32" width="10" height="10" fill="rgba(7, 114, 125, 1.000)" stroke="rgba(7, 114, 125, 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></strong><span style="color:silver;"> METEOBRIDGE-API path example: http://yourdomain/mbridge/MBrealtimeupload.txt</span><br>
<br>
<strong><svg id="i-info" viewBox="0 0 32 32" width="10" height="10" fill="rgba(7, 114, 125, 1.000)" stroke="rgba(7, 114, 125, 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></strong><span style="color:silver;"> METEOBRIDGE path example: http://yourdomain/mbridge/MBrealtime.txt</span><br>
<br>
<span style="color:silver">
<strong> <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> getting the path correct is essential for live realtime data display (mbridge/MBrealtimeupload.txt)</strong></span>
<p>
<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>
Set the Fixed Metric/English </div>
<p>
<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="silver" stroke="silver" 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="silver" stroke="silver" 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:silver;"> set: <svg id="i-info" viewBox="0 0 32 32" width="10" height="10" fill="rgba(7, 114, 125, 1.000)" stroke="rgba(7, 114, 125, 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> true=metric , <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> false=non metric</span>
<p>
</div>
<p>
<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>
Set the Fixed Units to display </div>
<p>
<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="silver" stroke="silver" 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="silver" stroke="silver" 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><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="silver" stroke="silver" 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="silver" stroke="silver" 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><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="silver" stroke="silver" 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><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="silver" stroke="silver" 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>
<p>
<div class="weathersectiontitle">
<svg id="i-clock" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
<circle cx="16" cy="16" r="14" />
<path d="M16 8 L16 16 20 20" />
</svg> Time format options</span><br>
</div>
<div class="stationvalue">Set the Date Format</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="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<label name="dateFormat"></label>
<select id="dateFormat" name="dateFormat" class="choose1">
<option><?php echo $dateFormat; ?></option>
<option>d-m-Y</option>
<option>m-d-Y</option>
<option>Y-m-d</option>
</select>
<br>
<br>
<div class="stationvalue">Do You have A Webcam ?</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><br>
<select id="webcamdevice" name="webcamdevice" class="choose">
<option><?php echo $webcamdevice; ?></option>
<option>yes</option>
<option>no</option>
</select>
<br><br>
<div class="stationvalue">Webcam Add Your Path/Url to your webcam (i.e https://something.com/webcam.jpg)</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><br>
<input name="webcamurl" type="text" id="webcamurl" value="<?php echo $webcamurl; ?>" class="chooseapi">
<br><br>
<p>
</div>
<div class="weatheroptions">
<div class="weathersectiontitle">
Language options based on ISO Language International Codes</span><br></div>
<br><br>
<div class="stationvalue">
Language Default Display </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="choose">
<option><?php echo $defaultlanguage; ?></option>
<option>en</option>
<option>ca</option>
<option>de</option>
<option>dk</option>
<option>es</option>
<option>fr</option>
<option>it</option>
<option>nl</option>
<option>sv</option>
</select>
<br><br>
<div class="stationvalue">
2 Language Icon Display</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="defaultlanguage2"></label>
<select id="defaultlanguage2" name="defaultlanguage2" class="choose">
<option><?php echo $defaultlanguage2; ?></option>
<option>en</option>
<option>ca</option>
<option>de</option>
<option>dk</option>
<option>es</option>
<option>fr</option>
<option>it</option>
<option>nl</option>
<option>sv</option>
</select>
<br><br>
en=English , ca=Catalan , de=German , dk=Danish , es=Spanish , fr=French , it=Italian , nl=Dutch , sv=Swedish
<br><br>
<div class="stationvalue">Display Language Icons in Footer</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="languages"></label>
<select id="languages" name="languages" class="choose1">
<option><?php echo $languages; ?></option>
<option>yes</option>
<option>no</option>
</select>
<br><br>
</div>
<div class="weatheroptions">
<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 /> <br />
<div class="stationvalue"> 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="theme"></label>
<select id="theme" name="theme" class="choose1">
<option><?php echo $theme; ?></option>
<option>dark</option>
<option>light</option>
</select>
<br><br>
</div>
<div class="weatheroptions">
<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">
<br><br>
<svg id="i-info" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
<path d="M16 14 L16 23 M16 8 L16 10" />
<circle cx="16" cy="16" r="14" /></svg>
use the php timezone document page to help find the correct syntax
<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> <a href="https://www.php.net/manual/en/timezones.php" target="_blank">
<orange>https://www.php.net/manual/en/timezones.php</orange>
</a>
<br><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">
<br><br>
<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="TZ" value="<?php echo $lon; ?>" class="choose">
<br>
<br>
<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">
<p>
<div class="stationvalue">Set the Main Clock Format</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="clockformat"></label>
<select id="clockformat" name="clockformat" class="choose1">
<option><?php echo $clockformat; ?></option>
<option>24</option>
<option>12</option>
</select>
</div>
<p>
<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>
Today Chart Option Last Chart position with 3 options based on your hardware owned.</div>
<br>
<label name="unit"></label>
<div class="stationvalue">choose which file to use</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="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="chartoption" name="chartoption" class="choose">
<option><?php echo $chartoption; ?></option>
<option>todayuvindexmodule.php</option>
<option>todaysolarmodule.php</option>
<option>todayindoormodule.php</option>
</select>
<br>
<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>
Today Chart Option Last Chart position with 2 options when used in potrait mode.</div>
<br>
<label name="unit"></label>
<div class="stationvalue">choose which file to use</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="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="chartoption2" name="chartoption2" class="choose">
<option><?php echo $chartoption2; ?></option>
<option></option>
<option>todaysolarmodule.php</option>
<option>todayindoormodule.php</option>
<option>weather34-clockphone.php</option>
<option>weather34-sun.php</option>
</select>
<br><br>
<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>
Previous Year (2019) Chart Display Option </div>
<br>
<div class="stationvalue">Do You have data for charts from 2019 (2019.CSV)</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="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="display2019" name="display2019" class="choose1">
<option><?php echo $display2019; ?></option>
<option>yes</option>
<option>no</option>
</select>
<P>
<div class="stationvalue">
Reverse the moonphase for southern hemisphere (i.e. Australia etc..)</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>
<select id="hemisphere" name="hemisphere" class="choose1">
<option><?php echo $hemisphere; ?></option>
<option>0</option>
<option>180</option></select>
<br><span style="color:#777;">
<svg id="i-info" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
<path d="M16 14 L16 23 M16 8 L16 10" />
<circle cx="16" cy="16" r="14" /></svg> 0 for northern hemisphere <br>
<svg id="i-info" viewBox="0 0 32 32" width="12" height="12" fill="none" stroke="rgba(86, 95, 103, 1.000)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
<path d="M16 14 L16 23 M16 8 L16 10" />
<circle cx="16" cy="16" r="14" /></svg> 180 for southern hemisphere </span>
<br><br>
<div class="weathersectiontitle">
<?php
$warmalert='<svg id="weather34 warm alert2" width="16pt" height="16pt" fill="#ff552e" viewBox="0 0 20 20">
<path d="M19.64 16.36L11.53 2.3A1.85 1.85 0 0 0 10 1.21 1.85 1.85 0 0 0 8.48 2.3L.36 16.36C-.48 17.81.21 19 1.88 19h16.24c1.67 0
2.36-1.19 1.52-2.64zM11 16H9v-2h2zm0-4H9V6h2z"/></svg>';
echo $warmalert?>
Display Notifications Alerts (yes or no) <br></div>
<br>
<label name="unit"></label>
<div class="stationvalue">Select Yes or No</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="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="notifications" name="notifications" class="choose">
<option><?php echo $notifications ; ?></option>
<option>yes</option>
<option>no</option>
</select>
<br><br>
<div class="weathersectiontitle">
<?php echo $weather34tvicon?> Do You Have a SMART TV (Android TV only) in use <br></div>
<br>
<label name="unit"></label>
<div class="stationvalue">select yes or no to display SMART TV icon with link to SMART TV version</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="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="smarttv" name="smarttv" class="choose">
<option><?php echo $smarttv; ?></option>
<option>yes</option>
<option>no</option>
</select>
<br><br>
<p>
</div>
<p>
<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>
Module Positions (13)</div>
<img src="images/positions.jpg" style="width:35%;float:right;margin-top:50px;margin-right:20px;">
<br>
<label name="unit"></label>
<div class="stationvalue">Position 1 choose which file to use</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="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="position1" name="position1" class="choose">
<option><?php echo $position1; ?></option>
<option>temperaturemod.php</option>
<option>humiditymod.php</option>
<option>dewpointmod.php</option>
<option>windmod.php</option>
<option>directionmod.php</option>
<option>gustmod.php</option>
<option>beaufortmod.php</option>
<option>rainmod.php</option>
<option>barometermod.php</option>
<option>barometermod-mmHG.php</option>
<option>uvindexmod.php</option>
<option>solarmod.php</option>
<option>weather34-indoormod.php</option>
<option>weather34-webcam.php</option>
<option>weather34-sun.php</option>
</select>
<br>
<label name="unit"></label>
<div class="stationvalue">Position 2 choose which file to use</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="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="position2" name="position2" class="choose">
<option><?php echo $position2; ?></option>
<option>temperaturemod.php</option>
<option>humiditymod.php</option>
<option>dewpointmod.php</option>
<option>windmod.php</option>
<option>directionmod.php</option>
<option>gustmod.php</option>
<option>beaufortmod.php</option>
<option>rainmod.php</option>
<option>barometermod.php</option>
<option>barometermod-mmHG.php</option>
<option>uvindexmod.php</option>
<option>solarmod.php</option>
<option>weather34-indoormod.php</option>
<option>weather34-webcam.php</option>
<option>weather34-sun.php</option>
</select>
<br>
<label name="unit"></label>
<div class="stationvalue">Position 3 choose which file to use</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="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="position3" name="position3" class="choose">
<option><?php echo $position3; ?></option>
<option>temperaturemod.php</option>
<option>humiditymod.php</option>
<option>dewpointmod.php</option>
<option>windmod.php</option>
<option>directionmod.php</option>
<option>gustmod.php</option>
<option>beaufortmod.php</option>
<option>rainmod.php</option>
<option>barometermod.php</option>
<option>barometermod-mmHG.php</option>
<option>uvindexmod.php</option>
<option>solarmod.php</option>
<option>weather34-indoormod.php</option>
<option>weather34-webcam.php</option>
<option>weather34-sun.php</option>
</select>
<br>
<label name="unit"></label>
<div class="stationvalue">Position 4 choose which file to use</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="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="position4" name="position4" class="choose">
<option><?php echo $position4; ?></option>
<option>temperaturemod.php</option>
<option>humiditymod.php</option>
<option>dewpointmod.php</option>
<option>windmod.php</option>
<option>directionmod.php</option>
<option>gustmod.php</option>
<option>beaufortmod.php</option>
<option>rainmod.php</option>
<option>barometermod.php</option>
<option>barometermod-mmHG.php</option>
<option>uvindexmod.php</option>
<option>solarmod.php</option>
<option>weather34-indoormod.php</option>
<option>weather34-webcam.php</option>
<option>weather34-sun.php</option>
</select>
<br>
<label name="unit"></label>
<div class="stationvalue">Position 5 choose which file to use</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="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="position5" name="position5" class="choose">
<option><?php echo $position5; ?></option>
<option>temperaturemod.php</option>
<option>humiditymod.php</option>
<option>dewpointmod.php</option>
<option>windmod.php</option>
<option>directionmod.php</option>
<option>gustmod.php</option>
<option>beaufortmod.php</option>
<option>rainmod.php</option>
<option>barometermod.php</option>
<option>barometermod-mmHG.php</option>
<option>uvindexmod.php</option>
<option>solarmod.php</option>
<option>weather34-indoormod.php</option>
<option>weather34-webcam.php</option>
<option>weather34-sun.php</option>
</select>
<br>
<label name="unit"></label>
<div class="stationvalue">Position 6 choose which file to use</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="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="position6" name="position6" class="choose">
<option><?php echo $position6; ?></option>
<option>temperaturemod.php</option>
<option>humiditymod.php</option>
<option>dewpointmod.php</option>
<option>windmod.php</option>
<option>directionmod.php</option>
<option>gustmod.php</option>
<option>beaufortmod.php</option>
<option>rainmod.php</option>
<option>barometermod.php</option>
<option>barometermod-mmHG.php</option>
<option>uvindexmod.php</option>
<option>solarmod.php</option>
<option>weather34-indoormod2.php</option>
<option>weather34-webcam.php</option>
<option>weather34-sun.php</option>
</select>
<br>
<label name="unit"></label>
<div class="stationvalue">Position 7 choose which file to use</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="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="position7" name="position7" class="choose">
<option><?php echo $position7; ?></option>
<option>temperaturemod.php</option>
<option>humiditymod.php</option>
<option>dewpointmod.php</option>
<option>windmod.php</option>
<option>directionmod.php</option>
<option>gustmod.php</option>
<option>beaufortmod.php</option>
<option>rainmod.php</option>
<option>barometermod.php</option>
<option>barometermod-mmHG.php</option>
<option>uvindexmod.php</option>
<option>solarmod.php</option>
<option>weather34-indoormod2.php</option>
<option>weather34-webcam.php</option>
<option>weather34-sun.php</option>
</select>
<br>
<label name="unit"></label>
<div class="stationvalue">Position 8 choose which file to use</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="silver" stroke="silver" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
<path d="M30 12 L16 24 2 12" />
</svg>
<select id="position8" name="position8" class="choose">