Files
controls-web/OLD/controlsdev/boilersavg.php
2026-02-17 09:29:34 -06:00

92 lines
2.4 KiB
PHP

<!DOCTYPE html>
<html>
<head>
<title>Boilers</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="http://lasuca.com/images/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="script.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="js/jquery.magnific-popup.js"></script>
<script src="js/prototype.js" type="text/javascript"></script>
<script src="js/scriptaculous.js" type="text/javascript"></script>
<script type="text/javascript">
function showHint()
{
var sid = Math.random();
new Ajax.Updater('overview_values', 'data/boilers24hrstmtotavg.php?sid=' + sid, {asynchronous:true});
}
function startShowing()
{
new PeriodicalExecuter(showHint, 1);
new PeriodicalExecuter(function(pe) {}, 5);
}
startShowing();
</script>
</head>
<body>
<div class="center">
<div class="header">
<h1>LASUCA CONTROLS</h1>
<p>Boiler Data</p>
</div>
<div class="row">
<?php include 'menu.php';?>
<div class="col-13" id='overview_values' name='overview_values'></div>
</div>
<?php include 'footer.php';?>
<script type="text/javascript">
// create the back to top button
$('body').prepend('<a href="#" class="back-to-top">Back to Top</a>');
var amountScrolled = 100;
$(window).scroll(function() {
if ($(window).scrollTop() > amountScrolled) {
$('a.back-to-top').fadeIn('slow');
} else {
$('a.back-to-top').fadeOut('slow');
}
});
$('a.back-to-top, a.simple-back-to-top').click(function() {
$('body').animate({
scrollTop: 0
}, 'fast');
return false;
});
</script>
<script>
$(document).ready(function() {
$('.popup-with-zoom-anim').magnificPopup({
type: 'ajax',
fixedContentPos: false,
fixedBgPos: true,
overflowY: 'auto',
closeBtnInside: true,
preloader: false,
midClick: true,
removalDelay: 300,
mainClass: 'my-mfp-zoom-in'
});
</script>
<script>
function popupCenter(pageURL, title, w, h) {
var left = (screen.width / 2) - (w / 2);
var top = (screen.height / 2) - (h / 2);
var targetWin = window.open(pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
}
</script>
</body>
</html>