diff --git a/index.php b/index.php index 2ca51a7..72f9ce7 100644 --- a/index.php +++ b/index.php @@ -4,7 +4,10 @@ ini_set('display_errors', 1); ini_set('display_startup_errors', 1); 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'] : ""; + ?> @@ -16,8 +19,14 @@ $orderby = isset($_GET['orderby']) ? $_GET['orderby'] : "lastplayed_desc";
diff --git a/page.php b/page.php index 140c085..e53fd11 100644 --- a/page.php +++ b/page.php @@ -6,13 +6,15 @@ $ps4 = new ps4(); $sql = "SELECT * FROM game_time"; $result = $ps4->mysql_conn($sql); +$rootpage = $_GET['rootpage']; $orderby = $_GET['orderby']; +$details = $_GET['details']; ?> Last Updated :