<%@ Page Title="" Language="C#" MasterPageFile="~/Dialog/DialogMaster.Master" AutoEventWireup="true"
    CodeBehind="SystemActive.aspx.cs" Inherits="OAWeb.SystemActive" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <style>
        .right
        {
            width: 100px;
             font-weight:bold;
        }
    </style>
    <asp:Panel ID="pnlActivate" runat="server" Visible="false">
        <div class="form" style="width: 600px; padding: 10px;">
            <table cellpadding="0" cellspacing="0" border="0" class="table_form">
                <tr>
                    <td class="tip01" colspan="2">
                        <asp:Label ID="lblTip" runat="server">您当前所用版本为<span class="red">未授权</span>版本，请输入序列号激活</asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="right">
                        <span class="red">*</span> 序列号:
                    </td>
                    <td>
                        <asp:TextBox ID="txtSN" runat="server" CssClass="text width200"></asp:TextBox>
                        [<asp:HyperLink ID="HyperLink2" runat="server" Target="_blank">点击免费获取序列号</asp:HyperLink>]
                    </td>
                </tr>
                <tr>
                    <td class="right">
                        <span class="red">*</span> 软件标题:
                    </td>
                    <td>
                        <asp:TextBox ID="txtCustomerName" runat="server" CssClass="text width200"></asp:TextBox>
                        <span class="tip01">&nbsp;可为您的公司名称不填写使用默认系统名称</span>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        <input id="btnSave" type="button" value="激活验证" class="btn_77px" />
                        <input id="btnClose" type="button" value="以后激活" onclick="art.dialog.close();return false;"
                            class="btn_77px" />
                    </td>
                </tr>
            </table>
            <script type="text/javascript">
                $(document).ready(function () {
                    $("#btnSave").click(function () {
                        CreateZhezao($(document.body), "zhezhao");
                        return FormPostAjax("/SystemActive.aspx?op=Active", "ok", CloseReload, function () { $("#zhezhao").remove(); });
                    });
                });

            </script>
        </div>
    </asp:Panel>
    <asp:Panel ID="pnlActivateInfo" runat="server">
        <div class="form" style="width: 400px; padding: 10px;">
            <table cellpadding="0" cellspacing="0" border="0" class="table_form">
                <tr>
                    <td class="tip01" colspan="2">
                        您当前所用版本为<span class="red">已授权</span>版本，以下是本系统授权信息<asp:Label ID="lblError" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="right">
                        序列号:
                    </td>
                    <td>
                        <asp:Literal ID="litSN" runat="server"></asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td class="right">
                        软件标题:
                    </td>
                    <td>
                        <asp:Literal ID="litCustomerName" runat="server"></asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td class="right">
                        版本:
                    </td>
                    <td>
                        <asp:Literal ID="litSKUName" runat="server"></asp:Literal>
                        [<asp:HyperLink ID="hypUpgrade" runat="server" Target="_blank">升级</asp:HyperLink>]
                    </td>
                </tr>
                <tr>
                    <td class="right">
                        用户数:
                    </td>
                    <td>
                        <asp:Literal ID="litUserCount" runat="server"></asp:Literal>
                    </td>
                </tr>
                <tr>
                    <td class="right">
                        有效期:
                    </td>
                    <td>
                        <asp:Literal ID="litAvailDate" runat="server"></asp:Literal>
                        [<asp:HyperLink ID="HyperLink1" Target="_blank" runat="server">续费</asp:HyperLink>]
                    </td>
                </tr>
                <tr>
                    <td class="right">
                    </td>
                    <td>
                        <input type="button" value=" 关 闭 " onclick="art.dialog.close();return false;" class="btn_77px" />
                    </td>
                </tr>
            </table>
        </div>
    </asp:Panel>
</asp:Content>
