Location: PHPKode > projects > Simple SMS Site Software > simple-sms-site-software/user_add.php
<?php
/******************************************************************************
************** Simple SMS Site Software *********************************
************** SSSSv1.0*****************************************************
************** by (aq) limited http://aql.com *******************************
************** All Rights Reserved ******************************************
************** Please read COPYRIGHT file prior to modification********
********************************************************************************/

session_start();

include("inc/header.inc.php");
	
$user = $_SESSION['user'];
$pass = $_SESSION['pass'];

if ($access == "admin") {
	?>
	<form method="POST" name="sender_form" action="do_add_user.php">
	            
		<tr>
		  <td width="50%">
		    <h1>Add user</h1>
		</tr>
		
		<tr>
		  <td width="50%">
		  
	            <h2>Full name</h2>
		    <input type="text" name="theName" size="20">

		  </td>
		  <td width="50%">
		    
	            <h2>Email</h2>
		    <input type="text" name="email" size="20">
		   
		  </td>
		</tr>
		
		<tr>
		  <td width="50%">

   		    <h2>Mobile</h2>
		    <input type="text" name="theMobile" size="20">
		    
		  </td>
		  <td width="50%">

	            <h2>Landline</h2>
		    <input type="text" name="theLandline" size="20">

  	    	  </td>
		</tr>
		
		<tr>
		  <td width="50%">
		  
	            <h2>Address</h2>
	            
		    <input type="text" name="address1" size="20"><br>
		    <input type="text" name="address2" size="20"><br>
		    <input type="text" name="address3" size="20"><br>
		    <input type="text" name="postcode" size="10">

		  </td>
		  <td width="50%">

		    <h2>Username</h2>
	            <input type="text" name="theUser" size="20">
		    
	            <h2>Password</h2>
	            <input type="password" name="thePassword" size="20">

  	    	  </td>
		</tr>
		
		<tr>
		  <td width="50%">
		 		    
		    <h2>Admin<input type="checkbox" class="checkbox" name="theAdmin" value="1"></h2>

		  </td>
		  <td width="50%">

                    <h2>Guest<input type="checkbox" class="checkbox" name="theGuest" value="1"></h2>

  	    	  </td>
		</tr>

	</table>
	<table>
		<tr>
		  <td>
		    <h2>Extra notes</h2>
		    <textarea name="theNotes" rows="6" class="notesbox" cols="50"></textarea>
		    <br>
		    <input type="submit" value="Submit" name="B1">    
		  </td>
		</tr>
   
		</form>
	<?		
}
else {
	include("inc/restricted.inc.php");
}
include("inc/footer.inc.php");
?>
Return current item: Simple SMS Site Software