asp代码注释

来源:百度知道 编辑:UC知道 时间:2024/07/08 20:34:26
下面我们开始编写ASP程序,首先建立一个index.asp(管理主界面)程序,代码如下:
这是一个简单的管理界面代码,我是初学者,请各位高手帮我注释下,只要注释<% %>中的就可以了,在下不胜感激!!

index.asp(管理主界面)程序

<%@language=vbscript%>
<%if not session("checked")="yes" then
'如果 则
response.Redirect "login.asp"
else
%>

<html>
<head>
<title>管理界面</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<frameset cols="167,*" frameborder="YES" border="1" framespacing="1" rows="*" bordercolor="#666666">
<frame name="leftFrame" scrolling="auto" noresize src="left.asp">
<frame name="mainFrame" src="right.asp">
</frameset>
<noframes>
<body bgcolor="#FFFFFF&qu

<%@language=vbscript%>
<%if not session("checked")="yes" then
'如果非验证用户则重定向到login.asp页面
response.Redirect "login.asp"
else
%>

<!--否则显示以下页面-->
<html>
<head>
<title>管理界面</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<frameset cols="167,*" frameborder="YES" border="1" framespacing="1" rows="*" bordercolor="#666666">
<frame name="leftFrame" scrolling="auto" noresize src="left.asp">
<frame name="mainFrame" src="right.asp">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</noframes>
</html>
<%end if%>