<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YC_HRtool_Add.aspx.cs" Inherits="YCHR.Web.admin.tool.YC_HRtool_Add" %>

<!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 id="Head1" runat="server">
    <title>添加HR工具</title>
  <link rel="stylesheet" type="text/css" href="../images/style.css" />
    <script type="text/javascript" src="../js/jquery.js"></script>
    <script type="text/javascript" src="../js/jquery.validate.min.js"></script>
    <script type="text/javascript" src="../js/messages_cn.js"></script>
    <script type="text/javascript" src="../js/jquery.form.js"></script>
    <script type="text/javascript" src="../js/cursorfocus.js"></script>
    <script type="text/javascript" src="../js/singleupload.js"></script>
     <script type="text/javascript" src="/system/xheditor/xheditor.js"></script>
    <script type="text/javascript">
        var i = 1
        function addFile() {

            if (i < 8) {
                var str = '<BR> <input type="file" name="File" runat="server" style="width: 245px"/>&nbsp; &nbsp; &nbsp; &nbsp; '
                document.getElementById('MyFile').insertAdjacentHTML("beforeEnd", str)

            }
            else {
                alert("您一次最多只能上传8个文档！")
            }
            i++
        }
        </script>
        
</head>
<body style="padding:10px;">
    <form id="form1" runat="server">
    <div class="navigation">
      <span class="back"><a href="List.aspx">返回列表</a></span><b>您当前的位置：首页 &gt; HR工具管理 &gt; 发布HR工具</b>
    </div>
        
   <div class="spClear"></div>   
       
    <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" >
 
 <tr>
    <td height="25" class="pl20"><b>管理选项： <a href="YC_HRtool_Add.aspx">添加HR工具</a>  |[<a href="javascript:location.reload()">刷新页面</a>]</b></td>
  </tr>

</table>
    <div style="padding-bottom:10px;"></div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
        <tr>
            <th colspan="2" align="left">新增HR工具</th>
        </tr>
        
        <tr>
            <td width="15%" align="right">所属栏目：</td>
            <td><asp:DropDownList id="ddlChannelId" CssClass=" required" runat="server">
                <asp:ListItem Value="1">招聘/面试</asp:ListItem>
                <asp:ListItem Value="2">人事档案</asp:ListItem>
                <asp:ListItem Value="3">员工管理</asp:ListItem>
                <asp:ListItem Value="4">合同/试用</asp:ListItem>
                <asp:ListItem Value="5">薪酬制度</asp:ListItem>
                <asp:ListItem Value="6">加班/考勤</asp:ListItem>
                <asp:ListItem Value="7">出差</asp:ListItem>
                <asp:ListItem Value="8">员工培训</asp:ListItem>
                <asp:ListItem Value="9">绩效考核</asp:ListItem>
                <asp:ListItem Value="10">辞退/移交</asp:ListItem>
                </asp:DropDownList></td>
        </tr>  <tr>
            <td align="right">浏览次数：</td>
            <td>
            <asp:TextBox ID="txthits" runat="server" CssClass="input required number" size="10" 
            maxlength="10" HintTitle="文章的浏览次数" HintInfo="纯数字，本文章被阅读的次数。">0</asp:TextBox>
            </td>
        </tr>
          <tr class="upordown" style="">
            <td align="right">文件上传：</td>
            <td>
                    <asp:Panel ID="Panel5" runat="server">
                        &nbsp; &nbsp;<table width="100%">
                            <tr>
                                <td align="left" style="width: 500px">
                                    说明：点增加hr资料按钮可一次上传多份</td>
                            </tr>
                            <tr>
                                <td align="left" style="width: 500px">
                                    <p id="MyFile">
                                        <input onclick="addFile()" type="button" value="增加数据(Add)">
                                            <br />
                                            <input id="File1" type="file" name="File" runat="server" style="width: 245px"/>
                                     
                                    </p>
                                </td>
                            </tr>

                            <tr>
                                <td align="left" style="width: 500px">
                                    <asp:Button ID="btnUpload" runat="server" Text="开始上传" OnClick="btnUpload_Click" />
                                    </td>
                            </tr>
                            <tr>
                                <td align="left" style="width: 500px">
                                    <asp:Label ID="lblMessage" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label></td>
                            </tr>
                        </table>
                    </asp:Panel>
            </td>
        </tr>
      
      
    </table>
    </form>
</body>
</html>
