<?php
// RadioPanel - Generic Functions
// (C) Matt Ribbins - matt@mattyribbo.co.uk


// API Calls
function api_call() {
	$task = mysql_real_escape_string($_GET['task']);
	switch($task) {
		case "html_live_stats":
			stream_getlivestats();
			break;
		case "html_display_date":
			stats_search_display();
			break;
		default:
			
	}
}


?>
<?php
// RadioPanel - Generic Functions
// (C) Matt Ribbins - matt@mattyribbo.co.uk


// API Calls
function api_call() {
	$task = mysql_real_escape_string($_GET['task']);
	switch($task) {
		case "html_live_stats":
			stream_getlivestats();
			break;
		default:
			
	}
}


?>
--- 
+++ 
@@ -10,6 +10,9 @@
 		case "html_live_stats":
 			stream_getlivestats();
 			break;
+		case "html_display_date":
+			stats_search_display();
+			break;
 		default:
 			
 	}
Add AJAX API for Week View
