⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stuwapq.asp

📁 学生信息化管理系统,目前最完美的学生信息化管理系统,界面美观,操作方面,个性化设置.一套软件管理多所学校.
💻 ASP
字号:
<% Set hdobj = Server.CreateObject("HD.comOpen")'请确保此行在最前
Connkaa = hdobj.WeekaaConn()
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="pragma" content="no-cache">
<title>红笛软件</title>
<style type="text/css">
<!--
.style3 {font-size: 12px}
.style4 {	color: #FFFFFF;
	font-size: 14px;
}
body,td,th {
	font-size: 12px;
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(../Image/bg.gif);
	background-color: #DEE7FF;
}
.STYLE9 {
	font-size: 36px;
	font-family: "黑体";
	font-weight: bold;
	color: #FFFF00;
}
.STYLE10 {color: #FF0000}
a:link {
	text-decoration: none;
	color: #003366;
}
a:visited {
	text-decoration: none;
	color: #003366;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
.STYLE12 {font-family: "黑体"; font-size: 16px;}
.style13 {
	font-size: 12px;
}
.B A:link {
	FONT-SIZE: 12px; COLOR: #ffffff; TEXT-DECORATION: none
}
.B A:visited {
	FONT-SIZE: 12px; COLOR: #ffffff; TEXT-DECORATION: none
}
.B A:hover {
	FONT-SIZE: 12px; COLOR: #ffffff; TEXT-DECORATION: none
}
.B A:active {
	FONT-SIZE: 12px; COLOR: #ffffff; TEXT-DECORATION: none
}
-->
</style><script language="JavaScript" type="text/JavaScript">

function delpay()
{
   if(confirm("确定要删除此吗?"))
     return true;
   else
     return false;	 
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
</head>

<body onmouseover="self.status='红笛软件:服务网址[http://weekaa.com/red]';return true">

 
  <table width="1003" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#3399fd">
  <tr>
    <td height="150" align="center" valign="bottom"><img src="../Image/bigbga.jpg" width="1003" height="150"></td>
  </tr>
  <tr>
    <td height="28" align="center" valign="middle" background="../Image/bg01a.jpg"><div class="b"><a href="index.asp">奖惩申报</a> <a href="StuwApq.asp">处分管理</a></div></td>
  </tr>
  <tr>
    <td height="600" align="center" valign="top"><table width="94%" border="0" cellspacing="0" cellpadding="0">
      
      <tr>
        <td height="25" align="center">

<%

dim stv,sqstv,La,Lb
taba="AwPunt"
La=Request("La")
Lb=Request("Lb")
Lc=Request("Lc")
Set stv = Server.CreateObject("ADODB.RecordSet")
sqstv = "Select * From [sets] where TB='"&taba&"'"
stv.Open Sqstv,Connkaa,1,3

%>

<table width="100%" height="25"  border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#0066CC">
  <tr valign="bottom" bordercolor="#6A8FDA" bgcolor="#FFFFFF">
    <td height="60" align="center" valign="bottom" bgcolor="#FFFFFF" class="STYLE10"><form action="?action=search" method="post" name="form1" id="form1">
     
       姓名
            <input name="La" type="text" id="La" size="10"> 
            项目
        
        <input name="Lb" type="text" id="Lb" size="10">
         
        且学校意见为:全部
        <input name="Lc" type="radio" value="all" checked>
        </span>已批准
        <input type="radio" name="Lc" value="已批准">
        未批准
        <input type="radio" name="Lc" value="未批准">
        未审核
        <input type="radio" name="Lc" value="未审核"> 
        <input name="Submit2" type="submit" id="Submit" value="提交">
       <a href="#" onClick="MM_openBrWindow('StuwLm.asp','红笛软件','scrollbars=no,width=800,height=120')">[设置栏目]</a>
    </form></td>
  </tr>
</table>
<table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="10">&nbsp;</td>
  </tr>
</table>
<table width="100%" border="0" align="center" cellspacing="0" bordercolor="#0033CC">

  <tr>
    <td height="30" align="center" bgcolor="#0033CC" class="STYLE12" background="../Image/bg01.jpg"> 学生处分管理审批表 </td>
  </tr>
  <tr>
    <td><table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#E8EBEE">
      <tr align="center" bgcolor="#F1F3F5">
        <td width="9%" height="25" class="style3"><%=stv("a")%></td>
        <td width="9%" class="style3"><%=stv("b")%></td>
        <td width="15%" class="style3"><%=stv("c")%></td>
        <td width="15%" class="style3"><%=stv("d")%></td>
        <td width="9%" class="style3"><%=stv("e")%></td>
        <td width="9%" class="style3"><%=stv("f")%></td>
        <td width="9%" class="style3"><%=stv("g")%></td>
        <td width="9%" class="style3"><%=stv("h")%></td>
        <td width="4%" class="style3">审批</td>
        <td width="4%" class="style3">修改</td>
        <td width="4%" class="style3">删除</td>
        </tr>
<%
Lui="处分"
if Lc="all" then
longg="order by c asc"
end if
if Lc="未批准" then
Lc="结论为不批准"
longg="and i like '%"&Lc&"%' order by c asc"
end if
if Lc="已批准" then
Lc="结论为批准"
longg="and i like '%"&Lc&"%' order by c asc"
end if
if Lc="未审核" then
Lc="."
longg="and i like '%"&Lc&"%' order by c asc"
end if

if La="" then
if Lb="" then
sqls = "Select * From [AwPunt] where l='"+Lui+"' "
else
sqls = "Select * From [AwPunt] where l='"+Lui+"' and d like '%"&Lb&"%' "
end if
else
if Lb="" then
sqls = "Select * From [AwPunt] where l='"+Lui+"' and c like '%"&La&"%' "
else
sqls = "Select * From [AwPunt] where l='"+Lui+"' and c like '%"&La&"%' and d like '%"&Lb&"%' "
end if
end if
sqls=sqls&Longg
Set rs = Server.CreateObject("ADODB.RecordSet")
rs.Open Sqls,Connkaa,1,3
'=========================================================
Dim i, text, checkpage, page, MaxPerPage, CurrentPage
MaxPerPage = Request.Form("pages")
If MaxPerPage = "" Then
MaxPerPage = 30
End If
If MaxPerPage < 1 Or MaxPerPage > 1000 Then
MaxPerPage = 30
End If
MaxPerPage = MaxPerPage * 1
text = "0123456789"
rs.PageSize = MaxPerPage
GoPage = Request.Form("pagee")
For i = 1 To Len(GoPage)
checkpage = InStr(1, text, Mid(GoPage, i, 1))
If checkpage = 0 Then
Exit For
End If
Next
If checkpage <> 0 Then
If Not IsEmpty(GoPage) Then
CurrentPage = CInt(GoPage)
If CurrentPage < 1 Then CurrentPage = 1
If CurrentPage > rs.PageCount Then CurrentPage = rs.PageCount
Else
CurrentPage = 1
End If
If Not rs.EOF Then
rs.AbsolutePage = CurrentPage
End If
Else
CurrentPage = 1
End If
RsSum = CStr(rs.RecordCount) '记录总条数
pageOn = CStr(CurrentPage) '当前第几页
pageSum = CStr(rs.PageCount) '总共几页
NextPage = pageOn + 1
If NextPage > pageSum*1 Then
NextPage = 1
End If
'==============================================================
i=0
do while not rs.eof
RSd=rs("d")
RSe=rs("e")
RSf=rs("f")
RSg=rs("g")
RSh=rs("h")
RSi=rs("i")
if RSf<>"." then
RSf="已审核"
end if
if RSg<>"." then
RSg="已审核"
end if
if RSh<>"." then
RSh="已审核"
end if
if RSi<>"." then
RSi="已审核"
end if
RSd=mid(RSd,1,10)

RSe=mid(RSe,1,11)
RSe=RSe & "..."
%>  
      <tr align="center" valign="bottom" bgcolor="#FFFFFF">
        <td height="25"><a href="StudentPer.asp?ID=<%=rs("a")%>" target="_self"><%=rs("b")%></a></td>
        <td><a href="StudentPer.asp?ID=<%=rs("a")%>" target="_blank"><%=rs("c")%></a></td>
        <td align="left"><%=RSd%></td>
        <td align="left"><a href="StuwDecInF.asp?IDD=<%=rs("ID")%>&AA=<%=rs("a")%>" target="_self" title="<%=rs("e")%>"><%=RSe%></a></td>
        <td><a href="StuwDecInF.asp?IDD=<%=rs("ID")%>&AA=<%=rs("a")%>" target="_self" title="<%=rs("f")%>"><%=RSf%></a></td>
        <td><a href="StuwDecInF.asp?IDD=<%=rs("ID")%>&AA=<%=rs("a")%>" target="_self" title="<%=rs("g")%>"><%=RSg%></a></td>
        <td><a href="StuwDecInF.asp?IDD=<%=rs("ID")%>&AA=<%=rs("a")%>" target="_self" title="<%=rs("h")%>"><%=RSh%></a></td>
        <td><a href="StuwDecInF.asp?IDD=<%=rs("ID")%>&AA=<%=rs("a")%>" target="_self" title="<%=rs("i")%>"><%=RSi%></a></td>
        <td bgcolor="#FFFFFF"><a href="StuwDecInD.asp?IDD=<%=rs("ID")%>&AA=<%=rs("a")%>" target="_self">审批</a></td>
        <td bgcolor="#FFFFFF"><span class="style3"><a href="StuwDecInB.asp?IDD=<%=rs("ID")%>&AA=<%=rs("a")%>" target="_self">修改</a></span></td>
        <td><a href="?deln=del&ID=<%=rs("ID")%>" onClick="return delpay();">删除</a></td>
        </tr>
<%
i=i+1
if i >= MaxPerpage then exit do   
rs.movenext
loop	  
Response.Write "</table></td></tr><tr><form name='form2' method='post' action=''><td height='30' align='center' bgcolor='#0033CC' background='../Image/bg01.jpg'>"
Response.Write "<span class='STYLE13'><input type='hidden' name='La' value='" & La & "'><input type='hidden' name='Lb' value='" & Lb & "'><input type='hidden' name='Lc' value='" & Lc & "'>"
Response.Write "第" & pageOn & "/" & pageSum & "页 共" & RsSum & "条记录 每页"
Response.Write "<input name='pages' type='text' id='pages' value='" & MaxPerPage & "'"
Response.Write " size='2' style='background-color: #DEE7FF; border-color: #FFFFFF; border-style: solid; border-width: 0px 0px 1px 0px, font-family:Verdana,Arial; font-size: 10pt; color: #003399'>"
Response.Write "条记录 转到</span>"
Response.Write "<input name='pagee' type='text' id='pagee' value='" & NextPage & "' size='2' style='background-color: #DEE7FF; border-color: #FFFFFF;"
Response.Write " border-style: solid; border-width: 0px 0px 1px 0px, font-family:Verdana,Arial; font-size: 10pt; color: #003399'>"
Response.Write "<input name='Submit' type='submit' class='STYLE10' value='Go'></td></form></tr></table>"	
If Request.QueryString("deln") = "del" Then
call hdobj.Deler("AwPunt","k")
end if
%>

</td>
      </tr>
    </table>
    </td>
  </tr>
  <tr>
    <td height="20" background="../Image/bg01a.jpg" bgcolor="#3399FD">&nbsp; </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -