2025-03-01 07:43:59 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
|
|
|
<link rel="stylesheet" href="../../styles/admin.css" />
|
|
|
|
<link rel="stylesheet" href="../../styles/admin_nav.css" />
|
2025-03-03 21:14:00 -05:00
|
|
|
<link rel="stylesheet" href="../../styles/user_management.css" />
|
2025-03-01 07:43:59 -05:00
|
|
|
<?php include ("../db_config.php");?> <!-- Our password-length variable is stored here -->
|
2025-03-03 21:14:00 -05:00
|
|
|
<script src="../../scripts/user_management.js"></script>
|
2025-03-01 07:43:59 -05:00
|
|
|
<title>USER CREATION FORM</title>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body id="generalBody">
|
|
|
|
<div id="userFormPanel">
|
|
|
|
<h2>USER CREATION</h2>
|
|
|
|
<p>This form is used to manually add new users to the system</p>
|
|
|
|
<hr>
|
|
|
|
<p></p>
|
|
|
|
<form id="userForm" action="add_user.php" onsubmit="return verifyInput()" method="POST" target="dataFrame">
|
|
|
|
<!-- THIS DIV IS FOR INPUT -->
|
2025-03-02 21:14:28 -05:00
|
|
|
<div id="textInputArea">
|
2025-03-03 21:14:00 -05:00
|
|
|
<label for="username" class="inputLabel" >Username:</label>
|
|
|
|
<input type="text" id="username" name="username" maxlength="30" required/>
|
|
|
|
<label for="password" class="inputLabel newLine">Password:</label>
|
|
|
|
<input type="password" id="password" name="password" required/>
|
|
|
|
<input type="checkbox" id="showPassword" name="showPassword" class="passwordOptions" onclick="displayPassword()"/>
|
|
|
|
<label for="showPassword" class="passwordOptions" id="displayPassword" class="newLine">(show)</label>
|
|
|
|
<label for="discord" class="newLine">Discord:</label>
|
|
|
|
<input type="text" id="discord" name="discord" class="newLine" maxlength="50"/>
|
|
|
|
<label for="twitch" class="newLine">Twitch:</label>
|
|
|
|
<input type="text" id="twitch" name="twitch" class="newLine" maxlength="50" />
|
|
|
|
<label for="youtube" class="newLine">Youtube:</label>
|
|
|
|
<input type="text" id="youtube" name="youtube" class="newLine" maxlength="50" />
|
2025-03-01 07:43:59 -05:00
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<!-- THIS DIV IS FOR EXTRA SETTINGS -->
|
|
|
|
<div id="extraOptions">
|
|
|
|
<h4>EXTRA OPTIONS</h4>
|
|
|
|
<p class="newLine"> </p>
|
2025-03-03 21:14:00 -05:00
|
|
|
<input type="checkbox" id="isAdmin" name="isAdmin" class="extraOptions">
|
2025-03-01 07:43:59 -05:00
|
|
|
<label for="isAdmin" class="extraOptions">Make administrator?</label>
|
|
|
|
<p class="newLine">An administrator will have FULL access to the administrator panel. In the hands of the wrong user, THIS COULD CAUSE SERIOUS DAMAGE AND IRREPARABLE HARM TO YOUR SERVER! Proceed with caution, and only with those you trust.</p>
|
|
|
|
<p class="newLine"></p>
|
|
|
|
</div>
|
|
|
|
<p> </p>
|
|
|
|
<input type="submit" value="CREATE" />
|
|
|
|
</form>
|
|
|
|
<p> </p>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|