Add User.php:
<?
include("checksession.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Help Desk Accounts Creation Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<script language="JavaScript">
function validate()
{
if(document.form1.UserAccount.value=="")
{
alert("Please Enter User Name");
document.form1.UserAccount.focus();
return false;
}
if(document.form1.password.value=="")
{
alert("Please Enter Password");
document.form1.password.focus();
return false;
}
if(document.form1.pathToHelpDesk.value=="")
{
alert("Please Enter Path To HelpDesk");
document.form1.pathToHelpDesk.focus();
return false;
}
return true;
}
</script>
<body>
<table width="90%" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="670"> <p align="center"><strong><img src="images/help-desk-account-managment.jpg" alt="Help Desk Account Managment" width="594" height="176" border="0" usemap="#Map2">
<map name="Map2">
<area shape="rect" coords="4, 130, 70, 176" href="reportproblem.php">
<area shape="rect" coords="80, 128, 159, 174" href="helpDeskAccessAllCalls.php">
<area shape="rect" coords="173, 129, 274, 173" href="DataAccessSearch.php">
<area shape="rect" coords="292, 126, 375, 177" href="ocm-first.php">
<area shape="rect" coords="384, 128, 447, 174" href="search.php">
<area shape="rect" coords="454, 128, 544, 169" href="DataAccess.php">
</map>
<br>
Help Desk User Account Creation. "Accounts used to login to the help
desk".</strong><br>
<br>
</p>
<p align="center">Press "Create Accounts" button at the bottom
of the page when you have entered your desired accounts.</p>
<hr noshade>
Account 1
<form name="form1" method="post" action="add_process.php" onSubmit="return validate()">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>First Name:
<input name="FirstName" type="text" id="FirstName"> </td>
<td>Example: Ted</td>
<td width="57%"> </td>
</tr>
<tr>
<td><p>Last Name:
<input name="LastName" type="text" id="LastName2">
</p></td>
<td>Example: Sloth</td>
<td> </td>
</tr>
<tr>
<td><strong>User Account</strong>:
<input name="UserAccount" type="text" id="UserAccount"> </td>
<td>Example TSloth</td>
<td> </td>
</tr>
<tr>
<td width="30%"><strong>Password</strong>:
<input name="password" type="password" id="password"></td>
<td width="13%">Example: superglobal</td>
<td> </td>
</tr>
<tr>
<td colspan="2"><font color="#FF0000"><strong>Path to help desk <font color="#FF0000">*This
is required:</font></strong><font color="#000000"></font></font>
<input name="pathToHelpDesk" type="text" id="pathToHelpDesk" size="70" maxlength="200"></td>
<td rowspan="2"><p> </p></td>
</tr>
<tr>
<td colspan="2"><p><font color="#000000"> <font color="#FF0000"><strong>Above</strong></font>
You must enter the absolute web path to your help desk DataAccess.php
file! Example, if my server was of the domain helpdeskreloaded.com
my abosulte path would be as follows: http://http://www.helpdeskreloaded.com/helpdesk/helpdesk/DataAccess.php</font></p>
<p> </p></td>
</tr>
</table>
<hr noshade>
<input type="submit" name="Submit" value="Create Accounts" class="button">
<br>
<p> </p>
</form>
</td>
</tr>
</table>
<div align="center"><br>
<a href="http://www.helpdeskreloaded.com"><img src="http://www.helpdeskreloaded.com/reload/help-desk-copyright.jpg" alt="http://www.helpdeskreloaded.com Help Desk Software By HelpDeskReloaded "Help Desk Reloaded"" border="0"></a>
</div>
</body>
</html>
Other Customer Support Scripts: