poll.asp
来自「仿雅虎论坛静态生成html版 后台管理:admin/admin.asp 用户」· ASP 代码 · 共 19 行
ASP
19 行
<%
StarTime = Timer():AccessNum=0
username=Request.Cookies("username")
%>
<head>
<link rel="stylesheet" type="text/css" href="../css/style1.css">
</head>
<!--#include file="../conn.asp"-->
<%
lookpollid=Request.QueryString("lookpollid")
if lookpollid<>"" then
AccessNum=AccessNum+1
Set rs = Server.CreateObject("ADODB.Recordset")
sql="SELECT top 11 * FROM 投票项目 where id="&lookpollid&" or 主题ID="&lookpollid&" "
rs.open sql,conn,1,1
rs.movefirst
Response.Write "<table border=0 cellspacing=0 cellpadding=0 align=center class=table1>"
while not rs.eof
if rs("主题ID")=0 then Response.Write "<tr><td colspan=2 width=400 height=27 class=Tbhead>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?