<%@ page language="C#" autoeventwireup="true" inherits="ims.web.info, ims.web" enableviewstatemac="false" enableEventValidation="false" %>
<!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" id="info">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="sm" runat="server" EnablePageMethods="true">
        <Scripts><asp:ScriptReference Name="MicrosoftAjax.js" ScriptMode="Auto" Path="~/js/MsAjax.js"/><asp:ScriptReference Name="MicrosoftAjaxWebForms.js" ScriptMode="Auto" Path="~/js/MsAjax.js"/></Scripts>
    </asp:ScriptManager>
    <div id="pageTitle" class="pageTitle" runat="server"></div>
    <div id="attrs" runat="server"></div>
    <div runat="server" id="content" class="htmlBox corner"></div>
    <table cellspacing="4" id="footer" runat="server">
        <tr>
            <td runat="server" id="tdTags"></td>
            <td id="admin" align="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 cellspacing="0"><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="取消修改" style="width:66px" id="btnCanel" class="hide btn" onclick="canelEdit();" />
                <asp:Button runat="server" ID="btnMent" OnClick="SubmitComment" CssClass="btn" OnClientClick="return PreSubmit();" Text="发表评论" Width="66" />
            </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>
