Prettier Formatting
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user