auto($csvfile); break; case 1: $csvfile="csv/d1.csv"; $taskfile="tasks/d1.php"; $resultstitle = $lng_result.' › '.$lng_results_1; $csv = new parseCSV(); $csv->auto($csvfile); break; case 2: $csvfile="csv/d2.csv"; $taskfile="tasks/d2.php"; $resultstitle = $lng_result.' › '.$lng_results_2; $csv = new parseCSV(); $csv->auto($csvfile); break; case 3: $csvfile="csv/d3.csv"; $taskfile="tasks/d3.php"; $resultstitle = $lng_result.' › '.$lng_results_3; $csv = new parseCSV(); $csv->auto($csvfile); break; case 4: $csvfile="csv/d4.csv"; $taskfile="tasks/d4.php"; $resultstitle = $lng_result.' › '.$lng_results_4; $csv = new parseCSV(); $csv->auto($csvfile); break; case 5: $csvfile="csv/500km.csv"; $taskfile="tasks/500km.php"; $resultstitle = $lng_result.' › '.$lng_results_5; $csv = new parseCSV(); $csv->auto($csvfile); break; default: $csvfile = "csv/overall.csv"; $taskfile = "tasks/blank.php"; $resultstitle = $lng_title.' › '.$lng_overallresult; $csv = new parseCSV(); $csv->auto($csvfile); break; } ?>