<TABLE class="xmtable" border=0 align="center" cellPadding=0 cellSpacing=12 bgcolor="#ffffff">
  
  <tr> 
    <td  height="450" valign="top" Class="tdbg_left"><table width="100%" border="0" cellspacing="0" cellpadding="0">

      <tr>
        <td height="10"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td><% call ShowUserLogin() %>              </td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td height="5"></td>
      </tr>
    </table>
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="34" class="title_left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;人才招聘</td>
        </tr>
        <tr>
          <td height="20"><div align="center"><a href="HrDemand.asp">人 
            才 招 聘</a></div></td>
        </tr>
        <TR>
          <TD 
                            height=1 colspan="2" 
                            background=img/naSzarym.gif><IMG height=1 src="img/1x1_pix.gif" 
                              width=10></TD>
        </TR>
        <tr>
          <td height="20"><div align="center"><a href="HrPolicy.asp">人 
            才 策 略</a></div></td>
        </tr>
        <TR>
          <TD 
                            height=1 colspan="2" 
                            background=img/naSzarym.gif><IMG height=1 src="img/1x1_pix.gif" 
                              width=10></TD>
        </TR>
      </table>
      </td>
    <TD width=1 background=images/MainLine.gif></TD>    
    <td width="670" valign="top" bgcolor="#ffffff"><table width="670" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><% If IsFlash8="Yes" Then %>
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="<%=width8%>" height="<%=High8%>">
                  <param name="movie" value="<%=BannerUrl8%>">
                  <param name="quality" value="high">
                  <param name="wmode" value="transparent">
                  <embed src="<%=BannerUrl8%>" width="<%=width8%>" height="<%=High8%>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
                </object>
                <% Else %>
                <img src="<%=BannerUrl8%>" width="<%=width8%>" height="<%=High8%>">
                <% end If%>
        </td>
      </tr>
    </table>
      <br>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" 
                              border=0>
        <TBODY>
          <TR>
            <TD class="title_b"></TD>
            <TD><TABLE cellSpacing=0 cellPadding=0 width="100%" 
                                border=0>
                <TBODY>
                  <TR>
                    <TD width=98 class="title_c" style="text-align:center;">人才招聘</font></TD>
                    <TD width="555" class="title_right">　</TD>
                  </TR>
                </TBODY>
            </TABLE></TD>
          </TR>
          <TR>
            <TD vAlign=bottom colSpan=2 height=5><TABLE cellSpacing=0 cellPadding=0 width="100%" 
                                border=0>
                <TBODY>
                  <TR>
                    <TD bgColor=#e3e3e3 
                                height=1></TD>
                  </TR>
                </TBODY>
            </TABLE></TD>
          </TR>
        </TBODY>
      </TABLE>
      <br>
      <%
function ChangeChr(str) 
   ChangeChr=replace(replace(replace(replace(str,"<","&lt;"),">","&gt;"),chr(13),"<br>")," ","&nbsp;") 
end function
%>
      <%    
dim action,Quarters
Quarters=trim(request.QueryString("Quarters"))
action=trim(request.QueryString("action"))
	   
if action="add" then   
   Quarters=trim(request.Form("Quarters"))    
   Uname=trim(request.Form("Name"))
   Sex=trim(request.Form("Sex"))
   Marry=trim(request.Form("Marry"))
   Birthday=trim(request.Form("Birthday"))
   Stature=trim(request.Form("Stature"))
   School=trim(request.Form("School"))
   Studydegree=trim(request.Form("Studydegree"))
   Specialty=trim(request.Form("Specialty"))
   Gradyear=trim(request.Form("Gradyear"))	
   Residence=trim(request.Form("Residence"))
   Edulevel=trim(request.Form("Edulevel"))
   Edulevel=trim(ChangeChr(Edulevel))
   Experience=trim(request.Form("Experience"))
   Experience=trim(ChangeChr(Experience))
   Phone=trim(request.Form("Phone"))
   Mobile=trim(request.Form("Mobile"))
   Email=trim(request.Form("Email"))
   Add=trim(request.Form("Add"))
   Postcode=trim(request.Form("Postcode"))
   
   if School="" then
	School=null
   end if
   if Studydegree="" then
	Studydegree=null
   end if
   if Specialty="" then
	Specialty=null
   end if
   if Gradyear="" then
	Gradyear=null
   end if
   if Mobile="" then
	Mobile=null
   end if
   if Add="" then
	Add=null
   end if
   if Postcode="" then
	Postcode=null
   end if
 '=================================   
   set rs=server.createobject("adodb.recordset")
       sql="select * from HrDemandAccept where (id is null)" 
       rs.open sql,conn,1,3
       rs.addnew
	   rs("Quarters")=Quarters
	   rs("name")=Uname	 
	   rs("Sex")=Sex	 
	   rs("Marry")=Marry
	   rs("Birthday")=Birthday
	   rs("Stature")=Stature	
	   rs("School")=School
	   rs("Studydegree")=Studydegree
	   rs("Specialty")=Specialty
	   rs("Gradyear")=Gradyear   
	   rs("Residence")=Residence	  
	   rs("Edulevel")=Edulevel
	   rs("Experience")=Experience
	   rs("Phone")=Phone
	   rs("Mobile")=Mobile
	   rs("Email")=Email
	   rs("Add")=Add
	   rs("Postcode")=Postcode
       rs("Adddate")=Now()
       rs.update
	   rs.close
	   set rs=nothing
response.write"<SCRIPT language=JavaScript>alert('您的简历提交成功，如果合适我们会尽快通知您面试!');"
response.write"javascript:history.go(-2)</SCRIPT>"       
else
%>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <TR vAlign=top >
          <TD   height="18"><form name="form1" method="post" onSubmit="return CheckJob()" action="HrDemandAccept.asp?action=add">
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td><div align="center"></div></td>
                </tr>
              </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
                            <tr> 
                              <%Quarters=request("Quarters")%>
                              <td width="120" bgcolor="#EAE8DB">
<div align="right"><font color=#000066>职　　位：&nbsp; </font></div></td>
                              <td ><TABLE width="100%" border=0 cellpadding="2" cellspacing="1">
                                  <TBODY>
                                    <TR> 
                                      <TD width="19%" height="20" 
                                bgColor=#EAE8DB> 
                                        <input   name=Quarters  id=jobname   value="<%=Quarters%>" size="36">
                                        * </TD>
                                    </TR>
                                  </TBODY>
                                </TABLE></td>
                            </tr>
                            <tr> 
                              <td width="76" bgcolor="#f0f3f0">
<div align="right"><font color=#000066>个人资料：&nbsp;</font></div></td>
                              <td valign="top"><TABLE width="100%" border=0 cellpadding="2" cellspacing="1">
                                  <TBODY>
                                    <TR> 
                                      <TD width="19%" height="20" align=right 
                                bgColor=#f0f3f0>姓名：</TD>
                                      <TD width="81%" bgColor=#f0f3f0><INPUT  name="Name">
                                        * </TD>
                                    </TR>
                                    <TR> 
                                      <TD align=right bgColor=#f0f3f0 
                                height=20>性别：</TD>
                                      <TD bgColor=#f0f3f0><select id="Sex" name="Sex">
                                          <option value="男" selected>男</option>
                                          <option value="女">女</option>
                                        </select>
                                        *</TD>
                                    </TR>
                                    <TR> 
                                      <TD align=right bgColor=#f0f3f0 
                                height=20>婚姻状况：</TD>
                                      <TD bgColor=#f0f3f0><SELECT id="Marry"   name="Marry">
                                          <OPTION value="未婚"  selected>未婚</OPTION>
                                          <OPTION  value="已婚">已婚</OPTION>
                                        </SELECT> </TD>
                                    </TR>
                                    <TR> 
                                      <TD align=right bgColor=#f0f3f0 
                                height=20>出生日期：</TD>
                                      <TD bgColor=#f0f3f0><input name="Birthday">
                                        *出生日期（如：1978-04-24）</TD>
                                    </TR>
                                    <TR> 
                                      <TD align=right bgColor=#f0f3f0 
                                height=20>身高：</TD>
                                      <TD bgColor=#f0f3f0><INPUT name="Stature" id="stature" size="15" maxlength="3">
                                        *(cm)（如：填 178）</TD>
                                    </TR>
                                    <TR>
                                      <TD align=right bgColor=#f0f3f0 
                                height=20>毕业院校：</TD>
                                      <TD bgColor=#f0f3f0><input name="School" size="40"></TD>
                                    </TR>
                                    <TR> 
                                      <TD align=right bgColor=#f0f3f0 
                                height=20>学历：</TD>
                                      <TD bgColor=#f0f3f0><input name="Studydegree" size="30" maxlength="50"></TD>
                                    </TR>
                                    <TR> 
                                      <TD align=right bgColor=#f0f3f0 
                                height=20>专业：</TD>
                                      <TD bgColor=#f0f3f0><input name="Specialty" size="30" maxlength="50"></TD>
                                    </TR>
                                    <TR> 
                                      <TD align=right bgColor=#f0f3f0 
                                height=20>毕业时间：</TD>
                                      <TD bgColor=#f0f3f0><input name="Gradyear" size="16"></TD>
                                    </TR>
                                    <TR> 
                                      <TD align=right bgColor=#f0f3f0 
                                height=20>户籍地：</TD>
                                      <TD bgColor=#f0f3f0><INPUT 
                                name=Residence id=Residence 
                                size=40 maxlength="50">
                                        *</TD>
                                    </TR>
                                  </TBODY>
                                </TABLE></td>
                            </tr>
                            <tr> 
                              <td width="76" bgcolor="#EAE8DB">
<div align="right"><font color=#000066>教育经历：&nbsp;</font></div></td>
                              <td align="center"><TABLE width="100%" height=188 
                                border=0 align=center cellpadding="2" cellspacing="1">
                                  <TBODY>
                                    <TR bgcolor="#EAE8DB"> 
                                      <TD width="16%" 
height=21 bgcolor="#EAE8DB">&nbsp;学历</TD>
                                      <TD width="22%">&nbsp;起止时间</TD>
                                      <TD width="22%">&nbsp;专业名称</TD>
                                      <TD width="19%">&nbsp;证书</TD>
                                      <TD width="21%">&nbsp;学校名称</TD>
                                    </TR>
                                    <TR vAlign=top bgColor=#EAE8DB> 
                                      <TD colSpan=5> 
                                        <TEXTAREA id=Edulevel name=Edulevel rows=12 cols=63></TEXTAREA><br>
                                        * 教育经历必填，且要按上面的格式和发生时间先后填写!</TD>
                                    </TR>
                                  </TBODY>
                                </TABLE></td>
                            </tr>
                            <tr> 
                              <td width="76" bgcolor="#f0f3f0">
<div align="right"><font color=#000066>工作经历：&nbsp;</font></div></td>
                              <td><TABLE width="100%" height=188 
                                border=0 align=center cellpadding="2" cellspacing="1">
                                  <TBODY>
                                    <TR bgcolor="#f0f3f0"> 
                                      <TD width="25%" 
height=21>&nbsp;起止时间</TD>
                                      <TD width="25%">&nbsp;职位名称</TD>
                                      <TD width="25%">&nbsp;服务单位</TD>
                                      <TD width="25%">&nbsp;工作内容</TD>
                                    </TR>
                                    <TR vAlign=top bgColor=#f0f3f0> 
                                      <TD colSpan=4> 
                                        <TEXTAREA id=Experience name=Experience rows=12 cols=63></TEXTAREA><br>
                                        * 工作经历必填，且要按上面的格式和发生时间先后填写!</TD>
                                    </TR>
                                  </TBODY>
                                </TABLE></td>
                            </tr>
                            <tr> 
                              <td width="76" bgcolor="#EAE8DB">
<div align="right"><font color=#000066>联系方式：&nbsp;</font> </div></td>
                              <td><TABLE width="100%" border=0 cellpadding="2" cellspacing="1">
                                  <TBODY>
                                    <TR> 
                                      <TD height="20" align=right 
                                bgColor=#EAE8DB>联系电话：</TD>
                                      <TD width="80%" bgcolor="#EAE8DB"> 
                                        <INPUT name=Phone id=Phone size="25">
                                        * </TR>
                                    <TR> 
                                      <TD 
                                height=20 align=right bgColor=#EAE8DB>手机号码：</TD>
                                      <TD bgColor=#EAE8DB>
<INPUT 
                                name=Mobile id=Mobile size="25">
                                      </TD>
                                    </TR>
                                    <TR> 
                                      <TD 
                                height=20 align=right bgColor=#EAE8DB>E-mail地址：</TD>
                                      <TD bgColor=#EAE8DB>
<INPUT 
                                name=Email id=Email size="25">
                                        *</TD>
                                    </TR>
                                    <TR> 
                                      <TD 
                                height=20 align=right bgColor=#EAE8DB>通信地址：</TD>
                                      <TD bgColor=#EAE8DB>
<INPUT name=Add id=Add 
                               size=40></TD>
                                    </TR>
                                    <TR> 
                                      <TD 
                                height=20 align=right bgColor=#EAE8DB>邮政编码：</TD>
                                      <TD bgColor=#EAE8DB>
<INPUT 
                                name=Postcode id=Postcode size=10 maxLength=6></TD>
                                    </TR>
                                  </TBODY>
                                </TABLE></td>
                            </tr>
                            <tr> 
                              <td width="76">　</td>
                              <td><div align="center">
                                  <input type="submit" name="submit8" value=" 提交 " >
                                  &nbsp;&nbsp; 
                                  <input type="reset" name="Submit8" value=" 重置 ">
                                </div></td>
                            </tr>
                          </table>
                        </form></TD>
                    </TR>
                  </table>    <% end if %></td>
    <TD width=1 background=images/MainLine.gif></TD>    
    <TD width="79" > </TD>
  </tr>
</table>
