-
Notifications
You must be signed in to change notification settings - Fork 0
/
consolecharts-2019.php
executable file
·92 lines (86 loc) · 5.02 KB
/
consolecharts-2019.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
<?php include_once('livedata.php');include_once('updater6.php');date_default_timezone_set($TZ);?>
<!DOCTYPE html><html><head>
<title> <?php echo $stationName;?> Console Charts</title>
<meta name="title" content="<?php echo $stationName;?> Console Charts">
<meta name="description" content="Charts for <?php echo $stationName;?>">
<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=yes">
<meta name="mobile-web-app-capable" content="yes">
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#01a4b4">
<meta name="apple-mobile-web-app-title" content="Weather34 Console Charts">
<meta name="application-name" content="Weather34 Console Charts">
<link rel="apple-touch-icon" sizes="57x57" href="appicons/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="appicons/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="appicons/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="appicons/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="appicons/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="appicons/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="appicons/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="appicons/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="appicons/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="appicons/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="appicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="appicons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="appicons/favicon-16x16.png">
<link rel="manifest" href="site.webmanifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="appicons/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<meta name="msapplication-TileColor" content="#f8f8f8">
<link href="console-<?php echo $theme?>.css?version=<?php echo filemtime('console-'.$theme.'.css')?>" rel="stylesheet prefetch">
<link rel="preload" href="fonts/clock3-webfont.woff" as="font" type="font/woff" crossorigin>
<link rel="preload" href="fonts/verbatim-regular.woff" as="font" type="font/woff" crossorigin>
<link rel="preload" href="fonts/verbatim-medium.woff" as="font" type="font/woff" crossorigin>
<link rel="preload" href="fonts/HelveticaNeue-Medium.woff" as="font" type="font/woff" crossorigin>
<script>function pageLoaded() {document.querySelector("body").style.opacity = 1;}window.onload = pageLoaded;</script>
</head>
<body>
<!-- weather34 NANOSD console flex layout -->
<div class="weather34-tablet">
<div class="fade-in">
<div class="container">
<div class="nav-top">
<div class="weather34-indoor"><?php echo $timeicon?> <div id="weather34clock4"></div>
<div class="desktoplink4"><?php echo $chartcalendar?> 2019 Charts</div></div>
<div class="desktoplink3"><?php echo $headerlocation; echo $stationName?>
<div class="online"><?php if(file_exists($livedata)&&time()- filemtime($livedata)>300)echo $wirelessoffline;else echo $wireless?></div>
</div></div>
<ul class="grid-container">
<li><div id=temperature></div></li>
<li><div id=dewpoint></div></li>
<li><div id=barometer></div></li>
<li><div id=rain></div></li>
<li><div id=wind></div></li>
<li><div id=gust></div></li>
<li2><div id=moon></div></li2>
<li2><div id=sun></div></li2>
<li2><div id=time-date></div></li2>
</ul>
<div class="nav-bottom-charts2">
<a href="index.php" data-title="Dashboard"><?php echo $backtohome?></a>
<a href="consolecharts.php" data-title="<?php echo strftime("%A" );?> Charts">
<?php echo $weather34chart2?>
<span style="position:relative;top:-8px"><?php echo strftime("%A" );?></span></a>
<a href="consolecharts-month.php" data-title="<?php echo strftime("%B");?> Charts">
<?php echo $weather34chart2?>
<span style="position:relative;top:-8px"><?php echo strftime("%B");?></span></a>
<a href="consolecharts-year.php" data-title="<?php echo strftime("%Y");?> Charts">
<?php echo $weather34chart2?>
<span style="position:relative;top:-8px"><?php echo strftime("%Y");?></span></a>
<chartpage>
<?php echo $maxclock." " ;
//last year
$time = strtotime("-1 year", time());
$lastyear = date("Y", $time);
$dayfile=$lastyear;$forecastime=filemtime('weather34charts/'.$dayfile.'.csv');echo strftime("%A %d %B %Y %l:%M",$forecastime);
?></chartpage>
<div class="weather34-rightfootericons">
<?php
//weather34 smart tv option
if ($smarttv=='yes'){echo ' <a href="weather34-tv.php" data-title="Smart TV">'. $weather34smtv.'</a>';}?>
<a href="weather34-template-legend.php" data-lity data-title="Hardware Info">
<?php echo $weather34hinfo;?></a>
<a href="info.html" data-lity data-title="Template info">
<?php echo $weather34copyr;?></a>
<a href="consolecharts-2019.php" data-title="Refresh">
<?php echo $weather34refr?></a></div>
</body></html>