📄 basicdata.asp
字号:
<!--#include file="headfiles/Connection.inc"-->
<%
dim intTID,intRec,intOpt,strNumber,strName
intTID=request("intTID")
if intTID="" then
intTID=request.Form("txtItem")
if intTID="" then
intTID=1
else
intTID=cint(intTID)
end if
end if
' response.Write(rsItem.recordcount)
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<SCRIPT language=JavaScript>
<!--
function ChoseItem(i){
// if(saveTr.style.display=='block'){
// alert ("当前有操作未完成!\n\n\n请先保存或取消!");
// return false;
// }
frmBasicData.txtItem.value=i;
frmBasicData.submit();
}
//-->
</SCRIPT>
<BGSOUND id=theBS src="" loop=0>
<META content="Microsoft FrontPage 4.0" name=GENERATOR>
<link href="headfiles/text.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginwidth="0" marginheight="0">
<script language="javascript" src="headfiles/right.js"></script>
<div align="center">
<form id="frmBasicData" name="frmBasicData" method="post" action="BasicData.asp">
<table cellspacing="0" cellpadding="0" border="0" width="600" height="425" background="images\bg.gif" class="title3">
<tr>
<td width="65" class="title2" align="center" background="images\margin4.gif">导航栏</td>
<td bgcolor="#6699ff" align="middle" height="35" class="title5">
基础数据管理
</td></tr>
<%
if intTID=1 then
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' background='images\item1.gif'><input id='txtItem' name='txtItem' style='visibility:hidden;width=5px' value="&intTID&">部门</td>"
else
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' bgcolor='#62b0ff' background='images\item2.gif'><input id='txtItem' name='txtItem' style='visibility:hidden;width=5px' value="&intTID&"><a class='detail' onmouseover="&chr(34)&"this.className='red'"&chr(34)&" onmouseout="&chr(34)&"this.className='detail'"&chr(34)&" language='javascript' onClick='ChoseItem(1);'>部门</a></td>"
end if
response.Write chr(10)&chr(13)&"<td height=380 rowspan=13 align=middle valign=center>"
%>
<IFRAME name="main" src="DataDetail.asp?tid=<%=intTid%>" scrolling=auto marginwidth=0 marginheight=0 frameborder=0 vspace=0 hspace=0 width=520 height=380>
</IFRAME>
</td></tr>
<% if intTID=2 then
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' background='images\item1.gif'>学历</td>"
else
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' bgcolor='#62b0ff' background='images\item2.gif'><a class='detail' onmouseover="&chr(34)&"this.className='red'"&chr(34)&" onmouseout="&chr(34)&"this.className='detail'"&chr(34)&" language='javascript' onClick='ChoseItem(2);'>学历</a></td>"
end if
if intTID=3 then
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' background='images\item1.gif'>员工类型</td>"
else
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' bgcolor='#62b0ff' background='images\item2.gif'><a class='detail' onmouseover="&chr(34)&"this.className='red'"&chr(34)&" onmouseout="&chr(34)&"this.className='detail'"&chr(34)&" language='javascript' onClick='ChoseItem(3);'>员工类型</a></td>"
end if
if intTID=4 then
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' background='images\item1.gif'>工资类型</td>"
else
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' bgcolor='#62b0ff' background='images\item2.gif'><a class='detail' onmouseover="&chr(34)&"this.className='red'"&chr(34)&" onmouseout="&chr(34)&"this.className='detail'"&chr(34)&" language='javascript' onClick='ChoseItem(4);'>工资类型</a></td>"
end if
if intTID=5 then
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' background='images\item1.gif'>外语</td>"
else
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' bgcolor='#62b0ff' background='images\item2.gif'><a class='detail' onmouseover="&chr(34)&"this.className='red'"&chr(34)&" onmouseout="&chr(34)&"this.className='detail'"&chr(34)&" language='javascript' onClick='ChoseItem(5);'>外语</a></td>"
end if
if intTID=6 then
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' background='images\item1.gif'>职称</td>"
else
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' bgcolor='#62b0ff' background='images\item2.gif'><a class='detail' onmouseover="&chr(34)&"this.className='red'"&chr(34)&" onmouseout="&chr(34)&"this.className='detail'"&chr(34)&" language='javascript' onClick='ChoseItem(6);'>职称</a></td>"
end if
if intTID=7 then
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' background='images\item1.gif'>职位</td>"
else
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' bgcolor='#62b0ff' background='images\item2.gif'><a class='detail' onmouseover="&chr(34)&"this.className='red'"&chr(34)&" onmouseout="&chr(34)&"this.className='detail'"&chr(34)&" language='javascript' onClick='ChoseItem(7);'>职位</a></td>"
end if
if intTID=8 then
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' background='images\item1.gif'>民族</td>"
else
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' bgcolor='#62b0ff' background='images\item2.gif'><a class='detail' onmouseover="&chr(34)&"this.className='red'"&chr(34)&" onmouseout="&chr(34)&"this.className='detail'"&chr(34)&" language='javascript' onClick='ChoseItem(8);'>民族</a></td>"
end if
if intTID=9 then
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' background='images\item1.gif'>政治面貌</td>"
else
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' bgcolor='#62b0ff' background='images\item2.gif'><a class='detail' onmouseover="&chr(34)&"this.className='red'"&chr(34)&" onmouseout="&chr(34)&"this.className='detail'"&chr(34)&" language='javascript' onClick='ChoseItem(9);'>政治面貌</a></td>"
end if
if intTID=10 then
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' background='images\item1.gif'>婚姻状况</td>"
else
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' bgcolor='#62b0ff' background='images\item2.gif'><a class='detail' onmouseover="&chr(34)&"this.className='red'"&chr(34)&" onmouseout="&chr(34)&"this.className='detail'"&chr(34)&" language='javascript' onClick='ChoseItem(10);'>婚姻状况</a></td>"
end if
if intTID=11 then
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' background='images\item1.gif'>水平</td>"
else
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' bgcolor='#62b0ff' background='images\item2.gif'><a class='detail' onmouseover="&chr(34)&"this.className='red'"&chr(34)&" onmouseout="&chr(34)&"this.className='detail'"&chr(34)&" language='javascript' onClick='ChoseItem(11);'>水平</a></td>"
end if
if intTID=12 then
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' background='images\item1.gif'>用户权限</td>"
else
response.Write chr(10)&chr(13)&"<tr><td align='right' height='30' bgcolor='#62b0ff' background='images\item2.gif'><a class='detail' onmouseover="&chr(34)&"this.className='red'"&chr(34)&" onmouseout="&chr(34)&"this.className='detail'"&chr(34)&" language='javascript' onClick='ChoseItem(12);'>用户权限</a></td>"
end if
%>
<tr><td align='right' height='30' bgcolor='#62b0ff' background='images\item2.gif'><font color="#0000FF">其它</font></td></tr>
</table>
</form></div>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -