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

📄 addworker.asp

📁 20041230162250801409: 浙江省丽水市公铁联运有限公司OA系统(物流) 开发语言:PHP/ASP/PERL 本系统包括各个部门的管理
💻 ASP
字号:
<%
if session("pwd")<>"pass" then 
 response.Redirect "../admin_login.asp"
 response.end 
 end if 
  %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>丽水市公铁联运有限公司--员工注册页面</title>
<link href="../../AppMain.css" rel="stylesheet" type="text/css">
<body >
<table width="100%" cellpadding="0" cellspacing="0" class="TOOLBARTABLE">
  <tr>
    <td height="24">
<div align="center"><font color="#FF0000" size="5" face="隶书"><strong>员 工 注 册</strong></font></div></td>
  </tr>
</table>
<form name="form1" method="post" onSubmit="return CheckForm()" action="workersave.asp">
  <table width="375" border="0" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#FFFFFF" bordercolordark="#000000" class="TOOLBARTABLE" >
    <tr bgcolor="#FFCC66"> 
      <td colspan="2"><font color="#FF0000">员工注册(*为必添项) </font></td>
    </tr>
    <tr> 
      <td>员工编号:</td>
      <td><input name="aa" type="text" class="input_plane2" id="aa" onMouseOver="this.style.backgroundColor='#e1f4ee'" onMouseOut="this.style.backgroundColor='#ffffff'">
        <font color="#FF0000">*</font></td>
    </tr>
    <tr> 
      <td width="152" height="18" >姓名:</td>
      <td width="221"><input name="bb" type="text" class="input_plane2" id="pwd3" maxlength="25" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"> 
        <font color="#FF0000">*</font></td>
    </tr>
    <tr> 
      <td>性别:</td>
      <td> <font color="#FF0000"> 
        <select name="cc" id="cc">
          <option value="--请选择性别--" selected>--请选择性别--</option>
          <option value="男性">男性</option>
          <option value="女性">女性</option>
        </select>
        *</font></td>
    </tr>
    <tr> 
      <td>所属组织:</td>
      <td > <select name="dd" size="1" id="select5">
          <option value="--选择组织--" selected>--选择组织--</option>
          <option value="总经理室">总经理室</option>
          <option value="财务">财务</option>
          <option value="副经理室">副经理室</option>
          <option value="办公室">办公室</option>
          <option value="车队">车队</option>
          <option value="货运站">货运站</option>
          <option value="整车站">整车站</option>
        </select> <font color="#FF0000">*</font></td>
    </tr>
    <tr> 
      <td height="23">职务:</td>
      <td><input name="ee" type="text" class="input_plane2" id="ee" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"> 
        <font color="#FF0000">*</font></td>
    </tr>
    <tr> 
      <td>出生日期:</td>
      <td><input name="ff" type="text" class="shulukuan1" id="body3" maxlength="20" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'">
        <font color="#FF0000">*yyyy-mm-dd</font></td>
    </tr>
    <tr> 
      <td height="23">在职状态:</td>
      <td> <font color="#FF0000"> 
        <select name="gg" id="gg">
          <option value="--选择在职状况--" selected>--选择在职状况--</option>
          <option value="在职">在职</option>
          <option value="退休">退休</option>
        </select>
        *</font></td>
    </tr>
    <tr> 
      <td>手机号码:</td>
      <td><input name="hh" type="text" class="input_plane2" id="email3" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"> 
        <font color="#FF0000">*</font></td>
    </tr>
    <tr> 
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr> 
      <td height="18"><div align="right"><font color="#CC0000">详细填写 ,请打勾:</font></div></td>
      <td><input type="checkbox" name="checkbox" value="on"  onClick=Click_handler("docu") >
        填写 </td>
    </tr>
    <tr> 
      <td colspan="2"> <table width="372" border="0" cellspacing="0" cellpadding="0" id="docu111" style="display: none" bordercolordark="#000000" bordercolorlight="#FFFFFF">
          <tr background="../../image/titlebg.gif"> 
            <td colspan="2"><font color="#FF0000"><img src="../../image/15.GIF" width="15" height="16">以下是员工信息的详细填写,你可以填写,也可以不填,为了能更好地了解和统计员工的信息,以下情况尽可能的填写!</font></td>
          </tr>
          <tr> 
            <td width="154" height="23">办公电话:</td>
            <td width="218"><input name="ii" type="text" class="input_plane2" id="ii" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
          </tr>
          <tr> 
            <td>家庭电话:</td>
            <td><input name="jj" type="text" class="input_plane2" id="jj" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
          </tr>
          <tr> 
            <td>家庭住址: </td>
            <td><input name="uu" type="text" class="input_plane2" id="uu" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
          </tr>
          <tr> 
            <td>电子信箱:</td>
            <td><input name="kk" type="text" class="input_plane2" id="homephone5" onMouseOver="this.style.backgroundColor='#e1f4ee'" onMouseOut="this.style.backgroundColor='#ffffff'"></td>
          </tr>
          <tr> 
            <td>身份证:</td>
            <td><input name="ll" type="text" class="input_plane2" id="cellphone5" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
          </tr>
          <tr> 
            <td>婚姻状况:</td>
            <td><select name="mm" size="1" id="select12">
                <option value="单身">单身</option>
                <option value="已婚">已婚</option>
                <option value="离异">离异</option>
                <option value="--婚姻情况--" selected>--婚姻情况--</option>
              </select></td>
          </tr>
          <tr> 
            <td height="21">籍贯:</td>
            <td><input name="nn" type="text" class="input_plane2" id="nn" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
          </tr>
          <tr> 
            <td>学历:</td>
            <td><select name="oo" size="1" id="select11">
                <option value="家里穷没上过学" selected>家里穷没上过学</option>
                <option value="小学文化">小学文化</option>
                <option value="初中文化">初中文化</option>
                <option value="普通高中">普通高中</option>
                <option value="职高/技校">职高/技校</option>
                <option value="大专">大专</option>
                <option value="本科">本科</option>
                <option value="研究生">研究生</option>
                <option value="硕士">硕士</option>
                <option value="博士">博士</option>
                <option value="教授">教授</option>
                <option value="其它">其它</option>
              </select></td>
          </tr>
          <tr> 
            <td>毕业学校:</td>
            <td><input name="pp" type="text" class="input_plane2" id="workaddrew5" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"> 
            </td>
          </tr>
          <tr> 
            <td>专业:</td>
            <td> <input name="qq" type="text" class="input_plane2" id="oicq5" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"></td>
          </tr>
          <tr> 
            <td>毕业时间:</td>
            <td><input name="rr" type="text" class="input_plane2" id="icq5" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"> 
              <font color="#FF0000">yyyy-mm-dd</font></td>
          </tr>
          <tr> 
            <td height="18">工作时间:</td>
            <td><input name="ss" type="text" class="input_plane2" id="ss" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"> 
              <font color="#FF0000">yyyy-mm-dd</font></td>
          </tr>
          <tr> 
            <td>注册时间:</td>
            <td><input name="tt" type="text" class="input_plane2" id="tt" onmouseover="this.style.backgroundColor='#e1f4ee'" onmouseout="this.style.backgroundColor='#ffffff'"> 
              <font color="#FF0000">yyyy-mm-dd</font></td>
          </tr>
          <tr> 
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr> 
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr> 
            <td colspan="2">&nbsp;</td>
          </tr>
        </table></td>
    </tr>
    <tr> 
      <td height="23" colspan="2"> <div align="center"> 
          <input type="submit" name="Submit" value="注册"class="button" style="borde:1 solid black" onmouseover="this.style.backgroundColor='#55aaff'" onmouseout="this.style.backgroundColor='#ffffcc'" >
          <input type="reset" name="Submit2" value="重置"class="button" style="borde:1 solid black" onmouseover="this.style.backgroundColor='#55aaff'" onmouseout="this.style.backgroundColor='#ffffcc'" >
        </div></td>
    </tr>
  </table>
</form>
</body>
</html>
<script language="Javascript">
function Click_handler(obj)
{
if (document.all("docu111").style.display=="none")
document.all("docu111").style.display=""
else
document.all("docu111").style.display="none"
}
</script>

<script language=javascript>
	function CheckForm()
	{
	if(document.form1.aa.value=="")
		{
			alert("请输入员工编号!");
			document.form1.aa.focus();
			return false;
		}
		if(document.form1.bb.value=="")
		{
			alert("请输入员工名字!");
			document.form1.bb.focus();
			return false;
		}
		if(document.form1.cc.value == "--请选择性别--")
		{
			alert("请选择性别!");
			document.form1.cc.focus();
			return false;
		}
		if(document.form1.dd.value == "--选择组织--")
		{
			alert("请输入所属组织!");
			document.form1.dd.focus();
			return false;
		}
		
		if(document.form1.ee.value == "")
		{
			alert("请输入该员工职务!");
			document.form1.ee.focus();
			return false;
		}
		
		if(document.form1.ff.value == "")
		{
			alert("请输入该员工出生日期!");
			document.form1.ff.focus();
			return false;
		}	if(document.form1.gg.value == "--选择在职状况--")
		{
			alert("请选择该员工在职状态!");
			document.form1.gg.focus();
			return false;
			}	if(document.form1.hh.value == "")
		{
			alert("请输入该员工手机号码!");
			document.form1.hh.focus();
			return false;
		}
	}
	
	function ClearForm()
	{document.Login.username.value = "";
	 document.Login.pwd.value = "";
	 }
</script>

⌨️ 快捷键说明

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