<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ResourceLibraryEdit.aspx.cs" Inherits="RM.Web.Training.ResourceLibrary.ResourceLibraryEdit" %>

<!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></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/DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/artDialog.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/Validator/JValidator.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/iframeTools.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/FunctionJS.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table border="0" cellpadding="0" cellspacing="0" class="frm">
    <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("FileName")%>:
            </th>
            <td>
                <input id="Resource_Name" name="Resource_Name" maxlength="50" runat="server" class="txt" style="width: 200px" />
            </td>
        </tr>
        <tr>
            <th>
            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Zhuce_ServerPath")%>：
            </th>
            <td>
                <input id="Resource_Url" name="Resource_Url" maxlength="50" readonly="readonly" server" class="txt" style="width: 200px" />
            </td>
        </tr>
         <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("FileSize")%>:
            </th>
            <td>
                <input id="Resource_FileSize" name="Resource_FileSize" maxlength="50" readonly="readonly"  runat="server" class="txt" style="width: 200px" />
            </td>
        </tr>
        <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("geshi")%>:
            </th>
            <td>
                <input id="Resource_FilePostfix" name="Resource_FilePostfix" maxlength="50" readonly="readonly" runat="server" class="txt" style="width: 200px" />
            </td>
        </tr>
        <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Cotg")%>:
            </th>
            <td>
                <select id="Resource_TypeID" name="Resource_TypeID" runat="server">
                </select>
            </td>
        </tr>
        <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Type")%>:
            </th>
            <td>
                <select id="Resource_Code" name="Resource_Code" runat="server">
                    <option value="1">视频</option>
                    <option value="2">文档</option>
                </select>
            </td>
        </tr>
        <tr>
            <th>
            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Finance_shiyongNum")%>:
            </th>
            <td>
                <input id="Resource_UseCount" name="Resource_UseCount" runat="server" class="txt" style="width: 200px" err="使用次数"
                        checkexpession="Num" value="0" />
            </td>
        </tr>
        <tr>
            <th>
            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("CS_ShareList_xzcs")%>:
            </th>
            <td>
                <input id="Resource_DownCount" name="Resource_DownCount" runat="server" class="txt" style="width: 200px" err="下载次数"
                        checkexpession="Num" value="0" />
            </td>
        </tr>
        <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Is_xianshi")%>:
            </th>
            <td>
                <select name="Resource_IsShow" id="Resource_IsShow" runat="server">
                    <option value="1">不显示</option>
                    <option value="0">显示</option>
                </select>
            </td>
        </tr>
        <tr>
    </table>
    </div>
    <div class="frmbottom" style="margin-top: 30px;">
        <asp:LinkButton ID="Save" runat="server" class="l-btn" OnClientClick="return checkedData()" 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>
</body>
</html>
