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

<!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/Validator/JValidator.js" type="text/javascript"></script>
<script src="/Themes/Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
<script src="/Themes/Scripts/FunctionJS.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/jsAddress.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <table border="0" cellpadding="0" cellspacing="0" class="frm">
      <tr>
      <td>选择起止日期:</td>
      </tr>
      <tr>
          <td>
            <input id="start" type="text" onclick="WdatePicker()" value="" runat="server" />&nbsp;&nbsp;
            --&nbsp;&nbsp;<input id="end" type="text" onclick="WdatePicker()" value="" runat="server" />
          </td>
      </tr>
      </table>
    </div>
    <div class="frmbottom" style="margin-top: 30px;">
        <asp:LinkButton ID="Save" runat="server" class="l-btn" OnClientClick="return Check_value()" 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>
        <asp:Button ID="Button1" runat="server" Text="清除限制" OnClick="Clear" />
    </div>
    </form>
</body>
<script type="text/javascript">
    function Check_value() {
        var startTime = $.trim($("#start").val());
        var endTime = $.trim($("#end").val());
        if (startTime == "" || startTime == null) {
            alert("请选择开始时间");
            return false;
        } else if (endTime == "" || endTime == null) {
            alert("请选择结束时间");
            return false;
        } else {
            return true;
        }
    }
</script>
</html>
