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

📄 index2.asp

📁 北方供求 V3.3 Sql 版 §V3.3更新功能 1、首页(自动生成静态
💻 ASP
📖 第 1 页 / 共 3 页
字号:
<!--#include file="Common/Inc_DatConn.asp"-->
<!--#include file="Common/Inc_Config.asp"-->
<!--#include file="Common/Inc_Function.asp"-->
<%
'┌─  风云ASP在线  ────────────────────────┐
'│                                                                 │
'│  作者:赵振波.	http://www.fyasp.com	    				    │
'│                                                                 │
'│   Q Q:176189168  										   	    │
'│                                                                 │
'│ Email:fy96@163.com                                             │
'│                                                                 │
'│ 程序定做,系统开发,网站制作,提供高质量的网络产品、技术和服务!│
'│                                                                 │
'│【版权声明】                                                     │
'│                                                                 │
'│     本程序版权归坐看风云所有,未经授权擅自修改、复制或散布本程序│
'│                                                                 │
'│的部分或全部,将承受严厉的民事和刑事处罚,对已知的违反者将给予法 │
'│                                                                 │
'│律范围内的全面制裁。对非法使用此程序所造成的一切后果本人概不负责!│
'│                                                                 │
'└───────────────────  http://www.fyasp.com ──┘
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<title><%=strSiteName%></title>
<LINK href="hy/img/STYLE.css" type=text/css rel=stylesheet>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta content="分类,供求信息,免费,赚钱,整站出售,免费源码,交友, 征友, 速配, 约会, 聊天, 征婚, 婚介, 爱情, 友情, 友谊, 朋友, 伙伴, 情人, 伴侣, 同性, 异性, 女人, 男士, 女士, 男孩, 女孩, 帅哥, 美女, 单身, 独身, 性感, 浪漫, 激情, 手机交友, 手机, 短信, 彩信, 铃声, 图片, 照片, 靓照, 贴图, 语音, 视频, 搜索, 文章, 商城" name="keywords">
<link href="Common/Style.css" type="text/css" rel="stylesheet">
</head>
<body leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
<!--#include file="Top.asp"-->
<table class="zi09" height="60" cellSpacing="0" cellPadding="0" width="760" align="center" background="<% = strSysUrl%>hy/img/106.gif" border="0">
	<tr>
		<td width="12">
		<div align="left">
			<img height="60" src="<% = strSysUrl%>hy/img/104.gif" width="9"></div>
		</td>
		<td style="WIDTH: 47px" vAlign="center" align="right" width="47">
		<div align="right">
			<img height="60" src="<% = strSysUrl%>hy/img/115.gif" width="39"></div>
		</td>
		<td vAlign="center" align="middle" width="58">
		<b><span class="currentarea"><font color="#0A8ECC" size="2">地区<br>
		导航</font></span></b></td>
		<td width="631">
		<table class="zi-chengshi" cellSpacing="0" cellPadding="0" align="center" border="0">
			<tr>
				<td height="22"><%set rsadd=server.createobject("adodb.recordset")
sqladd="select *  from mxdq order by sj desc"
rsadd.open sqladd,conn,1,1
do while not rsadd.eof
dqname=rsadd("name")
%>
				<a target="_blank" href="<% = strSysUrl%>list.asp?dq=<%=dqname%>">
				<%=dqname%></a>
<%
rsadd.movenext
loop
rsadd.close
set rsadd=nothing
%></td>
			</tr>
		</table>
		</td>
		<td align="right" width="13">
		<div align="right">
			<img height="60" src="<% = strSysUrl%>hy/img/105.gif" width="9"></div>
		</td>
	</tr>
</table>
<div align="center">
	<table border="0" style="border-collapse: collapse" width="760" height="2">
		<tr>
			<td></td>
		</tr>
	</table>
</div>
<div align="center">
	<table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="2">
		<tr>
			<td></td>
		</tr>
	</table>
</div>
<div align="center">
<table cellSpacing="0" cellPadding="0" width="760" border="0">
	<tr vAlign="top">
		<td width="170">
		<table cellPadding="0" border="0" cellSpacing="0" cellPadding="0" width="164" >
			<tr>
				<td>
				<img height="28" src="images/lht1.gif" width="164"></td>
			</tr>
			<tr>
				<td align="middle" bgColor="#ffbe29" height="130">
				<iframe name="login" width="136" height="127" src="common/inc_login.asp" scrolling="no" align="middle" border="0" frameborder="0" marginwidth="1" marginheight="1" target="_top">
				浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe></td>
			</tr>
		</table>
		<table height="3" cellSpacing="0" cellPadding="0" width="132" border="0">
			<tr>
				<td></td>
			</tr>
		</table>
		<table cellSpacing="1" cellPadding="0" width="163" bgColor="#ffaf2b" border="0">
			<tr>
				<td><img height="28" src="images/12s.gif" width="163"></td>
			</tr>
			<tr>
				<td bgColor="#ffffff">
				<p style="margin-left: 4px"><!--#INCLUDE FILE="Common/Inc_Catalog.asp"--></td>
			</tr>
		</table>
		<table borderColor="#111111" cellSpacing="0" cellPadding="0" width="164" border="0" height="178">
              <tbody>
              <tr>
                <td vAlign="top" width="170" height="2"></td>
              </tr>
              <tr>
                <td vAlign="top" width="170" height="55" align="center"><a target="_blank" href="http://www.fyasp.com"><img border="0" src="images/fyad.gif" width="164" height="55"></a></td>
              </tr>
              <tr>
                <td width="164" background="images/1ks.gif" height="113" valign="bottom"> 
				<table border="0" style="border-collapse: collapse" width="164" height="79" cellpadding="0">
					<tr>
						<td height="26" width="62" align="center">
						<a href="list.asp?lx=1"><font color="#000000">供应信息</font></a></td>
						<td height="26" width="63" align="center">
						<a href="list.asp?lx=2"><font color="#000000">求购信息</font></a></td>
						<td height="26" width="63" align="center">
						<a href="list.asp?lx=3"><font color="#000000">要闻信息</font></a></td>
					</tr>
					<tr>
						<td height="26" width="62" align="center">
						<a href="list.asp?lx=4"><font color="#000000">动态信息</font></a></td>
						<td height="26" width="63" align="center">
						<a href="list.asp?lx=5"><font color="#000000">招聘信息</font></a></td>
						<td height="26" width="63" align="center">
						<a href="list.asp?lx=6"><font color="#000000">求职信息</font></a></td>
					</tr>
					<tr>
						<td height="27" width="62" align="center">
						<a href="list.asp?lx=7"><font color="#000000">展会信息</font></a></td>
						<td height="27" width="63" align="center">
						<a href="list.asp?lx=8"><font color="#000000">其它信息</font></a></td>
						<td height="27" width="63" align="center"><b>
						<a href="add.asp"><font color="#FF0000">免费发布</font></a></b></td>
					</tr>
				</table>
				</td>
              </tr>

              </tbody>
            </table>
		<table height="3" cellSpacing="0" cellPadding="0" width="132" border="0">
			<tr>
				<td></td>
			</tr>
		</table>
		</td>
		<td>
		<table cellSpacing="0" cellPadding="0" border="0">
			<tr>
				<td>
				<img height="39" src="images/jiansuo.gif.gif" width="587"></td>
			</tr>
			<tr>
				<td background="images/lhtbg.gif.gif">
				<table cellSpacing="0" cellPadding="0" width="550" align="center" border="0">
					<tr>
							<td><!--#include file="Common/Inc_Search.asp"--></td>
						</tr>
						<tr>
							<td height="6"></td>
						</tr>
				</table>
				</td>
			</tr>
			<tr>
				<td bgColor="#85bdef" height="1"></td>
			</tr>
		</table>
<SCRIPT language=vbscript>
				function idate(str)
					if not isdate(str) then
						idate=false
					else
						idate=true
					end if
				end function
				function inumber(str)
					if not isnumeric(str) then
						inumber=false
					else
						inumber=true
					end if
				end function
			  </SCRIPT>

<SCRIPT language=javascript>
		  function regInput(obj, reg, inputStr)
	{
		var docSel	= document.selection.createRange()
		if (docSel.parentElement().tagName != "INPUT")	return false
		oSel = docSel.duplicate()
		oSel.text = ""
		var srcRange	= obj.createTextRange()
		oSel.setEndPoint("StartToStart", srcRange)
		var str = oSel.text + inputStr + srcRange.text.substr(oSel.text.length)
		return reg.test(str)
	}
	      function comsearch(){
			message=""
			
			if(document.formsearch.pubdate.value!=""){
				if(document.formsearch.pubdate.value.length!=10 || !idate(document.formsearch.pubdate.value) || document.formsearch.pubdate.value.indexOf("-")<0){
					message+="发布日期的格式不正确。正确格式如:2005-01-01\n"
				}
			}
			if(document.formsearch.pricestart.value!=''){
				if(!inumber(document.formsearch.pricestart.value)){
					message+="请填写有效的起始价格。\n"
				}
			}
			if(document.formsearch.priceend.value!=''){
				if(!inumber(document.formsearch.priceend.value)){
					message+="请填写有效的结束价格。\n"
				}
			}
			if (message!=""){
				alert(message)
				return false
			}
			return true
	      }
	      </SCRIPT>

		<table height="3" cellSpacing="0" cellPadding="0" width="132" border="0">
			<tr>
				<td></td>
			</tr>
		</table>
		<table height="8" cellSpacing="0" cellPadding="0" width="100%" border="0">
			<tr>
				<td vAlign="top" width="411">
				<table cellSpacing="1" cellPadding="0" width="411" bgColor="#ffaf2b" border="0">
					<tr>
						<td>
						<map name="FPMap0">
						<area target="_blank" href="add.asp" shape="rect" coords="291, 3, 398, 22">
						</map>
						<img height="28" src="images/1tj.gif" width="409" usemap="#FPMap0" border="0"></td>
					</tr>
					<tr>
						<td vAlign="top" bgColor="#ffffff">
						<table height="158" cellSpacing="0" cellPadding="0" width="409" align="center" border="0">
							<tr vAlign="top" align="middle">
								<td width="410"><!--开始推荐--><table width="100%" border="0" cellpadding="2" cellspacing="0" bgcolor="#FFFFFF">
                      <%
                      Dim rdsInfo1
                      Dim sqlInfo1
                      Dim intInfoCount1
                      Dim strInfoClass1
                      Dim strTopic1
                      
                      set rdsInfo1 = Server.CreateObject("ADODB.Recordset")
                      sqlInfo1 = "Select top "&intNewInfoCot&" infokey,tj,state,infoclass,infoadd,topic,jg,pic,color From Dat_Information Where State = 1 order by infokey desc"
                      rdsInfo1.Open sqlInfo1,Conn,1,1
                      if not rdsInfo1.EOF then
                        do while not rdsInfo1.EOF
		xxlx3=rdsInfo1("InfoClass")
							if len(rdsInfo1("Topic")) > 35 then
								strTopic1 = leftt(rdsInfo1("Topic"),36) &".."
							else
								strTopic1 = rdsInfo1("Topic")
							end if
							strjg=rdsInfo1("jg")
							pic=rdsInfo1("pic")
							strcolor=rdsInfo1("color")
                      %>
                        <tr> 
                          <td width="72%" height="25" class="F16">·<span style="font-size: 9pt"><%call  gqlx(2,xxlx3)%></span>&nbsp;<a href="View_Info.asp?Id=<% = rdsInfo1("InfoKey")%>" target="_blank" class="a01"><%if  strcolor<>""  then%><font color="#<%=strcolor%>"><% = strTopic1%></font><%else%><% = strTopic1%><%end  if%></a>
<%if InStr(pic,"OpenFile01.asp?")>0 or InStr(pic,".jpg")>0 or InStr(pic,".gif")>0 or InStr(pic,".bmp")>0 or InStr(pic,".png")>0 or InStr(pic,".bmp")>0 then%>
<font color="#109610"><span style="font-size: 9pt">[图]</span></font><%end if%>
</td>
                          <td width="14%" height="25" align="center"><%if strjg<>"" and strjg<>"0" then%><font color="#FF0000"><%=strjg%></font> 元<%else%>面议<%end if%></td>
                          <td width="11%" height="25" align="center"><% = rdsInfo1("InfoAdd")%></td>
                        </tr>
						<tr>
						  <td width="100%" height="1" colspan="3" background="images/dotline.gif"></td>
						</tr>
				      <%
					rdsInfo1.MoveNext
						loop
				      else
				      %>
						<tr>
						  <td width="100%" colspan="3" height="22">&nbsp;<font color="#FF0000">对不起!没有相匹配的信息</font>...</td>
						</tr>
				      <%
				      end if
					  rdsInfo1.Close
					  set rdsInfo1 = nothing
				      %>	
                      </table><!--结束推荐--></td>
							</tr>
							</table>
						</td>
					</tr>
				</table>
				</td>
				<td vAlign="top" align="middle">
				<table cellSpacing="1" cellPadding="0" width="171" bgColor="#ffd546" border="0" height="370">
					<tr>
						<td bgColor="#ffffff">
						<img height="27" src="images/1gl.gif" width="169"></td>
					</tr>
					<tr>
						<td bgColor="#ffffff">
<marquee onmouseover="this.scrollAmount=0" onmouseout="this.scrollAmount=1" scrollAmount="1" scrollDelay="6" direction="up" width="168" height="116" scrolltop="0" scrollleft="0">
                  <table border="0" width="100%" cellspacing="0" cellpadding="0"><%
					Dim rdsAffiche
					Dim sqlAffiche
					Dim intAfficheCot
					Dim intAfficheCount
					Dim strAfficheSubject
          
					intAfficheCot = 5
					set rdsAffiche = Server.CreateObject("ADODB.Recordset")
					sqlAffiche = "Select * From Dat_News Where NewsClass = 1 And State = 1 Order By NewsKey Desc"
					rdsAffiche.Open sqlAffiche,Conn,1,1
					if not rdsAffiche.EOF then
					do while not rdsAffiche.EOF 
					%><tr><td width="100%" height="10"><font color="#000000">&middot;</font><a href="View_Affiche.asp?Id=<% = rdsAffiche("NewsKey")%>" target="_blank"><font color="#0000ff"><% = rdsAffiche("Topic")%></font></a></td></tr><%intAfficheCount = intAfficheCount + 1
							if intAfficheCount > intAfficheCot then exit do
							rdsAffiche.MoveNext 
					loop
                    else
                    %>
                    <tr>
                      <td width="100%" height="22"><font color="#FF0000">&nbsp;&nbsp;没有站务公告信息</font>...</td>
                    </tr>
                    <%
                    end if
					rdsAffiche.Close
					set rdsAffiche = nothing
                    %>
                  </table></marquee>
						</td>
					</tr>
					<tr>
						<td bgColor="#ffffff">
						<img height="26" src="images/2jy.gif" width="169"></td>
					</tr>
					<tr>
						<td bgColor="#ffffff">
						<table cellSpacing="0" cellPadding="0" width="160" align="center" border="0" height="193">

⌨️ 快捷键说明

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