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

📄 manuser.asp

📁 网佳网络办公系统(以下简称OA)是一套基于B/S模式的无纸化办公系统。[显著特点:无须安装客户端] 主要功能模块:管理 公文 车辆 通知 档案 值班 人事 审批 仓库 主界面 软件下载 个
💻 ASP
字号:
<!--#include file="config.asp"-->
<%xian=session("xian")
ljl_xian=mid(xian,1,1)
if ljl_xian<>1 then%>
<script language=vbscript> 
MsgBox "错误:您无权使用本功能模块,如果确实需要操作本模块的权限,请与管理员联系!"
location.href = "txt.asp"
</script>
<%end if
nickname=Session("hxf_u_nickname")
grade=Int(Session("hxf_u_grade"))
username=Request.Form("search")
if username="" then username=session("hxf_u_nickname")
Set conn=Server.CreateObject("ADODB.CONNECTION")
connstr=Application("hg_connstr")
conn.open connstr
Set rst=Server.CreateObject("ADODB.RecordSet")
sqlstr="SELECT * FROM 用户 where 姓名='"&username&"'"
rst.Open sqlstr,conn
if rst.EOF or rst.BOF then
	Response.Write "<script language=javascript>alert('对不起!找不到您要的资料,请确认!');history.back();</script>"
else
%>
<html>
<head>
<title>用户管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="setup.css">
</head>

<BODY background=READONLY/bg.gif text=#000000>
<form method="post" action="upmanuser.asp">       
  <table width="463" border="1" cellspacing="0" cellpadding="5" height="1" align="center" bordercolorlight="#000000" bordercolordark="#FFFFFF">       
    <tr align="center">        
      <td height="1" width="153">用户名        
        <input type="text" name="1" readonly size="10" maxlength="4" style="color: #000000; background-color: #88B0D8; text-decoration: blink; border: 1px solid #000080" onMouseOver="this.style.backgroundColor = '#FFCC00'" onMouseOut="this.style.backgroundColor = '#88B0D8'" value="<%=username%>">       
      </td>       
      <td height="1" width="146">身  份        
        <input type="text" name="2" size="10" maxlength="5" style="color: #000000; background-color: #88B0D8; text-decoration: blink; border: 1px solid #000080" onMouseOver="this.style.backgroundColor = '#FFCC00'" onMouseOut="this.style.backgroundColor = '#88B0D8'" value="<%=rst("身份")%>"></td>       
      <td height="1" width="162">等 级        
        <input type="text" name="3" size="10" maxlength="10" style="color: #000000; background-color: #88B0D8; text-decoration: blink; border: 1px solid #000080" onMouseOver="this.style.backgroundColor = '#FFCC00'" onMouseOut="this.style.backgroundColor = '#88B0D8'" value="<%=rst("grade")%>">       
      </td>       
    </tr>       
    <tr> 
      <td height="0" width="153" align="center">            
        <span lang="zh-cn">部</span> <span lang="zh-cn">门</span><input type="text" name="4" size="10" maxlength="10" style="color: #000000; background-color: #88B0D8; text-decoration: blink; border: 1px solid #000080" onMouseOver="this.style.backgroundColor = '#FFCC00'" onMouseOut="this.style.backgroundColor = '#88B0D8'" value="<%=rst("门派")%>"></td>             
      <td height="0" width="146" align="center">             
        提  示<span lang="en-us"> </span>
        <input type="text" name="5" size="10" maxlength="10" style="color: #000000; background-color: #88B0D8; text-decoration: blink; border: 1px solid #000080" onMouseOver="this.style.backgroundColor = '#FFCC00'" onMouseOut="this.style.backgroundColor = '#88B0D8'" value="<%=rst("ljl_pwd")%>"></td>             
      <td height="0" width="162" align="center">              
        答 案<input type="text" name="6" size="10" maxlength="10" style="color: #000000; background-color: #88B0D8; text-decoration: blink; border: 1px solid #000080" onMouseOver="this.style.backgroundColor = '#FFCC00'" onMouseOut="this.style.backgroundColor = '#88B0D8'" value="<%=rst("ljl_key")%>"></td>             
    </tr> 
    <tr> 
      <td height="-1" width="153" align="center">            
        <span lang="zh-cn">次</span> <span lang="zh-cn">数</span>         
        <input type="text" readonly name="7" size="10" maxlength="10" style="color: #000000; background-color: #88B0D8; text-decoration: blink; border: 1px solid #000080" onMouseOver="this.style.backgroundColor = '#FFCC00'" onMouseOut="this.style.backgroundColor = '#88B0D8'" value="<%=rst("times")%>"></td>             
      <td height="-1" width="146" align="center">             
        最后登陆<span lang="en-us"> </span>
        <input type="text" readonly name="8" size="10" maxlength="10" style="color: #000000; background-color: #88B0D8; text-decoration: blink; border: 1px solid #000080" onMouseOver="this.style.backgroundColor = '#FFCC00'" onMouseOut="this.style.backgroundColor = '#88B0D8'" value="<%=rst("lasttime")%>"></td>             
      <td height="-1" width="162" align="center">              
        最后<span lang="en-us">IP</span><input type="text" readonly name="9" size="10" maxlength="10" style="color: #000000; background-color: #88B0D8; text-decoration: blink; border: 1px solid #000080" onMouseOver="this.style.backgroundColor = '#FFCC00'" onMouseOut="this.style.backgroundColor = '#88B0D8'" value="<%=rst("lastip")%>"></td>             
    </tr> 
    <tr>             
      <td height="18" width="153">             
        <p align="center">状&nbsp; 态 
        <input type="text" name="10" size="10" maxlength="10" style="color: #000000; background-color: #88B0D8; text-decoration: blink; border: 1px solid #000080" onMouseOver="this.style.backgroundColor = '#FFCC00'" onMouseOut="this.style.backgroundColor = '#88B0D8'" value="<%=rst("状态")%>">           
      </td>          
      <td height="18" width="308" colspan="2">          
        <span lang="en-us">&nbsp;</span><font color="#FF0000"><span lang="zh-cn">提示:</span>所有项目都
        非空,且不能带有空格和非法字符</font><span lang="zh-cn">  </span></td>           
    </tr>           
    <tr>           
      <td height="1" width="142">           
        <p align="center">           
          &nbsp;&nbsp;&nbsp;           
          <input type="submit" name="Submit" value="确 定" style="color: #000000; background-color: #88B0D8; text-decoration: blink; border: 1px solid #000080" onMouseOver="this.style.backgroundColor = '#FFCC00'" onMouseOut="this.style.backgroundColor = '#88B0D8'"></td>           
      <td height="1" width="134">           
        <p align="center">           
        &nbsp;<input type="reset" name="Submit2" value="还 原" style="color: #000000; background-color: #88B0D8; text-decoration: blink; border: 1px solid #000080" onMouseOver="this.style.backgroundColor = '#FFCC00'" onMouseOut="this.style.backgroundColor = '#88B0D8'">&nbsp;&nbsp;          
      </td>          
      <td height="1" width="149">          
        <p align="center"> <input type="submit" name="Submit3" value="删 除" style="color: #000000; background-color: #88B0D8; text-decoration: blink; border: 1px solid #000080" onMouseOver="this.style.backgroundColor = '#FFCC00'" onMouseOut="this.style.backgroundColor = '#88B0D8'">&nbsp;&nbsp;&nbsp;         
      </td>         
    </tr>         
  </table>         
</form>         
<form method="POST" action="manuser.asp">         
  <div align="center">          
      <p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;请在这里输入用户名           
        <input type="text" name="search" size="10" maxlength="10" style="color: #000000; background-color: #88B0D8; text-decoration: blink; border: 1px solid #000080" onMouseOver="this.style.backgroundColor = '#FFCC00'" onMouseOut="this.style.backgroundColor = '#88B0D8'" >          
        <input type="submit" value="查询" name="B1" style="color: #000000; background-color: #88B0D8; text-decoration: blink; border: 1px solid #000080" onMouseOver="this.style.backgroundColor = '#FFCC00'" onMouseOut="this.style.backgroundColor = '#88B0D8'">          
        <input type="reset" name="Submit3" value="清空" style="color: #000000; background-color: #88B0D8; text-decoration: blink; border: 1px solid #000080" onMouseOver="this.style.backgroundColor = '#FFCC00'" onMouseOut="this.style.backgroundColor = '#88B0D8'">
      <span lang="en-us">&gt;&gt;&gt;&gt;</span><a href="modifypass.asp">更改用户密码</a><span lang="en-us">&lt;&lt;&lt;&lt;</span></p>         
  </div>         
</form>         
<div align="center">
  <center>
  <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="470" id="AutoNumber1">
    <tr>
      <td width="468"><font color="#FF0000">用户管理说明:查到用户资料后,状态为此用户的使用标志,具体含义如下<br>
      </font>状态:正常&nbsp;&nbsp; 改用户帐号可以正常登陆<span lang="en-us">OA</span>办公系统<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 无&nbsp;&nbsp;&nbsp; 表明改用户帐号正在审核中,还未通过审核成功<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 该用户帐号暂时停用<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp; 
      该用户帐号已经作废,该用户资料从数据库中删除了。<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp; 
      该用户申请开通帐号,但管理员拒绝了申请。<%=ljl_xian%></td>
    </tr>
  </table>
  </center>
</div>
</body>         
</html>         
<%         
end if          
%>

⌨️ 快捷键说明

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