$(document).ready(function() { var startDateTextBox = $('#start'); var endDateTextBox = $('#end'); $.timepicker.datetimeRange( startDateTextBox,endDateTextBox,{ numberOfMonths: 2, dateFormat: 'yy-mm-dd', timeFormat: 'HH:mm:ss', showSecond: false, regional: '$locale', hourMin: 0, hourMax: 23, stepMinute: 5, hourGrid: 2, minuteGrid: 10, });});"; print "
"; //generate report if (isset($_GET['start'])) { $report = get_stats_by_time($start,$end,isset($_GET['rtype'])); print "