📄 gongzi_renshi.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/MainBorder.css" rel="stylesheet" type="text/css">
<title>信息显示</title>
<style type="text/css">
<!--
.STYLE1 {
color: #FFFFFF;
font-size: 16px;
font-weight: bold;
}
.STYLE2 {color: #FFFF00}
-->
</style>
</head>
<style type="text/css">
<!--
#f1 {
position: relative;
top: 10px;
left: 430px;
width: 80px;
}
#f2 {
position: relative;
top: -31px;
left: 510px;
width: 80px;
}
.STYLE4 {font-size: 14}
-->
</style>
<body >
<!--#include file ="Connections/auto.asp"-->
<%
id=request.form("sid")
syear=request.form("nian")
smonth=request.form("yue")
%>
<%
sql1="select Name from Message where id='" & id &"'"
set rs1=CN.execute(sql1)
Sname = "select * from gongzi where ( id='" &id &"' and syear='" & syear &"' and smonth='"& smonth &"' )"
set RS=CN.execute(Sname)
if RS.eof then
%>
<script language="vbscript">
alert("暂无工资信息")
</script>
<%
response.Redirect("gongzichx.asp")
else
%>
<table width="200" border="0">
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<table width="500" border="0" cellspacing="1" bgcolor="#336699" bordercolor="#0066FF" cellpadding="0" align="center">
<tr>
<td height="32" colspan="2"><div id="title" >
<div align="center"> <span class="STYLE1"><% response.write(rs1("Name"))%>
工资信息</span></div>
</div></td>
</tr>
<tr>
<td width="121" height="28" align="right" class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">员工编号: </td>
<td width="376" align="left" class="but1 STYLE2 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'"> <% response.write(RS("ID"))%></td>
</tr>
<tr>
<td height="24" align="right" class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">基本工资(元): </td>
<td class="but1 STYLE2 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'"> <% response.write(RS("jbgz"))%> </td>
</tr>
<tr>
<td height="26" align="right" class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'"">职务补贴(元): </td>
<td class="but1 STYLE2 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'"> <% response.write(RS("zwbt"))%></td>
</tr>
<tr>
<td height="24" align="right" class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">部门奖金(元): </td>
<td class="but1 STYLE2 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'"> <% response.write(RS("jjin"))%></td>
</tr>
<tr>
<td height="26" align="right" class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">扣除(元): </td>
<td class="but1 STYLE2 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'"> <% response.write(RS("kc"))%></td>
</tr>
<tr>
<td height="26" align="right"class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">税额(元): </td>
<td class="but1 STYLE2 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'"> <% response.write(RS("shui"))%></td>
</tr>
<tr>
<td height="24" align="right"class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">实发金额(元): </td>
<td class="but1 STYLE2 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'"> <% response.write(RS("sf"))%></td>
</tr>
<tr>
<td height="26" align="right" class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">年份: </td>
<td class="but1 STYLE2 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'"> <% response.write(RS("syear"))%></td>
</tr>
<tr>
<td height="26" align="right" class="but01 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">月份:</td>
<td class="but1 STYLE2 STYLE4" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'"> <% response.write(RS("smonth"))%></td>
</tr>
</table>
<%
end if
rs1.close
RS.close
CN.close
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -