<!doctype html>
<html>
<head>
<title>新增学生资料</title>
<script src="../../laydate/laydate.js"></script>
 


<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="style.css" />
</head>

<script Language="JavaScript">
 
 
 function form_check(){

   //if(document.form3.file1.value.length<1){window.alert("请选择您的照片文件！");document.form3.file1.focus();return (false);}
   if(document.form3.xuexiao.value.length<1){window.alert("输入原小学学校");document.form3.xuexiao.focus();return (false);}
   if(document.form3.banbie.value.length<1){window.alert("输入班别");document.form3.banbie.focus();return (false);}
   if(document.form3.xingming.value.length<1){window.alert("输入姓名");document.form3.xingming.focus();return (false);}
   //if(document.form3.xingbie.value.length<1){window.alert("请输入性别");document.form3.xingbie.focus();return (false);}  
   if(document.form3.shengri.value.length<1){window.alert("请输入出生日期");document.form3.shengri.focus();return (false);}  

   if(document.form3.shenfenzheng.value.length<18){window.alert("请输入正确的身份证号");document.form3.shenfenzheng.focus();return (false);}
   if(document.form3.xuejihao.value.length<1){window.alert("请输入学籍号");document.form3.xuejihao.focus();return (false);}
   if(document.form3.xuejihao.value.length<1){window.alert("请输入学籍号");document.form3.xuejihao.focus();return (false);}
   
   if(document.form3.hujidizhi.value.length<1){window.alert("请输入户籍所在地");document.form3.hujidizhi.focus();return (false);}
   if(document.form3.xianzhudizhi.value.length<1){window.alert("请输入现住的地址");document.form3.xianzhudizhi.focus();return (false);}
   
   if(document.form3.xingming1.value.length<1){window.alert("请输入监护人1姓名");document.form3.xingming1.focus();return (false);}
   if(document.form3.guangxi1.value.length<1){window.alert("请输入监护人1关系");document.form3.guangxi1.focus();return (false);}
   if(document.form3.danwei1.value.length<1){window.alert("请输入监护人1单位");document.form3.danwei1.focus();return (false);}
   if(document.form3.dianhua1.value.length<1){window.alert("请输入监护人1电话");document.form3.dianhua1.focus();return (false);}
   if(document.form3.mima.value.length<1){window.alert("请输入修改密码!并记住");document.form3.mima.focus();return (false);}
   
  
   
   
   
   
   
}

</script>
<body>

<div align="left">

<form method="post" ENCTYPE="multipart/form-data" name="form3" action="StudentSave.asp" onSubmit="return form_check();">

				<table width="900" height="341" border="1" align="center" cellpadding="10" cellspacing="0" bgcolor="#F7FCFF" style="border-collapse:collapse">
				<tr>
				<td width="701"><table width="850" border="0" align="center" cellpadding="1"   cellspacing="1"  bordercolor="#000000" >
				
				<tr>
				<td width="170" height="38" class="STYLE1"><div align="right">毕业学校</div></td>
				<td><div align="left"><span class="STYLE1">
				  <input name="xuexiao" class="text" id="xuexiao" size="20" >
				</span></div></td>
				<td class="STYLE1"><div align="right">班别</div></td>
				<td class="STYLE1"><input name="banbie" class="text" id="banbie" size="20" ></td>
				<td width="19" rowspan="4" class="STYLE1">&nbsp; </td>
				<td width="166" rowspan="4" class="STYLE1"><table width="100%" height="100%" border="1">
                  <tr>
                    <td height="153">&nbsp;</td>
                  </tr>
                </table></td>
				</tr>
				<tr>
				<td width="170" height="38" class="STYLE1"><div align="right">姓名</div></td>
				<td width="186"><div align="left"><span class="STYLE1">
				  <input name="xingming" class="text" id="xingming" size="20" maxlength="8" >
				</span></div></td>
				<td width="119" align="center" class="STYLE1"><div align="right">性别</div></td>
				<td width="171" align="left" class="STYLE1"><label>
				  <select name="xingbie">
				    <option>男</option>
				    <option>女</option>
			      </select>
				</label></td>
				</tr>
				
				<tr>
				  <td height="38" class="STYLE1"><div align="right">出生日期</div></td>
				  <td><span class="STYLE1">
					<input name="shengri"    class="laydate-icon"  id="shengri"  style="width:90px" onClick="laydate()" size="20"   placeholder="">
					<strong></strong>
				  </span></td>
				  <td><div align="right" class="STYLE1">身份证号码</div></td>
				  <td><span class="STYLE1">
				    <input name="shenfenzheng" class="text" id="shenfenzheng" size="20" maxlength="19" >
				  </span></td>
				  </tr>
				<tr>
				  <td height="38" class="STYLE1"><div align="right">学籍号</div></td>
				  <td><span class="STYLE1">
				    <input name="xuejihao" class="text" id="xuejihao" size="20" >
				  </span></td>
				  <td><div align="right" class="STYLE1">特长</div></td>
				  <td><span class="STYLE1">
				    <input name="techang" class="text" id="techang" size="20" >
				  </span></td>
				  </tr>
				<tr>
				  <td height="38" class="STYLE1"><div align="right">户籍地址</div></td>
				  <td colspan="4"><input name="hujidizhi" class="text" id="hujidizhi" size="62" maxlength="60"></td>
				  <td><div align="center" class="STYLE1">
				    <input type="file" name="file1"  class=text id="file1"  onblur='this.style.backgroundColor="#FFFFFF"' title="选择相片" size="5" />
				  </div></td>
				</tr>
				<tr>
				<td width="170" height="36" class="STYLE1"><div align="right">现住地址</div></td>
				<td colspan="4"><div align="left">
				  <input name="xianzhudizhi" class="text" id="xianzhudizhi" size="62" maxlength="60">
				</div></td>
				<td>&nbsp;</td>
				</tr>
				
				<tr>
				  <td class="STYLE1"><div align="right">学习情况 </div>                
				  <td colspan="5"><textarea name="xuexi" cols="61" rows="5" class="text" id="xuexi"></textarea></td>
				  </tr>
				<tr>
				<td width="170" class="STYLE1"><div align="right">获奖情况 </div>
				<td colspan="5"><div align="left">
				<textarea name="huojiang" cols="61" rows="5" class="text" id="huojiang">市级：
区级：
镇校级：
</textarea>
				</div></td>
				</tr>
				<tr>
				  <td height="104" colspan="6"><table width="95%" height="92" border="1" align="center">
                    <tr>
                      <td width="71" rowspan="3"><div align="center" class="STYLE1">监护人</div></td>
                      <td width="94" height="30" class="STYLE1"><div align="center">姓名</div></td>
                      <td width="106" class="STYLE1"><div align="center">关系</div></td>
                      <td width="278" class="STYLE1"><div align="center">工作单位</div></td>
                      <td width="221" class="STYLE1"><div align="center">联系电话</div></td>
                    </tr>
                    <tr>
                      <td><div align="center">
                        <input name="xingming1" class="text" id="xingming1" size="10">
                      </div></td>
                      <td><div align="center">
                        <input name="guangxi1" class="text" id="guangxi1" size="10">
                      </div></td>
                      <td><div align="center"><span class="STYLE1">
                        <input name="danwei1" class="text" id="danwei1" size="30" >
                      </span></div></td>
                      <td><div align="center"><span class="STYLE1">
                        <input name="dianhua1" class="text" id="dianhua1" size="20" >
                      </span></div></td>
                    </tr>
                    <tr>
                      <td><div align="center">
                        <input name="xingming2" class="text" id="xingming2" size="10">
                      </div></td>
                      <td><div align="center">
                        <input name="guangxi2" class="text" id="guangxi2" size="10">
                      </div></td>
                      <td><div align="center"><span class="STYLE1">
                        <input name="danwei2" class="text" id="danwei2" size="30" >
                      </span></div></td>
                      <td><div align="center"><span class="STYLE1">
                        <input name="dianhua2" class="text" id="dianhua2" size="20" >
                      </span></div></td>
                    </tr>
                  </table>                
			      <div align="center"></div>				  </tr>
				<tr>
				  <td height="28"><div align="right">修改密码</div>                
				  <td height="28" colspan="5">
				    <span class="STYLE1">
				  <input name="mima" class="text" id="mima" size="20" >
				  （用于再次查看、修改自己资料的密码，请记住！）</span>    								  
				</tr>
				<tr>
				<td colspan="6"><div align="center">
				<input name="Submit2" type="submit" class="topanniu" value="保存数据">
				</div>				</tr>
				</table>
				  <div align="center"></div></td>
				</tr>
	</table>
  </form>
</div>
</body> 
</html> 
