📄 admin02.asp
字号:
<!--#include file="conn.asp"-->
<%
if session("admin")="" then
response.redirect "../"
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>华夏世纪影院</title>
<style type="text/css">
<!--
td { font-size: 12px; line-height: 17px }
body { font-size: 12px; line-height: 17px }
p { margin-top: 1px; margin-bottom: 1px }
a:link { text-decoration: none; color: black }
a:visited { text-decoration: none; color: black }
a:active { text-decoration: none }
a:hover { text-decoration: underline; color: red }
-->
</style>
<script language= "javascript">
function newpage(htmlurl) {
var newwin=window.open(htmlurl,"newWin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=20,left=200,width=760,height=465");
newwin.focus();
return false;
}
</script>
<SCRIPT LANGUAGE="JavaScript">
<!--//
function checkadd()
{
if (document.search.keyword.value.length<1)
{
alert("请输入查询关键字!");
document.search.keyword.focus();
return false;
}
if (document.search.keyword.value=="输入关键字")
{
alert("请输入查询关键字!");
document.search.keyword.focus();
return false;
}
}
//-->
</SCRIPT>
<script language="JavaScript">
var msg = "【华夏世纪影院】http://movie.vdinfo.com 本站电影完全免费,别忘了把本站介绍给您的好友哦! " ;
var interval = 120
var spacelen = 120;
var space10=" ";
var seq=0;
function Helpor_net() {
len = msg.length;
window.status = msg.substring(0, seq+1);
seq++;
if ( seq >= len ) {
seq = 0;
window.status = '';
window.setTimeout("Helpor_net();", interval );
}
else
window.setTimeout("Helpor_net();", interval );
}
Helpor_net();
</script>
</head>
<body leftmargin="0" topmargin="0">
<div align="center">
<center>
<%
if session("admin")="" then
response.redirect "../"
else
sql="select * from data where yesno<>0 order by err and id desc"
set rs=server.createobject("adodb.recordset")
rs.open sql,connstr,1,1
end if
if rs.eof then
response.write "<p align=center><font color=#FF0000>暂时没有任何电影!</font></p>"
else
const maxperpage=50
dim currentpage
rs.pagesize=maxperpage
currentpage=request.querystring("pageid")
if currentpage="" then
currentpage=1
elseif currentpage<1 then
currentpage=1
else
currentpage=clng(currentpage)
if currentpage > rs.pagecount then
currentpage=rs.pagecount
end if
end if
if not isnumeric(currentpage) then
currentpage=1
end if
dim totalput,n
totalput=rs.recordcount
if totalput mod maxperpage=0 then
n=totalput\maxperpage
else
n=totalput\maxperpage+1
end if
if n=0 then
n=1
end if
rs.move(currentpage-1)*maxperpage
%>
<table border="0" cellpadding="0" cellspacing="0" width="760" height="60">
<tr>
<td height="60" background="../images/bg.gif" width="141">
</td>
<td height="60" background="../images/bg.gif" width="316">
<a href="add.asp">
<img border="0" src="../images/addmore.gif">
</a>
</td>
<td height="60" background="../images/bg.gif" width="301">
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="49">
<tr>
<td width="50%" align="center" height="24"><img border="0" src="../images/help.gif"></td>
<td width="50%" align="center" height="24"><a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://movie.vdinfo.com/');return(false);"
style="BEHAVIOR: url(#default#homepage)"><img border="0" src="../images/home.gif"></a></td>
</tr>
<tr>
<td width="50%" align="center" height="25"><img border="0" src="../images/ly.gif"></td>
<td width="50%" align="center" height="25"><a href="javascript:window.external.addfavorite('http://movie.vdinfo.com/','♂华夏世纪影院♀')" onclick="this.style.behavior='url(#default#homepage)';this.sethomepage('http://movie.vdinfo.com/')" style="BEHAVIOR: url(#default#homepage)" target="_top" title="将本站加入收藏夹"><img border="0" src="../images/sc.gif"></a></td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="760" height="30">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -