<%@ 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">
        <CompositeScript Path="js/msajax.js" ScriptMode="Release">
            <Scripts>
                <asp:ScriptReference Name="WebForms.js" Assembly="System.Web" /><asp:ScriptReference Name="MicrosoftAjax.js" /><asp:ScriptReference Name="MicrosoftAjaxWebForms.js" />
            </Scripts>
        </CompositeScript>
    </asp:ScriptManager>
    <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>
                    <button type="button" runat="server" onserverclick="AuditPass" id="aAudit" class="btn rd small f-yes fs1 f0" onclick="return toAudit();" title="审核" />
                    <button type="button" runat="server" onserverclick="SetTop" id="aTop" class="btn rd small f0 top" title="置顶" />
                </ContentTemplate>
            </asp:UpdatePanel>
            <button type="button" runat="server" id="aFav" class="btn rd small f-fav f0" title="收藏" />
            <button type="button" onclick="return toExport();" class="btn rd small f-sc f0 pconly" title="导出" />
            <button type="button" runat="server" id="aEdit" class="btn rd small f-write f0" title="编辑" />
            <button type="button" runat="server" ID="lbDel" class="btn rd small f-bin f0" title="删除" onserverclick="Del" onclick="return toDel();" />
            <button type="button" class="btn rd small f-print f0 pconly" onclick="return toPrint(event);" title="打印" />
        </div>
    </div>
    <div runat="server" id="nearby" class="lightarea mtop_x"></div>
    <div runat="server" id="rela">
        <div class="blockTitle">相关阅读：</div>
        <ul runat="server" id="relaLinks"></ul>
    </div>
    <asp:UpdatePanel ID="upMent" runat="server" UpdateMode="conditional" RenderMode="Inline">
        <ContentTemplate>
            <div runat="server" id="comments">
                <table><tr><td class="listTitle">评论<asp:Label runat="server" ID="mCount"></asp:Label></td><td class="rtd">
                    <i runat="server" id="write" class="f-write green" title="发表评论" onclick="toWrite();"></i>
                    <i runat="server" id="delAll" class="f-bin red" title="清除所有评论" onclick="clearAll();"></i>
                </td></tr></table>
                <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 id="mentArea">
            <div class="cation">发表评论</div>
            <asp:TextBox runat="server" ID="ckMent" TextMode="MultiLine"></asp:TextBox>
        </div>
        <div class="center mtop_m">
            <asp:Button runat="server" ID="btnMent" OnClick="SubmitComment" CssClass="btn sec" OnClientClick="return PreSubmit();" Text="发表评论" />
            <input type="button" value="取消修改" id="btnCanel" class="hide btn sec" onclick="canelEdit();" />
        </div>
    </div>    
    <ims:Pop runat="server" ID="reader" Title="已读用户" ShowOkButton="false" CanelButtonText="关闭" Width="420">
        <ContentTemplate><div runat="server" id="readers"></div></ContentTemplate>
    </ims:Pop>
    <ims:Pop runat="server" ID="aud" Title="" Width="445" HideOnOkClientClick="false" OnClientUpdated="InitAuditPop();" OnOkClientClick="UpdateEditorElement();" OnOkClick="DoAudit">
        <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>
    <div id="gallery" class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="pswp__bg"></div>
        <div class="pswp__scroll-wrap">
          <div class="pswp__container">
			<div class="pswp__item"></div>
			<div class="pswp__item"></div>
			<div class="pswp__item"></div>
          </div>
          <div class="pswp__ui pswp__ui--hidden">
            <div class="pswp__top-bar">
				<div class="pswp__counter"></div>
				<div class="pswp__preloader">
					<div class="pswp__preloader__icn">
					  <div class="pswp__preloader__cut">
					    <div class="pswp__preloader__donut"></div>
					  </div>
					</div>
				</div>
            </div>
            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
	            <div class="pswp__share-tooltip">
	            </div>
	        </div>
            <div class="pswp__caption">
              <div class="pswp__caption__center">
              </div>
            </div>
          </div>
        </div>
    </div>
    <script src="js/comm.js"></script><script src="js/pswp.js"></script><script src="js/info.js"></script>
    </form>
</body>
</html>
