阿迪达斯新款鞋nmd:请各位编程高手帮我看一下下面哪这些代码错在哪?求求了哪位大哥哥大姐姐帮帮忙谢谢了!

来源:百度文库 编辑:高校问答 时间:2024/04/27 19:41:43
<!--#include file="Inc/syscode_News.asp"-->
<%
const ChannelID=200
Const ShowRunTime="Yes"
dim tLayout,tUser
PageTitle="ÕýÎÄ"
strFileName="About_Show.asp"
if NewsId<=0 then
FoundErr=true
ErrMsg=ErrMsg & "<br><li>ÇëÖ¸¶¨ÎÄÕÂID</li>"
end if
if FoundErr=True then
call WriteErrMsg()
else
%>
<html>
<head>
<title><%=strPageTitle & ">>>"&newsTitle%></title>
<link href="css.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
<!--
body,td,th {
font-family: ??;
font-size: 12px;
}
-->
</style></head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

从这里看,错的地方很多.
有IF没END的地方就有两处.

<!--#include file="Inc/syscode_News.asp"-->
这个文件呢!你不能只放一半呀!

好歹把错误信息贴出来啊

问题在你的scode_news.asp里,这里if FoundErr=True then
call WriteErrMsg()
你去看看是否包含了

好好用用编译吧

我不清楚是不是你没帖全.反正现在的代码少个end if
你在看的吧.