<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CampaignPeopleForm.aspx.cs" Inherits="RM.Web.Training.Campaign.CampaignPeopleForm" %>
<!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>TKS - <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("AddCampaignPeople")%></title>
    <link href="/Themes/Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="/Themes/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/Validator/JValidator.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/artDialog.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/iframeTools.source.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/FunctionJS.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
     <table id="tablebody" border="0" cellpadding="0" cellspacing="0" class="frm" style="margin-top:20px;">
        <tr>
            <th style="width: 40px;">
                <span style="color: Red;">*</span>公司:
            </th>
            <td>
                <input id="CampaignPeople_Company" runat="server" maxlength="40" type="text" class="txt"
                    datacol="yes" err="公司" checkexpession="NotNull" style="width: 150px" />
            </td>
        </tr>
        <tr>
            <th style="width: 40px;">
                <span style="color: Red;">*</span><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("AddCampaignPeople")%>:
            </th>
            <td>
                <input id="CampaignPeople_Name" runat="server" maxlength="40" type="text" class="txt"
                    datacol="yes" err="姓名" checkexpession="NotNull" style="width: 150px" />
            </td>
        </tr>
        <tr>
            <th style="width: 40px;">
                <span style="color: Red;">*</span><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("AddCampaignPeopleSex")%>:
            </th>            
            <td >                 
               <%-- <input id="CampaignPeople_sex" runat="server" maxlength="40" type="text" class="txt"
                    datacol="yes" err="性别" checkexpession="NotNull" style="width: 150px" />    --%>   
                    <select id="CampaignPeople_sex" runat="server" maxlength="40">
                        <option value="男">男</option>
                        <option value="女">女</option>                    
                    </select>  
            </td>           
        </tr>
        <tr>
            <th style="width: 40px;">
                <span style="color: Red;">*</span>照片:
            </th>
            <td>
                <asp:FileUpload ID="FileUpload1" runat="server" Style="width: 252px;" />
            </td>
        </tr> 
        <tr>
            <th style="width: 40px;">
                <span style="color: Red;">*</span>部门:
            </th>
            <td>
                <input id="CampaignPeople_Depart" runat="server" maxlength="40" type="text" class="txt"
                    datacol="yes" err="部门" checkexpession="NotNull" style="width: 150px" />
            </td>
        </tr>
        <tr>
            <th style="width: 40px;">
                <span style="color: Red;">*</span>职位:
            </th>
            <td>
                <input id="CampaignPeople_Position" runat="server" maxlength="40" type="text" class="txt"
                    datacol="yes" err="职位" checkexpession="NotNull" style="width: 150px" />
            </td>
        </tr>
        <tr>
            <th style="width: 40px;">
                <span style="color: Red;">*</span>手机号:
            </th>            
            <td >                 
                <input id="CampaignPeople_No" runat="server" maxlength="40" type="text" class="txt"
                    datacol="yes" err="手机号" checkexpession="NotNull" style="width: 150px" />            
            </td>           
        </tr>
        <tr>
            <th style="width: 40px;">
                <span style="color: Red;">*</span>办公电话:
            </th>            
            <td >                 
                <input id="CampaignPeople_Tel" runat="server" maxlength="40" type="text" class="txt"
                    datacol="yes" err="办公电话" checkexpession="NotNull" style="width: 150px" />            
            </td>           
        </tr>
        <tr>
            <th style="width: 40px;">
                <span style="color: Red;">*</span>邮箱:
            </th>            
            <td >                 
                <input id="CampaignPeople_Email" runat="server" maxlength="40" type="text" class="txt"
                    datacol="yes" err="邮箱" checkexpession="NotNull" style="width: 150px" />            
            </td>           
        </tr>    
         <tr style="display:none;">
            <th style="width: 40px;">
                <span style="color: Red;">*</span><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("User_Pwd")%>:
            </th>            
            <td >                 
                  <input id="CampaignPeople_Pwd" runat="server" maxlength="40" type="password" class="txt"
                     err="登录密码" checkexpession="NotNull" style="width: 150px" />                              
            </td>           
        </tr>   
        <tr>
            <th style="width: 40px;">
                <span style="color: Red;">*</span><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("CampaignPeopleFlag")%>:
            </th>            
            <td >                 
                <select id="CampaignPeople_Flag" onchange="CampaignPeople_Flag_Change" runat="server">
                    <option value="0">未签</option>
                    <option value="1">已签</option>
                </select>
            </td>           
        </tr>          
    </table>        
    <div class="frmbottom">
        <asp:LinkButton ID="Save" runat="server" class="l-btn" OnClientClick="return saveForm();" onclick="Save_Click"><span class="l-btn-left">
            <img src="/Themes/Images/disk.png" alt="" /><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Save")%></span></asp:LinkButton>
        <a class="l-btn" href="javascript:void(0)" onclick="OpenClose();"><span class="l-btn-left">
            <img src="/Themes/Images/cancel.png" alt="" /><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Close")%></span></a>
    </div>
    </form>
    <script>
        function saveForm() {
            if (!CheckDataValid('#form1')) return false;
            return true;
        }
    </script>
</body>
</html>
