想给一个脚本添加visited求大神帮助

<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/rb3 - 副本.jpg" >
          <%
              set rsb=server.createobject("adodb.recordset")
              sql="select top 10 a.id,a.xwmc,a.fbsj,a.xwys,a.btys,a.djs,a.xwfl from (SELECT min(id) id,xwmc,max(fbsj) fbsj,max(xwys) xwys,max(btys) btys,max(djs) djs,max(xwfl) xwfl FROM wzxw where fbsj>dateadd(day,-2,getdate()) and rz=1 group by xwmc) a order by a.fbsj desc,a.id desc"
              rsb.open sql,conn,1,1
              do while not rsb.eof
          %>
          <tr>
            <td align="left" valign="middle" style="color:#676767; font-size:13px; line-height:28px; background:url(../images/007.jpg) no-repeat 8px 13px; padding-left:18px;" >
              <%
                  
                    xwmc=rsb("xwmc")
                  response.write showxw("page/news.asp?id="&rsb("id"),xwmc,180,rsb("btys"),rsb("xwys"),rsb("fbsj"))
                  
              %>
          </tr>
          <%
                  rsb.movenext
              loop
              rsb.close
              set rsb=nothing
          %>
      </table>
    </td>
  </tr>
 
</table>
<%
Function showxw(url,title,tLen,tcolor,tstyle,datetime)
    
    tLen1=tLen
    ys=" style="""
    if clng(tLen)>0 then
        if DateDiff("d",datetime,date())<3 then tLen1=tLen-26
        ys=ys&" width:"&tLen1&"px;"
    end if
    if tcolor<>"" then ys = ys & "color:"&tcolor&";"
    select case tstyle
        case "1"
            ys = ys & "font-weight: bold;"
        case "2"
            ys = ys & "font-style: italic;"
        case "3"
            ys = ys & "font-weight: bold;font-style: italic;"
    end select
    ys = ys & """"
    if len(title)*12>tLen then
        ys = ys & " class=""linkauto"" "
    end if
    showxw=""
    
    'if DateDiff("d",datetime,date())<3 then showxw=showxw&"<img src=""new.gif"" border=""0"" align=""right"">"
    if DateDiff("d",datetime,date())<3 then isnew = "newtip" else isnew = ""
    showxw=showxw&"<a href="""&url&""" class='linkauto "&isnew&"' target=""_blank"" "&ys&" title="""&server.HTMLEncode(title)&""">"
    if findtext<>"" then
        showxw=showxw&replace(title,findtext,"<font color='red'><strong>"&findtext&"</strong></font>")
    else
        showxw=showxw&title
    end if
    showxw=showxw&"</a>"
    
End Function
%>

问题描述不清楚,能否把问题描述清楚一点

'==========左下角窗口==========
    Set rs1=server.createobject("adodb.recordset")
    sql1="select count(*) from (SELECT min(id) id,xwmc,max(fbsj) fbsj,max(xwys) xwys,max(btys) btys,max(djs) djs,max(xwfl) xwfl FROM wzxw where fbsj>dateadd(day,-2,getdate()) and rz=1 group by xwmc) a"


'SELECT count(*) from wzxw where fbsj>dateadd(day,-2,getdate()) and rz=1

    rs1.open sql1,conn,1,1
    If rs1(0)>10 Then
    gao=10
    else
    gao=rs1(0)
    End if
    set rs=server.createobject("adodb.recordset")
    sql="SELECT * FROM piaofu where pfconfig=1 and pfid=3"
    rs.open sql,conn,1,1
    if not rs.eof then
        response.write "<DIV id='winrb2' style='Z-INDEX:999;left:0px;position:absolute;background:#fff;"
        If gao<>0 Then Response.write "visibility:visible;"
        If gao=0 then Response.write "visibility:hidden;"
        gao=gao*28+38
        response.write "width:200px;"
        response.write "height:"&gao&"px;"
        response.write "border:solid 1px #ccc'>"
        Response.write "<div><img src='images/rb4.jpg' /></div>"
                        
                        %>
                      <!--#include file="imk2.asp" --><%
        response.write "<div style='background:url(images/001.png);width:20px;height:20px;text-align:center;line-height:20px;cursor:pointer;color:#fff;overflow:hidden;top:0px;left:0px;position:absolute' onclick='$(""#winrb2"").hide()'>×</div></DIV>"
%>
<script>
    function winrb2(){
        $("#winrb2").css('top',(($(window).height()-$("#winrb2").height())+$(window).scrollTop()) );
    }
    $(function(){
        $(window).scroll( function() { winrb2() } );
        $(window).resize(function(){ winrb2() });
        winrb2();
        
        $("#winrb2 .nsr").click(function(e) {
            itHi=parseInt($("#winrb2 table tr").height());
            wtop=parseInt($("#winrb2 table").css("top"));
            wtop1=wtop-itHi;
            if (Math.abs(wtop1)>=itHi*$("#winrb2 table tr").length){wtop1=0}
            $("#winrb2 #wintab table").animate({top: wtop1+'px'}, "slow");
        });
    });
</script>
<%
    end If
    rs.close
    set rs=nothing
        rs1.close
    set rs1=nothing
%>

<script id="jsID" type="text/javascript" src="js/jsall.js"></script>


在index中的这个窗口

您好,我是有问必答小助手,你的问题已经有小伙伴为您解答了问题,您看下是否解决了您的问题,可以追评进行沟通哦~

如果有您比较满意的答案 / 帮您提供解决思路的答案,可以点击【采纳】按钮,给回答的小伙伴一些鼓励哦~~

ps:问答VIP仅需29元,即可享受5次/月 有问必答服务,了解详情>>>https://vip.csdn.net/askvip?utm_source=1146287632

非常感谢您使用有问必答服务,为了后续更快速的帮您解决问题,现诚邀您参与有问必答体验反馈。您的建议将会运用到我们的产品优化中,希望能得到您的支持与协助!

速戳参与调研>>>https://t.csdnimg.cn/Kf0y