📄 search.asp
字号:
<%@LANGUAGE="VBSCRIPT"%>
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers="1,2,0"
MM_authFailedURL="index.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
%>
<!--#include file="Connections/conn.asp" -->
<%
Dim Rs__MMColParam
Rs__MMColParam = "1"
if (Session("MM_username") <> "") then Rs__MMColParam = Session("MM_username")
%>
<%
set Rs = Server.CreateObject("ADODB.Recordset")
Rs.ActiveConnection = MM_conn_STRING
Rs.Source = "SELECT uname, uxinming FROM yonghu WHERE uname = '" + Replace(Rs__MMColParam, "'", "''") + "'"
Rs.CursorType = 0
Rs.CursorLocation = 2
Rs.LockType = 3
Rs.Open()
Rs_numRows = 0
%>
<html>
<head>
<title>轻燕工作室中学人事管理系统-搜索页</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="files/csssearch.css" type="text/css">
<link rel="stylesheet" href="files/cssresult.css" type="text/css">
<style type="text/css">
<!--
.copyright { font-family: "宋体"; font-size: 12px}
-->
</style>
</head>
<body bgcolor="#CCCCCC" text="#FFFFFF" background="admin/bg.jpg" leftmargin="0" topmargin="0">
<div align="center">
<table width="777" border="0" cellspacing="0" cellpadding="0" height="100%" align="center" background="admin/file/bgss.gif">
<tr>
<td align="center" valign="top"><font color="#FF0000"><b><font color="#FF0000"><b><font color="#FF0000"><b><font color="#FF0000"><b><font color="#0000FF"><span class="cssresult"><img src="admin/top.gif" width="777" height="106" usemap="#Map" border="0" align="middle"></span></font></b></font></b></font></b></font></b></font><font color="#FF0000"><b><font color="#FF0000"><b><font color="#FF0000"><b><font color="#FF0000"><b><font color="#0000FF"><span class="cssresult">
<map name="Map">
<area shape="rect" coords="7,79,59,104" href="index1.asp" target="_self">
<area shape="rect" coords="145,298,196,325" href="search.asp" target="_self">
<area shape="rect" coords="116,78,208,103" href="add.asp" target="_self">
<area shape="rect" coords="307,76,359,106" href="admin/admuserlogin.asp" target="_self">
<area shape="rect" coords="696,76,748,104" href="admin/loginout.asp" target="_self">
<area shape="rect" coords="639,76,693,102" href="index.asp" target="_self">
<area shape="rect" coords="212,78,303,103" href="view.asp" target="_self">
<area shape="rect" coords="61,78,116,104" href="search.asp" target="_self">
<area shape="rect" coords="684,0,765,39" href="help.htm#search" target="_blank">
</map>
</span></font></b></font></b></font></b></font></b></font>
<form name="form1" method="post" action="ssresult.asp">
<table width="777" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="33%"><font color="#FF0000"><b><font color="#0000FF"><span class="cssresult">[</span></font></b><font color="#0000FF"><span class="cssresult"><b><%=Rs("uxinming")%>],</b></span></font></font><span class="cssresult"><font color="#0000FF"><b><font color="#FF0000">欢迎您的到来!</font></b></font></span></td>
<td width="67%">
<div align="left"></div>
<table width="80%" border="1" cellspacing="2" cellpadding="0" align="right" bordercolor="#FFFF00">
<tr>
<td height="30">
<div align="center"><b><font color="#FF3300"><span class="search">简易</span></font><span class="search"><font color="#FF3300" class="search">检索:</font></span><font color="#FF3300" class="search">
<select name="ziduan">
<option value="name" selected>请选择搜索类型</option>
<option value="name">姓名</option>
<option value="sex">性别</option>
<option value="shenfenzheng">身份证号</option>
<option value="jiguan">籍贯</option>
<option value="mianmao">政治面貌</option>
<option value="xueke">任教学科</option>
<option value="zhuanye">所学专业</option>
<option value="renjiaobumen">任教初高中</option>
<option value="firstxueli">第一学历</option>
<option value="lastxlgradufrom">第一学历毕业学校</option>
<option value="lastxueli">最高学历</option>
<option value="zhicheng">职称</option>
<option value="zhiwu">职务</option>
<option value="bianzhi">编制情况</option>
<option value="bianzhileibie">工人或干部编</option>
</select>
</font><font color="#0000FF">
<input type="text" name="key" size="12">
</font></b>
<input type="submit" name="Submit22" value="搜索">
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<form name="formsszhicheng" method="get" action="result.asp">
<table width="777" border="1" cellspacing="2" cellpadding="0" align="center" bordercolor="#66CC00" height="116">
<tr>
<td align="center" class="search" height="287" bordercolor="#FFFF00">
<table width="96%" border="0" cellspacing="10" cellpadding="0" height="159">
<tr>
<td colspan="6">
<div align="center"><font color="#FF3300"><b><font size="5" class="cssindexda" color="#000000">[复合条件高级搜索]</font></b></font></div>
</td>
</tr>
<tr>
<td width="16%" class="search"><font color="#FF3300"><b>职称:</b></font></td>
<td width="20%" class="search"> <font color="#FF3300">
<select name="zhicheng">
<option value="高一二三试" selected>所有职称</option>
<option value="高">中学高级</option>
<option value="一">中学一级</option>
<option value="二">中学二级</option>
<option value="三">中学三级</option>
<option value="试">试用期间</option>
</select>
</font></td>
<td width="15%" class="search"><font color="#FF3300"><b>任教学科:</b></font></td>
<td width="19%" class="search"> <font color="#FF3300"><b>
<select name="xueke">
<option value="文数英物化政历地生计体音美无" selected>所有学科</option>
<option value="文">语文</option>
<option value="数">数学</option>
<option value="英">英语</option>
<option value="物">物理</option>
<option value="化">化学</option>
<option value="政">政治</option>
<option value="历">历史</option>
<option value="地">地理</option>
<option value="生">生物</option>
<option value="计">计算机</option>
<option value="体">体育</option>
<option value="美">美术</option>
<option value="音">音乐</option>
<option value="无">无</option>
</select>
</b></font></td>
<td width="15%" class="search"><font color="#FF3300"><b>任教部门:</b></font></td>
<td width="15%" class="search"> <font color="#FF3300"><b>
<select name="renjiaobumen">
<option value="初高辅无" selected>所有部门</option>
<option value="初">初中</option>
<option value="高">高中</option>
<option value="辅">教辅</option>
<option value="无">无</option>
</select>
</b></font></td>
</tr>
<tr>
<td width="16%" class="search"><font color="#FF3300"><b>政治面貌:
</b></font></td>
<td width="20%" class="search"> <font color="#FF3300"><b>
<select name="mianmao">
<option value="团共盟进革无" selected>所有政治面貌</option>
<option value="团">团员</option>
<option value="共">中共党员</option>
<option value="盟">民盟</option>
<option value="进">民进</option>
<option value="革">民革</option>
<option value="无">无</option>
</select>
</b></font></td>
<td width="15%" class="search"><font color="#FF3300"><b>性别:</b></font></td>
<td width="19%" class="search"> <font color="#FF3300"><b>
<select name="sex">
<option value="男女" selected>所有性别</option>
<option value="男">男</option>
<option value="女">女</option>
</select>
</b></font></td>
<td width="15%" class="search"> </td>
<td width="15%" class="search"> </td>
</tr>
<tr>
<td width="16%" class="search" height="17"><font color="#FF3300"><b>第一学历:</b></font></td>
<td width="20%" class="search" height="17"> <font color="#FF3300"><b>
<select name="firstxueli">
<option value="专本硕博初高等" selected>所有第一学历</option>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -