<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="softupdate.aspx.cs" Inherits="Focus.Admin.softupdate" %>

<%@ Register TagPrefix="cc2" Namespace="Focus.Control" Assembly="Focus.Control" %>
<!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 href="styles/fntmanager.css" type="text/css" rel="stylesheet" />

    <script type="text/javascript" src="js/common.js"></script>

    <link href="styles/fntmanager.css" type="text/css" rel="stylesheet" />

    <script type="text/javascript" src="js/modalpopup.js"></script>

</head>
<body leftmargin="5" topmargin="5" rightmargin="5" bottommargin="5">
    <form id="Form1" runat="server">

    <script type="text/javascript">showhint(0, '软件当前版本为：<%=ver%> ');</script>

    <div class="ManagerForm">
        <fieldset>
            <legend style="background: url(images/icons/FileServer.gif) no-repeat 3px 20%;">软件在线升级</legend>
            <table class="datagridStyles" cellspacing="0" cellpadding="3" rules="rows" border="0"
                width="100%" id="Table1">
                <tr>
                    <td height="40" width="200" align="right">
                        &nbsp;&nbsp;
                    </td>
                    <td width="300" align="center">
                        <cc2:Button ID="Button2" runat="server" Text="检测版本" ButtonImgUrl="images/trumpet.gif"
                            OnClick="Button2_Click"></cc2:Button>
                    </td>
                    <td>
                        <cc2:Button ID="Button1" runat="server" Text="确定升级" ButtonImgUrl="images/fillup.gif"
                            OnClick="Button1_Click"></cc2:Button>
                    </td>
                </tr>
            </table>
        </fieldset>
    </div>
    <div class="ManagerForm">
        <fieldset>
            <legend style="background: url(images/icons/ServerConnection.gif) no-repeat 3px 20%;">软件本地升级</legend>
            <table class="datagridStyles" cellspacing="0" cellpadding="3" rules="rows" border="0"
                width="100%" id="smilesgrid">
                <tr>
                    <td height="40" width="200" align="right">
                        本地升级文件：&nbsp;&nbsp;
                    </td>
                    <td width="300">
                        <asp:FileUpload ID="fileUpload" runat="server" CssClass="uploadfile" />
                    </td>
                    <td>
                        <cc2:Button ID="btnUpdate" runat="server" Text="确定升级" ButtonImgUrl="images/fillup.gif"
                            OnClick="btnUpdate_Click"></cc2:Button>
                    </td>
                </tr>
            </table>
        </fieldset>
    </div>
    </form>
</body>
</html>
