<%@ page language="C#" autoeventwireup="true" inherits="e_authorized, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Register TagName="meta" TagPrefix="UC" Src="~/e/meta.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/e/head.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/e/foot.ascx" %><!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>
<UC:meta ID="meta1" runat="server" />
</head>
<body>
<form id="form1" runat="server" autocomplete="off">
    <asp:Label ID="pathcode" runat="server" style="display: none">&nbsp;&raquo;&nbsp;版本与授权</asp:Label>
    <UC:head ID="head1" runat="server" />
    <%--main start--%>
        <div class="c1">
            <div class="b1">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="b1_l"></td>
                        <td>
                            <div class="con1">
                                <ul>
                                    <li class="on" style="width: 80px"><a href="authorized.aspx">版本与授权</a></li>
                                </ul>
                                <div class="clear"></div>
                            </div>
                        </td>
                        <td align="right"><div class="con2"></div></td>
                        <td class="b1_r"></td>
                    </tr>
                </table>
            </div>
            <div class="v1">
                <div class="do1">
                    <script type="text/javascript">function check1(){if(document.getElementById("authorizedcode").value==""){alert("请输入授权码！");return false;}}</script>
                    <style type="text/css">#authorizedstatusdiv a{color:#f00;}#authorizedstatusdiv a:hover{color:#f60;}</style>
                    <div id="authorizedstatusdiv" style="padding-left: 20px; padding-top: 5px; padding-bottom: 5px; color: #f00">您当前使用的是<asp:Literal ID="authorizedstatus" runat="server"></asp:Literal>授权版本系统，系统版本号<%=ZK.SystemVersion %>！<span id="span1"></span><span id="span2"><asp:Literal ID="LiteralTip" runat="server"></asp:Literal></span></div>
                    <script type="text/javascript">
                        if(document.getElementById("authorizedstatusdiv").innerHTML.indexOf("未")!=-1){document.getElementById("authorizedstatusdiv").innerHTML=document.getElementById("authorizedstatusdiv").innerHTML.replace("！","，");document.getElementById("span1").innerHTML="<a href=\"http://www.zkcms.com/?t=client&p=city&d=<%=WMencrypt.Encode(WMdomain.GetUrlDomain)%>\" target=\"_blank\">请进入知科官方网站获取购买授权码！</a>";if(document.getElementById("span2").innerHTML!=""){document.getElementById("authorizedstatusdiv").innerHTML=document.getElementById("authorizedstatusdiv").innerHTML.replace("的是","的可能是");}}
                    </script>
                    <table border="0" cellpadding="0" cellspacing="0" class="table1">
                        <tr>
                            <td class="tt"><b>请输入授权码：</b></td>
                            <td><asp:TextBox ID="authorizedcode" runat="server" MaxLength="250" CssClass="inp1" Width="500"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td class="tt">&nbsp;</td>
                            <td><asp:Button ID="Button1" runat="server" CssClass="but1" Text="保存参数" OnClick="Button1_Click" OnClientClick="return check1()" /></td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    <%--main end--%>
    <UC:foot ID="foot1" runat="server" />
</form>
</body>
</html>
