<%@ Page Title="" Language="C#" MasterPageFile="~/BackCenter/Home/Edit.master" AutoEventWireup="true" CodeFile="LabDetails.aspx.cs" Inherits="BackCenter_Lab_LabDetails" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContextPlaceHolder" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" Runat="Server">

<div class="r_top_line">
        <cite style="float: right">
            <img src="/App_Themes/BackCenter/images/right_tr.gif" /></cite></div>
    <div class="r_tit">
        <p class="home">
            位置：后台中心 >> 实验室预约详细
        </p>
    </div>
    <div class="bd">
        <div class="tit_xs">
            <h2>
                实验室预约详细
            </h2>
        </div>
        <table width="94%" border="0" cellpadding="0" cellspacing="0" class="tab_style fl">
            <tr>
            <td class="n1">预约人账号：</td>
            <td class="n2"><%=dr["Account"] %></td>
            </tr>
           <tr>
            <td class="n1">预约人姓名：</td>
            <td class="n2"><%=dr["Name"] %></td>
            </tr>
            <tr>
            <td class="n1">实验室名称：</td>
            <td class="n2"><%=dr["Title"] %></td>
            </tr>
           <tr>
            <td class="n1">地点：</td>
            <td class="n2"><%=dr["Address"] %></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["InstruName"] %></td>
            </tr>
           <tr>
            <td class="n1">设备操作人：</td>
            <td class="n2"><%=dr["InstruPerson"] %></td>
            </tr>
           
          
           <tr>
            <td class="n1">申请类别：</td>
            <td class="n2"><%=typebig %></td>
            </tr>
            <% if (typeid != "5")
               { %>
            <tr>
            <td class="n1">种类：</td>
            <td class="n2"><%=typesmall %></td>
            </tr>
            <%} %>
            
            <% if (typeid == "1" || typeid == "2")
               { %>
            <tr>
            <td class="n1">指导老师：</td>
            <td class="n2"><%=dr["Teacher"] %></td>
            </tr>
            <tr>
          <td class="n1">被试数量：</td>
            <td class="n2"><%=dr["Number"] %></td>
            </tr>
            <%} %>
            
            <% if (typeid == "3")
               { %>
            <tr>
            <td class="n1">主题：</td>
            <td class="n2"><%=dr["Address"] %></td>
            </tr>
            <tr>
          <td class="n1">主讲人：</td>
            <td class="n2"><%=dr["Speaker"] %></td>
            </tr>
            <tr>
            <td class="n1">参加对象：</td>
            <td class="n2"><%=dr["AddObject"] %></td>
            </tr>
            <% }%>
            
            <% if (typeid == "5")
               { %>
            <tr>
            <td class="n1">单位：</td>
            <td class="n2"><%=dr["CompanyName"] %></td>
            </tr>
            <tr>
          <td class="n1">参观者：</td>
            <td class="n2"><%=dr["Visitor"] %></td>
            </tr>
            <% }%>
            
            <tr>
          <td class="n1">备注：</td>
            <td class="n2"><%=dr["Mark"] %></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="menu_o" value="返回" onclick="window.location.href='LabIndex.aspx'" />
        </div>
    </div>
    <div class="clear">
    </div>

</asp:Content>

