Prettier Formatting

This commit is contained in:
2019-09-12 17:15:11 -04:00
parent 37f97054e4
commit 7d72c7c593
6 changed files with 451 additions and 387 deletions

View File

@@ -7,8 +7,6 @@ error_reporting(E_ALL);
$rootpage = isset($_SERVER['PHP_SELF']) ? $_SERVER['PHP_SELF'] : "index.php";
$orderby = isset($_GET['orderby']) ? $_GET['orderby'] : "lastplayed_desc";
$details = isset($_GET['details']) ? $_GET['details'] : "";
?>
<!DOCTYPE html>
@@ -26,7 +24,7 @@ $details = isset($_GET['details']) ? $_GET['details'] : "";
update();
});
function update() {
$.get('page.php?rootpage=<?php echo $rootpage ?>&orderby=<?php echo $orderby ?>&details=<?php echo $details ?>', function(data) {
$.get('page.php?rootpage=<?php echo $rootpage; ?>&orderby=<?php echo $orderby; ?>&details=<?php echo $details; ?>', function(data) {
$("#page").html(data);
window.setTimeout(update, 10000); // 10 secondes
});