<commit_before><?php
require 'logic.php';
session_start();

?>

<!DOCTYPE html>
<html>
<head>
	<title>Password Generator</title>

	 <link rel="stylesheet" href="css/app.css" />

        <link rel="stylesheet" type="text/css" href="css/uikit.css">
        <link rel="stylesheet" type="text/css" href="css/uikit.min.css">
        <link rel="stylesheet" type="text/css" href="css/uikit.gradient.css">
        <link rel="stylesheet" type="text/css" href="css/uikit.gradient.css">

        <link href='http://fonts.googleapis.com/css?family=Varela+Round|Montserrat' rel='stylesheet' type='text/css'>

        <script src="js/jquery.js"></script>
        <script src="js/uikit.js"></script>

        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
</head>

<body>
	<nav role="navigation">
		
	</nav>


		<div class="uk-container uk-margin-top" id="content" data-uk-grid-margin>

			<form class="uk-form" method="post" action="./">
				<fieldset>
					<h1>X KC D Style Password Generator</h1>

					<fieldset>
						<legend>Words</legend>

						<label for="word_count">Number of words:</label>
						<select name="word_count" id="word_count">
							<option value="1">1</option>
							<option value="2">2</option>
							<option value="3">3</option>
							<option value="4" selected="selected">4</option>
							<option value="5">5</option>
							<option value="6">6</option>
							<option value="7">7</option>
						</select>
						</fieldset>

						<br>


						<div class="uk-row">
							<div class="col-xs-6 col-md-4">
								<legend><h3>Characters:</h3></legend>
								<div class="checkbox">
								  <span><input type="checkbox" name="lowercase" value="lowercase">lowercase</span>
								  <span><input type="checkbox" name="uppercase" value="uppercase">uppercase</span>
								  <span><input type="checkbox" name="numeric" value="numeric">numeric</span>
								  <span><input type="checkbox" name="special" value="special">special characters</span>
							  </div>
						  </div>
					  </div>

						
						<br>

						
					</fieldset>

						<div class="container">
							<input type="submit" id="gen_password" name="gen_password" value="Generate Password">

							<input type="hidden" id="iHateIE" name="iHateIE" value="1412289092666">
						</div>

						<div class="container" id="password_container">
							<span id="password_label"></span>
							<span id="password_display">
								<?php echo "$password" ?>					
							</span>
						</div>
				</fieldset>
			</form>
		</div>




</body>
</html><commit_msg>Fix typo; add missing link to index<commit_after><?php
require 'logic.php';
session_start();

?>

<!DOCTYPE html>
<html>
<head>
	<title>Password Generator</title>

	 <link rel="stylesheet" href="css/app.css" />

        <link rel="stylesheet" type="text/css" href="css/uikit.css">
        <link rel="stylesheet" type="text/css" href="css/uikit.min.css">
        <link rel="stylesheet" type="text/css" href="css/uikit.gradient.css">
        <link rel="stylesheet" type="text/css" href="css/uikit.gradient.css">

        <link href='http://fonts.googleapis.com/css?family=Varela+Round|Montserrat' rel='stylesheet' type='text/css'>

        <script src="js/jquery.js"></script>
        <script src="js/uikit.js"></script>

        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
</head>

<body>
	<nav role="navigation">
		
	</nav>


		<div class="uk-container uk-margin-top" id="content" data-uk-grid-margin>

			<form class="uk-form" method="post" action="./">
				<fieldset>
					<h1><a href="http://preshing.com/20110811/xkcd-password-generator/">XKCD Style Password Generator</a></h1>

					<fieldset>
						<legend>Words</legend>

						<label for="word_count">Number of words:</label>
						<select name="word_count" id="word_count">
							<option value="1">1</option>
							<option value="2">2</option>
							<option value="3">3</option>
							<option value="4" selected="selected">4</option>
							<option value="5">5</option>
							<option value="6">6</option>
							<option value="7">7</option>
						</select>
						</fieldset>

						<br>


						<div class="uk-row">
							<div class="col-xs-6 col-md-4">
								<legend><h3>Characters:</h3></legend>
								<div class="checkbox">
								  <span><input type="checkbox" name="lowercase" value="lowercase">lowercase</span>
								  <span><input type="checkbox" name="uppercase" value="uppercase">uppercase</span>
								  <span><input type="checkbox" name="numeric" value="numeric">numeric</span>
								  <span><input type="checkbox" name="special" value="special">special characters</span>
							  </div>
						  </div>
					  </div>

						
						<br>

						
					</fieldset>

						<div class="container">
							<input type="submit" id="gen_password" name="gen_password" value="Generate Password">

							<input type="hidden" id="iHateIE" name="iHateIE" value="1412289092666">
						</div>

						<div class="container" id="password_container">
							<span id="password_label"></span>
							<span id="password_display">
								<?php echo "$password" ?>					
							</span>
						</div>
				</fieldset>
			</form>
		</div>




</body>
</html>
{'fraction_non_alphanumeric': 0.19128787878787878, 'fraction_numerical': 0.014772727272727272, 'mean_word_length': 3.0529547198772065, 'pattern_counts': {'":': 0, '<': 185, '<?xml version=': 0, '>': 185, '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': '5058867', 'n_tokens_mistral': 2311, 'n_tokens_neox': 1731, 'n_words': 302}