<%@ Page Language="C#" AutoEventWireup="true" Inherits="MyITJob.Person_reg_Basemeans"
    Codebehind="reg_Basemeans.aspx.cs" %>

<%@ Register TagPrefix="ascx" TagName="PageFooter" Src="~/ascx/PageFooter.ascx" %>
<%@ Register TagPrefix="ascx" TagName="LeftPage" Src="~/Person/LeftDH.ascx" %>
<%@ Register TagPrefix="ascx" TagName="PageTop2" Src="~/ascx/PageTop2.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>
        <%=Application["PageTitle"] %>
        ——个人基本资料</title>
    <link href="../images/Admin_Style.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript">
    function CheckForm()
    {
        if(form1.TextBox1.value == '')
        {
            alert('姓名不能为空');
            form1.TextBox1.focus();
            return false;
        }
        if(form1.TextBox3.value == '')
        {
            alert('年龄不能为空');
            form1.TextBox3.focus();
            return false;
        }
        if(form1.TextBox18.value == '')
        {
            alert('专业不能为空');
            form1.TextBox18.focus();
            return false;
        }
        if(form1.TextBox19.value == '')
        {
            alert('户籍不能为空');
            form1.TextBox19.focus();
            return false;
        }
        if(form1.TextBox20.value == '')
        {
            alert('现居地不能为空');
            form1.TextBox20.focus();
            return false;
        }
        if(form1.TextBox4.value == '')
        {
            alert('身份证不能为空');
            form1.TextBox4.focus();
            return false;
        }
        if(form1.TextBox9.value == '')
        {
            alert('教育经历不能为空');
            form1.TextBox9.focus();
            return false;
        }
        if(isNaN(form1.TextBox10.value))
        {
            alert('工作经验必须是正整数');
            form1.TextBox10.focus();
            return false;
        }
        if(form1.TextBox11.value == '')
        {
            alert('工作经历不能为空');
            form1.TextBox11.focus();
            return false;
        }
        if(form1.TextBox2.value == '')
        {
            alert('个人简介不能为空');
            form1.TextBox2.focus();
            return false;
        }
        if(form1.TextBox15.value == '')
        {
            alert('手机号码不能为空');
            form1.TextBox15.focus();
            return false;
        }
        if(isNaN(form1.TextBox15.value))
        {
            alert('手机号码必须全为数字');
            form1.TextBox15.focus();
            return false;
        }
        if(form1.TextBox12.value == '')
        {
            alert('通信地址不能为空');
            form1.TextBox12.focus();
            return false;
        }
        if(isNaN(form1.TextBox13.value))
        {
            alert('邮政编码必须是数字');
            form1.TextBox13.focus();
            return false;
        }
    }
    </script>

    <style type="text/css">
<!--
.STYLE4 {color: #FF0000}
-->
    </style>
    <script src="../js/My97Date/WdatePicker.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server" onsubmit='return CheckForm();'>
        <ascx:PageTop2 ID="PageTop2" runat="server" />
        <table width="992" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td width="13%" valign="top">
                    <ascx:LeftPage ID="LeftPage" runat="server" />
                </td>
                <td width="6%" valign="top">
                </td>
                <td width="81%" valign="top">
                    <div>
                        <table id="tb" width='100%' border='0' align='center' cellpadding='2' cellspacing='1' class='border'>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td colspan="3" class="topbg2">
                                    <div align="center" class="Glow">
                                        <strong>个人基本资料</strong></div>
                                </td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td width="264">
                                    <div align="right">
                                        <span style="color: #ff0000">*</span>真实姓名：</div>
                                </td>
                                <td colspan="2">
                                    <asp:TextBox ID="TextBox1" runat="server" MaxLength="8" Width="200px" class="input_text"></asp:TextBox></td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        性别：</div>
                                </td>
                                <td>
                                    <asp:RadioButtonList ID="RadioButtonList3" runat="server" RepeatDirection="Horizontal"
                                        RepeatLayout="Flow">
                                        <asp:ListItem Selected="True">男</asp:ListItem>
                                        <asp:ListItem>女</asp:ListItem>
                                    </asp:RadioButtonList></td>
                                <td>身高：
                                <input type="text" id="shengao_txt" class="input_text" runat="server" maxlength="4" value="1.65" style="width:50px;" />CM</td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        <span style="color: #ff0000">*</span>生日：</div>
                                </td>
                                <td colspan="2">
                                    <input ID="TextBox3" ReadOnly MaxLength="10" runat="server" onClick="WdatePicker()" Width="113px" class="input_text" type="text" /></td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        目前身份：</div>
                                </td>
                                <td colspan="2">
                                    <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal"
                                        RepeatLayout="Flow">
                                        <asp:ListItem Selected="True">待业</asp:ListItem>
                                        <asp:ListItem>学生</asp:ListItem>
                                        <asp:ListItem>职员</asp:ListItem>
                                    </asp:RadioButtonList></td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        <span style="color: #ff0000">*</span>户籍：</div>
                                </td>
                                <td width="144">
                                    <asp:TextBox ID="TextBox19" runat="server" MaxLength="16" class="input_text"></asp:TextBox>
                                </td>
                                <td width="615">
                                    <span style="color: #ff0000">*</span>现居地：
                                    <asp:TextBox ID="TextBox20" runat="server" MaxLength="16" class="input_text"></asp:TextBox>
                                    <br />
                                </td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        <span style="color: #ff0000">*</span>身份证号码：</div>
                                </td>
                                <td colspan="2">
                                    <asp:TextBox ID="TextBox4" runat="server" MaxLength="25" class="input_text"></asp:TextBox><asp:RegularExpressionValidator
                                        ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBox4"
                                        ErrorMessage="身份证输入有问题，请确认后再输入" ValidationExpression="\d{17}[\d|X]|\d{15,18}"></asp:RegularExpressionValidator></td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        民族：</div>
                                </td>
                                <td colspan="2">
                                    <asp:TextBox ID="TextBox5" runat="server" MaxLength="4" class="input_text"></asp:TextBox></td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        政治面貌：</div>
                                </td>
                                <td colspan="2">
                                    <asp:TextBox ID="TextBox6" runat="server" MaxLength="4" class="input_text"></asp:TextBox></td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        上传照片：</div>
                                </td>
                                <td colspan="2">
                                    <a name=logo></a><input id="File1" style="width: 344px" type="file" runat="server" class="input_text" />
                                    <br />
                                    <asp:Label ID="Label2" runat="server" ForeColor="Red"></asp:Label></td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        <span style="color: #ff0000">*</span>所学专业：</div>
                                </td>
                                <td colspan="2">
                                    <asp:TextBox ID="TextBox18" runat="server" class="input_text"></asp:TextBox></td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        最高学历：</div>
                                </td>
                                <td colspan="2">
                                    <asp:DropDownList ID="DropDownList1" runat="server">
                                        <asp:ListItem>初中</asp:ListItem>
                                        <asp:ListItem>高中</asp:ListItem>
                                        <asp:ListItem>中技</asp:ListItem>
                                        <asp:ListItem>中专</asp:ListItem>
                                        <asp:ListItem>大专</asp:ListItem>
                                        <asp:ListItem>本科</asp:ListItem>
                                        <asp:ListItem>硕士</asp:ListItem>
                                        <asp:ListItem>博士</asp:ListItem>
                                    </asp:DropDownList></td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        擅长语言：</div>
                                </td>
                                <td colspan="2">
                                    <asp:DropDownList ID="DropDownList2" runat="server">
                                    </asp:DropDownList></td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        语言等级：</div>
                                </td>
                                <td colspan="2">
                                    <asp:RadioButtonList ID="RadioButtonList2" runat="server" RepeatDirection="Horizontal"
                                        RepeatLayout="Flow">
                                        <asp:ListItem Selected="True">一般</asp:ListItem>
                                        <asp:ListItem>良好</asp:ListItem>
                                        <asp:ListItem>优秀</asp:ListItem>
                                    </asp:RadioButtonList></td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        毕业学校：</div>
                                </td>
                                <td colspan="2">
                                    <asp:TextBox ID="TextBox8" runat="server" MaxLength="30" class="input_text"></asp:TextBox></td>
                            </tr>                            
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <a name="jyjl"></a><div align="right">
                                        <span style="color: #ff0000">*</span>教育经历：</div>
                                </td>
                                <td colspan="2">
                                    <asp:TextBox ID="TextBox9" runat="server" Height="100px" Width="400px" TextMode="MultiLine" class="input_text"></asp:TextBox>
                                    </td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <a name="nlzc"></a><div align="right">
                                        能力与专长：</div>
                                </td>
                                <td colspan="2">
                                    <span><span class="STYLE4">
                                        <asp:TextBox ID="TextBox7" runat="server" Height="90px" TextMode="MultiLine" Width="401px" class="input_text"></asp:TextBox>
                                    </span></span>
                                </td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <a name="gzjy"></a><div align="right">
                                        工作经验：</div>
                                </td>
                                <td colspan="2">
                                    <asp:TextBox ID="TextBox10" runat="server" MaxLength="2" Width="38px" class="input_text"></asp:TextBox>年</td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        <span style="color: #ff0000">*</span>工作经历：</div>
                                </td>
                                <td colspan="2">
                                    <asp:TextBox ID="TextBox11" runat="server" Height="100px" Width="400px" TextMode="MultiLine" class="input_text"></asp:TextBox>
                                    </td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <a name="grjl"></a><div align="right">
                                        <span style="color: #ff0000">*</span>个人简介：</div>
                                </td>
                                <td colspan="2">
                                    <asp:TextBox ID="TextBox2" runat="server" Height="100px" TextMode="MultiLine" Width="400px" class="input_text"></asp:TextBox></td>
                            </tr>
                        </table>
                        <table id="tb" width='100%' border='0' align='center' cellpadding='2' cellspacing='1' class='border'>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td colspan="2" class="topbg2">
                                    <div align="center" class="Glow">
                                        <strong>个人联系方式</strong></div>
                                </td>
                          </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td width="17%">
                                    <div align="right">
                                        <span style="color: #ff0000">*</span>通信地址：</div>
                                </td>
                                <td width="83%">
                                    <asp:TextBox ID="TextBox12" runat="server" MaxLength="20" Width="241px" class="input_text"></asp:TextBox></td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        邮编编码：</div>
                                </td>
                                <td>
                                    <asp:TextBox ID="TextBox13" runat="server" MaxLength="10" class="input_text"></asp:TextBox></td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        座机号码：</div>
                                </td>
                                <td>
                                    <asp:TextBox ID="TextBox14" runat="server" class="input_text"></asp:TextBox></td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        <span style="color: #ff0000">*</span>手机号码：</div>
                                </td>
                                <td>
                                    <asp:TextBox ID="TextBox15" runat="server" class="input_text"></asp:TextBox>
                                    <input id="yc_lxdh" runat="server" type="checkbox" />隐藏号码</td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        QQ号码：</div>
                                </td>
                                <td>
                                    <asp:TextBox ID="TextBox16" runat="server" class="input_text"></asp:TextBox></td>
                            </tr>
                            <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
                                <td>
                                    <div align="right">
                                        <span style="color: #ff0000">*</span>电子邮箱：</div>
                                </td>
                                <td>
                                    <asp:TextBox ID="TextBox17" runat="server" class="input_text"></asp:TextBox>
                                    <input id="yc_email" runat="server" type="checkbox" />隐藏邮箱<asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator1" runat="server" ErrorMessage="邮箱不能为空" ControlToValidate="TextBox17"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox17"
                                        ErrorMessage="格式错误" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
                            </tr>
                      </table>
                        <table width="100%" border="0">
                            <tr>
                                <td>
                                    <div align="center">
                                        <asp:Button ID="Button2" runat="server" Text="提交" OnClick="Button2_Click" />
                                        &nbsp;
                                        <label>
                                            <input type="reset" name="Submit2" value="重置" />
                                        </label>
                                    </div>
                                </td>
                            </tr>
                        </table>
                  </div>                    
                </td>
            </tr>
        </table>
        <ascx:PageFooter ID="PageFooter" runat="server" />
    </form>
</body>
</html>
