Skip to content
Permalink
Browse files

updated to reflect these are original weather34 scripts

  • Loading branch information...
brian underdown brian underdown
brian underdown authored and brian underdown committed Feb 26, 2019
1 parent c6c0d8e commit 20c698f810981ac78660159bbabfeed13a85d069
Showing with 29 additions and 31 deletions.
  1. +1 −1 aqiinfo.php
  2. +1 −1 aurora.php
  3. +2 −2 barometeralmanac.php
  4. +1 −1 eqlist.php
  5. +2 −2 forecastdshour.php
  6. +1 −1 homeindoor.php
  7. +2 −1 metarnearby.php
  8. +1 −1 meteorshowers.php
  9. +1 −1 mooninfo.php
  10. +1 −1 outlookds.php
  11. +6 −6 outlookwu.php
  12. +1 −1 purpleair.php
  13. +1 −2 rainfallalmanac.php
  14. +3 −3 settings.php
  15. +1 −0 shared.php
  16. +1 −2 solaralmanac.php
  17. +1 −2 tempalmanac.php
  18. +1 −2 uvalmanac.php
  19. +1 −1 windalmanac.php
@@ -261,6 +261,6 @@
<div class="weather34browser-footer">
<div class="provided">
&nbsp; <?php echo $info?>
Air Quality data provided by <a href="https://www.airvisual.com/api" title="https://www.airvisual.com/api" target="_blank">https://www.airvisual.com/api</a> <?php echo $info?> CSS/SVG/PHP scripts by <a href="https://weather34.com" title="weather34.com" target="_blank">weather34.com &copy; 2015-<?php echo date('Y');?></a></div>
Air Quality data provided by <a href="https://www.airvisual.com/api" title="https://www.airvisual.com/api" target="_blank">https://www.airvisual.com/api</a> <?php echo $info;?><a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a></div>
</body>
</html>
@@ -154,6 +154,6 @@
<div class="provided">
<a href="https://services.swpc.noaa.gov" title="https://services.swpc.noaa.gov" target="_blank">Data Provided by https://services.swpc.noaa.gov</a>
&nbsp;
<?php echo $info?> CSS/SVG/PHP scripts by <a href="https://weather34.com" title="weather34.com" target="_blank">weather34.com &copy; 2015-<?php echo date('Y');?></a></div>
<?php echo $info;?><a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a></div>
</body>
</html>
@@ -307,7 +307,7 @@

</section>
<div class="provided">
&nbsp;<?php echo $info?>
Barometric Pressure Almanac Meteobridge CSS/SVG/PHP scripts by <a href="https://weather34.com" title="weather34.com" target="_blank">weather34.com &copy; 2015-<?php echo date('Y');?></a></div>
&nbsp;<?php echo $info;?> <a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a>
</div>
</body>
</html>
@@ -1033,7 +1033,7 @@
</section>
<div class="provided"> <?php echo $info?>
<a href="http://earthquake-report.com" title="Earthquake-Report.com" target="_blank">Data © <?php echo date('Y');?> Earthquake-Report.com</a>
&nbsp;<?php echo $info?> CSS/SVG/PHP scripts by <a href="https://weather34.com" title="weather34.com" target="_blank">weather34.com &copy; 2015-<?php echo date('Y');?></a></div>
&nbsp;<?php echo $info;?><a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a></div>
<updated>
<?php echo '<svg viewBox="0 0 32 32" width=7 height=7 fill=#9aba2f stroke=#9aba2f stroke-linecap=round stroke-linejoin=round stroke-width=6.25%><path d="M16 14 L16 23 M16 8 L16 10" /><circle cx=16 cy=16 r=14 /></svg>';
; echo " Last Updated: ".date("H:i:s",filemtime('jsondata/eqnotification.txt'));?>
@@ -73,7 +73,7 @@
$darkskyhourlyPrecipProb = $cond['precipProbability']*100;
if (isset($cond['precipType'])){
$darkskyhourlyPrecipType = $cond['precipType'];}
$darkskyhourlyprecipIntensity = number_format($cond['precipIntensityMax'],1);
$darkskyhourlyprecipIntensity = number_format($cond['precipIntensity'],1);
$darkskyhourlyWindSpeed = round($cond['windSpeed'],0);
$darkskyhourlyWindGust = round($cond['windGust'],0);
if ($hi++ == 10) break;
@@ -97,7 +97,7 @@

<div style="position:absolute;bottom:5px;z-index:9999;font-weight:normal;font-size:10px;color:#aaa;text-decoration:none !important;float:right;font-family:arial;">

&nbsp;&nbsp;data provided by <a href="https://darksky.net/about" title="https://darksky.net" target="_blank">https://darksky.net/</a> -- <?php echo $info;?> <?php echo $scriptcredits ?></div>
&nbsp;&nbsp;data provided by <a href="https://darksky.net/about" title="https://darksky.net" target="_blank">https://darksky.net/</a> -- <?php echo $info;?><a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a></div>
</div>
</body>
</html>
@@ -172,6 +172,6 @@

<div class="provided">
&nbsp;
<?php echo $info?> CSS/SVG/PHP scripts by <a href="https://weather34.com" title="weather34.com" target="_blank">weather34.com &copy; 2015-<?php echo date('Y');?></a></div>
<?php echo $info;?><a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a></div>
</body>
</html>
@@ -292,6 +292,7 @@
</section>
<div class="provided">
&nbsp;<?php echo $info?>
Metar Aviation API Data Provided by <a href="https://www.checkwx.com/" title="https://www.checkwx.com/" target="_blank">https://www.checkwx.com/</a> <?php echo $info;?> Original CSS/SVG/PHP scripts by <a href="https://weather34.com" title="weather34.com" target="_blank">weather34.com &copy; 2015-<?php echo date('Y');?></a></div>
Metar Aviation API Data Provided by <a href="https://www.checkwx.com/" title="https://www.checkwx.com/" target="_blank">https://www.checkwx.com/</a>
<?php echo $info;?><a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a></div>
</body>
</html>
@@ -181,6 +181,6 @@
Data Provided by <a href="https://en.wikipedia.org/wiki/Meteor_shower" title="https://en.wikipedia.org/wiki/Meteor_shower" target="_blank">International Meteor Organization</a>

&nbsp;
<?php echo $info?> CSS/SVG/PHP scripts by <a href="https://weather34.com" title="weather34.com" target="_blank">weather34.com &copy; 2015-<?php echo date('Y');?></a></div>
<?php echo $info;?><a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a></div>
</body>
</html>
@@ -120,5 +120,5 @@

<div class="provided">
&nbsp;
<?php echo $info;?> <?php echo "PHP scripts by weather34.com 2015-".date('Y');?></a></div>
<?php echo $info;?><a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a></div>
</body>
@@ -104,6 +104,6 @@

<div style="position:absolute;bottom:5px;z-index:9999;font-weight:normal;font-size:10px;color:#aaa;text-decoration:none !important;float:right;font-family:arial;">

&nbsp;&nbsp;data provided by <a href="https://darksky.net/about" title="https://darksky.net/about" target="_blank">DarkSky</a> -- <?php echo $info;?> <?php echo $scriptcredits ?></div>
&nbsp;&nbsp;data provided by <a href="https://darksky.net/about" title="https://darksky.net/about" target="_blank">DarkSky</a> -- <?php echo $info;?><a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a></div>
</body>
</html>
@@ -16,17 +16,17 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><?php echo "${stationName}";?> <?php echo 'Forecast' ;?> </title>

<style>
@font-face{font-family:system;font-style:normal;src:local(".SFNSText-Light"),local("Arial")}
@font-face{font-family:weathertext2;src:url(css/fonts/verbatim-regular.woff) format("woff"),url(css/fonts/verbatim-regular.woff2) format("woff2"),url(css/fonts/verbatim-regular.ttf) format("truetype")}
body{background:rgba(11, 12, 12, 0.4)}
.darkskyforecasting{float:left;display:block;margin-right:0;width:40%;border-radius:4px;margin:2px;margin-top:-5px;font-family:Arial;margin-left:5px;height:300px;padding:5px;background-color:rgba(253, 166, 16, 1.000);border:1px solid rgba(153,155,156,0.3);color:#c5c5c5;font-size:12px;color:#c5c5c5;font-family:Arial;line-height:12px}
.darkskyforecasting{float:left;display:block;margin-right:0;width:43%;border-radius:4px;margin:2px;margin-top:-10px;font-family:Arial;margin-left:5px;height:300px;padding:2px;background-color:rgba(253, 166, 16, 1.000);border:1px solid rgba(153,155,156,0.3);color:#c5c5c5;font-size:12px;color:#c5c5c5;font-family:Arial;line-height:12px}
darkskyweekday{position:absolute;margin:3px;background-color:rgba(253, 166, 16, 1.000);text-align:center;padding:5px;color:#c5c5c5;font-family:Arial;font-size:11px;margin-bottom:20px;border-radius:4px;font-size:12px;color:#c5c5c5;font-family:Arial;line-height:15px}darkskytemphi{margin-top:5px;font-size:14px;color:rgba(255,124,57,1);font-family:Arial;margin-left:10%}darkskytemphi span{font-size:14px;color:#c5c5c5}darkskytemplo{margin-top:5px;font-size:12px;color:#00a4b4;font-family:Arial}darkskytemplo span{font-size:12px;color:#c5c5c5;font-family:Arial}darkskysummary{font-size:12px;color:#c5c5c5;font-family:Arial;line-height:11px}darkskywindspeed{font-size:12px;color:#c5c5c5;font-family:Arial;line-height:11px}.darkskywindspeedicon{position:absolute;font-size:10px;color:#c5c5c5;font-family:Arial;line-height:11px;margin-top:-55px;margin-left:67px}.darkskywindgust{position:absolute;font-size:10px;color:#c5c5c5;font-family:Arial;line-height:11px;margin-top:-55px;margin-left:97px}
.darkskydiv{position:relative;width:700px;overflow:hidden!important;height:365px;float:none;margin-left:2%;margin-top:5px}
.darkskydiv{position:relative;width:725px;overflow:hidden!important;height:378px;float:none;margin-left:-5px;margin-top:-5px}
.darkskyforecastinghome{font-size:12px;float:left;display:inline;margin-right:0;width:22.4%;border-radius:3px;margin:5px;margin-top:0;font-family:Arial,system;margin-left:0px;height:165px;padding:3px;padding-top:5px;
.darkskyforecastinghome{font-size:12px;float:left;display:inline;margin-right:0;width:23.3%;border-radius:3px;margin:3px;margin-top:0;font-family:Arial,system;margin-left:0px;height:175px;padding:3px;padding-top:5px;
background: rgba(29, 32, 34, 1.000);background: linear-gradient(to bottom, rgba(97, 106, 114, 1.000) 12%,rgba(29, 32, 34, 0) 11%,rgba(29, 32, 34, 0) 100%,rgba(229, 77, 11, 0) 0%);
background: -webkit-linear-gradient(to bottom, rgba(97, 106, 114, 1.000) 12%,rgba(29, 32, 34, 0) 11%,rgba(29, 32, 34,0) 100%,rgba(229, 77, 11, 0) 0%);
background: -moz-linear-gradient(to bottom, rgba(97, 106, 114, 1.000) 12%,rgba(29, 32, 34, 0) 11%,rgba(29, 32, 34, 0) 100%,rgba(229, 77, 11, 0) 0%);
@@ -58,7 +58,7 @@
a{font-size:10px;color:#c5c5c5;text-decoration:none!important;font-family:arial}.forecastupdated{position:absolute;font-size:10px;color:#c5c5c5;font-family:arial;bottom:25px;float:right;margin-left:575px}
.weather34darkbrowser{font-family:Arial, Helvetica, sans-serif;position:relative;background:0;width:103%;max-height:30px;margin:auto;margin-top:-15px;margin-left:-20px;border-top-left-radius:5px;border-top-right-radius:5px;padding-top:45px;background-image:radial-gradient(circle,#EB7061 6px,transparent 8px),radial-gradient(circle,#F5D160 6px,transparent 8px),radial-gradient(circle,#81D982 6px,transparent 8px),radial-gradient(circle,rgba(97,106,114,1) 2px,transparent 2px),radial-gradient(circle,rgba(97,106,114,1) 2px,transparent 2px),radial-gradient(circle,rgba(97,106,114,1) 2px,transparent 2px),linear-gradient(to bottom,rgba(59,60,63,0.4) 40px,transparent 0);background-position:left top,left top,left top,right top,right top,right top,0 0;background-size:50px 45px,90px 45px,130px 45px,50px 30px,50px 45px,50px 60px,100%;background-repeat:no-repeat,no-repeat}
.weather34darkbrowser[url]:after{content:attr(url);color:#c5c5c5;font-size:14px;position:absolute;left:0;right:0;top:0;padding:5px 15px;margin:11px 50px 0 90px;border-radius:3px;background:rgba(97, 106, 114, 0.3);height:20px;box-sizing:border-box}precip{position:relative;top:5px;padding:2px;border-radius:3px;background:0;font-size:.8em;}
.weather34darkbrowser[url]:after{content:attr(url);color:#c5c5c5;font-size:14px;position:absolute;left:0;right:0;top:0;padding:5px 15px;margin:11px 50px 0 90px;border-radius:3px;background:rgba(97, 106, 114, 0.3);height:20px;box-sizing:border-box}precip{position:relative;top:2px;padding:2px;border-radius:3px;background:0;font-size:.8em;}
value{font-size:.85em;font-family:weathertext2}valuer{font-size:.8em;font-family:weathertext2}value1{font-size:1em;font-family:weathertext2}thunder{color:#c0c0c0;font-size:0.85em}
</style>
</head>
@@ -558,5 +558,5 @@
//end weather34 wu forecast
?></div></div></div>
<div style="position:absolute;bottom:5px;z-index:9999;font-weight:normal;font-size:10px;color:#c5c5c5;text-decoration:none !important;float:right;font-family:arial;">
&nbsp;&nbsp;data provided by <a href="" title="" target="_blank">Weather Underground</a> -- CSS/PHP scripts by <a href="https://weather34.com" title="weather34.com" target="_blank">weather34.com</a> &copy;<?php echo date('Y');?>
&nbsp;&nbsp;data provided by <a href="" title="" target="_blank">Weather Underground</a> <?php echo $info;?> <a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a>
</div> </body> </html>
@@ -294,6 +294,6 @@ function map($value, $fromLow, $fromHigh, $toLow, $toHigh){
</section>
<div class="provided">
&nbsp;
Air Quality data provided by <a href="https://purpleair.com/" title="https://purpleair.com/" target="_blank">https://purpleair.com</a> <?php echo $scriptcredits ?></div>
Air Quality data provided by <a href="https://purpleair.com/" title="https://purpleair.com/" target="_blank">https://purpleair.com</a> <?php echo $info;?><a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a></div>
</body>
</html>
@@ -190,7 +190,6 @@

</section><br>
<div class="provided">
&nbsp;<?php echo $raininfo?>
Rain Almanac Meteobridge CSS/SVG/PHP scripts by <a href="https://weather34.com" title="weather34.com" target="_blank">weather34.com &copy; 2015-<?php echo date('Y');?></a></div></div>
&nbsp;<?php echo $info;?><a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a></div></div>
</body>
</html>
@@ -32,7 +32,7 @@
// Refresh Data Main Page // #
// Automatic refresh times (in seconds) of each panel on the main dashboard #
####################################################################################################
$copyYear = 2015;$curYear = date('Y');$copyrightcredit='&copy; weather34.com original CSS/SVG/PHP '.$copyYear . (($copyYear != $curYear) ? '-' . $curYear : 'Copyright');
$indoorRefresh = 120; // 2 minutes
$notifyRefresh = 17; // 17 seconds
$tempRefresh = 60; // 60 secondss
@@ -66,14 +66,14 @@
####################################################################################################
// Probably won't have to change anything past this line IF SO BE VER VERY CAREFUL!!!!!! #
####################################################################################################
$scriptcredits = "CSS/SVG/PHP scripts by <a href='https://weather34.com' title='weather34.com' target='_blank'>weather34.com 2015 - ".date('Y').""; // for modules
$scriptcredits = "CSS/SVG ICONS/PHP scripts by <a href='https://weather34.com' title='weather34.com' target='_blank'>weather34.com 2015 - ".date('Y').""; // for modules
$creditsEnabled = "true"; // for chart pages only
$creditsmysql = "Weather Data Recorded from $stationName Database"; //for chart pages only
$wucredits = "Data provided by Weather Underground"; // for chart pages only
$creditschart = "Charts compiled with CanvasJs.js (CC BY-NC 3.0)"; // for chart pages only
$creditsURL = ""; // for chart pages only
$credits = "Data Supplied via Weather Underground"; // for chart pages only
$templateinfo = ''; // template information page
$templateversion = 'MB-UB<maxred>40</maxred>-SO ';
$templateversion = 'MB-UB<maxred>40</maxred>-SO';
$software = 'Meteobridge <span>Hardware</span> Users';$designedfor='<br>For Meteobridge Users';$chartversion='(WUDATACHARTS)';$somethinggoeshere ='d4586dec-e7a2-47ae-99b6-25527b2563c9';$chartversionmysql = '(DATACHARTS version Final MYSQL-Meteobridge)';
if (array_key_exists('theme', $_GET) && ($_GET['theme'] == 'dark' || $_GET['theme'] == 'light')) { SetCookie('theme', $_GET['theme'], time()+15552000); $theme = $_GET['theme']; } else if (array_key_exists('theme', $_COOKIE) && ($_COOKIE['theme'] == 'dark' || $_COOKIE['theme'] == 'light' )) { $theme = $_COOKIE['theme']; } $units = ""; if (array_key_exists('units', $_COOKIE)) { $units = $_COOKIE['units']; } ini_set('session.use_cookies', '0'); if (array_key_exists('units', $_GET) && ($_GET['units'] == 'us' || $_GET['units'] == 'uk' || $_GET['units'] == 'metric' || $_GET['units'] == 'scandinavia')) { SetCookie('units', $_GET['units'], time()+15552000); $units = $_GET['units']; } if ($units == 'uk') { $windunit = 'mph'; $tempunit = 'C'; $rainunit = 'mm'; $pressureunit = "mb"; $windconv = "0.621371"; $rainfallconv='10'; $pressureinterval= "0.5"; $rainfallconvmm='10'; } else if ($units == 'scandinavia') { $windunit = 'm/s'; $tempunit = 'C'; $rainunit = 'mm'; $pressureunit = "hPa"; $windconv = "0.277778"; $rainfallconv='10'; $pressureinterval= "0.5"; $rainfallconvmm='10'; } else if ($units == 'metric') { $windunit = 'km/h'; $tempunit = 'C'; $rainunit = 'mm'; $pressureunit = "hPa"; $windconv = "1"; $rainfallconv='10'; $pressureinterval= "0.5"; $rainfallconvmm='10'; } else if ($units == 'us') { $windunit = 'mph'; $tempunit = 'F'; $rainunit = 'in'; $pressureunit = "inHg"; $windconv = "1"; $rainfallconv='1'; $pressureinterval= "0.5"; $rainfallconvmm='1'; }; ?>
@@ -1,4 +1,5 @@
<?php error_reporting(0);
$copyYear = 2015;$curYear = date('Y');$copyrightcredit='&copy; weather34.com original CSS/SVG/PHP '.$copyYear . (($copyYear != $curYear) ? '-' . $curYear : 'Copyright');
// Speed
function ktsTokmh(&$weather, $field){
if(!isset($weather[$field])) return;
@@ -274,7 +274,6 @@
<actual>Year <?php echo date('Y');?></actual>
</section><br><br>
<div class="provided">
&nbsp;<?php echo $info?>
Almanac Meteobridge CSS/SVG/PHP scripts by <a href="https://weather34.com" title="weather34.com" target="_blank">weather34.com &copy; 2015-<?php echo date('Y');?></a></div>
&nbsp;<?php echo $info;?><a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a></div>
</body>
</html>
@@ -596,7 +596,6 @@


<div class="provided">
&nbsp;<?php echo $info?>
Temperature/Dewpoint Almanac Meteobridge CSS/SVG/PHP scripts by <a href="https://weather34.com" title="weather34.com" target="_blank">weather34.com &copy; 2015-<?php echo date('Y');?></a></div>
&nbsp;<?php echo $info;?><a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a></div>
</body>
</html>
@@ -296,7 +296,6 @@
<actual>Year <?php echo date('Y');?></actual>
</section><br><br>
<div class="provided">
&nbsp;<?php echo $info?>
Almanac Meteobridge CSS/SVG/PHP scripts by <a href="https://weather34.com" title="weather34.com" target="_blank">weather34.com &copy; 2015-<?php echo date('Y');?></a></a></div>
&nbsp;<?php echo $info;?><a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a></div>
</body>
</html>
@@ -379,6 +379,6 @@
</section><br><br>
<div class="provided">
&nbsp;
<?php echo $info?> Wind Almanac Meteobridge CSS/SVG/PHP scripts by <a href="https://weather34.com" title="weather34.com" target="_blank">weather34.com &copy; 2015-<?php echo date('Y');?></a></div>
<?php echo $info;?><a href="https://weather34.com" title="weather34.com" target="_blank"><?php echo $copyrightcredit;?></a></div>
</body>
</html>

0 comments on commit 20c698f

Please sign in to comment.
You can’t perform that action at this time.