research.asp
上传用户:btntkt
上传日期:2021-04-16
资源大小:5296k
文件大小:2k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

DOS

  1. <table width="180" border="0" align="left" cellpadding="0" cellspacing="0">
  2.   <tr>
  3.     <td><img src="skin/skin<%=skinid%>/left03.gif" width="180"  /></td>
  4.   </tr>
  5.   <tr>
  6.     <td ><table width="100%" border="0" cellspacing="0" cellpadding="0">
  7.       <tr><%
  8. set rs=conn.execute("SELECT * from vote where IsChecked=1 ") 
  9. if rs.eof then
  10.   %>
  11.                     暂无投票
  12.                     <%else%>
  13.         <td><div align="center"><b> <%=rs("Title")%></b></div></td>
  14.       </tr>
  15.       <tr>
  16.         <td><table border="0" width="100%" cellspacing="2" cellpadding="2">
  17.                                                 <form action="vote.asp" target="newwindow" method=post name=research>
  18.                                                   <tr>
  19.                                                     <td valign=top width="100%"><%
  20. for i=1 to 8
  21. if rs("Select"&i)<>"" then
  22. %>
  23.                                                         <input style="border: 0" <%if i=1 then%>checked<%end if%> name=Options type=radio value=<%=i%>>
  24.                                                         <%=i%>.<%=rs("Select"&i)%><br>
  25.                                                         <%
  26. end if
  27. next
  28. %>                                                    </td>
  29.                                                   </tr>
  30.                                                   <tr>
  31.                                                     <td width="100%" height=30 align=center><input type="image" border="0" name="submit" src="images/vote1.gif" width="59" height="19" style="cursor:hand">
  32.                                                      <a href="vote.asp?stype=view" target="_blank"><img src="images/vote.gif" width="59" height="19" border="0"> </a></td>
  33.                                                   </tr>
  34.                                                 </form>
  35.                                             </table>
  36.                                                 <%end if%>          </td>
  37.       </tr>
  38.     </table></td>
  39.   </tr>
  40. </table>