<commit_before><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">

        <title>Sign Up</title>
        <link rel="stylesheet" <?php echo base_url() ?>assets/js/normalize.min.css">
        <link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>assets/css/signup.css">
       
</head>
<body>
<h1> SIGN UP</h1>
		<?php echo validation_errors(); ?>
		<?php echo form_open('signup'); ?>
			<table border="0" width="500" align="center" class="table">
				<tr>
					<td>First Name</td>
					<td><input type="text" class="InputBox" name="FirstName" required="required" value="<?php echo isset($_POST["FirstName"]) ? $_POST["FirstName"] : ''; ?>"></td>
				</tr>
				<tr>
					<td>Last Name</td>
					<td><input type="text" class="InputBox" name="LastName" required="required" value="<?php echo isset($_POST["LastName"]) ? $_POST["LastName"] : ''; ?>"></td>
				</tr>
				<tr>
					<td>Email</td>
					<td><input type="text" class="InputBox" name="Email" required="required" value="<?php echo isset($_POST["Email"]) ? $_POST["Email"] : ''; ?>"></td>
				</tr>
				<tr>
					<td>Contact no.</td>
					<td><input type="text" class="InputBox" pattern="^(09|\+639)\d{9}$" title="ex 09xxxxxxxxx" name="contactno" required="required" value="<?php echo isset($_POST["contactno"]) ? $_POST["contactno"] : ''; ?>"></td>
				</tr>
				<tr>
					<td>Username</td>
					<td><input type="text" pattern="^[A-Za-z0-9_-]{4,15}$" title="Username must be more than 4 characters and not more than 15 characters." class="InputBox" name="Username" required="required" value="<?php echo isset($_POST["Username"]) ? $_POST["Username"] : ''; ?>"></td>
				</tr>
				<tr>
					<td>Password</td>
					<td><input type="password" class="InputBox" name="Password" value="" required="required"></td>
				</tr>
				<tr>
					<td>Confirm Password</td>
					<td><input type="password" class="InputBox" name="confirm_password" value="" required="required"></td>
				</tr>
				<tr>
				<script>
					function select_dept() {
    					if (document.getElementById('type').value == 'department head' || document.getElementById('type').value == 'receiver') {
        					document.getElementById('dment').style.display  = 'block';
    					} else {
        					document.getElementById('dment').style.display = 'none';
   						}
					}
				</script>
					<td>Position</td>
					<td>
						<select id="type" name="type"  onclick='select_dept()' required>
						<option selected="true" disabled>--Choose Position--</option>
 						<option value="custodian">Custodian</option>
					  	<option value="department head">Department Head</option>
					  	<option value="receiver">Receiver</option>
					    <option value="admin">Admin</option><commit_msg>placeholders<commit_after><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">

        <title>Sign Up</title>
        <link rel="stylesheet" <?php echo base_url() ?>assets/js/normalize.min.css">
        <link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>assets/css/signup.css">
       
</head>
<body>
<h1> SIGN UP</h1>
		<?php echo validation_errors(); ?>
		<?php echo form_open('signup'); ?>
			<table border="0" width="500" align="center" class="table">
				<tr>
					<td>First Name</td>
					<td><input type="text" class="InputBox" name="FirstName" required="required" value="<?php echo isset($_POST["FirstName"]) ? $_POST["FirstName"] : ''; ?>" placeholder= "first name"></td>
				</tr>
				<tr>
					<td>Last Name</td>
					<td><input type="text" class="InputBox" name="LastName" required="required" value="<?php echo isset($_POST["LastName"]) ? $_POST["LastName"] : ''; ?>" placeholder= "last name"></td>
				</tr>
				<tr>
					<td>Email</td>
					<td><input type="text" class="InputBox" name="Email" required="required" value="<?php echo isset($_POST["Email"]) ? $_POST["Email"] : ''; ?>" placeholder= "email"></td>
				</tr>
				<tr>
					<td>Contact no.</td>
					<td><input type="text" class="InputBox" pattern="^(09|\+639)\d{9}$" title="ex 09xxxxxxxxx" name="contactno" required="required" value="<?php echo isset($_POST["contactno"]) ? $_POST["contactno"] : ''; ?>" placeholder= "contact no."></td>
				</tr>
				<tr>
					<td>Username</td>
					<td><input type="text" pattern="^[A-Za-z0-9_-]{4,15}$" title="Username must be more than 4 characters and not more than 15 characters." class="InputBox" name="Username" required="required" value="<?php echo isset($_POST["Username"]) ? $_POST["Username"] : ''; ?>" placeholder= "username"></td>
				</tr>
				<tr>
					<td>Password</td>
					<td><input type="password" class="InputBox" name="Password" value="" required="required" placeholder= "password"></td>
				</tr>
				<tr>
					<td>Confirm Password</td>
					<td><input type="password" class="InputBox" name="confirm_password" value="" required="required" placeholder= "confirm password"></td>
				</tr>
				<tr>
				<script>
					function select_dept() {
    					if (document.getElementById('type').value == 'department head' || document.getElementById('type').value == 'receiver') {
        					document.getElementById('dment').style.display  = 'block';
    					} else {
        					document.getElementById('dment').style.display = 'none';
   						}
					}
				</script>
					<td>Position</td>
					<td>
						<select id="type" name="type"  onclick='select_dept()' required>
						<option selected="true" disabled>--Choose Position--</option>
 						<option value="custodian">Custodian</option>
					  	<option value="department head">Department Head</option>
					  	<option value="receiver">Receiver</option>
					    <option value="admin">Admin</option>
{'fraction_non_alphanumeric': 0.21296296296296297, 'fraction_numerical': 0.00819088319088319, 'mean_word_length': 3.892857142857143, 'pattern_counts': {'":': 0, '<': 179, '<?xml version=': 0, '>': 179, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '6410095', 'n_tokens_mistral': 2173, 'n_tokens_neox': 1800, 'n_words': 368}