<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="announcement_view.aspx.cs" Inherits="VA.Modules.JDingMember.corporateaffairs.announcement_view" %>

<!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>
    <title>公告浏览</title>
    <!--#include virtual="/include/css/edit.aspx"-->
    <!--#include virtual="/include/js/edit.aspx"-->     
    <script type="text/javascript">    
        function ok() {
            try
            {
                if (window.parent != window.self) {
                    window.parent.closeFrameWindow();
                    window.parent.reload();
                }
            } catch (e) { }
        }
    </script>
</head>
<body>
<form id="Form1" method="post" runat="server">

<div class="editPageWrapper" style="width:95%;margin:auto;">

<div class="centerFormTitle">
   <h1><% = base.announcementInfo.Title %></h1>
</div>
<div style="text-align:right;line-height:20px;">
    发布人：<% = base.announcementInfo.Release_Operator_Name %>，发布时间：<% = base.announcementInfo.Release_Date.ToString("yyyy-MM-dd HH:mm", System.Globalization.CultureInfo.InvariantCulture) %>，发布门店：<% = base.announcementInfo.Release_Shop_Name %>
</div>

<% if (!String.IsNullOrEmpty(base.announcementInfo.Last_Edit_Log)) {%>
    
    <div id="divContent" style="height:297px;border:solid 1px #dddddd;overflow:auto;font-size:14px;line-height:170%;padding:5px;margin-top:10px;">
    <% = base.announcementInfo.Content %>
    </div>

    <div id="divEditLog" style="height:25px;border:solid 1px #dddddd;overflow:hidden;font-size:14px;line-height:150%;padding-left:3px;margin-top:-1px;">
    <% if (!String.IsNullOrEmpty(base.announcementInfo.Last_Edit_Log)) {%>
        <p><span class="note">注：<% = base.announcementInfo.Last_Edit_Log %></span></p>
    <% } %>
    </div>

    <div id="divBottomToolBar" style="text-align:center;border:solid 0px red;height:30px;line-height:30px;margin-top:8px;">
        <input type="button" id="btnOk" class="btn" style="width:100px" onclick="ok()" value="确定" /> &nbsp;
    </div>

<% } else { %>
    
    <div id="divContent" style="height:325px;border:solid 1px #dddddd;overflow:auto;font-size:14px;line-height:170%;padding:5px;margin-top:10px;">
    <% = base.announcementInfo.Content %>
    </div>

    <div id="divBottomToolBar" style="text-align:center;border:solid 0px red;height:30px;line-height:30px;margin-top:10px;">
        <input type="button" id="btnOk" class="btn" style="width:100px" onclick="ok()" value="确定" /> &nbsp;        
    </div>

<% } %>

<asp:HiddenField ID="hfKey" runat="server" />

</div><!--editPageWrapper.END-->

</form>
</body>
</html>

