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

📄 2smarket.asp

📁 社区天地图文系统(核心:尘缘雅境图文系统) 版本: 1.0 本系统是ASP+ACCESS环境下开发成功
💻 ASP
📖 第 1 页 / 共 2 页
字号:
          <td width="15" valign="bottom" background="imgs/left_02-2bg.jpg">
			<img src="imgs/left_03-2.jpg" width="15" height="48"></td>
          <td width="148" height="78" background="imgs/left_03-13.jpg"> </td>
          <td rowspan="2" valign="top" bgcolor="#82CEFD">
			<img src="imgs/left_03-4.jpg" width="7" height="30"></td>
        </tr>
        <tr>
          <td height="71" valign="top" background="imgs/left_02-1bg.jpg">
			<img src="imgs/left_02-1.jpg" width="24" height="53"></td>
          <td valign="top" background="imgs/left_02-2bg.jpg">
			<img src="imgs/left_02-2.jpg" width="15" height="17"></td>
          <td valign="top" bgcolor="#C4E8FF"><table width="92%"  border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td height="59" valign="top">
				<p align="center"><a href="2s/add.asp"  onclick="return ow(this)"  target="_blank">
				<img border="0" id="img1" src="imgs/button10.gif" height="20" width="100" alt="发布信息" onmouseover="FP_swapImg(1,0,/*id*/'img1',/*url*/'imgs/button11.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'imgs/button10.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img1',/*url*/'imgs/button12.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img1',/*url*/'imgs/button11.gif')" fp-style="fp-btn: Glow Rectangle 9; fp-font; fp-font-size: 9; fp-font-color-hover: #0000FF; fp-font-color-press: #0066FF; fp-transparent: 1" fp-title="发布信息"></a><br><a href="2s/faq.asp"  onclick="return ow(this)"  target="_blank"><br><img border="0" id="img2" src="imgs/button14.gif" height="20" width="100" alt="市场FAQ" onmouseover="FP_swapImg(1,0,/*id*/'img2',/*url*/'imgs/button15.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img2',/*url*/'imgs/button14.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img2',/*url*/'imgs/button16.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img2',/*url*/'imgs/button15.gif')" fp-style="fp-btn: Glow Rectangle 9; fp-font; fp-font-size: 9; fp-font-color-hover: #0000FF; fp-font-color-press: #0066FF; fp-transparent: 1" fp-title="市场FAQ"></a><a href="#·"><br>
				</a></p></td>
            </tr>
            <tr>
              <td height="5"></td>
            </tr>
          </table></td>
        </tr>
      </table>
      <table width="194" border="0" cellspacing="0" cellpadding="0" height="208">
        <tr>
          <td width="24" height="58" valign="bottom" background="imgs/left_02-1bg.jpg">
			<img src="imgs/left_03-1.jpg" width="24" height="40"></td>
          <td width="15" valign="bottom" background="imgs/left_02-2bg.jpg">
			<img src="imgs/left_04-1.jpg" width="15" height="58"></td>
          <td width="148" height="78" background="imgs/left_04-22.jpg"> </td>
          <td rowspan="2" valign="top" bgcolor="#82CEFD">
			<img src="imgs/left_03-4.jpg" width="7" height="30"></td>
        </tr>
        <tr>
          <td height="130" valign="top" background="imgs/left_02-1bg.jpg">
			<img src="imgs/left_02-1.jpg" width="24" height="53"></td>
          <td valign="top" background="imgs/left_02-2bg.jpg">
			<img src="imgs/left_02-2.jpg" width="15" height="17"></td>
          <td valign="top" bgcolor="#C4E8FF">
			<table width="140"  border="0" align="center" cellpadding="0" cellspacing="0" height="126">
            <tr>
              <td width="140" height="115" valign="top"> </td>
            </tr>
            <tr>
              <td height="11"></td>
            </tr>
          </table></td>
        </tr>
      </table>
      </td>
    <td width="564" valign="top" bgcolor="#64C2FD">
	<table width="564" border="0" cellspacing="0" cellpadding="0" height="544">
      <tr>
        <td height="33" background="imgs/daohang_bg.jpg"><table width="95%"  border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <TD class=yy>&nbsp;<a href="index.asp">网站首页</a><a href="#·"> </a><SPAN 
                  class=style1>| </SPAN><a href="type.asp?typeID=16">团学天地</a> <SPAN 
                  class=style1>| <a href="type.asp?typeID=17">规章制度</a> | </SPAN>
				<a href="type.asp?typeID=18">社区生活</a> <SPAN 
                  class=style1>| <a href="type.asp?typeID=19">最新下载 </a>| </SPAN>
				<a href="nwjl.asp">内务纪律</a> <SPAN 
                  class=style1>| </SPAN><a href="special.asp">社区专题</a></TD>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td height="511" valign="top">
          <table width="559" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="559" height=42 background="imgs/photo_title.jpg" >&nbsp;&nbsp;&nbsp;&nbsp;<img border="0" src="IMAGES/menu-l-m.gif" width="11" height="11"><font class=m_tittle>&nbsp; </font>栏目导航 
<%
set rst=server.createobject("adodb.recordset")
sql="select * from c2s order by id desc"
rst.open sql,conn,1,1
%>
            <a class="daohang" href="./" >&nbsp;&nbsp;网站首页</a>&gt;&gt;跳蚤市场</td>
            </tr>
            <tr><%       
	if Not(rst.bof and rst.eof) then'判别数据表中是否为空记录
			NumRecord=rst.recordcount
			rst.pagesize=20
			NumPage=rst.Pagecount
			if request("page")=empty then 
			NoncePage=1
		else
		if Cint(request("page"))<1 then
			NoncePage=1
		else
			NoncePage=request("page")
		end if
		if Cint(Trim(request("page")))>Cint(NumPage) then NoncePage=NumPage
	end if
else
	NumRecord=0
	NumPage=0
	NoncePage=0
	end if
%>
              <td valign="top" background="imgs/news_bg.jpg" height="291">
				<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0" height="453">
                  <tr>
                    <td width="4"> </td>
                    <td bgcolor="#C4E8FF" valign="top">
					<table border="0" width="100%" bordercolorlight="#C4E8FF" cellspacing="0" cellpadding="5" bordercolordark="#FFFFFF">
          <tr>
            <td width="30" bgcolor="#EBE9FE" align="center" background="imgs/2.jpg">
			ID</td>
            <td width="36" bgcolor="#EBE9FE" align="center" background="imgs/2.jpg">
			类别</td>
            <td width="267" bgcolor="#EBE9FE" align="center" background="imgs/2.jpg">
			信息主题</td>
            <td width="92" bgcolor="#EBE9FE" align="center" background="imgs/2.jpg">
			发布时间</td>
            <td width="68" bgcolor="#EBE9FE" align="center" background="imgs/2.jpg">
			有效期</td>
          </tr>
            <%if Not(rst.bof and rst.eof) then
	rst.move (Cint(NoncePage)-1)*10,1
	for i=1 to rst.pagesize
%>

          <tr>
            <td width="30" align="center"><%=rst("id")%></td>
            <td width="36" align="center"><%=rst("c2slei")%></td>
            <td width="267" align="center"><a target="_blank" href=2s/look.asp?id=<%=rst("id")%> onclick="return ow(this)"><%=rst("c2szhu")%></a></td>
            <td width="92" align="center"><%=(year(rst("c2stime")))%>-<%=(month(rst("c2stime")))%>-<%=(day(rst("c2stime")))%></td>
            <td width="68" align="center"><%=rst("c2sqi")%></td>
          </tr>
           <%		 		rst.movenext
			   		if rst.eof then exit for
					next
else
	response.write "<tr><td colspan=13><marquee scrolldelay=120 behavior=alternate>没有人发布信息!!!</marquee></td></tr>"
end if	

rst.close
set rst=nothing

%>

        </table></td>
                  </tr>
                  <tr>
                    <td width="4" height="16"></td>
                    <td bgcolor="#C4E8FF" valign="top" height="16"><input type="hidden" name="page" value="<%=NoncePage%>">
              		<p align="right">
              <%
if NoncePage>1 then
	response.write "|<a href=2smarket.asp?page=1>首 页</a>| |<a href=2smarket.asp?page="&NoncePage-1&">上一页</a>|&nbsp"
else
	response.write "|首 页| |上一页|&nbsp"
end if
if Cint(Trim(NoncePage))<Cint(Trim(NumPage)) then
	response.write "|<a href=2smarket.asp?page="&NoncePage+1&">下一页</a>| |<a href=2smarket.asp?page="&NumPage&">尾 页</a>|"
else
	response.write "|下一页| |尾 页|"
end if
%>
              &nbsp;页次:<font color="#0033CC"><%=NoncePage%></font>/<font color="#0033CC"><%=NumPage%></font> 
              共<font color="#0033CC"><%=NumRecord%></font>条记录&nbsp;&nbsp;&nbsp;&nbsp; </td>
                  </tr>
                  </table></td>
            </tr>
            <tr>
              <td height="4" bgcolor="#82CEFD">
				<img src="imgs/new_bg01.jpg" width="9" height="4"></td>
            </tr>
          </table>
        </td>
        </tr>
    </table></td>
    <td width="15" valign="top" background="imgs/right_bg.jpg"> </td>
  </tr>
</table>
<table width="773" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="118" valign="top" background="imgs/under.jpg"><!--#include file=bot.asp -->
</td>
  </tr>
</table>

</body>
</html>

⌨️ 快捷键说明

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