⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 good.asp

📁 一个人用ASP+SQL制作的个人博客
💻 ASP
字号:
<!--#include file="articleconn.asp"-->
<!--#include file="home1.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=rs1("homes")%>=><%=rs1("home")%></title><META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="film.files/style.css" type=text/css rel=stylesheet><script language="javascript">
function popwin2(id)
{		window.open("review.asp?id="+id,"","height=500,width=550,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
}
</script>
</head>
<body marginwidth="0" leftmargin="0" bgcolor="#000000" topmargin="2" marginheight="0" background="pic/FilmStrip.gif" >
<table width="159" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="21">&nbsp;</td>
    <td width="138"> 
      <table width="16%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="20"> 
            <div align="center"><img src="pic/moviet.gif" width="85" height="34"></div>
          </td>
        </tr>
        <tr> 
          <td> 
            <%
dim tuicool,strSQL2,cool
strSQL2 ="SELECT  * FROM film WHERE best = true ORDER BY id DESC"
Set tuicool = Server.CreateObject("ADODB.Recordset")
tuicool.open strSQL2,Conn,3,1
cool=1
if tuicool.eof then
response.write "<font color='#ffffff'>没有影片提供观看</font>"
else
do while not tuicool.eof
if not tuicool.eof then
%>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="84"><%if rs("images")<>"" and rs("images")<>"images/59.jpg" then%> <a href="soft.asp?id=<%=tuicool("id")%>&amp;typeid=<%=tuicool("typeid")%>" target="_blank"> 
                  <img src=<%=tuicool("images")%> border="0" width="115" height="120" align="middle"> 
                  </a> <%end if%> </td>
              </tr>
              <tr> 
                <td height="2"> 
                  <div align="center"><a href="soft.asp?id=<%=tuicool("id")%>&amp;typeid=<%=tuicool("typeid")%>" target="_blank"><%=tuicool("title")%></a></div>
                </td>
              </tr>
            </table>
            <%tuicool.movenext
end if
cool=cool+1
if tuicool.eof or cool>1 then
exit do
end if
loop
tuicool.close
set tuicool=nothing
end if%>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body></html>
<%
rs1.close
set rs1=nothing
conn.close
set conn=nothing%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -