<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Reminder_Form.aspx.cs"
    Inherits="RM.Web.RMBase.SysReminder.ReminderAdd" %>

<!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><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HomeIndex_ts")%></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/artDialog/artDialog.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>
 <div class="btnbartitle">
        <div>
            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("HomeIndex_ts")%>-<%=Request["key"] == null ? RM.Common.DotNetConfig.LanguageHelper.GetKey("Add") : RM.Common.DotNetConfig.LanguageHelper.GetKey("Edit") %> <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Remind_tx")%>

        </div>
    </div>
    <form id="form1" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" class="frm">
        <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Courseware_Script_Form_title")%>：
            </th>
            <td>
                <input id="Title" runat="server" type="text" class="txt" datacol="yes" err="标题" checkexpession="NotNull"
                    style="width: 85%" />
            </td>
        </tr>
        <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Xiaoxi")%>：
            </th>
            <td>
                <input id="Message" runat="server" type="text" class="txt" datacol="yes" err="提示消息"
                    checkexpession="NotNull" style="width: 85%" />
            </td>
        </tr>
        <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Reminder_Form_CountButtn")%>：
            </th>
            <td>
                <textarea id="CountSql" class="txtRemark" runat="server" style="width: 85.5%; height: 50px;"></textarea>
            </td>
        </tr>
        <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Reminder_Form_ZhanButton")%>：
            </th>
            <td>
                <textarea id="ContentSql" class="txtRemark" runat="server" style="width: 85.5%; height: 50px;"></textarea>
            </td>
        </tr>
        <tr>
            <th>
               <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("AutoInfomation_Form_ljdz")%> ：
            </th>
            <td>
                <input id="NavigateUrl" runat="server" type="text" class="txt" datacol="yes" err="链接跳转"
                    style="width: 55%" />
               <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Reminder_Form_Open")%>  ：<select id="Target" class="select" runat="server" style="width: 120px;">
           
                </select>
            </td>
        </tr>
        <tr>
            <th>
                 <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Qx")%>：
            </th>
            <td>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Reminder_Form_SelectUser")%><select id="Allow" class="select" runat="server" style="width: 120px;">
          
                </select><br />
              
                <%=gauhtml %>
               
                <input id="GroupAndUsers" runat="server" type="text" class="txt" datacol="yes" err="用户组"
                    style="width: 55%; display:none; " />
            </td>
        </tr>
        <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("User_State")%> ：
            </th>
            <td>
                <select id="LockState" class="select" runat="server" style="width: 120px;">
          
                </select>
            </td>
        </tr>
        <tr>
            <th>
                 <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("User_Description")%>：
            </th>
            <td>
                <textarea id="Remark" class="txtRemark" runat="server" style="width: 85.5%; height: 50px;"></textarea>
            </td>
        </tr>
    </table>
    <div class="frmbottom">
        <asp:LinkButton ID="Save" runat="server" class="l-btn" OnClientClick="return CheckDataValid('#form1');"
            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="window.location = 'ReminderList.aspx';"><span class="l-btn-left">
            <img src="/Themes/Images/cancel.png" alt="" /><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Close")%></span></a>
    </div>
    </form>
    <script type="text/javascript">
        //
        function ckbValueObj(vid) {
            var GroupAndUsers = document.getElementById("GroupAndUsers").value;
            if (GroupAndUsers.indexOf(vid) >= 0) {
                document.getElementById("GroupAndUsers").value = GroupAndUsers.replace(vid + ",", "");
                //alert(vid + ",");
            }
            else {
                if (GroupAndUsers != "") {
                    document.getElementById("GroupAndUsers").value = GroupAndUsers + vid + ",";
                } else {
                    document.getElementById("GroupAndUsers").value = vid + ",";
                    
                }
            }
        }
    </script>
</body>
</html>
