<%@ page language="C#" autoeventwireup="true" inherits="admin_site_InSite, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Import Namespace="D.Common" %>
<%@ Import Namespace="D.BLL" %>

<!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">
<head runat="server">
    <title></title>
    <link id="CssName" rel="stylesheet" type="text/css" runat="server" />
    <script src="../../js/Common.js" type="text/javascript"></script>
    <script src="../../js/lhgdialog/lhgcore.lhgdialog.min.js?self=true&skin=<%=Function.GetCssNameColor()%>" type="text/javascript"></script>
</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">
                站点zip文件：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtZipPath" runat="server" CssClass="in1" Columns="50"></asp:TextBox><input id="Button2" runat="server" type="button" value="选择zip文件" class="btn" onclick="WinOpenLhgDialog('请选择zip文件（站点zip文件）默认为site_开始','../template/SelectTemplate.aspx?ControlId=txtZipPath',650,450,'')" /><font
                        color="#ff0066">*</font>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                修改管理员密码：
            </td>
            <td class="bqright">
                <asp:CheckBox ID="CheckBox1" runat="server" Checked="true"/> 勾选后，导入的所有管理员密码均为：admin888。
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                导入站点：
            </td>
            <td class="bqright">
                <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" OnClick="Button1_Click" Text=" 立即导入站点 " CssClass="btn" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                温馨提示：
            </td>
            <td class="bqright">
                顺利导入站点后，发现访问站点首页任然是空白解决方法：<br />
                1、查看网站根目录是否有index.html 或者index.htm静态文件，如有请删除后再访问。<br />
                2、如果问题还是依旧，请登陆后台选择【系统设置】-【全站参数设置】，更改首页模板文件。因为有的模板指定的不是index.html，有可能是index.htm或者其他文件。重新指定后就可以解决问题。
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
