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

📄 union.asp

📁 gdflsdf fkspofql owjlfkjsoijdf sdjfo
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="sub/config.asp"-->
<!--#include file="sub/conn.asp"-->
<!--#include file="sub/inc.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=Sitename%>-设计联盟</title>
<link href="index.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!--#include file="top.asp"-->
<table width="780" height="4" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td background="images/index_11.gif"></td>
  </tr>
</table>

  <table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
   <tr>
    <td height="30" rowspan="2" class="menuD"><img src="images/Lv2/lv2unionclass.gif" width="200" height="30" /></td>
    <td height="29" bgcolor="#eeffff"><% '当用户在线不显示登录表单
if session("userlogin")="" then%>
<form id="form1" name="form1" method="post" action="usermg.asp">
&nbsp;&nbsp;用户名:
        <input name="name" type="text" class="textInput" id="name" size="12" maxlength="16" />
     密__码:
<input name="pwd" type="password" class="textInput" id="pwd" size="12" maxlength="16" />
&nbsp;&nbsp;&nbsp;&nbsp;<input name="Submit2" type="submit" class="Input" value="进入" />
&nbsp;<a href="reg.asp">我还没注册</a>
  </tr>
</form>

  <%else%>
	<marquee behavior=alternate onmouseover=stop() onmouseout=start()  scrollamount="1" scrolldelay="10">
      <font class="top"><%=ad1%></font>
     </marquee>  <%end if%></td>
  </tr>
   <tr>
     <td height="1" bgcolor="#FF9900"></td>
   </tr>

  <tr>
    <td align="center" valign="top" bgcolor="#eeffff">
	  <table width="175" border="0" cellspacing="0" cellpadding="0">
	    <%
	dim i
	i = 1
	Set RS = Server.CreateObject("ADODB.Recordset")
	SQL = "Select * from webclass"
	RS.Open SQL, cn, 1,1,1
	Do while not RS.EOF
		if i mod 2 <> 0 then
%>
	    <tr>
	      <td width="90" height="20"><img src="images/indexdddd.gif" width="6" height="6" /> <a href="union.asp?class=<%=RS("class")%>"><%=RS("classname")%></a></td>
          <%			i = i + 1
		else
%>
	      <td width="97" height="20"><img src="images/indexdddd.gif" width="6" height="6" /> <a href="union.asp?class=<%=RS("class")%>"><%=RS("classname")%></a></td>
        </tr>
	    <%			i = i + 1
		end if
		RS.movenext
	Loop
	set RS = nothing	
	if  i mod 2 = 0 then
%>
	    
	    <%	
	end if
%>
      </table>
	  <table width="200" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="30"><img src="images/websearch.gif" width="200" height="30" border="0" /></td>
        </tr>
        <tr>
          <td align="center">
		  <% '调用全站搜索表单
		     '翱翔designz.cn制作
			 call websearch()%>
		  </td>
        </tr>
      </table></td>
    <td width="580" valign="top"><br />
	<table width="580" align="conder" cellpadding="0" cellspacing="0">
     	<%  '右框导航
if Request.QueryString("class")<>"" then
sql="Select * from ax_user where dname<>'' and dclass=" & Request.QueryString("class")
set rs=server.createobject("adodb.recordset")
rs.open sql,cn,1,1
do while not rs.eof
Response.Write "<TR valign='middle' align='center'>" 
Response.Write "<td height='22' align='center' valign='middle'><a href='showunion.asp?id="&rs("id")&"' target='_blank'  title='"&rs("dbook")&"'>"&rs("dname")&"</a></td>"
rs.movenext 
if rs.eof then exit do
Response.Write "<td height='22' align='center' valign='middle'><a href='showunion.asp?id="&rs("id")&"' target='_blank'  title='"&rs("dbook")&"'>"&rs("dname")&"</a></td>"
rs.movenext 
if rs.eof then exit do
Response.Write "<td height='22' align='center' valign='middle'><a href='showunion.asp?id="&rs("id")&"' target='_blank'  title='"&rs("dbook")&"'>"&rs("dname")&"</a></td>"
rs.movenext 
if rs.eof then exit do
Response.Write "<td height='22' align='center' valign='middle'><a href='showunion.asp?id="&rs("id")&"' target='_blank'  title='"&rs("dbook")&"'>"&rs("dname")&"</a></td>"
rs.movenext 
if rs.eof then exit do
Response.Write "<td height='22' align='center' valign='middle'><a href='showunion.asp?id="&rs("id")&"' target='_blank'  title='"&rs("dbook")&"'>"&rs("dname")&"</a></td>"
rs.movenext
if rs.eof then exit do
Response.Write "<td height='22' align='center' valign='middle'><a href='showunion.asp?id="&rs("id")&"' target='_blank'  title='"&rs("dbook")&"'>"&rs("dname")&"</a></td>"
Response.Write "</TR>" 
       
rs.movenext
loop
rs.close
set rs=nothing
else
sql="select * from ax_user where dname<>'' " 
set rs=server.createobject("adodb.recordset")
rs.open sql,cn,1,1
do while not rs.eof

Response.Write "<TR valign='middle' align='center'>"        
Response.Write "<td height='22' align='center' valign='middle'><a href='showunion.asp?id="&rs("id")&"' target='_blank'  title='"&rs("dbook")&"'>"&rs("dname")&"</a></td>"
rs.movenext 
if rs.eof then exit do
Response.Write "<td height='22' align='center' valign='middle'><a href='showunion.asp?id="&rs("id")&"' target='_blank'  title='"&rs("dbook")&"'>"&rs("dname")&"</a></td>"
rs.movenext 
if rs.eof then exit do
Response.Write "<td height='22' align='center' valign='middle'><a href='showunion.asp?id="&rs("id")&"' target='_blank'  title='"&rs("dbook")&"'>"&rs("dname")&"</a></td>"
rs.movenext 
if rs.eof then exit do
Response.Write "<td height='22' align='center' valign='middle'><a href='showunion.asp?id="&rs("id")&"' target='_blank'  title='"&rs("dbook")&"'>"&rs("dname")&"</a></td>"
rs.movenext 
if rs.eof then exit do
Response.Write "<td height='22' align='center' valign='middle'><a href='showunion.asp?id="&rs("id")&"' target='_blank'  title='"&rs("dbook")&"'>"&rs("dname")&"</a></td>"
rs.movenext
if rs.eof then exit do
Response.Write "<td height='22' align='center' valign='middle'><a href='showunion.asp?id="&rs("id")&"' target='_blank'  title='"&rs("dbook")&"'>"&rs("dname")&"</a></td>"
Response.Write "</TR>" 
       
rs.movenext
loop
rs.close
set rs=nothing
end if
%></table>	</td>
  </tr>
</table>

<!--#include file="bottom.asp"-->
</body>
</html>

>

⌨️ 快捷键说明

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