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

📄 myclass_score_view.asp

📁 c++builder开发系统实现了成绩查寻
💻 ASP
字号:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="936"%>
<!--#include file="session_1.asp" -->
<!--#include file="Connections/conn1.asp" -->
<%
var rs = Server.CreateObject("ADODB.Recordset");
rs.ActiveConnection = MM_conn1_STRING;
rs.Source = "SELECT power  FROM admin  WHERE rank=0";
rs.CursorType = 0;
rs.CursorLocation = 2;
rs.LockType = 1;
rs.Open();
var rs_numRows = 0;
%>
<!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>
<style type="text/css">
<!--
body {
	background-image: url(imag/bjx.jpg);
}
.style18 {
	font-style: italic;
	font-size: 14px;
	color: #FFFF66;
}
.style19 {color: #666666}
.style28 {font-size: 12px}
.style38 {font-size: 12px; font-style: italic; }
.style40 {color: #33FF00}
.style41 {color: #FFFFFF}
.style42 {color: #FFFFCC}
-->
</style></head>

<body>
<table width="700" height="519" border="0" align="center" cellpadding="0" cellspacing="0" >
  <!--DWLayoutTable-->
  <tr>
    <td width="89" height="13"></td>
    <td width="713"><div align="center"><img src="imag/Top_logo.jpg" width="622" height="111"></div></td>
    <td width="48"></td>
  </tr>
  <tr>
    <td height="395"></td>
    <td valign="top"><table width="570" border="0" cellpadding="0" cellspacing="0">
        <!--DWLayoutTable-->
        <tr>
          <td width="850" height="395"><table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <th width="37" scope="col">&nbsp;</th>
                <th width="626" height="358"  scope="col">
				<form action="myclass_score.asp" method="get" name="form" target="_self" id="form">
				  <table width="313" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
                  <tr bgcolor="#999999">
                    <th colspan="3" scope="col"><div align="center" class="style38 style28"><span class="style40">录入成绩</span></div>                      </th>
                    </tr>
                  <tr bgcolor="#CCCCCC">
                    <th width="86" height="21" bgcolor="#FF9933" scope="row"><div align="center"><span class="style28">请选择月份</span></div></th>
                    <td width="71" bgcolor="#FF9933"><div align="center"><span class="style28">
                    <select name="month" id="select3">
                      <option value="s2" selected>二月</option>
                      <option value="s3">三月</option>
                      <option value="s4">四月</option>
                      <option value="s5">五月</option>
                      <option value="s6">六月</option>
                      <option value="s9">九月</option>
                      <option value="s10">十月</option>
                      <option value="s11">十一月</option>
                      <option value="s12">十二月</option>
                            </select>
</span></div></td>
                    <td width="148" bgcolor="#FF9933"><div align="center" class="style42"><span class="style28">
                            <% if(rs.EOF&&rs.BOF) Response.Write("录入入口已被关闭");else {var x=rs.Fields.Item("power").Value; if(x==1) Response.Write("<input name='input' type='submit' id='view3' value='录入'>");if(x==0) Response.Write("录入入口已被关闭");}%>
                          </span>
                    </div>                      <div align="center"></div></td>
                    </tr>
                </table>
				</form>
				<form action="myclass_score_only_view.asp" method="get" name="form1" target="_self" id="form1">
				<table width="313" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
                  <tr bgcolor="#999999">
                    <th colspan="3" scope="col"><div align="center" class="style38"><span class="style41">查看成绩</span></div></th>
                  </tr>
                  <tr bgcolor="#CCCCCC">
                    <td width="86" height="21" bgcolor="#99FF66"><div align="center"><span class="style28">请选择月份</span></div></td>
                    <td width="75" bgcolor="#99FF66"><div align="center"><span class="style28">
                        <select name="month" id="select2">
                          <option value="s2" selected>二月</option>
                          <option value="s3">三月</option>
                          <option value="s4">四月</option>
                          <option value="s5">五月</option>
                          <option value="s6">六月</option>
                          <option value="s9">九月</option>
                          <option value="s10">十月</option>
                          <option value="s11">十一月</option>
                          <option value="s12">十二月</option>
                        </select>
                    </span></div></td>
                    <td width="148" bgcolor="#99FF66"><div align="center"><span class="style28">
                        <input name="view" type="submit" id="view" value="查看">
                    </span></div></td>
                  </tr>
                </table>
				</form></th>
                <th width="37" scope="col">&nbsp;</th>
              </tr>
            </table>
          </td>
        </tr>
    </table></td>
    <td></td>
  </tr>
  <tr>
    <td height="13"></td>
    <td ></td>
    <td></td>
  </tr>
</table>
</body>
</html>
<%
rs.Close();
%>

⌨️ 快捷键说明

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