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

📄 index.asp

📁 闲置物品免费交易的平台
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<html>
<head>
<title><%=webname%>--首页</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/css.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--#include file="webtop.asp"-->
<div align="center">
  <table width="770" align="center" border="0" cellspacing="0" cellpadding="0" class="table-zuoyou" bordercolor="#CCCCCC">
    <tr>
      <td bgcolor="#FFFFFF">
        <table width="770" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="180" height="0" valign="top"> 
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td>
                    <!--#include file="userandshjia.asp"-->
                  </td>
				  
                </tr>
				<tr>
                  <td>
                    <!--#include file="classinfo.asp"-->
                  </td>
				  
                </tr>
              </table>
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td>&nbsp; </td>
                </tr>
              </table><!--#include file="info_vote.asp"-->
            </td>
	<td width="2" valign="top" background="images/bj_x.gif"></td>
      <td width="590" valign="top"> 
              <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr> 
                  <td height="70" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <td valign="top"> <table width="100%" height="73" border="1" align="center" cellspacing="1" bordercolor="#2969AD" id="AutoNumber24">
                            <tr> 
                              <td width="100%" height="69"> <div align="center"> 
                                  <center>
                                    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                                      <tr> 
                                        <td width="24%"><a href=<%=piao3url%> target="_blank"><img src=<%=piao3%> border="0" width="142" height="60"></a></td>
                                        <td width="76%" rowspan="2"><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0" height="18">
                                            <%'dim i,k
		  i=0
		  k=0
		  set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 7 newsname,adddate,newsid from shop_news order by adddate desc",conn,1,1
		  if rs.eof and rs.bof then
		  response.write "目前还没有新闻!"
		  else
		  do while not rs.eof
		  i=i+1%>
                                            <tr> 
                                              <td width="5%" height="24" align="center">☉</td>
                                              <td width="45%" height="24"> <%if len(trim(rs("newsname")))>14 then
		  response.write "<a href=""javascript:;"" onClick=""javascript:window.open('news.asp?id="&rs("newsid")&"','news','width=600,height=400,toolbar=no, status=no, menubar=no, left=200,top=200,resizable=yes, scrollbars=yes');return false;"" title="&year(rs("adddate"))&"年"&month(rs("adddate"))&"月"&day(rs("adddate"))&"日发布><font color=#0E448D>"&left(trim(rs("newsname")),14)&"..."&"</font></a><br>"
		  else
		  response.write "<a href=""javascript:;"" onClick=""javascript:window.open('news.asp?id="&rs("newsid")&"','news','width=600,height=400,toolbar=no, status=no, menubar=no, left=200,top=200,resizable=yes, scrollbars=yes');return false;"" title="&year(rs("adddate"))&"年"&month(rs("adddate"))&"月"&day(rs("adddate"))&"日发布><font color=#0E448D>"&trim(rs("newsname"))&"</font></a><br>"
		  end if
		  rs.movenext%> </td>
                                              <td width="5%" height="24" align="center">☉</td>
                                              <td width="45%" height="24"> <%if len(trim(rs("newsname")))>14 then
		  response.write "<a href=""javascript:;"" onClick=""javascript:window.open('news.asp?id="&rs("newsid")&"','news','width=600,height=400,toolbar=no, status=no, menubar=no,left=200,top=200, resizable=yes, scrollbars=yes');return false;"" title="&year(rs("adddate"))&"年"&month(rs("adddate"))&"月"&day(rs("adddate"))&"日发布><font color=#0E448D>"&left(trim(rs("newsname")),14)&"..."&"</font></a><br>"
		  else
		  response.write "<a href=""javascript:;"" onClick=""javascript:window.open('news.asp?id="&rs("newsid")&"','news','width=600,height=400,toolbar=no, status=no, menubar=no, left=200,top=200,resizable=yes, scrollbars=yes');return false;"" title="&year(rs("adddate"))&"年"&month(rs("adddate"))&"月"&day(rs("adddate"))&"日发布><font color=#0E448D>"&trim(rs("newsname"))&"</font></a><br>"
		  end if
		  if i>=3 then exit do %> </td>
                                            </tr>
                                            <%rs.movenext
		  loop
		  end if
		  rs.close
		  set rs=nothing%>
                                          </table>                    </td>
                                      </tr>
                                      <tr> 
                                        <td><div align="center">[广告联系]</div></td>
                                      </tr>
                                    </table>
                                  </center>
                                </div></td>
                            </tr>
                          </table></td>
                      </tr>
                    </table></td>
                </tr>
                <tr> 
                  <td></td>
                </tr>
              </table>
	          <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td><!--#include file="showinfo.asp"-->
                  </td>
                </tr>
              </table></td>
  </tr>
</table>
      </td>
    </tr>
  </table>
  </div><!--#include file="shops.asp"-->  
<!--#include file="copyright.asp"-->
<SCRIPT language=JavaScript src="ad.js"></SCRIPT>

⌨️ 快捷键说明

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