<div align="center">
<center>
<table border="1" width="68%" height="31" cellspacing="0" cellpadding="7" bordercolor="#E3E3E3">
<form action="edit.php" method=post>
<?
if ($errorm and $Submit)
{
echo"<tr>";
echo"<td height=40 colspan=4>";
echo"<font color=red>出错了,</font>$errorm";
echo"</td>";
echo"</tr>";
}
?>
<tr>
<td width="18%" height="37" bgcolor="#f0f0f0"><font color="#000000">留言大名</font></td>
<td width="39%" height="37" bgcolor="#FFFFFF">
<input type="text" name="TxtName" size="26" value=<?echo "$txtname"?>>
</td>
<td width="11%" height="37" bgcolor="#f0f0f0"><font color="#000000">来自</font></td>
<td width="32%" height="37" bgcolor="#FFFFFF">
<input type="text" name="TxtFrom" size="20" value=<?echo "$txtfrom"?>>
</td>
</tr>
<tr>
<td width="18%" height="31" bgcolor="#f0f0f0"><font color="#000000">主页地址</font></td>
<td width="39%" height="31" bgcolor="#FFFFFF">
<input type="text" name="TxtHomepage" size="26" value=<?echo "$txthomepage"?>>
</td>
<td width="11%" height="31" bgcolor="#f0f0f0"><font color="#000000">Email</font></td>
<td width="32%" height="31" bgcolor="#FFFFFF">
<input type="text" name="TxtEmail" size="20" value=<?echo "$txtemail"?>>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="31" colspan="4"><font color="#000000">留言内容</font></td>
</tr>
<tr bgcolor="#f0f0f0">
<td height="105" colspan="4" valign="middle" align="center">
<textarea rows="6" name="TxtContent" cols="50" wrap="VIRTUAL"><? echo "$txtcontent"?>
</textarea>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="40" colspan="4" valign="middle" align="center"> <font color="#000000">修改密码
<input type="password" name="TxtPassword" size="10" value=<?echo "$TxtPassword"?>>
<font color="#000000">是否保存密码</font>
<input type="checkbox" name="SavePassword" value="on" checked>
<input type=hidden name=record value=<? echo "$record"?>>
<input type="submit" value="我要修改了" name="Submit">
</td>
</tr>
<? echo "$txtreply"?>
<input type=hidden name=TxtReply value="<? echo "$txtreply" ?>">
</form>
</table>
</center>
</div>
<?include('bottom.htm');?>
</body>
</html>
----------
该注明的地方我已作了诠释.php可以嵌入html代码中,这样写起代码很惬意.
待续...
-
2/2 首页 上一页 1 2 |