<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Installer.aspx.cs" Inherits="OAWeb.Installer.Installer1" %>

<!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">
    <meta http-equiv="Content-Type" content="text/html; charset=gbk" />
    <title>仁亚办公自动化 安装向导</title>
    <script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
    <link rel="stylesheet" href="style.css" type="text/css" media="all" />
    <script type="text/javascript">
        function LoadHTML(data) {
            $(".container").html(data);
        }
        //指定区域生成遮罩层
        function CreateZhezao(text) {
            if ($("#zhezhao").length > 0) {
                $("#zhezhao").html("<b>" + text + "</b>");
                return;
            }
            var element = $(".container");
            var width = $(element).width();
            var height = $(element).height();
            $(element).attr("style", "position: relative");
            $(element).append("<div id=\"zhezhao\" style=\"background-color: #ccc;filter:alpha(opacity=50);opacity:0.5;z-index:1;position:absolute; width:" + width + "px; height:" + height + "px;left:0;top:0; font-size:18px; padding-top:200px;  text-align:center; color:#000000 \"><b>" + text + "</b></div>");
        }
        function RemoveZhezhao() { $("#zhezhao").remove(); }

  

    </script>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>
                仁亚办公自动化! 安装向导</h1>
            <span>V1.0.0 简体中文版 20130101</span>
            <div class="setup step1">
                <h2>
                    开始安装</h2>
                <p>
                    环境检查</p>
            </div>
            <div class="stepstat">
                <ul>
                    <li class="current">1</li>
                    <li class="unactivated">2</li>
                    <li class="unactivated last">3</li>
                </ul>
                <div class="stepstatbg stepstat1">
                </div>
            </div>
        </div>
        <div class="main">
            <h2 class="title">
                环境检查</h2>
            <table class="tb" style="margin: 20px 0 20px 55px;">
                <tr>
                    <th>
                        项目
                    </th>
                    <th class="padleft">
                        所需配置
                    </th>
                    <th class="padleft">
                        最佳
                    </th>
                    <th class="padleft">
                        当前服务器
                    </th>
                </tr>
                <tr>
                    <td>
                        操作系统
                    </td>
                    <td class="padleft">
                        不限制
                    </td>
                    <td class="padleft">
                        2003
                    </td>
                    <td class="w pdleft1">
                        <%=OperatingSystemName%>
                    </td>
                </tr>
                <tr>
                    <td>
                        数据库
                    </td>
                    <td class="padleft">
                        SQL SERVER 2003
                    </td>
                    <td class="padleft">
                        SQL SERVER 2003
                    </td>
                    <td class="w <%=ExistSQL ? "pdleft1" : "nw"%>">
                        <%=ExistSQL?"支持":"不支持"%>
                    </td>
                </tr>
                <tr>
                    <td>
                        磁盘空间
                    </td>
                    <td class="padleft">
                        10M
                    </td>
                    <td class="padleft">
                        不限制
                    </td>
                    <td class="w pdleft1">
                        <%=DriveSize%>M
                    </td>
                </tr>
            </table>
            <form method="post">
            <div class="btnbox marginbot">
                <input type="button" onclick="history.back();" value="上一步" /><input type="button"
                    value="下一步" onclick="Setp()" />
                <script type="text/javascript">
                    function Setp() {
                        jQuery.get("Installer.aspx", { 'op': 'LoadStep', 's': '2', 'time': Math.random() }, function (data) { LoadHTML(data); });
                    }
                </script>
            </div>
            </form>
            <div class="footer">
                &copy;2013 - 2015 <a href="http://web.18100.cn/">仁亚软件科技有限公司</a> Inc.</div>
        </div>
    </div>
</body>
</html>
