6、登出文件logout.php3
7、修改信息文件modify.php3
1<html><head><title>同学录用户修改信息</title>
2<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
3<link href="style.css" rel="stylesheet"/>
4</head><body bgcolor="#FFFFFF" topmargin="0">
5<table border="0" cellpadding="0" cellspacing="0" width="100%"><br/>
6<div align="center"></div><center><tbody></tbody></center>
7</table>
8<table align="center" border="0" cellpadding="0" cellspacing="0" width="60%">
9<tbody> <tr valign="top">
10<td bgcolor="#000000" height="336" width="100%">
11<div align="center">
12<table border="0" cellpadding="4" cellspacing="1" height="390" width="586">
13<tbody>
14<tr>
15<td align="middle" bgcolor="#2f5e8c" colspan="2" height="14" valign="top"><form action="modify.php3" method="POST"> <font color="#ffffff">修改信息-同学录<?echo$login;?></font></form></td>
16</tr>
17<tr>
18<td align="middle" bgcolor="#ffffff" height="25" width="121">NickName: </td>
19<td align="left" bgcolor="#ffffff" height="25" width="486">
20<input class="stedit" maxlength="20" name="nickname" size="23" value="<?echo$info[1];?"/>>
21</td>
22</tr>
23<tr>
24<td align="middle" bgcolor="#ffffff" height="25" width="121">电子邮件: </td>
25<td align="left" bgcolor="#ffffff" height="25" width="486">
26<input class="stedit" maxlength="30" name="mail" size="23" value="<?echo$info[2];?"/>>
27*必须填写 </td>
28</tr>
29<tr>
30<td align="middle" bgcolor="#ffffff" height="25" width="121">您的OICQ: </td>
31<td align="left" bgcolor="#ffffff" height="25" width="486">
32<input class="stedit" maxlength="9" name="oicq" size="23" value="<?echo$info[4];?"/>>
33</td>
34</tr>
35<tr>
36<td align="middle" bgcolor="#ffffff" height="25" width="121">您的主页: </td>
37<td align="left" bgcolor="#ffffff" height="25" width="486">
38<input class="stedit" maxlength="50" name="home" size="23" value="<?echo$info[3];?>"/>
39</td>
40</tr>
41<tr>
42<td align="middle" bgcolor="#ffffff" height="25" width="121">您的 ICQ: </td>
43<td align="left" bgcolor="#ffffff" height="25" width="486">
44<input class="stedit" maxlength="10" name="icq" size="23" value="<?echo$info[5];?"/>>
45</td>
46</tr>
47<tr>
48<td align="middle" bgcolor="#ffffff" height="25" width="121">您的名字: </td>
49<td align="left" bgcolor="#ffffff" height="25" width="486">
50<input class="stedit" maxlength="10" name="name" size="23" value="<?echo$info[0];?"/>>
51*必须填写 </td>
52</tr>
53<tr>
54<td align="middle" bgcolor="#ffffff" height="25" width="121">您的电话: </td>
55<td align="left" bgcolor="#ffffff" height="25" width="486">
56<input class="stedit" maxlength="20" name="tel" size="23" value="<?echo$info[7];?"/>>
57</td>
58</tr>
59<tr>
60<td align="middle" bgcolor="#ffffff" height="25" width="121">出生日期: </td>
61<td align="left" bgcolor="#ffffff" height="25" width="486">
62<input class="stedit" maxlength="11" name="birth" size="23" value="<?echo$info[8];?"/>>
63*类似2000-10-10 </td>
64</tr>
65<tr>
66<td align="middle" bgcolor="#ffffff" height="25" width="121">联系地址: </td>
67<td align="left" bgcolor="#ffffff" height="25" width="486">
68<input class="stedit" maxlength="50" name="add" size="23" value="<?echo$info[6];?"/>>
69</td>
70</tr>
71<tr>
72<td align="middle" bgcolor="#ffffff" height="25" width="121">您的职业: </td>
73<td align="left" bgcolor="#ffffff" height="25" width="486">
74<select name="job">
75<option value="学 生">学 生</option>
76<option value="老 师">老 师</option>
77<option value="其 他">其 他</option>
78</select>
79</td>
80</tr>
81<tr>
82<td align="middle" bgcolor="#ffffff" height="25" width="121">您的性别: </td>
83<td align="left" bgcolor="#ffffff" height="25" width="486">
84<select name="sex">
85<option value="俊 男">俊 男</option>
86<option value="靓 女">靓 女</option>
87<option value="其 他">其 他</option>
88</select>
89</td>
90</tr>
91<tr>
92<td align="middle" bgcolor="#ffffff" height="25" width="121">个人简介: </td>
93<td align="left" bgcolor="#ffffff" height="25" width="486">
94<textarea class="stedit" cols="40" name="intro" rows="4"><?echo$info[10];?></textarea>
95</td>
96</tr>
97<tr bgcolor="#ffedc8">
98<td bgcolor="#ffffff" colspan="2">
99<div align="center">
100<input class="stbtm" name="submit" type="submit" value="确认修改"/></div></td></tr></tbody></table></div></td></tr></tbody></table></body></html>