<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Step2.aspx.cs" Inherits="YCHR.Web.Install.Step2" %>

<!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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>易辰人才系统 安装向导</title>
    <link rel="stylesheet" href="style/style.css" type="text/css" media="all" />
    
</head>

<body><form id="form1" runat="server">
<div class="container">
    <div class="header">
        <h1>
            易辰人才系统 安装向导</h1>
        <span>V <%=YCHR.Common.Utils.Version%></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">3</li>
                <li class="unactivated last">4</li>
            </ul>
            <div class="stepstatbg stepstat1">
            </div>
        </div>
    </div>
    <div class="main">
    <%if (Session["isTips"] != null && (bool)Session["isTips"])
                      { 
                          
                          %>
        <p style=" text-align:center;  color:Red;"> 提示:
          <%if (Session["TipsContent"] != null) { Response.Write(Session["TipsContent"].ToString()); }
                          else
                          {
                              Response.Write("权限设置请参照“安装指南”中的《设置NTFS磁盘文件夹的可写权限》");
                          }%>
        </p>
        <%
                        Session["isTips"] = null;
                      } %>
        <h2 class="title">
            环境检查</h2>
        <table class="tb" style="margin: 20px 0 20px 55px;width: 90%;">
            <tr>
                <th>
                    项目
                </th>
                <th class="padleft">
                    当前服务器
                </th>
            </tr>
            <tr>
                <td class="style1">
                    操作系统
                </td>
                <td class="w pdleft1" style="height: 20px">
                   <%=OSname %>
                </td>
            </tr>
            <tr>
                <td>
                    .NET 版本
                </td>
                <td id="NETtd" runat="server" class="w pdleft1">
                   
                </td>
            </tr>
            <tr>
                <td>
                    IIS版本&nbsp;
                </td>
                <td class="w pdleft1">
                    IIS6.0</td>
            </tr>
        </table>
        <h2 class="title">
            目录、文件权限检查</h2>
        <table class="tb" style="margin: 20px 0 20px 55px; width: 90%;">
            <tr>
                <th>
                    目录文件
                </th>
                <th class="padleft">
                    所需状态
                </th>
                <th class="padleft">
                    当前状态
                </th>
            </tr>
            <tr>
                <td>
                    ./db
                </td>
                <td class="w pdleft1">
                    可写
                </td>
                <td id="SQLBaktd" runat="server" class=" pdleft1">
                </td>
            </tr>
            <tr>
                <td>
                    ./config
                </td>
                <td class="w pdleft1">
                    可写
                </td>
                <td id="SysConfigtd" runat="server" class=" pdleft1">
                </td>
            </tr>
            <tr>
                <td>
                    ./upload
                </td>
                <td class="w pdleft1">
                    可写
                </td>
                <td id="uploadfiletd" runat="server" class=" pdleft1">
                     
                </td>
            </tr>
            <tr>
                <td>  ./web.config</td>
                <td class="w pdleft1">
                   可写</td>
                <td id="WebConfigtd" runat="server" class=" pdleft1">
                    &nbsp;</td>
            </tr>
        </table>
       
        <div class="btnbox marginbot">
            <asp:button id="ReExamine" runat="server" text="重新检测" onclick="ReExamine_Click1" />
            &nbsp;
            <asp:button id="NextStep" runat="server" text="下一步" onclick="NextStep_Click1" />
        </div>
       
        <div class="footer">
         &copy;2011 - 2014 <a href="http://www.aspxjob.com/">AspxJob</a> Inc.</div>
    </div>
</div></form>
</body> 
</html>
