<commit_before><commit_msg>Account creation wizard ..Javascript not working<commit_after><?php session_start();
if ((!$_SESSION['login_admin'] ) || ($_SESSION['login_privilage'] != 1) ){

    header("Location: ../login.php");
    die();
}


?>

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="description" content="Account Creation Wizard">
	<meta name="author" content="<NAME>">
	<title>Account Creation Wizard</title>

	<!-- Bootstrap CSS -->

	<link href="../css/bootstrap.min.css" rel="stylesheet" />
	<link href="../css/bootstrap.min.css" rel="stylesheet" />

	<!-- Bootstrap CSS Validator -->

	<link href="../css/bootstrapValidator.min.css" rel="stylesheet" />

	<!-- Jquery and Bootstrap js -->

	<script src="../js/jquery.min.js" text="text/javascript"></script>
	<script src="../js/bootstrap.min.js" text="text/javascript"></script>

	<!-- Bootstrap Validator js -->

	<script src="../js/bootstrapValidator.min.js" text="text/javascript"></script>





</head>








  </head>

  <body>

  <nav class="navbar navbar-default">
        <div class="container-fluid">

            <!-- Logo -->
            <div class="navbar-header">
                <a href="#" class="navbar-brand">LT-REGISTRATION</a>
            </div>

            <!-- Menu Items -->
            <div>
                <ul class="nav navbar-nav">
                    <li><a href="index.php">Home</a></li>
                    <li><a href="book.php">Book</a></li>
                    <li><a href="history.php">History</a></li>
                  
                    <li   class="active"><a href="create_account.php">Create Account</a></li>
                   
                </ul>
            </div>

            <div>
                <ul class="nav navbar-nav navbar-right">
                    
                    <li><a  href="../logout.php">Log Out</a></li>
                </ul>
            </div>        

        </div>
    </nav>

    <div class="container">
    	<div class="panel panel-default">
    		<div class="panel-heading text-center" >Account Creation Wizard</div>

    			<div class="panel-body">
    				<form id="registration-form" method="POST" class="form-horizontal" action="#">




    					<div class="form-group">
    						<label class="col-md-2 control-label" for="email">Email Address</label>
    						<div class="col-md-4">
    							<input type="text" class="form-control" id="email" name="email" placeholder="Email Address" />
    						</div>
    					</div>

    					<div class="form-group">
    						<label class="col-md-2 control-label" for="password">Password</label>
    						<div class="col-md-4">
    							<input type="password" class="form-control" id="password" name="password" placeholder="Password" />
    						</div>
    					</div>


    					<div class="form-group">
    						<label class="col-md-2 control-label" for="passwordConfirm">Confirm Password</label>
    						<div class="col-md-4">
    							<input type="password" class="form-control" id="passwordConfirm" name="passwordConfirm" placeholder="<PASSWORD>" />
    						</div>
    					</div>


    					<div class="form-group">
    						<label class="col-md-2 control-label" for="accountType">Account Type</label>
    						<div class="col-md-4">
    							<select class="form-control" id="accountType" name="accountType">
    								<option value="0">Choose One</option>
    								<option value="1">Adminstrator Account</option>
    								<option value="2">Basic Account</option>
    							</select>
    							
    						</div>
    					</div>

    					<div class="form-group">
    						<div class="col-md-6 col-md-offset-2">
    							<buttion type="submit" class="btn btn-success">Submit</buttion>
    						</div>    						
    					</div>

    				</form>

    			</div>

    		
    	</div>

    </div>

 



     

       
    	   
     


    <!-- /.container -->


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
   

</body>

<script type="text/javascript">
	
	$(document).ready(function () {

		var validator = $("#registration-form").bootstrapValidator({

			fields : {

				email : {

					message="Email is required"

					validator :{
						notEmpty : {
							message: "Please provide an email Address"
						}
					}

				}

			}


		});


	});


</script>




</html>
{'fraction_non_alphanumeric': 0.1886089813800657, 'fraction_numerical': 0.0035049288061336256, 'mean_word_length': 2.0258449304174952, 'pattern_counts': {'":': 0, '<': 128, '<?xml version=': 0, '>': 128, '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': '4192719', 'n_tokens_mistral': 1681, 'n_tokens_neox': 1377, 'n_words': 261}