?? index.asp
字號:
<!--
┌─9911.com.cn────────────┐
│ 動感購物 WWW.9911.com.cn 版權所有 │
│ 動感購物2005Vb 聯系:web@snsn.net │
└───────────9911.com.cn──┘
-->
<!--#include file="../conn.asp"-->
<!--#include file="../webconfig.asp"-->
<!--#include file="../fuction.asp" -->
<!--#include file="webconfig.asp"-->
<%if info<>1 then
response.Write "<script language='javascript'>alert('對不起,頁面調用錯誤!');history.go(-1);</script>"
response.End
end if
%>
<html>
<head>
<title><%=webname%>--供求信息</title>
<html>
<link rel="SHORTCUT ICON" href="/shortcut.ico">
<meta name="generator" content="snsn-shop">
<meta name=keywords content="<%=webgjz%>">
<meta name="description" content="<%=webmx%>">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta http-equiv="MSThemeCompatible" content="Yes">
<link href="/css.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.style1 {color: #FF0000}
.style2 {color: #666666}
.style3 {color: #0000FF}
-->
</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- onMouseOver="window.status='【<%=webname%>】<%=weburl%> 如果您喜歡本站,別忘了把本站介紹給您的好友哦!:)';return true">-->
<!--#include file="../webtop.asp"-->
<table width="940" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="6" colspan="3"></td>
</tr>
<tr>
<td width="17"><img src="/img/index_1.gif" width="15" height="16"></td>
<td valign="bottom">您現在的位置是:<a href="<%=weburl%>"><%=webname%></a> ->
供求信息</td>
<td valign="bottom"> </td>
</tr>
<tr>
<td height="6" colspan="3"></td>
</tr>
</table>
<table width="945" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="200" valign="top">
<!--#include file="info_left.asp"--> </div></td>
<td valign="top"> <div align="center">
<table width="730" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center"> <%=infod1%> <%=infod2%> </div></td>
</tr>
</table>
<%
set avirs=server.CreateObject("adodb.recordset")
avisql="select * from shop_infoid order by id asc"
avirs.open avisql,conn,1,1
%>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
<%
do while not avirs.eof
%>
<tr>
<%
ii=1
do while ii<3
if not avirs.eof then
%>
<td width="20%" valign="top" bgcolor="#FFFFFF">
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="sm_debrown">
<tr>
<td colspan="4" height="4" bgcolor="ffffff"></td>
</tr>
<tr>
<td width="15" class="sm_debrown"><img src="../img/skin<%=cssid%>/news_tetle_1.gif" width="15" height="37" border="0"></td>
<td height="30" background="/img/skin<%=cssid%>/news_tetle_2.gif" class="sm_debrown"> <a href=list.asp?id=<%=avirs("id")%>><strong><%=avirs("info")%></strong></a></td>
<td width="36" class="sm_debrown"><div align="center"><a href="rss.asp?a=<%=avirs("id")%>"><img src="../img/skin<%=cssid%>/news_tetle_3.gif" alt="RSS2.0支持" width="36" height="37" border="0"></a></div></td>
</tr>
</table>
<%
set rs2=server.createobject("adodb.recordset")
rs2.open "select top "&inc22&" * from shop_infomsg where kin="&avirs("id")&" order by itop asc,id desc",conn,1,3
if rs2.recordcount=0 then
%>
<table width="100%" border="0" cellspacing="0" cellpadding="5" align="center">
<tr>
<td align=center>暫無供求</td>
</tr>
</table>
<%
else%>
<table width="100%" border="0" cellspacing="0" cellpadding="2" align="center">
<%
while not rs2.eof
%>
<tr onMouseOver='JavaScript:this.style.backgroundColor="#f1f1f1"' onMouseOut='JavaScript:this.style.backgroundColor=""'>
<td height=20 colspan="2">· <a href=show.asp?n=<%=rs2("id")%> title="<%=rs2("tit")%>">
<%if len(trim(rs2("tit")))>15 then
response.write left(trim(rs2("tit")),15)&""
else
response.write trim(rs2("tit"))
end if%>
</a>
<%if rs2("itop")=0 then%>
<font color="#FF0000">頂</font>
<%end if%>
<%if rs2("good")=1 then%>
<span class="style3">薦</span>
<%end if%>
</td>
<td width="28%" height=20><div align="right"><%=year(rs2("tim"))&"年"&month(rs2("tim"))&"月"&day(rs2("tim"))&"日"%></div></td>
</tr>
<tr>
<td width="11" height="1" background="/img/skin<%=cssid%>/x.gif"></td>
<td height="1" background="/img/skin<%=cssid%>/x.gif"></td>
<td width="120" height="1" background="/img/skin<%=cssid%>/x.gif"></td>
</tr>
<%
rs2.movenext
wend
%>
</table>
<%
end if
rs2.close
set rs2=nothing
%></td>
<%
avirs.movenext
else
%>
<td width="20%" valign="top" bgcolor="#FFFFFF"></td>
<%
end if
ii=ii+1
loop
%>
</tr>
<%
loop
avirs.close
%>
</table>
<table width="730" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center"> <%=infod3%> <%=infod4%> </div></td>
</tr>
</table>
</div></td>
</tr>
</table>
<!--#include file="../copyright.asp"-->
</body>
</html>
<%if infopfdy=1 then %>
<div id="pf" style="position:absolute; left:297px; top:114px; width:100px; height:100px; z-index:1"><%=infopf%></div>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var xPos = 20;
var yPos = document.body.clientHeight;
var step = 1;
var delay = 30;
var height = 0;
var Hoffset = 0;
var Woffset = 0;
var yon = 0;
var xon = 0;
var pause = true;
var interval;
pf.style.top = yPos;
function changePos() {
width = document.body.clientWidth;
height = document.body.clientHeight;
Hoffset = pf.offsetHeight;
Woffset = pf.offsetWidth;
pf.style.left = xPos + document.body.scrollLeft;
pf.style.top = yPos + document.body.scrollTop;
if (yon) {
yPos = yPos + step;
}
else {
yPos = yPos - step;
}
if (yPos < 0) {
yon = 1;
yPos = 0;
}
if (yPos >= (height - Hoffset)) {
yon = 0;
yPos = (height - Hoffset);
}
if (xon) {
xPos = xPos + step;
}
else {
xPos = xPos - step;
}
if (xPos < 0) {
xon = 1;
xPos = 0;
}
if (xPos >= (width - Woffset)) {
xon = 0;
xPos = (width - Woffset);
}
}
function start() {
pf.visibility = "visible";
interval = setInterval('changePos()', delay);
}
function pause_resume() {
if(pause) {
clearInterval(interval);
pause = false;
}
else {
interval = setInterval('changePos()',delay);
pause = true;
}
}
start();
// End -->
</script>
<%end if%>
<%if infodldy=1 then %>
<SCRIPT LANGUAGE="JavaScript">
var delta=0.015;
var collection;
var closeB=false;
function floaters() {
this.items = [];
this.addItem = function(id,x,y,content)
{
document.write('<DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute; width:80px; height:60px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'">'+content+'</DIV>');
var newItem = {};
newItem.object = document.getElementById(id);
newItem.x = x;
newItem.y = y;
this.items[this.items.length] = newItem;
}
this.play = function()
{
collection = this.items
setInterval('play()',30);
}
}
function play()
{
if(screen.width<=800 || closeB)
{
for(var i=0;i<collection.length;i++)
{
collection[i].object.style.display = 'none';
}
return;
}
for(var i=0;i<collection.length;i++)
{
var followObj = collection[i].object;
var followObj_x = (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
var followObj_y = (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y);
if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x)) {
var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
followObj.style.left=followObj.offsetLeft+dx;
}
if(followObj.offsetTop!=(document.body.scrollTop+followObj_y)) {
var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;
dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
followObj.style.top=followObj.offsetTop+dy;
}
followObj.style.display = '';
}
}
function closeBanner()
{
closeB=true;
return;
}
var theFloaters = new floaters();
//
theFloaters.addItem('followDiv1','document.body.clientWidth-100',0,'<%=infodlz%><br><a onClick="closeBanner();">關閉廣告</a><!--img src=ad/doublead/close.gif onClick="closeBanner();"-->');
theFloaters.addItem('followDiv2',0,0,'<%=infodly%><br><a onClick="closeBanner();">關閉廣告</a><!--img src=ad/doublead/close.gif onClick="closeBanner();"-->');
theFloaters.play();
</script>
<%end if%>
<%if infptcdy=1 then %>
<script language="javascript">
window.open('<%=infotc%>','tcck','width=<%=infotcw%>,height=<%=infotch%>,top=0,left=0');
</script>
<%end if%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -