Files
auth-site/html/addnewuser.php
Bandit42 42523a2e05 v2.03 UPDATE HTML (#4)
* Add files via upload

v2.02 UPDATE: 10/30/2019

1.) Added folder "swgsourceclient" for VM owner to add his configured client in zip format to allow others to download the client.

2.) Modified "addnewuser.php" file to include a download link and file location for client download in compressed file format

    Bandit

* typo

* closing tag

* HTML fixes

-Put the download link within the document body.
-Remove the closing br tag, which isn't a thing. It's a self closing tag.

* v2.03 HTML Update

v2.03 UPDATE: 11/15/19

1.) Cleaned up some misplaced HTML code that was out of sync on index.php

	a.) Removed broken links to webpages that no longer exist but I did keep the names of those sites on the left column of index.php
	
	b.) Reactivated intro music but added "muted" to line of code so you can't hear the music play on index.php
	
	c.) Removed code and background for "Star Wars" background pic and added new code and background pic on index.php

2.) Removed code and background for "Vader Lightsaber" background pic and added new code and background pic on addnewuser.php

	a.) Removed link to download SWG Source Client to give the server owner an option to point to a link to download file or host file within VM

* Fix HTML errors

+ BR is a self closing tag. There is no such thing as </br>
+ There shouldn't be any content outside of </body>
+ <center> needs to be closed

* Just trying to close all open tags

* It seems both should be centered
2019-11-27 11:34:32 -05:00

84 lines
2.3 KiB
PHP

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Create a New Account</title>
<meta name = "viewport" content = "width = device-width">
<meta name = "viewport" content = "initial-scale = 1.0">
<script type="text/javascript" language="JavaScript">
<!--
function BothFieldsIdenticalCaseSensitive() {
var one = document.NewUser.realpassword.value;
var another = document.NewUser.confirmpassword.value;
if(one == another) { return true; }
alert("Password fields must be the same.");
return false;
}
//-->
</script>
<style>
body {
background-image: url("/images/vaderdeathstar.jpg");
background-color: black;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
}
a:link {
color: green;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: orange;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: red;
background-color: transparent;
text-decoration: underline;
}
a:active {
color: yellow;
background-color: transparent;
text-decoration: underline;
}
</style>
</head>
<body>
<body style="font-family: arial; font-style: gill-sans">
<p><center><b><a href="/index.php">Home</a></b></p>
<table>
<form name="NewUser" action="newuserpost.php" method="post" border="0">
<p><b><u><center><Font Color="white">REGISTER AN ACCOUNT</Font></p></center></b></u>
<tr>
<td><Font Color="#FFFFFF"><b>Account Name</b></Font></td>
<td><input type="text" name="useraccountname"/></td>
</tr><tr>
<td><Font Color="#FFFFFF"><b>Password</b></Font></td>
<td><input type="password" name="realpassword"/></td>
</tr><tr>
<td><Font Color="#FFFFFF"><b>Confirm Password</b></Font></td>
<td><input type="password" name="confirmpassword"/></td>
</tr><tr>
<td><Font Color="#FFFFFF"><b>Access Level</b></Font></td>
<td><select name="accesslevel">
<option value="standard">Standard</option>
</select></td>
</tr>
<tr><td></td><td>
<input type="hidden" name="action" value="create"/>
<input type="submit" onclick="return BothFieldsIdenticalCaseSensitive();" value="Submit"/>
</td></tr>
</center>
</form>
</table>
<br />
<center><a href="#" download><font size="+2"><b><u>>>Download Client<<</u></b></font></a></center>
</body>
</html>