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

<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %>
<!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>

</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table class="border" cellspacing="1" cellpadding="0" width="99%" border="0" align="center"
                style="margin-top: 10px;" id="Table1" runat="server">
                <tr>
                    <td align="center">
                        <table width="600" cellpadding="4" cellspacing="0" border="0">
                            <tr>
                                <td align="center">
                                <span style="float:left">当前版本：<asp:Literal ID="LitNowVer" runat="server"></asp:Literal></span>
                                <span style="float:right">最新版本：<asp:Literal ID="LitNewVer" runat="server"></asp:Literal></span></td>
                            </tr>
                        </table>
                    </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" /><span style="float:left"><asp:Label ID="lblPercent" runat="server"></asp:Label></span></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <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="1px">
                            </asp:Panel>
                        </asp:Panel>
                        <asp:TextBox ID="txtLoadInfo" runat="server" TextMode="MultiLine" Style="width: 600px;
                            height: 300px; 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>
            </table>
            <table class="border" cellspacing="1" cellpadding="0" width="99%" border="0" align="center"
                style="margin-top: 10px;" id="Table2" runat="server">
                <tr>
                    <td height="50" align="center"><img src="../images/ok.gif" align="absmiddle" /> <span style="font-size:14px;">系统已是最新版本</span></td>
                </tr>
            </table>
        </ContentTemplate>
        <Triggers>
            <asp:PostBackTrigger ControlID="Button1" />
        </Triggers>
    </asp:UpdatePanel>
    <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>
    <table class="border" cellspacing="1" cellpadding="0" width="99%" border="0" align="center">
        <tr>
            <td class="bqleft">
                注意事项：
            </td>
            <td class="bqright">
                1、<font color=red><b>升级前请做好系统备份工作</b></font><br />
                2、请确保全站参数设置中的【站点域名】为当前运行站点
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
