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

📄 admin_xiugai.asp

📁 通用考勤系统
💻 ASP
字号:
<%
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''''版权:野马原创                    ''''
''''联系:ctplr@163.com          ''''
''''说明:需要新功能联系我      ''''
''''QQ:2643148                    ''''
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
%>
<title>powered  by 野马</title>
<link href=left.css rel=stylesheet>
<!--#include file="conn.asp"-->
<body >
<%if session("qx")>2  or session("qx")=0 then 
response.write "<script>alert('您的权限不够!')</script>"
response.write "<script>history.back()</script>"
else
%>
<%
pid=request("name")
sql="select * from ct_adminboss  where username='"&pid&"'"
rs.open sql,cn,1,1
password=rs("password")
back=rs("jl")
qx=rs("qx")

if pid=session("name") then 
response.write "<script>alert('您不可以在这里进行对自己的操作!');history.back()</script>"
else
 if qx<session("qx") then 
response.write "<script>alert('您不可以在这里对高于自己级别的管理员进行操作');history.back()</script>"
else

%>
<table background=../images/loginIn2.gif width=100%><tr>
<td align=center><b><font color=yellow>您要修改的是<font color=red><%=pid%></font>的信息,详细资料如下:<br>[密码不改请留空]</p>

</font>
</td></tr></table>

<center><form action=admin_do.asp?action=adminxiugai method=post>
<%

%>
<table border="1" bordercolor=#0055aa width=60% >
<tr><td align=center class=td1 width=30%>账号</td>
    <td align=center   class=td1 >
       <input type=hidden name=zh value=<%=request("name")%> >
       <input type=hidden name=aid value=<%=request("id")%>   ><%=request("name")%>
   </td>
</tr>
<tr>
   <td align=center  class=td2  width=30%>密码</td>
   <td align=center class=td2 ><input type=text  class=ibox name=mm onmouseover=this.select() value="">
  </td>
</tr>
<tr><td align=center  class=td2 >权限</td>
         <td align=center   class=td2 >  
       <select name=qx class=ibox>
              <option value=1  <%if qx=1 then%>selected<%end if%>>超级管理员</option>
              <option value=2  <%if qx=2 then%>selected<%end if%>>管理员</option>
              <option  value=3  <%if qx=3 then%>selected<%end if%>>登记员</option>
       </select>
</td></tr>
<tr>
   <td align=center colspan=2 class=tdwhtimg  width=100%>备注</td> 
</tr>
<tr>
   <td align=center   class=td1 colspan=2><textarea rows=3 cols=25   name=beizhu><%=back%></textarea></td>
</tr>


<tr>

<tr><td colspan=4 align=center class=td3><input type=submit value="提交" class="ibox">   <input type=reset class="ibox">   <input type=button value="返回" onclick='history.back()' class="ibox"></td></tr></table>
 <%
end if
end if
end if

%>

⌨️ 快捷键说明

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