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

📄 user.asp

📁 web进销存m长审核合格后才能开通帐号。如果不想上载源码
💻 ASP
字号:
<%
if session("username")="" then
%>
<script language="javascript">
top.location.href="../login.asp"
</script>
<%  
  response.end
end if
%>
<!-- #include file="../conn2.asp" -->
<!-- #include file="../const.asp" -->

<html>
<head>
<title><%=dianming%> - 员工管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../style2.css" rel="stylesheet" type="text/css">
<script type="text/JavaScript">
<!--
function MM_popupMsg(msg) { //v1.0
  alert(msg);
}
//-->
</script>
</HEAD>

<BODY>
<%
if fla5="0" then
%>
<br><center><font color="#FF0000">你不具备此权限,请与管理员联系!</font></center>
<%  
  response.end
end if
%>
<table width="98%" border="0" cellpadding="0" cellspacing="2" align="center">
  <tr> 
    <td height="21">&nbsp;<img src="../Images/ico/ico38.gif" width="32" height="32" hspace="2" vspace="2" align="absmiddle"><font size="+1"><strong> 修改 / 删除员工</strong></font></td>
  </tr>
</table>
<table width="98%" border="0" cellspacing="1" cellpadding="2" align="center" class="TableMenu">
  <tr class="a1" style="color:#ffffff;font-size:12px;">
    <th width="39%" height="30">员工姓名</th>
    <th width="30%">基本工资</th>
    <th width="15%">修改</th>
    <th width="16%">删除</th>
  </tr>
  <%
  sql="select * from login order by id"
  set rs_login=conn.execute(sql)
  do while rs_login.eof=false
  %>
  <tr bgcolor="#ececec" onMouseOver="this.bgColor='#ffffff'" onMouseOut="this.bgColor='#ececec'" onDblClick="javascript:var win=window.open('user_show.asp?id=<%=rs_login("id")%>','员工详细信息','width=895,height=503,top=142,left=115,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=yes'); win.focus()">
    <td align="center" height="25"><%=rs_login("username")%></td>
    <td align="center"><%=rs_login("gongzi")%> 元</td>
    <td align="center"><a href="user_modi.asp?id=<%=rs_login("id")%>"><img src="../images/res.gif" border="0" hspace="2" align="absmiddle">修改</a></td>
    <td align="center"><%if rs_login("username")="admin" then%>---<%else%><a href="user_del.asp?id=<%=rs_login("id")%>" onClick="return confirm('此操作无法恢复!!!请慎重!!!\n\n确定要删除员工吗?');MM_popupMsg('该模块只有正式版才能使用。请购买\r电话:010-87549000 QQ:278798953  315639822\r网址:www.100ff.com \r演示网址:www.100ff.com/webjxc')"><img src="../images/del.gif" border="0" hspace="2" align="absmiddle">删除</a>
      <%end if%></td>
  </tr>
  <%
    rs_login.movenext
  loop
  %>
</table>
<table width="98%" align=center><tr><td align=center height=30>双击每行可查看会员详细资料</td></tr></table>
</body>
</html>

⌨️ 快捷键说明

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