<%@ page language="C#" autoeventwireup="true" inherits="ims.web.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" />
</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>
    <table id="footer" class="mtop_s" runat="server">
        <tr>
            <td runat="server" id="tdTags"></td>
            <td id="admin" class="right">
            <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="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="#" onclick="return toPrint();">打印</a>
            </td>
        </tr>
    </table>
    <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">发表评论：</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>
    <script src="js/comm.js"></script><script src="js/info.js"></script>
    </form>
</body>
</html>
