<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AnnShow.aspx.cs" Inherits="MTCUN.User.AnnShow"
    Title="查看公告" %>

<%@ Import Namespace="MTCUN" %>
<!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">
    <link id="linkStyle" runat="server" href="../Themes/Blue/css.css" rel="stylesheet"
        type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="divpanel">
        <asp:FormView ID="fvAnnInfo" runat="server" Width="100%">
            <ItemTemplate>
                <div style="width: 100%; height: 40px; text-align: center; margin-top: 20px">
                    <h1>
                        <span style="color: Black; font-size: 23px; line-height: 23px; font-weight: bold">
                            <asp:Literal ID="Literal1" runat="server" Text='<%#Eval("Subject")%>' Mode="Encode" /></span></h1>
                </div>
                <div style="width: 100%; text-align: center">
                    <table cellspacing="0" class="bgc5" style="border: solid 1px #c0c0c0; margin-left: auto;
                        margin-right: auto; width: 90%; height: 25px;">
                        <tr>
                            <td>
                                <div style="float: left">
                                    <div style="float: left; margin-left: 10px">
                                        发布者：<%#Eval("TrueName")%></div>
                                    <div style="float: left; margin-left: 10px">
                                        日期：
                                        <%#Eval("DateAndTime")%></div>
                                    <div style="float: left; margin-left: 10px">
                                        阅读数：<%#Eval("BrowseNum")%></div>
                                </div>
                                <div style="float: right; margin-right: 10px">
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
                <div style="text-align: left; font-size: 14px; line-height: 22px; margin: 10px; margin-left: auto;
                    margin-right: auto; width: 90%;">
                    <asp:Literal ID="Literal2" runat="server" Text='<%#HtmlEncode(Eval("Content"))%>' />
                </div>
            </ItemTemplate>
        </asp:FormView>
    </div>
    </form>
</body>
</html>
