down.asp

来自「教育管理系统」· ASP 代码 · 共 49 行

ASP
49
字号
<!--#include file="articleconn.asp"-->
<!--#include file="home1.asp"-->
<%
dim zhuid,typeid
zhuid = Request.QueryString("zhuid")
typeid = Request.QueryString("typeid")
id = Request.QueryString("id")
if zhuid="" then
Response.Write("错误参数")
Response.End
else
if id="" then
Response.Write("错误参数")
Response.End
else
set rs2=server.createobject("adodb.recordset")
sql2="select * from zhu where zhuid="&zhuid
rs2.open sql2,conn,1,1
zhu=rs2("zhu")
rs2.close
set rs3=server.createobject("adodb.recordset")
sql3="select * from type where typeid="&typeid
rs3.open sql3,conn,1,1
types=rs3("type")
rs3.close
set rs=server.createobject("adodb.recordset")
sql="select * from learning where articleid="&id
rs.open sql,conn,1,1

%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=rs1("homes")%>=><%=rs1("home")%></title><link rel="stylesheet" type="text/css" href="css/style.css"><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>
<body marginwidth="0" leftmargin="4" bgcolor="#666666" topmargin="4" marginheight="0" text="#FFFFFF" >
<center>
  <img src='3344520.asp?url=<%=rs("url")%>&id=<%=rs("articleid")%>' border="0"> 
</center>
</body></html>
<%end if
end if
rs1.close
set rs1=nothing
conn.close
set conn=nothing%>

⌨️ 快捷键说明

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