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

📄 pmhz_setup.asp

📁 学校成绩查询系统是一个非常好的软件请大家试试
💻 ASP
字号:
<!--#include file="Admin_IsLogin.asp" -->
<!--#include file="dataconn.asp"-->
<%
action=request.querystring("action")
listming=trim(request.form("listming"))
if action="setupming" then
conn.execute("update cominfo set pmhzsetup='"&listming&"'")
end if
set rs=conn.execute("select pmhzsetup from cominfo")
cxsetup=rs("pmhzsetup").value
select case  cxsetup
case "0"
cxsetup="关闭排名"
case "2"
cxsetup="仅总分排名"
end select
rs.close
set rs=nothing
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../inc/admin_style.css" type=text/css rel=stylesheet>
<title>排名汇总设置</title>
<style type="text/css">
<!--
.STYLE1 {color: #FFFFFF}
.STYLE2 {color: #FF0000}
.STYLE3 {
	color: #CC0000;
	font-weight: bold;
}
-->
</style>
</head>
<body>
<p> </p>
<table width="90%" border="0" align="center" cellpadding="5" cellspacing="0">
  <tr>
    <td height="22" valign="top" style="FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=1,startColorStr=#3b839f,endColorStr=#eff4ff)"><span class="style1">&nbsp;&nbsp;&nbsp;</span><span class="topbg STYLE1"><strong>成绩排名汇总设置</strong></span>&nbsp;</td>
  </tr>
</table>
<br>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>说明:有些情况下,不要求给学生排名次,所以在此设置了总分排名开关。</td>
  </tr>
</table>
<br>
<br>
<form name="form1" method="post" action="?action=setupming">
  <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td>成绩排名操作:
        <label>
          <select name="listming" id="listming">
           	<option value="2">仅总分排名</option>
            <option value="0">关闭排名</option>
          </select>
        &nbsp;&nbsp;
        <input type="submit" name="Submit" value="确定">
      </label></td>
    </tr>
  </table>
</form>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>当前状态:<span class="STYLE2"><%=cxsetup%></span></td>
  </tr>
</table>
<p> </p>
</body>
</html>

⌨️ 快捷键说明

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