<commit_before><?php 
	if(!isset($_GET['lang'])){
		include 'php/translation_de.php';
	}	
	
	else if(isset($_GET['lang']) && $_GET['lang'] == 'en'){
		include 'php/translation_en.php';
	}
	else if(isset($_GET['lang']) && $_GET['lang'] != 'de'){
	    include 'php/translation_de.php';
	}
	
	if (isset($_GET['lang'])) {
		$lang = $_GET['lang'];
		if ($lang != 'en') {
			$lang = 'de';
			$other_lang = 'en';
		} else {
			$other_lang = 'de';
		}
	}

?>

<!DOCTYPE html>
<html lang="de">
<head>
	<meta charset="utf-8" />
	
	<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
	Remove this if you use the .htaccess -->
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	
	<title>envirocar-analyser</title>
	<meta name="description" content="Internet Applikation zur Exploration und Visualisierung von raum-zeitvarianten Fahrzeug-Messdaten" />
	<meta name="author" content="<NAME>, <NAME>, <NAME>" />
	
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	
	<!-- Stylesheets and Favicon -->
	<link rel="stylesheet" type="text/css" href="css/style.css" />
	<link rel="shortcut icon" href="img/favicon.ico" />
	<link rel="stylesheet" type="text/css" href="css/lib/jquery-ui.css">
	<link rel="stylesheet" type="text/css" href="css/lib/jquery-ui-timepicker-addon.min.css" />
	<link rel="stylesheet" type="text/css" href="css/lib/bootstrap-duallistbox.css" />
	<link rel="stylesheet" type="text/css" href="css/lib/bootstrap.css" />
	<link rel="stylesheet" type="text/css" href="css/icons.css" />
	<link rel="stylesheet" type="text/css" href="css/flags.css" >
	<link rel="stylesheet" type="text/css" href="css/lib/base.css" >
	<link rel="stylesheet" type="text/css" href="css/lib/jquery-ui-1.8.4.custom.css" >
	
	<!-- Fonts -->
	<link href='https://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>

	<!-- Google Maps API v3.14 -->
	<script src="https://maps.googleapis.com/maps/api/js?v=3.14&key=AIzaSyAmIbYf9N82UMsx0t2-CUCNmQLhG9asRlA&sensor=true&language=<?php echo $lang; ?>&libraries=geometry,places"></script>
	
	<!-- MarkerClusterer -->
	<script src="js/lib/markerclusterer.js"></script>
	
	<!-- jQuery 2.0.3, jQuery UI 1.10.3, jQuery.timepicker, Bootstrap Dual Listbox -->
	<script src="js/lib/jquery-2.0.3.min.js"></script>
	<script src="js/lib/jquery-migrate-1.2.1.js"></script>
	<script src="js/lib/jquery.dataTables.min.js"></script>
	<script src="js/lib/jquery-ui.min.js"></script>
	<script src="js/lib/jquery-ui-timepicker-addon.min.js"></script>
	<script src="js/lib/jquery.bootstrap-duallistbox.js"></script>
	<script src="js/lib/bootstrap.min.js"></script>
	
	<!-- Highcharts 3.0 -->
	<script src="js/lib/highcharts.js"></script>
	
	<!-- Functions for Website Interactivity -->
	<script src="js/interactivity.js"></script>
	<script src="js/getParameters.js"></script> 
	
	<!-- Custom classes -->
	<script src="js/envirocar-analyser.js"></script>
	
	<!-- Functions of the map, table, chart and filter -->
	<script src="js/chart.js"></script>
	<script src="js/map.js"></script>
	<script src="js/table.js"></script>
	<script src="js/filter.js"></script>
	
	<!-- Boundaries of NRW -->
	<script src="js/boundaries.js"></script>
	
	<!-- SmartInfoWindow -->
	<script src="js/smartinfowindow.js"></script> 
		
</head>

<body onload="initMap();">
	
	<div id="application-wrapper" >

		<div id="header-nav" >
			<div class="logo">
				<a href="./index.php" title="Homepage">
					<img id="logo" alt="enivroCar analyser logo" width="150px" src="img/enviroCarAnalyser.png">
				</a>
			</div>
			<div id="timeSelection">
				<label for="timeSelection"><?php $selectTimeRange ?></label>
				<form action="" method="post">
					
					<label for="from" class="timelabel"><?php echo $from; ?> </label>
					<input type="text" id="date-from" class="controls" size="12">	
					<br><br>			
					<label for="to" class="timelabel"><?php echo $to; ?> </label>
					<input type="text" id="date-to" class="controls" size="12">
					<br>
					<input type="button" name="selectTimeBtn" id="selectTimeBtn" 
						value="<?php echo $selectTime ?>" onClick="getDateTime();">
				</form>
			</div>
			
			<div id="space">
				<div id="spaceSelection">
					<input type="button" name="boundingBox" id="boundingBoxBtn" class="left spaceButton" 
					value="<?php echo $selectSpace ?>" onClick="initBoundingBox()">
				</div>
				<br>
				<div id="streetSelection">
					<input type="button" name="streetSelection" id="streetSelectionBtn" class="left spaceButton"
					value="<?php echo $selectStreet ?>" onClick="streetMode();">
				</div>
				<br>
				<div id="trackSelection">
					<select id="trackSelectionList" size="1"></select>
				</div>
			</div>
			
			
			<div id ="phenomenSelection">
				<form action="">
					<select multiple="multiple" size="4" id="duallistbox_phenomenons">
						<option value="co2"><?php echo $co2_emission; ?></option>
						<option value="consumption"><?php echo $consumption; ?></option>
						<option value="engine_load"><?php echo $engine_load; ?></option>
						<option value="rpm"><?php echo $rpm; ?></option>
						<option value="speed"><?php echo $speed; ?></option>
					</select>
					<script>
						var l = getParam('lang');
						if (l == "en") {
							var dlb_phenomenons = $('#duallistbox_phenomenons').bootstrapDualListbox({
								nonselectedlistlabel: 'Possible Phenomenons',
								selectedlistlabel: 'Selected Phenomenons',
								infotext: 'Show all {0}',
								infotextfiltered: '{0} of {1}',
								infotextempty: 'No entries',
								filterplaceholder: 'Search phenomenons...',
								filtertextclear: 'Show all',
								preserveselectiononmove: 'moved',
								moveonselect: true
							});
						} else {<commit_msg>Switched time and space selection in filter header<commit_after><?php 
	if(!isset($_GET['lang'])){
		include 'php/translation_de.php';
	}	
	
	else if(isset($_GET['lang']) && $_GET['lang'] == 'en'){
		include 'php/translation_en.php';
	}
	else if(isset($_GET['lang']) && $_GET['lang'] != 'de'){
	    include 'php/translation_de.php';
	}
	
	if (isset($_GET['lang'])) {
		$lang = $_GET['lang'];
		if ($lang != 'en') {
			$lang = 'de';
			$other_lang = 'en';
		} else {
			$other_lang = 'de';
		}
	}

?>

<!DOCTYPE html>
<html lang="de">
<head>
	<meta charset="utf-8" />
	
	<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
	Remove this if you use the .htaccess -->
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	
	<title>envirocar-analyser</title>
	<meta name="description" content="Internet Applikation zur Exploration und Visualisierung von raum-zeitvarianten Fahrzeug-Messdaten" />
	<meta name="author" content="<NAME>, <NAME>, <NAME>" />
	
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	
	<!-- Stylesheets and Favicon -->
	<link rel="stylesheet" type="text/css" href="css/style.css" />
	<link rel="shortcut icon" href="img/favicon.ico" />
	<link rel="stylesheet" type="text/css" href="css/lib/jquery-ui.css">
	<link rel="stylesheet" type="text/css" href="css/lib/jquery-ui-timepicker-addon.min.css" />
	<link rel="stylesheet" type="text/css" href="css/lib/bootstrap-duallistbox.css" />
	<link rel="stylesheet" type="text/css" href="css/lib/bootstrap.css" />
	<link rel="stylesheet" type="text/css" href="css/icons.css" />
	<link rel="stylesheet" type="text/css" href="css/flags.css" >
	<link rel="stylesheet" type="text/css" href="css/lib/base.css" >
	<link rel="stylesheet" type="text/css" href="css/lib/jquery-ui-1.8.4.custom.css" >
	
	<!-- Fonts -->
	<link href='https://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>
	<link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>

	<!-- Google Maps API v3.14 -->
	<script src="https://maps.googleapis.com/maps/api/js?v=3.14&key=AIzaSyAmIbYf9N82UMsx0t2-CUCNmQLhG9asRlA&sensor=true&language=<?php echo $lang; ?>&libraries=geometry,places"></script>
	
	<!-- MarkerClusterer -->
	<script src="js/lib/markerclusterer.js"></script>
	
	<!-- jQuery 2.0.3, jQuery UI 1.10.3, jQuery.timepicker, Bootstrap Dual Listbox -->
	<script src="js/lib/jquery-2.0.3.min.js"></script>
	<script src="js/lib/jquery-migrate-1.2.1.js"></script>
	<script src="js/lib/jquery.dataTables.min.js"></script>
	<script src="js/lib/jquery-ui.min.js"></script>
	<script src="js/lib/jquery-ui-timepicker-addon.min.js"></script>
	<script src="js/lib/jquery.bootstrap-duallistbox.js"></script>
	<script src="js/lib/bootstrap.min.js"></script>
	
	<!-- Highcharts 3.0 -->
	<script src="js/lib/highcharts.js"></script>
	
	<!-- Functions for Website Interactivity -->
	<script src="js/interactivity.js"></script>
	<script src="js/getParameters.js"></script> 
	
	<!-- Custom classes -->
	<script src="js/envirocar-analyser.js"></script>
	
	<!-- Functions of the map, table, chart and filter -->
	<script src="js/chart.js"></script>
	<script src="js/map.js"></script>
	<script src="js/table.js"></script>
	<script src="js/filter.js"></script>
	
	<!-- Boundaries of NRW -->
	<script src="js/boundaries.js"></script>
	
	<!-- SmartInfoWindow -->
	<script src="js/smartinfowindow.js"></script> 
		
</head>

<body onload="initMap();">
	
	<div id="application-wrapper" >

		<div id="header-nav" >
			<div class="logo">
				<a href="./index.php" title="Homepage">
					<img id="logo" alt="enivroCar analyser logo" width="150px" src="img/enviroCarAnalyser.png">
				</a>
			</div>
			
			<div id="space">
				<div id="spaceSelection">
					<input type="button" name="boundingBox" id="boundingBoxBtn" class="left spaceButton" 
					value="<?php echo $selectSpace ?>" onClick="initBoundingBox()">
				</div>
				<br>
				<div id="streetSelection">
					<input type="button" name="streetSelection" id="streetSelectionBtn" class="left spaceButton"
					value="<?php echo $selectStreet ?>" onClick="streetMode();">
				</div>
				<br>
				<div id="trackSelection">
					<select id="trackSelectionList" size="1"></select>
				</div>
			</div>
			
			<div id="timeSelection">
				<label for="timeSelection"><?php $selectTimeRange ?></label>
				<form action="" method="post">
					
					<label for="from" class="timelabel"><?php echo $from; ?> </label>
					<input type="text" id="date-from" class="controls" size="12">	
					<br><br>			
					<label for="to" class="timelabel"><?php echo $to; ?> </label>
					<input type="text" id="date-to" class="controls" size="12">
					<br>
					<input type="button" name="selectTimeBtn" id="selectTimeBtn" 
						value="<?php echo $selectTime ?>" onClick="getDateTime();">
				</form>
			</div>
			
			<div id ="phenomenSelection">
				<form action="">
					<select multiple="multiple" size="4" id="duallistbox_phenomenons">
						<option value="co2"><?php echo $co2_emission; ?></option>
						<option value="consumption"><?php echo $consumption; ?></option>
						<option value="engine_load"><?php echo $engine_load; ?></option>
						<option value="rpm"><?php echo $rpm; ?></option>
						<option value="speed"><?php echo $speed; ?></option>
					</select>
					<script>
						var l = getParam('lang');
						if (l == "en") {
							var dlb_phenomenons = $('#duallistbox_phenomenons').bootstrapDualListbox({
								nonselectedlistlabel: 'Possible Phenomenons',
								selectedlistlabel: 'Selected Phenomenons',
								infotext: 'Show all {0}',
								infotextfiltered: '{0} of {1}',
								infotextempty: 'No entries',
								filterplaceholder: 'Search phenomenons...',
								filtertextclear: 'Show all',
								preserveselectiononmove: 'moved',
								moveonselect: true
							});
						} else {
{'fraction_non_alphanumeric': 0.20523310321315946, 'fraction_numerical': 0.008182050626438252, 'mean_word_length': 3.9974446337308347, 'pattern_counts': {'":': 0, '<': 287, '<?xml version=': 0, '>': 287, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5337756', 'n_tokens_mistral': 4707, 'n_tokens_neox': 4056, 'n_words': 767}