topical media & game development
portal-cms-user_management.php
<?php
if (isset(add = del = new = del) {
del";
query2);
if(!add) {
_POST['user'];
_POST['pass'];
_POST['email'];
user', MD5('email')";
query);
if(!new) {
?>
<form method="post" action="">
<table border="0" cellspacing="0" cellpadding="0" width="600">
<tr>
<td> Username: <input type="text" name="user" size="30" value=""/></td>
</tr>
<tr>
<td> Password: <input type="text" name="pass" size="30" value=""/></td>
</tr>
<tr>
<td> Email: <input type="text" name="email" size="30" value=""/></td>
</tr>
<tr>
<td><input type="submit" value="Submit" name="add" /></td>
</tr>
</table>
</form>
<?php
} else {
?>
<?php
res = mysql_query(row = mysql_fetch_array(row['admin_username']; ?></td>
<td> </td>
</tr>
<?php
}
}
?>
<tr>
<td> </td>
</tr>
<tr>
<td>Add New User</a></td>
</tr>
<tr>
<td> </td>
</tr>
</table> </td>
<td width="4"> </td>
<td width="574"> </td>
</tr>
<tr>
<td colspan="6"><img src="file: D|/Program%20Files/%5Bwebdesign%5D/dreamweaver%208/Dreamweaver%208/Configuration/BuiltIn/StarterPages/mm_spacer.gif" alt="" width="1" height="1" border="0" /></td>
</tr>
<tr>
<td width="15"> </td>
<td width="4"> </td>
<td width="50"> </td>
<td width="536"> </td>
<td width="4"> </td>
<td width="574"> </td>
</tr>
</table>
</body>
</html>
(C) A. Eliëns
2/9/2007
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.