84 lines
2.3 KiB
PHP
84 lines
2.3 KiB
PHP
<?php include "session.php";
|
|
include "userAccess.php"; ?>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Truck Dump</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="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/truckdump.php?sid=' + sid, {asynchronous:true});
|
|
}
|
|
function startShowing()
|
|
{
|
|
new PeriodicalExecuter(showHint, 2);
|
|
new PeriodicalExecuter(function(pe) {}, 1);
|
|
}
|
|
startShowing();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div class="center">
|
|
|
|
<div class="header">
|
|
<h1>LASUCA CONTROLS</h1>
|
|
<p>Truck Dumps</p>
|
|
</div>
|
|
<div align="center">
|
|
<font size="5"><a href="http://controlsdev.lasuca.com" style="color: red;"><b><i><u>Try the new controls site update!</u></i></b></a></font>
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<?php include("menuinclude.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 = 300;
|
|
|
|
$(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>
|
|
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>
|
|
<script>
|
|
function popitup(url) {
|
|
newwindow=window.open(url,'name','top=200,left=100,height=300,width=150');
|
|
}
|
|
if (window.focus) {newwindow.focus()}
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|