<%@ Page Language="C#" AutoEventWireup="true" CodeFile="orderdetails.aspx.cs" Inherits="system_Instru_orderdetails" %>

<!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">
    <title></title>
    <link href="/App_Themes/SystemCSS/css/core.css" rel="stylesheet" type="text/css" />
<link href="/App_Themes/SystemCSS/css/base.css" rel="stylesheet" type="text/css" />
<script src="/App_Themes/SystemCSS/js/jquery-1.4.3.min.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="right" id="RightHighSet">
<div class="r_tit"><h2>设备预约--<%=dr["Title"] %></h2></div>
<div class="t_h48"></div><!--留空48PX-->
<div class="r_bd" id="testtab">
<div class="tab_bd">
<table width="94%" border="0" cellpadding="0" cellspacing="0" class="tab_style">
  
  <tr>
    <td class="n1">申请人：</td>
    <td class="n2"><%=Session["Name1"]!=null?Session["Name1"].ToString():"" %></td>
    </tr>
   <tr>
    <td class="n1">设备名称：</td>
    <td class="n2"><%=dr["Title"] %></td>
    </tr>
   <tr>
    <td class="n1">型号：</td>
    <td class="n2"><%=dr["Type"] %></td>
    </tr>
   <tr>
  <td class="n1">数量：</td>
    <td class="n2"><%=dr["Number"] %></td>
    </tr>
  <tr>
    <td class="n1">开始时间：</td>
    <td class="n2"><%=dr["StartTime"] %></td>
    </tr>
    <tr>
    <td class="n1">结束时间：</td>
    <td class="n2"><%=dr["EndTime"] %></td>
    </tr>
   <tr>
    <td class="n1">用途：</td>
    <td class="n2"><%=dr["Mark"] %></td>
    </tr>
    <tr>
    <td class="n1">负责人：</td>
    <td class="n2"><%=dr["Person"] %></td>
    </tr>
    <tr>
    <td class="n1">指导老师：</td>
    <td class="n2"><%=dr["Teacher"] %></td>
    </tr>
    
            <tr>
            <td class="n1">预约状态：</td>
            <td class="n2">
                <% if (dr["Audit"].ToString() == "0")
                   { %>
                   审核中
               <%}
                   else if (dr["Audit"].ToString() == "1")
                   { %>
                   预约成功
                   <%}
                   else if (dr["Audit"].ToString() == "2"){ %>
                   预约失败
                   <%}
                   else if (dr["Audit"].ToString() == "3")
                   { %>
                   预约已取消
                   <%} %>
            </td>
            </tr>
            <% if (dr["Audit"].ToString() != "3")
               { %>
            <% if (dr["Audit"].ToString() != "0")
                   { %>
            <tr>
            <td class="n1">审核结果：</td>
            <td class="n2"><%=dr["Mark2"]%></td>
            </tr>
            <%}%>
    <%} %>
</table>
<div class="menu">
<input type="button" class="menu02" value="取消" onclick="window.location.href='instruManage.aspx'" />
</div>
</div>


</div>

</div>




<script language="javascript">

    var MS = "IE";
    if (navigator.userAgent.indexOf("Firefox") > 0) {
        MS = "FF";
    }
    if (document.getElementById("RightHighSet") != null) {
        if (document.documentElement.clientHeight > 200) {
            document.getElementById("RightHighSet").style.height = document.documentElement.clientHeight + "px";
        }
    }

    var t = 0;

    window.onresize = function() {
        var now = new Date();
        now = now.getTime();
        if (now - t > 30) {
            if (document.getElementById("RightHighSet") != null) {
                if (document.documentElement.clientHeight > 200) {
                    document.getElementById("RightHighSet").style.height = document.documentElement.clientHeight + "px";
                }
                t = now;
            }
        }
    }
</script>
    </form>
</body>
</html>
