<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReminderContent.aspx.cs" Inherits="RM.Web.RMBase.SysReminder.ReminderContent" %>
<%@ Register Src="../../UserControl/LoadButton.ascx" TagName="LoadButton" TagPrefix="uc2" %>
<!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/FunctionJS.js" type="text/javascript"></script>
</head>
<body>
 <script src="/Themes/Scripts/LodopFuncs.js" type="text/javascript"></script>
    <object  id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width=0 height=0> 
           <embed id="LODOP_EM" type="application/x-print-lodop" width=0 height=0></embed>
    </object>
    <form id="form1" runat="server">
    <div class="btnbartitle">
        <div>
            <%=title %> 
        </div>
    </div>
     <div class="btnbarcontetn">
        <div style="text-align: right; ">
            <uc2:LoadButton ID="LoadButton1" runat="server" />
        </div>
    </div>
    <div class="div-body" id="bodytable">
        <%=table1 %>
     </div>
    </form>
<script type="text/javascript">
$(function () {
   divresize(63);
   FixedTableHeader("#table1", $(window).height() - 91);
})
var LODOP; //声明为全局变量 
function printer() {
    CreateOneFormPage();
    LODOP.PREVIEW();
}
function CreateOneFormPage() {
    LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
    LODOP.PRINT_INIT("<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("ReminderContent_Dayin")%>");
    LODOP.ADD_PRINT_HTM(10, 20, 750, 59, "<style>h1 {text-align:center;font-size:16px;}</style><h1><%=title %></h1>");
    var strStyleCSS = "<link href='/Themes/Styles/Site.css' type='text/css' rel='stylesheet'>";
    LODOP.ADD_PRINT_HTM(50, '5%', '90%', 900, strStyleCSS + "<body>" + document.getElementById("bodytable").innerHTML + "</body>");
};
</script>
</body>
</html>
