added a way (beta... still need work) to change the sort order.
This commit is contained in:
@@ -4,6 +4,8 @@ ini_set('display_errors', 1);
|
||||
ini_set('display_startup_errors', 1);
|
||||
error_reporting(E_ALL);
|
||||
|
||||
$orderby = isset($_GET['orderby']) ? $_GET['orderby'] : "lastplayed_desc";
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
@@ -14,7 +16,7 @@ error_reporting(E_ALL);
|
||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$( document ).ready(function(){
|
||||
$("#page").load('page.php');
|
||||
$("#page").load('page.php?orderby=<?php echo $orderby ?>');
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user