新手求助,总是提示少END
各位前辈们:麻烦你们帮我看一下这个代码,前几天在机子上运行都没有问题,为什么这两天就不能运行了呢,老是提示少END,我没有改动代码呀
请各位帮忙看看,万分感谢。提示如下:
----------------------------------------------
错误类型:
Microsoft VBScript 编译器错误 (0x800A03F6)
缺少 'End'
/hx/admin/index.asp, 第 209 行
浏览器类型:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
网页:
GET /hx/admin/index.asp
------------------------------------------------
<!--#include file="bsconfig.asp"-->
<html><head>
<meta http-equiv=Content-Type content=text/html;charset=gb2312>
<title>后台管理</title>
<style type="text/css">
.navPoint {COLOR: white; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt}
.a2{BACKGROUND-COLOR: A4B6D7;}
</style>
</head>
<%
select case Request("menu")
case ""
index
case "top"
top2
end select
%>
<% sub top2 %>
<BODY leftMargin=0 topMargin=0 rightMargin=0>
<CENTER>
<TABLE style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width="100%" border=0>
<TR>
<TD align=center width="100%" height=25 style="BACKGROUND-IMAGE: url(images/titlebg.gif); COLOR: #330099; font: 10.5pt"
><B> 后台管理</B></TD>
</TR>
</TABLE>
</CENTER>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
</body>
<% end sub %>
<% sub index %>
<body style="MARGIN: 0px" scroll=no onResize=javascript:parent.carnoc.location.reload()>
<script>
if(self!=top){top.location=self.location;}
function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
document.all("frmTitle").style.display="none"
}else{
switchPoint.innerText=3
document.all("frmTitle").style.display=""
}}
</script>
<table border="0" cellPadding="0" cellSpacing="0" height="100%" width="100%">
<tr>
<td align="middle" noWrap vAlign="center" id="frmTitle">
<iframe frameBorder="0" id="carnoc" name="carnoc" scrolling=yes src="Menu_left.asp" style="HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 174px; Z-INDEX: 2">
</iframe>
</td>
<td bgcolor="A4B6D7" style="WIDTH: 9pt">
<table border="0" cellPadding="0" cellSpacing="0" height="100%">
<tr>
<td style="HEIGHT: 100%" onClick="switchSysBar()">
<font style="FONT-SIZE: 9pt; CURSOR: default; COLOR: #ffffff">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<span class="navPoint" id="switchPoint" title="关闭/打开左栏">3</span><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
屏幕切换 </font></td>
</tr>
</table>
</td>
<td style="WIDTH: 100%">
<iframe frameborder="0" id="main" name="top" scrolling="no" scrolling="yes" src="?menu=top" style="HEIGHT: 4%; VISIBILITY: inherit; WIDTH:
100%; Z-INDEX: 1">
</iframe>
<iframe frameborder="0" id="main" name="main" scrolling="yes" src="sysadmin_view.asp" style="HEIGHT: 96%; VISIBILITY: inherit; WIDTH: 100%;
Z-INDEX: 1">
</iframe></td>
</tr>
</table>
<script>
if(window.screen.width<'1024'){switchSysBar()}
</script>
</body>
<%
end sub
Function IsObjInstalled(strClassString)
On Error Resume Next
IsObjInstalled = False
Err = 0
Dim xTestObj
Set xTestObj = Server.CreateObject(strClassString)
If 0 = Err Then IsObjInstalled = True
Set xTestObj = Nothing
Err = 0
End Function 总是在这里提示
%></html>
<script type="text/javascript" src="http://web.