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

📄 index.asp

📁 购物系统(本版为正式商业版
💻 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"-->
<html>
<head>
<title><%=webname%>--首页</title>
<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">
<!--
.style2 {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="rj_left.asp"--></td>
    <td valign="top"><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_rj_class  order by px 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">&nbsp;<a href=list.asp?id=<%=avirs("id")%>><strong><%=avirs("classname")%></strong></a></td>
                  <td width="36" class="sm_debrown"><div align="center"><a href="rss.asp?a=<%=avirs("id")%>&d=<%=news_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 "&inc31&" * from shop_rj where shh=1 and classid="&avirs("id")&" order by 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="rj_show.asp?n=<%=rs2("id")%>" target="_blank" title="<%=rs2("rjname")%>">
                    <%if len(trim(rs2("rjname")))>15 then
	response.write left(trim(rs2("rjname")),15)&""
	else
	response.write trim(rs2("rjname"))
	end if%>
                    </a>
                    <%if rs2("itop")=0 then%>
                    <font color="#ff0000">顶</font>
                    <%end if%>
                    <%if rs2("rjtj")=1 then%>
                    <font color="#0000ff">荐</font>
                    <%end if%>                  </td>
                  <td width="28%" height=20><div align="right"><%=year(rs2("rjdate"))&"年"&month(rs2("rjdate"))&"月"&day(rs2("rjdate"))&"日"%></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></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 + -