<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StuReview_Form.aspx.cs" Inherits="RM.Web.LiveTelecast.StuReview_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><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("StuReview_Form")%></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/jquery.form.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>
      
    <link href="/Themes/Scripts/artDialog/skins/opera.css" rel="stylesheet" type="text/css" />
    <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>
    <form id="form1" runat="server">
      <table id="tablebody" border="0" cellpadding="0" cellspacing="0" class="frm">
        <tr>
            <th style="width: 80px;">
                <span style="color: Red;">*</span><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Courseware_Fraction")%>:
            </th>
            <td>
                <input id="score" runat="server" maxlength="40" type="text" class="txt"
                    datacol="yes" err="" checkexpession="NotNull" style="width: 200px" />
            </td>           
        </tr>
     <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Explain")%>:
            </th>
            <td >
                <textarea id="Review" class="txtRemark" runat="server" style="width: 400px;
                    height: 90px;"></textarea>
            </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 type="text/javascript">
        function saveForm() {
            if ($("#score").val().length <= 0) {
                showTipsMsg('<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("StuReview_Form_srfs")%>');
                return false;
            } else {
                if (!isInteger($("#score").val())) {
                    showTipsMsg('<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("StuReview_Form_zs")%>');
                    return false;
                }
            }
            return true;
        }
    </script>
</body>
</html>
