标题:网页有错误,麻烦大大们帮我看看
只看楼主
skvitamin
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2010-10-30
结帖率:0
已结贴  问题点数:10 回复次数:1 
网页有错误,麻烦大大们帮我看看

程序代码:
<html>
<head>
<title><%=SystemWebSite%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="generator" content="<%=SystemSearchKey%>">
<meta name=keywords content="<%=SystemSearchKey%>">
<link rel="stylesheet" href="admin/style.css" type="text/css">
<link rel="stylesheet" href="lightbox/css/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="lightbox/js/prototype.js"></script>
<script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="lightbox/js/lightbox.js"></script>
<style type="text/css">
<!--
#apDiv1 {
    position:absolute;
    left:910px;
    top:321px;
    width:228px;
    height:26px;
    z-index:0;
}
#apDiv2 {
    position:absolute;
    width:200px;
    height:32px;
    z-index:1;
    left: 871px;
    top: 161px;
}
#apDiv3 {
    position:absolute;
    width:200px;
    height:115px;
    z-index:1;
    left: 844px;
    top: 280px;
}
#apDiv4 {
    position:absolute;
    width:200px;
    height:115px;
    z-index:2;
    left: 904px;
    top: 146px;
}
.STYLE4 {color: #FFFFFF}
-->
</style>
<BODY>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="images/baner.jpg" width="760" height="100"></td>
  </tr>
</table>
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
  <TBODY>
    <TR>
      <TD height="30" bgcolor="669966"><MARQUEE onmouseover=this.stop() onmouseout=this.start()
            scrollAmount=2
            scrollDelay=5>
<%
set rsa=server.createobject("adodb.recordset")
sql="select top "&ggshu&" afficheid,affichename,affichecontent,affichetime from affiche order by afficheid DESC"
rsa.open sql,conn,1,1
do while not rsa.eof
%>
        <img src="images/d.gif" width="19" height="18" border="0" /><a href="#" onClick="Affiche('ViewAffiche.asp?id=<%=rsa("afficheid")%>')" alt="点击查看公告详细内容">
          <%if len(rsa("affichename"))>60 then
response.write left(rsa("affichename"),60)&"..."
else
response.write rsa("affichename")
end if%>
        </a> [<%=year(rsa("affichetime"))%>-<%=month(rsa("affichetime"))%>-<%=day(rsa("affichetime"))%>]
        <%
   rsa.movenext
   loop
   if rsa.eof and rsa.bof then
   response.write "暂时没有公告发布!"
   end if
   rsa.close
   set rsa=nothing
   %>
      </MARQUEE></TD>
    </TR>
  </TBODY>
</TABLE>
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr bgcolor="#D50000">
    <td height="24" width="1%" bgcolor="003300"  align="center"></td>
    <td width="30%" bgcolor="003300"><a href="day.htm" target="_blank"><font color="#ffffff"><b>
      <script language="JavaScript" src="js/date.js" type="text/javascript"></script>
      <script>document.write(+nian)</script><script>document.write(+yue)</script><script>document.write(+ri)</script>&nbsp;星期
      <script>document.write(""+week)</script>
    </b></font></a></td>
    <td height="25"  align="right" bgcolor="003300"><strong> <font color="#FFFFFF">&nbsp;|&nbsp;<a href="index.asp" ><font color="#FFFFFF">报修列表</font></a>&nbsp;|&nbsp;</font><a href="baoxiu.asp" class="style1" >报修登记</a><font color="#FFFFFF">&nbsp;|&nbsp;<a href="logout.asp"><font color="#FFFFFF">注销登录</font></a></font></strong></td>
    <td width="1%"  align="right" bgcolor="003300">&nbsp;</td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#666666">
  <tr>
    <td bgcolor="#FFFFFF"><table border="0" cellpadding="0" cellspacing="0" rules="cols" width="100%" align="center" height="25">
      <tr bgcolor="#FFFFFF">
        <td width="69%" height="25" ><span class="style1"><strong>
          <%if rs_user("purview")=1 then%>
          管理员
          <%else%>
          报修用户
          <%end if%>
          <%=session("baoxiuuser_name")%>
          <%response.write":您好,请把你要申报内容填写清楚!"%>
        </strong></span></td>
        <td width="31%" height="25" bgcolor="#FFFFFF" class="content9"><p align="right"><a href="admin/index.asp" target="_parent">&gt;&gt;后台管理&lt;&lt;</a></p></td>
      </tr>
    </table></td>
  </tr>
</table>
搜索更多相关主题的帖子: 网页 麻烦 
2010-10-30 22:16
yms123
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:209
帖 子:12488
专家分:19042
注 册:2004-7-17
得分:10 
这个错误是javascript的错误,要先从javascript开始检查错误。
2010-10-30 23:03



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-324505-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.272683 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved