<%@ page language="C#" autoeventwireup="true" inherits="admin_site_createluceneindex, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link id="CssName" rel="stylesheet" type="text/css" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
        <table class="dh" cellpadding="0" cellspacing="0" border="0" align="center">
            <tr>
                <td>
                    <asp:Image ID="P_Go" runat="server" ImageAlign="AbsMiddle" />
                    您现在的位置：<a href="../info.aspx">后台管理</a> >> 生成索引文件
                </td>
            </tr>
        </table>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
        <table class="border" cellspacing="1" cellpadding="0" width="99%" border="0" align="center">
            <tr>
                <td class="bqleft">重新生成索引文件：
                </td>
                <td class="bqright" height="40">
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                            <table cellspacing="0" cellpadding="0" border="0" style="margin-top: 10px;" id="Table1"
                                runat="server">
                                <tr>
                                    <td align="center">
                                        <asp:Panel HorizontalAlign="Left" ID="panelBarSide" runat="server" Width="600px"
                                            BorderWidth="1px" ForeColor="Silver">
                                            <asp:Panel ID="panelProgress" runat="server" Height="20" Width="0px">
                                            </asp:Panel>
                                        </asp:Panel>
                                        <asp:TextBox ID="txtLoadInfo" runat="server" TextMode="MultiLine" Style="width: 600px; height: 250px; word-break: break-all; word-wrap: break-word;"
                                            Wrap="false"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Timer ID="Timer1" runat="server" OnTick="Timer1_Tick" Interval="1000">
                                        </asp:Timer>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center">
                                        <table width="600" cellpadding="4" cellspacing="0" border="0">
                                            <tr>
                                                <td align="center" height="40">
                                                    <asp:Button ID="Button1" runat="server" Text=" 重新生成索引文件 " CssClass="btn" OnClick="Button1_Click" />
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </td>
            </tr>
            <tr>
                <td class="bqleft">注意：
                </td>
                <td class="bqright" height="40">重新生成索引文件，将会删除已经索引的文件，比较耗时！
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
