<%@ page language="C#" autoeventwireup="true" inherits="ims.info, ims.web" enableviewstatemac="false" enableEventValidation="false" %>
<!DOCTYPE html>
<html id="info">
<head runat="server">
    <title></title><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="sm" runat="server" EnablePageMethods="true" OnAsyncPostBackError="AsyncError" />
    <div id="pageTitle" class="pageTitle" runat="server"></div>
    <div id="attrs" runat="server"></div>
    <div runat="server" id="content" class="htmlBox"></div>
    <div id="footer" class="clear" runat="server">
        <div runat="server" id="tdTags"></div>
        <div id="admin">
            <asp:LinkButton runat="server" ID="lbReader" CssClass="hide" OnClick="ShowReader"></asp:LinkButton>
            <asp:UpdatePanel ID="upTop" runat="server" UpdateMode="conditional" RenderMode="Inline">
                <ContentTemplate><a runat="server" onserverclick="AuditPass" id="aAudit" onclick="return confirm('确定审核通过吗？');" class="top">审核</a><a runat="server" onserverclick="SetTop" id="aTop" class="top">置顶</a></ContentTemplate>
            </asp:UpdatePanel>
            <a runat="server" id="aFav" href="#">收藏</a><a id="aExport" href="#" onclick="return toExport();">导出</a><a runat="server" id="aEdit">编辑</a><asp:LinkButton runat="server" ID="lbDel" Text="删除" OnClick="Del" OnClientClick="return confirm('确定删除吗？');"></asp:LinkButton><a id="aPrint" href="#" class="pconly" onclick="return toPrint();">打印</a>
        </div>
    </div>
    <div runat="server" id="nearby"></div>
    <div runat="server" id="rela">
        <div class="blockTitle">相关阅读：</div>
        <div runat="server" id="relaLinks"></div>
    </div>
    <asp:UpdatePanel ID="upMent" runat="server" UpdateMode="conditional" RenderMode="Inline">
        <ContentTemplate>
            <div runat="server" id="comments">
                <div class="blockTitle">
                    <table><tr><td class="listTitle">评论列表<asp:Label runat="server" ID="mCount"></asp:Label></td><td class="btns"><img runat="server" id="write" onclick="toWrite();" src="images/ment_add.png" title="发表评论" /><img src="images/ment_delall.png" runat="server" id="delAll" title="清除所有评论" onclick="clearAll();" /></td></tr></table>
                </div>
                <div runat="server" id="divMent"></div>
                <div runat="server" id="pager" visible="false"></div>
            </div>
            <asp:HiddenField runat="server" ID="editId" Value="" />
            <asp:HiddenField runat="server" ID="curPageIndex" OnValueChanged="toCommentPage" Value="0" />
                <asp:Button runat="server" ID="btnDel" OnClick="DelComment" CssClass="hide" />
        </ContentTemplate>
    </asp:UpdatePanel>
    <div runat="server" id="writeMent">
        <div class="blockTitle">&#9660;发表评论：</div>
        <div id="mentArea">
            <asp:TextBox runat="server" ID="ckMent" TextMode="MultiLine"></asp:TextBox>
            <div class="center mtop_m">
                <input type="button" value="取消修改" id="btnCanel" class="hide btn" onclick="canelEdit();" />
                <asp:Button runat="server" ID="btnMent" OnClick="SubmitComment" CssClass="btn" OnClientClick="return PreSubmit();" Text="发表评论" />
            </div>
        </div>
    </div>    
    <ims:Pop runat="server" ID="reader" Title="已读用户" ShowOkButton="false" CanelButtonText="关闭" Width="420" ShowProgress="false">
        <ContentTemplate><div runat="server" id="readers"></div></ContentTemplate>
    </ims:Pop>
    <ims:Pop runat="server" ID="aud" Title="" CustomCss="noline" Width="445" HideOnOkClientClick="false" OnClientUpdated="InitAuditPop();" OnOkClientClick="UpdateEditorElement();" OnOkClick="DoAudit" ShowProgress="false">
        <ContentTemplate>
            <asp:RadioButtonList runat="server" ID="rblAudit" CssClass="middle" RepeatLayout="Flow" RepeatDirection="Horizontal">
                <asp:ListItem Value="true" Selected="True">审核通过 </asp:ListItem>
                <asp:ListItem Value="false">未通过</asp:ListItem>
            </asp:RadioButtonList>
            <div id="divOpn" class="hide mtop_s"><asp:TextBox runat="server" TextMode="MultiLine" Rows="8" ID="tbOpn" Width="99%"></asp:TextBox></div>
        </ContentTemplate>
    </ims:Pop>
    <script src="js/comm.js"></script><script src="js/info.js"></script>
    </form>
</body>
</html>
