📄 loginok.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
' *** Logout the current user.
MM_Logout = CStr(Request.ServerVariables("URL")) & "?MM_Logoutnow=1"
If (CStr(Request("MM_Logoutnow")) = "1") Then
Session.Contents.Remove("MM_Username")
Session.Contents.Remove("MM_UserAuthorization")
MM_logoutRedirectPage = "index.asp"
' redirect with URL parameters (remove the "MM_Logoutnow" query param).
if (MM_logoutRedirectPage = "") Then MM_logoutRedirectPage = CStr(Request.ServerVariables("URL"))
If (InStr(1, UC_redirectPage, "?", vbTextCompare) = 0 And Request.QueryString <> "") Then
MM_newQS = "?"
For Each Item In Request.QueryString
If (Item <> "MM_Logoutnow") Then
If (Len(MM_newQS) > 1) Then MM_newQS = MM_newQS & "&"
MM_newQS = MM_newQS & Item & "=" & Server.URLencode(Request.QueryString(Item))
End If
Next
if (Len(MM_newQS) > 1) Then MM_logoutRedirectPage = MM_logoutRedirectPage & MM_newQS
End If
Response.Redirect(MM_logoutRedirectPage)
End If
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><img src="未标题-1%20拷贝.jpg" width="800" height="120" align="absmiddle"></td>
</tr>
<tr>
<td height="1" align="left" bgcolor="#99CCFF"><div align="left"></div></td>
</tr>
<tr>
<td align="left" background="11111.jpg"><div align="left"><a href="index.asp"><img src="未标题-3.jpg" width="72" height="32" border="0"></a><img src="menu_2.png" width="89" height="32"><img src="menu_3.png" width="81" height="32"><img src="menu_4.png" width="86" height="32"><img src="menu_5.png" width="86" height="32"><img src="menu_6.png" width="85" height="32"><a href="xhbook/index1.asp"><img src="menu_8.png" width="85" height="32" border="0"></a></div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td height="198" valign="top"><form name="form1" method="post" action="tushuguan/duzhexianshi.asp">
<table width="639">
<tr>
<td width="631"><p><%= Session("MM_Username") %>先生(女士)您成功登录 <a href="<%= MM_Logout %>">注销</a></p>
<p align="center">
<input name="hiddenField" type="hidden" value="<%= Session("MM_Username") %>">
<input type="submit" name="Submit" value="读者借书信息">
</p></td>
</tr>
</table>
</form></td>
</tr>
</table>
<div align="center"></div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -