📄 infopring1.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../Connections/conn.asp" -->
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers="2,3"
MM_authFailedURL="shibai1.asp"
MM_grantAccess=false
If Session("MM_Username") <> "" Then
If (false Or CStr(Session("MM_UserAuthorization"))="") Or _
(InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then
MM_grantAccess = true
End If
End If
If Not MM_grantAccess Then
MM_qsChar = "?"
If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
MM_referrer = Request.ServerVariables("URL")
if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString()
MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer)
Response.Redirect(MM_authFailedURL)
End If
%>
<%
Dim infopring__MMColParam
infopring__MMColParam = "1"
If (Request.QueryString("ID") <> "") Then
infopring__MMColParam = Request.QueryString("ID")
End If
%>
<%
Dim infopring
Dim infopring_numRows
Set infopring = Server.CreateObject("ADODB.Recordset")
infopring.ActiveConnection = MM_conn_STRING
infopring.Source = "SELECT * FROM user_name WHERE ID = " + Replace(infopring__MMColParam, "'", "''") + ""
infopring.CursorType = 0
infopring.CursorLocation = 2
infopring.LockType = 1
infopring.Open()
infopring_numRows = 0
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>打印信息表</title>
<style>
<!--
.font6
{color:windowtext;
font-size:11.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:宋体;
}
.font7
{color:windowtext;
font-size:10.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:宋体;
}
.font8
{color:windowtext;
font-size:11.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:黑体;
}
.font9
{color:windowtext;
font-size:12.0pt;
font-weight:700;
font-style:normal;
text-decoration:none;
font-family:宋体;
}
.font0
{color:windowtext;
font-size:12.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:宋体;
}
.STYLE4 {color: #FF0000; font-weight: bold; }
.STYLE5 {background-color: white}
-->
</style>
</head>
<body>
<p align="center" style="margin-top: 0; margin-bottom: 5px"><font style="font-size: 20pt">培英学校2009年春转学生信息表</font></p>
<div align="center">
<table x:str border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 587px" id="table2">
<colgroup>
<col width="35" style="width: 26pt">
<col width="33" style="width: 25pt">
<col width="91" style="width: 68pt">
<col width="97" style="width: 73pt">
</colgroup>
<tr height="28" style="height: 21.0pt">
<td height="28" style="height: 21.0pt; width: 243px; font-size: 11.0pt; text-align: left; color: windowtext; font-weight: 400; font-style: normal; text-decoration: none; font-family: 宋体; vertical-align: middle; white-space: nowrap; border: medium none; padding: 0px; background: white" valign="middle">
<p style="margin-top: 0; margin-bottom: 0">原读学校<font size="3" face="黑体">:<%=(infopring.Fields.Item("原读学校").Value)%></font></td>
<td style="width: 12px; color: windowtext; font-size: 12.0pt; font-weight: 400; font-style: normal; text-decoration: none; font-family: 宋体; text-align: general; vertical-align: middle; white-space: nowrap; border: medium none; padding: 0px; background: white" valign="middle">
</td>
<td style="width: 166px; font-size: 11.0pt; text-align: right; color: windowtext; font-weight: 400; font-style: normal; text-decoration: none; font-family: 宋体; vertical-align: middle; white-space: nowrap; border: medium none; padding: 0px; background: white" valign="middle">
<p style="margin-top: 0; margin-bottom: 0; text-align:center"><span style="width: 115px; font-size: 11.0pt; text-align: center; color: windowtext; font-weight: 400; font-style: normal; text-decoration: none; font-family: 宋体; vertical-align: middle; white-space: nowrap; border: medium none; padding: 0px; background: white"> 编入<font size="3" face="黑体">:</font><span class="STYLE5"><font size="3" face="黑体"><span><% if left((infopring.Fields.Item("class").Value),1)="1" then
response.write "一"
ElseIf left((infopring.Fields.Item("class").Value),1)="2" then
response.write "二"
ElseIf left((infopring.Fields.Item("class").Value),1)="3" then
response.write "三"
ElseIf left((infopring.Fields.Item("class").Value),1)="4" then
response.write "四"
ElseIf left((infopring.Fields.Item("class").Value),1)="5" then
response.write "五"
ElseIf left((infopring.Fields.Item("class").Value),1)="6" then
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -