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

📄 glxjh1.asp

📁 (1)管理员能够实现会员管理 (2)教师管理 (3)资料管理及资料显示等操作
💻 ASP
字号:

<!--#include file="inc/dbconn.inc"-->
<% sname=request("sname")
tname=request.cookies("tname")
if tname="" then
response.write"<SCRIPT language=JavaScript>alert('非法登录!');"    
response.write"this.location.href='default.htm';</SCRIPT>"
  end if
Set rs = Server.CreateObject("ADODB.Recordset")    
sql="select * from student where sname='"&sname&"'"    
rs.open sql,conn,3,3  %>
<html>
<head>
<title>远程教育网欢迎你</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="inc/index.css" type="text/css">
<style type="text/css">
<!--
body {
	background-color: #FFFFCC;
}
-->
</style></head>
<SCRIPT language=javaScript src="VREG8.js"></SCRIPT>
<SCRIPT language=JavaScript src="inc/f-index.js"></SCRIPT>
<body text="#000000" leftmargin="0" topmargin="0">
<TABLE width=776 border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
  <TR>
    <TD rowSpan=2 width=34><IMG height=93 src="inc1/top.files/top-1.gif" 
    width=34></TD>
    <TD bgColor=#639aff height=62><IMG height=62 src="inc1/top.files/top-2.gif" 
      width=300></TD></TR>
  <TR>
<TD background=inc1/top.files/top-3.gif><IMG height=31 
      src="inc1/top.files/top-3.gif" width=100></TD></TR></TBODY></TABLE>
<table width="776" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td width="183" valign="top" rowspan="4"> 
      <table width="100%" border="0" cellpadding="0" cellspacing="0" background=inc1/left.files/left-2.gif>
        <tr> 
          <td width="10" height="60"></td>
          <td valign="top" colspan="2"> 
            <table width="100%" border="0" cellpadding="0" cellspacing="0" >
              <tr> 
                <td height="60" width="173" valign="top" align="right"><img src="inc1/left.files/left.gif" width="171" height="60"></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td height="237"></td>
          <td width="13"></td>
          <td width="160" valign="top"> 
            <TABLE border=0 cellPadding=0 cellSpacing=0 width=150>
        <TBODY>
        
        <TR>
          <TD colSpan=3 height=5></TD></TR>
        <TR>
          <TD height=12><IMG height=12 src="inc1/left.files/left-3.gif" 
width=12></TD>
          <TD height=12>&nbsp;</TD>
          <TD height=12 vAlign=bottom><A class=dh01 
            href="tmain.asp">教师首页</A></TD></TR>
        <TR>
          <TD colSpan=3 height=5></TD></TR>
        <TR>
          <TD height=12><IMG height=12 src="inc1/left.files/left-3.gif" 
width=12></TD>
          <TD height=12>&nbsp;</TD>
          <TD height=12 vAlign=bottom><A class=dh01 
            href="txgmm.asp">修改密码</A></TD></TR>
        <TR>
          <TD colSpan=3 height=5></TD></TR>
        <TR>
          <TD height=12><IMG height=12 src="inc1/left.files/left-3.gif" 
width=12></TD>
          <TD height=12>&nbsp;</TD>
          <TD height=12 vAlign=bottom><A class=dh01 
            href="cktly.asp" >查看留言</A></TD></TR>
        <TR>
          <TD colSpan=3 height=5></TD></TR>
        <TR>
          <TD height=12 vAlign=center><IMG align=top height=12 
            src="inc1/left.files/left-3.gif" width=12></TD>
          <TD height=12>&nbsp;</TD>
          <TD height=12 vAlign=bottom><A class=dh01 
            href="glst.asp">查看试题</A></TD></TR>
	    <TR>
          <TD colSpan=3 height=5></TD></TR>
        <TR>
          <TD height=12 vAlign=center><IMG align=top height=12 
            src="inc1/left.files/left-3.gif" width=12></TD>
          <TD height=12>&nbsp;</TD>
          <TD height=12 vAlign=bottom><A class=dh01 
            href="tjtk.asp">添加试题</A></TD></TR>
        <TR>
          <TD colSpan=3 height=5></TD></TR>
        <TR>
          <TD height=12 vAlign=center><IMG align=top height=12 
            src="inc1/left.files/left-3.gif" width=12></TD>
          <TD height=12>&nbsp;</TD>
          <TD height=12 vAlign=bottom><A class=dh01 
            href="exit.asp" >退出登录</A></TD></TR></TBODY></TABLE></td>
        </tr>
        <tr> 
          <td height="50"></td>
          <td></td>
          <td></td>
        </tr>
      </table>
    </td>
    <td width="56" height="33"></td>
    <td width="522"></td>
    <td width="15"></td>
  </tr>
  <tr>
    <td height="232"></td>
    <td valign="top"> 
	<form name="register" method="post" action="">
      <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#3399cc" bordercolordark="#FFFFFF" bordercolorlight="#3399cc"  align="center">
              <tr class=table001> 
                <td width=30%   height="25"><b>用户名:</b></td>
                <td  align="left">&nbsp; <%=sname%> </td>  
            
              </tr> 
			 <tr class=table001>  
                <td width=30%   height="25"><b>学籍号:</b></td> 
                <td  align="left">&nbsp; <input class=input1 type="text" name="xjh" size="15" maxlength="15" value=<%=rs("xjh")%>></td>  
            
          </tr> 
			  <tr class=table001>  
                 
            <td width=30%   height="25"><b>真实姓名:</b></td> 
                <td  align="left">&nbsp; <%=rs("srealname")%></td>  
            
              </tr> 
			 <tr class=table001>  
                <td height="25">性别:</td> 
                <td align="left">&nbsp; <%=rs("ssex") %></td>  
          </tr> 
			   <tr class=table001>  
                 
            <td width=30%   height="25"><b>生日:</b></td> 
                <td  align="left">&nbsp; <%=rs("sdate")%></td>  
            
              </tr> 
			  <tr class=table001>  
                <td height="25">籍贯:</td> 
                <td align="left">&nbsp; <%=rs("jg")%>  
                             
                </td> 
              </tr> 
              <tr class=table001>  
                 
            <td height="25">家庭住址:</td> 
                <td align="left">&nbsp; <%=rs("saddress")%></td>  
              </tr > 
                 <tr class=table001>  
                <td  height="25">电话:</td> 
               <td align="left">&nbsp;<%=rs("sdianhua")%> </td> 
              </tr> 
              
            
			  <tr class=table001>  
                <td  height="25">EMAIL:</td> 
               <td align="left">&nbsp; <%=rs("semail")%></td>  
              </tr> 
              
              
        </table> 
			<br> 
			<div align="center"> 
            <input type="button" name="Submit" value="提交" style="position: relative; color: #00006A; font-family: 宋体; font-size: 9pt; height: 19" onClick="check()"> 
          </div> 
		  <br> 
	  </form> 
	</td> 
    <td></td> 
  </tr> 
  <tr> 
    <td height="20"></td> 
    <td></td> 
    <td></td> 
  </tr> 
</table> 
<table width="776" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" > 
  <tr>  
    <td width="776" height="5" bgcolor="#0066CC" ></td> 
  </tr> 
  <tr>  
    <td width="776" height="46" valign="middle" align="center">远程教育网2008版权所有</td> 
  </tr> 
</table> 
</body> 
</html> 
<% xjh=request("xjh")     
if xjh="" then response.end     
    
    
rs("xjh")=xjh     
rs.update     
rs.close     
 conn.close     
 set conn=nothing      
     
response.write"<SCRIPT language=JavaScript>alert('学籍号设定成功!');"     
     
response.write"this.location.href='tmain.asp';</SCRIPT>"     
%>     
 
 

⌨️ 快捷键说明

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