history.php: cleanup html
This commit is contained in:
+12
-7
@@ -63,9 +63,9 @@ if(isset($_GET['blocation']) ) {
|
|||||||
|
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
if (get_included_files()[0] === __FILE__) {
|
||||||
?>
|
echo '<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@@ -77,7 +77,9 @@ if(isset($_GET['blocation']) ) {
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>';
|
||||||
|
}
|
||||||
|
?>
|
||||||
<script src="static/dialog-polyfill.js"></script>
|
<script src="static/dialog-polyfill.js"></script>
|
||||||
<div class="history centered">
|
<div class="history centered">
|
||||||
|
|
||||||
@@ -154,6 +156,9 @@ if (file_exists('./Charts/'.$chart2)) {
|
|||||||
echo "<img src=\"/Charts/$chart2?nocache=$time\">";
|
echo "<img src=\"/Charts/$chart2?nocache=$time\">";
|
||||||
} else {
|
} else {
|
||||||
echo "<p>No Charts For $theDate</p>";
|
echo "<p>No Charts For $theDate</p>";
|
||||||
}?>
|
}
|
||||||
</div>
|
echo "</div>";
|
||||||
</html>
|
if (get_included_files()[0] === __FILE__) {
|
||||||
|
echo '</html>
|
||||||
|
</body>';
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user