$accuracy = 'current'; $startdate = $_POST['startdate']; $enddate = $_POST['enddate']; $all_points = $_GET['all_points']; $all_points = true; if(empty($_GET['secret'])){ $secret = 'waaris';} else { $secret = $_GET['secret']; } if(isset($all_points)){ $all_points = "true"; } else{ $all_points = "false"; } if(empty($accuracy)){ $accuracy = 2000; } if(empty($startdate)){ $startdate = '2012-05-30T16:15:07'; } if(empty($enddate)){ $enddate = '2020-12-30T16:15:07'; } $random = rand(1,99); ?>