PHP development of simple book background management system administrator password change page
The previous left page shows various background functions
This section first displays the administrator login password modification page
As shown
Use <form><input type= password> to display the required original password box and new input password box.
Use <tr><td> in the <table> tag for layout.
<table cellpadding="3" cellspacing="1" border="0" width="100%" class="table" align=center> <form name="renpassword" method="post" action=""> <tr> <th height=25 colspan=4 align="center" class="bg_tr">更改管理密碼</th> </tr> <tr> <td width="40%" align="right" class="td_bg">用戶名:</td> <td width="60%" class="td_bg"><?php echo $rows["username"] ?></td> </tr> <tr> <td align="right" class="td_bg">原密碼:</td> <td class="td_bg"><input name="password" type="password" id="password" size="20"></td> </tr> <tr> <td align="right" class="td_bg">新密碼:</td> <td class="td_bg"><input name="password1" type="password" id="password1" size="20"></td> </tr> <tr> <td align="right" class="td_bg">確認(rèn)密碼:</td> <td class="td_bg"><input name="password2" type="password" id="password2" size="20"></td> </tr> <tr> <td colspan="2" align="center" class="td_bg"> <input class="button" onClick="return check();" type="submit" name="Submit" value="確定更改"> </td> </tr> </form> </table>
html is just the basic structure of the page. Friends can add css styles and pictures to render it.