Location: PHPKode > projects > OxyNews > oxynews/admin/oxynews_U_details.php
<?
/*
	OxyNews, a PHP news management program
    Copyright (C) 2002  OxyTeam
    This program is free software; you can redistribute it and/or modify 
    it under the terms of the GNU General Public License as published by 
    the Free Software Foundation; either version 2 of the License, or 
    (at your option) any later version. 

    This program is distributed in the hope that it will be useful, 
    but WITHOUT ANY WARRANTY; without even the implied warranty of 
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    GNU General Public License for more details. 

    You should have received a copy of the GNU General Public License 
    along with this program; if not, write to the Free Software 
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
*/
// www.php-arena.com
// www.oxynews.net
// www.oxyscripts.com

$page_title = "Change Details"; // Title of page

include("oxynews_I_top.php"); // Top of page

/**** CODE START ****/
echo"<center>
<font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"2\">\n";

?>
Note: Passwords can only be 20 characters long.<br>Note: Only <?=$oxynews_userlevels[1][name] ?> can change nicknames.<p>

<form method="post" action="oxynews_U_details_process.php">

<table border = 0>
 <tr>
  <td align="center" colspan="2"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Change your details.</font><BR></td>
 </tr>
<?
if ($oxynews_userlevels[$phpUserLogin_userinfo[user_level]][u][edit]) {
?>
 <tr> 
  <td align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">Nickname:</font></td>
  <td><input type="text" name="nickname" MaxLength=20 value="<?=$phpUserLogin_userinfo[nickname] ?>"></td>
 </tr>
<?
}
?>
 <tr>
 <td align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">New Password:</font></td>
 <td><input type="password" name="password" MaxLength=20></td>
</tr>
 <tr>
 <td align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">Retype New Password:</font></td>
 <td><input type="password" name="password2" MaxLength=20></td>
</tr>
 <tr>
  <td align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">Email:</font><BR></td>
  <td><input type="Text" name="email" value="<?=$phpUserLogin_userinfo[email] ?>" MaxLength=100></td>
 </tr>
</table>

<input type="Submit" name="submit" value="Update">

</form>

<?php

echo"</font>
</center>";
/**** CODE END ****/

include("oxynews_I_bottom.php"); // Bottom of page

?>
Return current item: OxyNews