118 lines
3.3 KiB
PHP
118 lines
3.3 KiB
PHP
<?php include "session.php";
|
|
include "userAccess.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/boilers.php?sid=' + sid, {asynchronous:true});
|
|
}
|
|
function startShowing()
|
|
{
|
|
new PeriodicalExecuter(showHint, 1);
|
|
new PeriodicalExecuter(function(pe) {}, 1);
|
|
}
|
|
startShowing();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div class="center">
|
|
|
|
<div class="header">
|
|
<h1>LASUCA CONTROLS</h1>
|
|
<p>Boiler Data</p>
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<?php include("menuinclude.php"); ?>
|
|
|
|
<div class="col-13" id='overview_values' name='overview_values'></div>
|
|
|
|
</div>
|
|
<!--
|
|
<table align="center">
|
|
<tr>
|
|
<td colspan="2" align="right" bgcolor="#FFFFFF" border="0"><font color="#000000">Enter the value to reduce by in the box below and hit submit. </a></i></font></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right" bgcolor="#FFFFFF" border="0"><font color="#333"><b> Export 24hr Average To Excel </a></b></font></td>
|
|
<th>
|
|
<form action="data/boilerexport2.php" method="GET">
|
|
<input type="number" step="any" value="1" placeholder="%" name="val" />
|
|
<input type="submit" value="Submit" />
|
|
</form>
|
|
</th>
|
|
<tr>
|
|
<td align="right" bgcolor="#FFFFFF" border="0"><font color="#333"><b> Export Steam Total To Excel </a></b></font></td>
|
|
<th>
|
|
<form action="data/boilerexporttot.php" method="GET">
|
|
<input type="number" step="any" value="1" placeholder=".95" name="query" />
|
|
<input type="submit" value="Submit" />
|
|
</form>
|
|
</th>
|
|
</tr>
|
|
</table>
|
|
-->
|
|
<?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>
|