📄 admin02.asp
字号:
<tr>
<td background="../images/bak.gif" height="30" width="758" colspan="2">
<%
sql="select * from item"
set rs_item=server.createobject("adodb.recordset")
rs_item.open sql,connstr,1,1
if rs_item.eof then
response.write "<p align=center><font color=#FF0000>暂时没有分类!</font></p>"
else
response.write "<p align=center><a href=admin.asp>全部电影</a>/<a href=fsoindex.asp target=_blank>制</a> "
do while not rs_item.eof
response.write "<a href=type.asp?item="&rs_item("name")&">"&rs_item("name")&"</a>/<a href=fsotype.asp?item="&rs_item("name")&" target=_blank>制</a> "
rs_item.movenext
loop
end if
rs_item.close
%>
</td>
</tr>
<tr>
<td height="30" width="447">
<a href="../hits_1.htm"><img border="0" src="../images/top.gif"></a>
<a href="add.asp"><img border="0" src="../images/add.gif"></a>
<a href="http://movie.vdinfo.com" target="_blank"><img border="0" src="../images/new.gif"></a>
</td>
<form action="search.asp" method="post" name="search" onsubmit="return checkadd()">
<td height="30" width="313" align="center">
<img border="0" src="../images/dian.gif"> <b>输入电影名:</b><input maxLength="20" name="keyword" onfocus="this.value=''" size="18" value="输入关键字" style="border: 1 solid #000000">
<input type="submit" width="20" height="20" value="查找" style="font-size: 12px" name="search">
</td>
</form>
</tr>
</table>
<table border="1" width="760" cellspacing="0" cellpadding="0" bordercolorlight="#F1F1F1" bordercolordark="#FFFFFF">
<tr>
<td width="758" colspan="7" height="30">
<p align="left"> 页数:<%=currentpage%>/<% =n%>
<%k=currentpage
if k<>1 then%>
<a href="admin.asp?pageid=1">首页</a>
<a href="admin.asp?pageid=<%=k-1%>">上一</a>
<%else%>
首页 上一页
<%end if%>
<%if k<>n then%>
<a href="admin.asp?pageid=<%=k+1%>">下一</a>
<a href="admin.asp?pageid=<%=n%>">尾页</a>
<%else%>
下一页 尾页
<%end if%>
共收录<%=totalput%>部影片</p>
</td>
</tr>
<tr>
<td width="30%" background="../images/bg.gif" height="30"> <img border="0" src="../images/biao_left.gif" width="15" height="15"> 影片名字</td>
<td width="20%" background="../images/bg.gif" height="30" align="center">在线播放</td>
<td width="10%" background="../images/bg.gif" height="30" align="center">电影类型</td>
<td width="10%" background="../images/bg.gif" height="30" align="center">播放格式</td>
<td width="10%" background="../images/bg.gif" height="30" align="center">点击</td>
<td width="10%" background="../images/bg.gif" height="30" align="center">加入日期</td>
<td width="10%" background="../images/bg.gif" height="30" align="center">推荐度</td>
</tr>
<%
i=0
do while i< maxperpage and not rs.eof
%>
<tr>
<td height="30"> <font color=#FF0000>(错:<%=rs("err")%>)</font> <%=rs("name")%> <%if rs("yesno")<>"1" then%><font color=#FF0000>未审核</font><%end if%> <a href="edit.asp?id=<%=rs("id")%>"><font color="#008000">修改</font></a> <a href="del2.asp?id=<%=rs("id")%>"><font color="#FF0000">删除</font></a> <a href="#" onClick="window.open('delerr.asp?id=<%=rs("id")%>','errr','scrollbars=no,resizable=no,width=200,height=80,menubar=no,top=168,left=168')"><font color="#FF0000">清错</font></a></td>
<td height="30" align="center">
<%
if rs("address1")<>"" then
response.write"<a href=play.asp?id="&rs("id")&"&see=1 style='text-decoration: underline' onClick='return newpage(this.href);'>[1]</a> "
end if
if rs("address2")<>"" then
response.write"<a href=play.asp?id="&rs("id")&"&see=2 style='text-decoration: underline' onClick='return newpage(this.href);'>[2]</a> "
end if
if rs("address3")<>"" then
response.write"<a href=play.asp?id="&rs("id")&"&see=3 style='text-decoration: underline' onClick='return newpage(this.href);'>[3]</a> "
end if
if rs("address4")<>"" then
response.write"<a href=play.asp?id="&rs("id")&"&see=4 style='text-decoration: underline' onClick='return newpage(this.href);'>[4]</a> "
end if
if rs("address5")<>"" then
response.write"<a href=play.asp?id="&rs("id")&"&see=5 style='text-decoration: underline' onClick='return newpage(this.href);'>[5]</a> "
end if
%>
</td>
<td height="30" align="center"><a href="type.asp?item=<%=rs("item")%>"><%=rs("item")%></td>
<td height="30" align="center"><%=rs("type")%></td>
<td height="30" align="center"><%=rs("hits")%></td>
<td height="30" align="center"><%=rs("date")%></td>
<td height="30" align="center"><font color="red"><%=rs("mark")%></a></td>
</tr>
<%
i=i+1
rs.movenext
loop
end if
set rs=nothing
%>
</center>
<tr>
<td width="758" colspan="7" height="30">
<p align="left"> 页数:<%=currentpage%>/<% =n%>
<%k=currentpage
if k<>1 then%>
<a href="admin.asp?pageid=1">首页</a>
<a href="admin.asp?pageid=<%=k-1%>">上一</a>
<%else%>
首页 上一页
<%end if%>
<%if k<>n then%>
<a href="admin.asp?pageid=<%=k+1%>">下一</a>
<a href="admin.asp?pageid=<%=n%>">尾页</a>
<%else%>
下一页 尾页
<%end if%>
共收录<%=totalput%>部影片</p>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="760">
<tr>
<td height="70" background="../images/bg.gif" align="center">
<a href="fsoindex.asp" target=_blank><font color="#FF0000">生成首页</font></a>
<a href="fsotop.asp" target=_blank><font color="#FF0000">生成排行</font></a>
<a href="adminerr.asp">网友报错</a>
<a href="add.asp">添加电影</a> <a href="additem.asp">添加栏目</a> <a href="adminitem.asp">管理栏目</a> <a href="pass.asp">修改管理密码</a> <font color="#FF0000">
</font><a href="quit.asp"><font color="#FF0000">退出管理</font></a>
<br>版权所有 © 2003 <b> <a href="http://movie.vdinfo.com"><font color=red>www.vdinfo.com</font></a></b>华夏世纪影院
</td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -