#22004/12/11 10:55:39
<head>
<title>单页留言本 ⊙ <%=date%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link type="text/css" rel="stylesheet" href="css.css">
<body>
<table width="720" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#bcae86" style="table-layout:fixed">
<tr><td>
<%
Set Rs = conn.Execute("Select * From gbook Order By ID Desc")
p = Request("p")
If p="" Then p=1
For ii=psize+1 To p*psize
If Not rs.Eof Then
Rs.MoveNext
End If
Next
Do While Not Rs.Eof
'-------------------------------------------显示留言代码---------------------------------------------------
%>
<table width="716" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><td colspan="3"><img src="../img/book_01.gif"></td></tr>
<tr><td width="17" background="../img/book_02.gif"></td>
<td width="683" style="table-layout:fixed">
<table width="681" cellspacing="0" class="font" align="center">
<tr bgcolor="#f2f2f2">
<td width="35">
<img src="face/<%=Rs("dbface")%>" width="35" height="35" align="center"> </td>
<td width="610" valign="center" bgcolor="#f2f2f2">
<%Response.Write Rs("user")%> 于时间[<font color="#990000"><%Response.Write Rs("tim")%></font>
]留言!
<%If Rs("purl")<>"http://" Then Response.Write"<a href='"&Rs("purl")&"'>主页</a> "%>
<%If Rs("mail")<>"" Then Response.Write"<a href='mailto:"&Rs("mail")&"'>邮箱</a> "%><br>
<%If Rs("mob")<>"" Then Response.Write "手机:"&Rs("mob")&" "%>
<%If Rs("tel")<>"" Then Response.Write "电话:"&Rs("tel")&" "%>
</td><td width="35" bgcolor="#f2f2f2" align="center">
<%
'------如果管理密码对了,则显示删除命令------
If Session("admin")="y" Then
Response.Write" <a href='freebook.asp?do=d&id="&Rs(0)&"'>删除</a>"
Response.Write"<br> <a href='reply.asp?id="&Rs(0)&"'>回复</a>"
End If
%></td>
</tr>
<tr>
<td bgcolor="#F2F2F2" class="tab" style="width:679px; word-wrap: break-word" colspan="3">
<%If Rs("tit")<>"" Then Response.Write Rs("tit")&" "%><br>
<%Response.Write Rs("txt")%></td>
</tr>
<%If Rs("REface")<>"" Then%>
<tr>
<td bgcolor="#FFFFFF" colspan="3" class="tab">
<font color="#ff0000">
<%=Rs("time2")%>
</font></td><%End If %>
</tr>
<tr bgcolor="#ffffff">
<td style="width:679px; word-wrap: break-word" colspan="3">
<%Response.Write Rs("txt1")%>
</td>
</tr>
</table>
</td><td background="../img/book_04.gif" width="17"></td></tr>
<tr><td colspan="3"><img src="../img/book_05.gif"></td></tr>
</table>
<hr align="center" width="99%" size="1" color="#ffffff">
<%'--------------------------------------------------------------------------------------------------------------------
i = i+1
If i = psize Then Exit Do
Rs.MoveNext
Loop
%>
</form>
<form method="post" action="freebook.asp" class="font">
<input type="hidden" name="do" value="a">
<input type="text" name="T1" size="10"> =>昵 称 *
<input type="text" name="T2" size="19"> =>主 页
<input type="text" name="T3" size="19"> =>邮 件
<input type="submit" value="提交留言" name="B12" class="form">
<br>
<input name="T4" type="text" size="19" maxlength="11"> 手 机 *
<input name="T5" type="text" size="19"> 电 话
<input name="T6" type="text" size="19"> 留 言 主 题 *<br>
<textarea rows="6" name="S1" cols="96" class="int"></textarea>
<br>
<input type="radio" class="input0" name="face" value="04.gif"><img src="Face/04.gif">
<input type="radio" class="input0" name="face" value="05.gif"><img src="Face/05.gif">
<input name="face" type="radio" class="input0" value="08.gif" checked>
<img src="Face/08.gif">
<input type="radio" class="input0" name="face" value="09.gif"><img src="Face/09.gif">
</form>
<form action="freebook.asp" method="post" class="font">
<input type="hidden" name="do" value="c">
<input type="password" name="T1" size="11">
<input type="submit" value="留言管理登陆" name="B1" class="form">
<%
If Session("admin")="y" Then
Response.Write"<a href='LogOut.asp'>退出登陆</a> <a href='ChangePwd.htm'>修改登陆密码</a>"
End If
%>
<font color="#FFFFFF"><strong>©Dalier V<span class="font0">1.0</span>™ Test ®</strong></font>
</form>
</td></tr></table>
</body>
</html>
____________________________上面是源代码...问题应该出在显示留言表格那块,但我不知道什么地方错了.是css样式问题还是什么...大家帮我看看...谢谢!比较急...