<commit_before><!DOCTYPE html>
<html>
<head>
	<title> Hotel Reservation System </title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	
	<link rel='stylesheet' href='css/flick/jquery-ui-1.8.24.custom.css' />
	<link rel='stylesheet' href='css/bootstrap.min.css' />
	<script type='text/javascript' src='js/jquery-1.8.2.min.js' ></script>
	<script type='text/javascript' src='js/jquery-ui-1.8.24.custom.min.js' ></script>
	<script type='text/javascript' src='js/bootstrap.min.js'></script>
	
	<link rel='stylesheet' href='css/styles.css' />
	<script type='text/javascript'>
	$(function() {
		$('#room-pane, #reserve-pane, #welcome-pane, #parent-daw').hide(0);
		
		//Clicking on Reserve Room Button on Main Page...
		$('#room-btn').click(function(){
			$('#welcome-pane').hide('fade', 500, function(){ 
				//Load Content using AJAX...
				var pageRequest = $.ajax({ url:"content/step1.php" });
				pageRequest.done(function(data){
					$('#room-info-container').html(data);
					$('#room-notif').html("<i class='icon icon-chevron-right'></i> Step 1/3");
					$('#room-pane').show('fade', 500);
				});
			});
		});
		//Clicking on Check Reservation<commit_msg>Database<commit_after><!DOCTYPE html>
<html>
<head>
	<title> Hotel Reservation System </title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	
	<link rel='stylesheet' href='css/flick/jquery-ui-1.8.24.custom.css' />
	<link rel='stylesheet' href='css/bootstrap.min.css' />
	<script type='text/javascript' src='js/jquery-1.8.2.min.js' ></script>
	<script type='text/javascript' src='js/jquery-ui-1.8.24.custom.min.js' ></script>
	<script type='text/javascript' src='js/bootstrap.min.js'></script>
	<script type= "text/javascript" charset="utf-8" src="phonegap-1.2.0.js"></script>
	<script type= "text/javascript" charset="utf-8">
	
	//Populate the database
	//
	function populateDB(tx){
		tx.executeSql('DROP TABLE IF EXISTS TRYDB');
		tx.executeSql('CREATE TABLE IF NOT EXISTS TRYDB(id unique, data)');
		tx.executeSql('INSERT INTO TRYDB(id, data)VALUES(1,"First row")');
		tx.executeSql('INSERT INTO TRYDB(id, data)VALUES(2,"Second row")');
	}
	//Query the database
	//
	function queryDB(tx){
		tx.execute('SELECT * FROM TRYDB',[],querySuccess,errorCB);
	}
	//Query the success callback
	//
	function querySuccess(tx,results){
		var len= results.rows.length;
		console.log("TryDB table: " + len + "rows found.");
		for(var i=0; i<len; i++){
			console.log("Row = " + i + "ID = " + results.rows.item(i).id + "Data = " + results.rows.item(i).data);
		}
	}
	//Transaction error callback
	//
	function errrorCB(tx, err){
		alert("Error processing SQL:"+err.code);
	}
	//Transaction success callback
	//
	function successCB(){
		var db = window.openDatabase("Database", "1.0", "PhoneGap TryDB", 200000);
		db.transaction(queryDB, errorCB);
	}
	//Wait for phonegap to load
	//
	document.addEventListener("deviceready", onDeviceReady, false);
	//Phonegap is ready
	//
	function onDeviceReady(){
		window.localStorage.setItem("key", "value");
		var keyname = window.localStorage.key(i);
		//keyname is now equal to ""key"
		var value = window.localStorage.getItem("key");
		//value is now equal to "value"
		window.localStorage.removeItem("key");
		window.localStorage.setItem("key2",value2);
		window.localStorage.clear();
		//localStorage is now empty
	}
	</script>
	<link rel='stylesheet' href='css/styles.css' />
	<script type='text/javascript'>
	$(function() {
		$('#room-pane, #reserve-pane, #welcome-pane, #parent-daw').hide(0);
		
		//Clicking on Reserve Room Button on Main Page...
		$('#room-btn').click(function(){
			$('#welcome-pane').hide('fade', 500, function(){ 
				//Load Content using AJAX...
				var pageRequest = $.ajax({ url:"content/step1.php" });
				pageRequest.done(function(data){
					$('#room-info-container').html(data);
					$('#room-notif').html("<i class='icon icon-chevron-right'></i> Step 1/3");
					$('#room-pane').show('fade', 500);
				});
			});
		});
		//Clicking on Check Reservation
{'fraction_non_alphanumeric': 0.20512182993535555, 'fraction_numerical': 0.015415216310293387, 'mean_word_length': 4.23828125, 'pattern_counts': {'":': 0, '<': 44, '<?xml version=': 0, '>': 43, 'https://': 0, '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': '4706261', 'n_tokens_mistral': 1543, 'n_tokens_neox': 1413, 'n_words': 278}