<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Upgrade.aspx.cs" Inherits="PowerEasy.Module.General.WebSite.Install.Upgrade" %>

<!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 id="Head1" runat="server">
    <title>动易软件产品升级程序</title>
    <link rel="stylesheet" type="text/css" href="images/upgrade.css" />
</head>
<body>
<div id="content">
    <div id="sideBar">
		<ol id="stepList">
			<li id="step1" runat="server" class="current">升级设置</li>
			<li id="step2">产品升级</li>
		</ol>
		<div id="linkBox"><a href="http://www.powereasy.net/" target="_blank"  title="访问动易官方网站">
                    官方主站</a>|<a href="http://tech.powereasy.net/" target="_blank" title="动易官方网站技术中心">
                            <asp:Localize ID="Localize2" Text="技术中心" runat="server" /></a> | <a href="http://bbs.powereasy.net/" target="_blank" title="今天您上动易论坛了吗？">
                                <asp:Localize ID="Localize3" Text="动易论坛" runat="server" /></a></div>
		<div id="searchBox"><input id="wd" name="wd" class="input_text" type="text" /><input class="input_bt" type="button" value="搜 索" onclick="GoSearch();" /></div>
	</div>
    <div id="mainContent" runat="server">
        <h1>
            准备升级
            <%= ProductName %>
        </h1>
        <div class="infoText">
        <p>
            当前程序集版本：<%= ProductVersion %></p>
        <p>
            当前数据库版本：<%= DataBaseVersion%></p>
        <p style="color: Red">
            开始升级前请先备份数据库与网站相关文件。</p>
        </div>
        <form id="form1" runat="server">
        <h3>
            请输入升级验证码：<asp:TextBox ID="TxtUpgradeIdentifyingCode" Width="150px" runat="server"></asp:TextBox><asp:Label
                ID="LblErrMessage" runat="server" ForeColor="Red" Font-Bold="false" Text=""></asp:Label><br />
                <span style="color:Blue; font-size:12px; font-weight:normal;">默认验证码为：9999，升级后可以在网站参数配置中设置升级验证码，防止其他用户误操作。</span>
                <asp:PlaceHolder runat="server" ID="PlhTip" Visible="false"><br/><span style="color:red; font-size:12px; font-weight:normal;">当前程序集要求SQL2005或者以上版本！</span></asp:PlaceHolder>
                </h3>
        <div class="return">
            <input id="BtnUpgrade" type="submit" runat="server"  class="input_bt" onmouseover="this.className='input_bt_Over'" onmouseout="this.className='input_bt'"
             value="开始升级" onserverclick="BtnUpgrade_Click" /></div>
        </form>
    </div>
	</div>
    <div id="footer">
		<p>Powered by <a href="http://www.powereasy.net" target="_blank">
                <asp:Label ID="LblProductName3" runat="server" Text="Label"></asp:Label>
            </a>
        </p>
		 <p>
		    <a href="http://www.powereasy.net" target="_blank">
                <asp:Label ID="LblProductCopyright" runat="server" Text="Label"></asp:Label>
            </a>
		 </p>
	</div>
    <script type="text/javascript" language="javascript">
        function GoSearch() {
            window.open("http://s.powereasy.net/s.aspx?c=3&f=0&wd=" + encodeURI(document.getElementById("wd").value));
        }
    </script>
</body>
</html>