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

📄 ipage.asp

📁 8款下载系统源代码 2003-3-11 21:37:45 433 949k · 都很常见: 猛虎山庄、燕衔泥(飞扬的软件第二版用的就是他
💻 ASP
字号:
<%
If request("voteID")="" Then
response.redirect"http://www.365do.net"
End If
%>
<!--#include file="conn.asp"-->
<%
dim voteID
dim mode
dim ip
dim rs,sql
voteID=request("voteID")
mode=request("mode")
ip=request("ip")
set rs=Server.CreateObject("Adodb.Recordset")
sql="select voteID,votename,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10 from vote where voteID="&request("voteID")
rs.open sql,conn,1,1
%>
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<title>调查引擎</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Description" content="调查引擎">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<style type="text/css">
body {font-family:"verdana", "arial", "helvetica", "Tahoma"; font-size: 9pt; color:#000000;
scrollbar-face-color:'CCCCCC'; 
scrollbar-shadow-color:'CCCCCC'; 
scrollbar-highlight-color:'CCCCCC'; 
scrollbar-3dlight-color:'D9D9D9'; 
scrollbar-darkshadow-color: '808080'; 
scrollbar-track-color:'F8F8F8'; 
scrollbar-arrow-color:'808080' }
td {font-family:verdana,arial,helvetica,Tahoma; font-size: 9pt}
div {font-family:verdana,arial,helvetica,Tahoma; font-size: 9pt}
form{font-family:verdana,arial,helvetica,Tahoma; font-size: 9pt}
select{font-size: 9pt}
OPTION{font-size: 9pt}
p{font-family:verdana,arial,helvetica,Tahoma; font-size: 9pt}
br{font-family:verdana,arial,helvetica,Tahoma; font-size: 9pt}
A {font-family:verdana,arial,helvetica,Tahoma; text-decoration: none; color:'000000'; font-size: 9pt}
A:hover {font-family:"verdana", "arial", "helvetica", "Tahoma"; text-decoration: none; color:#FF0000;  font-size: 9pt}
.informat01{font-family:verdana,arial,helvetica,Tahoma; font-size:9pt; background-color:'EFEFEF'}
.i02{font-family:"verdana", "arial", "helvetica", "Tahoma"; font-size:9pt; background-color: 'EFEFEF'; color: #000000; border: 1 solid '000000'}
.i03{ background-color:'EFEFEF'; 
BORDER-TOP-WIDTH: 1px; 
PADDING-RIGHT: 1px; PADDING-LEFT: 1px; 
BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 9pt; 
BORDER-LEFT-COLOR:'FFFFFF'; BORDER-BOTTOM-WIDTH: 1px; 
BORDER-BOTTOM-COLOR:'C0C0C0'; PADDING-BOTTOM: 1px; 
BORDER-TOP-COLOR:'FFFFFF'; PADDING-TOP: 1px; 
HEIGHT: 20px; BORDER-RIGHT-WIDTH: 1px; 
BORDER-RIGHT-COLOR:'C0C0C0'}
.i04{font-family:"verdana", "arial", "helvetica", "Tahoma"; font-size:9pt; 
background-color: 'ffffff'; color: #000000; 
border: 1 solid '000000'; background=''} 
.i05{font-family:"verdana", "arial", "helvetica", "Tahoma"; font-size:9pt; 
background-color: 'D9D9D9'; color: #000000; 
border: 1 solid '808080';}
.botton    {border-bottom:#000000 1px solid; background-color:#F1F1F1; border-left:#FFFFFF 1px solid; border-right:#333333 1px solid; border-top:#FFFFFF 1px solid; font-size: 9pt; font-family:"??"; height:20px; color: #000000; padding-bottom: 1px; padding-left: 1px; padding-right: 1px; padding-top: 1px; border-style: ridge}
.textfield {border-bottom:#000000 1px solid; background-color:#FFFFFF; border-left:#000000 1px solid; border-right:#000000 1px solid; border-top:#000000 1px solid; font-size: 9pt; font-family:"宋体";}
</style>
<SCRIPT language=JavaScript>
function openWindow(url,name,width,height) {
        var Win = window.open(url,name,'width=' + width + ',height=' + height + ',resizable=1,scrollbars=no,menubar=yes,status=yes' );
}
</SCRIPT>
</head>

<body topmargin="5" leftmargin="5" bgcolor="#FFD112" text="#000000">
<form method="POST" action="ivote.asp?voteID=<%=voteID%>" onsubmit="openWindow('','research',450,320)" target=research>
  <table border="0" cellpadding="0" width="90%" cellspacing="1" align="center" bgcolor="#995f14" >
    <tr> 
      <td valign="middle" bgcolor="#efefef" height="20"> 
        <div align="center"><%=rs("votename")%></div>
      </td>
    </tr>
    <tr>
      <td height="57" valign="top">
        <table border="0" cellpadding="0" cellspacing="0" width="100%" height="101" align="center">          
          <tr> 
            <td width="7%" height="17" align="center" bgcolor="#FFFFFF"> 
              <input type="radio" value="n1" name="vote">
            </td>
            <td width="93%" height="17" bgcolor="#FFFFFF"><%=rs("s1")%></td>
          </tr>
          <tr> 
            <td width="7%" height="22" align="center" bgcolor="#FFFFFF"> 
              <input type="radio" value="n2" name="vote">
            </td>
            <td width="93%" height="22" bgcolor="#FFFFFF"><%=rs("s2")%></td>
          </tr>
          <%
If rs("s3")<>"" Then
response.write"<tr><td width=7% height=22 align=center bgcolor=#FFFFFF><input type=radio value=n3 name=vote></td><td width=93% height=22 bgcolor=#FFFFFF>"&rs("s3")&"</td></tr>" 
End If
If rs("s4")<>"" Then
response.write"<tr><td width=7% height=22 align=center bgcolor=#ffffff><input type=radio value=n4 name=vote></td><td width=93% height=22 bgcolor=#FFFFFF>"&rs("s4")&"</td></tr>" 
End If
If rs("s5")<>"" Then
response.write"<tr><td width=7% height=22 align=center bgcolor=#ffffff><input type=radio value=n5 name=vote></td><td width=93% height=22 bgcolor=#FFFFFF>"&rs("s5")&"</td></tr>" 
End If
If rs("s6")<>"" Then
response.write"<tr><td width=7% height=22 align=center bgcolor=#ffffff><input type=radio value=n6 name=vote></td><td width=93% height=22 bgcolor=#FFFFFF>"&rs("s6")&"</td></tr>" 
End If
If rs("s7")<>"" Then
response.write"<tr><td width=7% height=22 align=center bgcolor=#ffffff><input type=radio value=n7 name=vote></td><td width=93% height=22 bgcolor=#FFFFFF>"&rs("s7")&"</td></tr>" 
End If
If rs("s8")<>"" Then
response.write"<tr><td width=7% height=22 align=center bgcolor=#ffffff><input type=radio value=n8 name=vote></td><td width=93% height=22 bgcolor=#FFFFFF>"&rs("s8")&"</td></tr>" 
End If
If rs("s9")<>"" Then
response.write"<tr><td width=7% height=22 align=center bgcolor=#ffffff><input type=radio value=n9 name=vote></td><td width=93% height=22 bgcolor=#FFFFFF>"&rs("s9")&"</td></tr>" 
End If
If rs("s10")<>"" Then
response.write"<tr><td width=7% height=22 align=center bgcolor=#ffffff><input type=radio value=n10 name=vote></td><td width=93% height=22 bgcolor=#FFFFFF>"&rs("s10")&"</td></tr>" 
End If
conn.close
set conn=nothing
rs.close
set rs=nothing
%>
          <tr> 
            <td width="100%" height="31" colspan="2" bgcolor="#FFFFFF"> 
              <p align="center"> 
                <input type="submit" value="提交" name="submit2" class="botton">
                &nbsp; 
                <input type="button" value="查看" name="reset2" onClick="openWindow('view.asp?voteID=<%=voteID%>','result',450,250)" class="botton">
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
    </form>
</body>
</html>

⌨️ 快捷键说明

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