?? user.asp
字號(hào):
<%
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">
</HEAD>
<BODY>
<%
if fla5="0" then
%>
<br><center><font color="#FF0000">你不具備此權(quán)限,請(qǐng)與管理員聯(lián)系!</font></center>
<%
response.end
end if
%>
<table width="98%" border="0" cellpadding="0" cellspacing="2" align="center">
<tr>
<td height="21"> <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")%>','員工詳細(xì)信息','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="../about/about1.htm"><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="../about/about1.htm" onClick="return confirm('此操作無法恢復(fù)!!!請(qǐng)慎重!!!\n\n確定要?jiǎng)h除員工嗎?')"><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>雙擊每行可查看會(huì)員詳細(xì)資料</td></tr></table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -