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

<%@ Register Assembly="Anthem" Namespace="Anthem" TagPrefix="anthem" %>

<!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 rel="stylesheet" type="text/css" href="./../../styles/1/style.css">
   <script language="javascript" type="text/javascript">
    function showroom(parm)
   {
         URL="./room.aspx?mm="+parm;
         loc_x=document.body.scrollLeft+event.clientX-event.offsetX+230;
         loc_y=document.body.scrollTop+event.clientY-event.offsetY+170;
         window.showModalDialog(URL,self,"dialogWidth:450px;dialogHeight:350px;dialogTop:"+loc_y+"px;dialogLeft:"+loc_x+"px");

   } 
   </script> 
</head>
<body class="bodycolor">
    <form id="form1" runat="server">
        <div style="width:780px;">
            <fieldset>
                <legend>入住房间 </legend>
                <div style="width: 94%; float: left;">
                    <asp:Label ID="Label1" runat="server" Text="姓名："></asp:Label><asp:TextBox
                        ID="TextBox1" runat="server" Width="60px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                        ErrorMessage="*"></asp:RequiredFieldValidator>
                    <asp:Label ID="Label2" runat="server"
                            Text="性别："></asp:Label><asp:DropDownList ID="DropDownList1" runat="server">
                        <asp:ListItem Selected="True">男</asp:ListItem>
                        <asp:ListItem>女</asp:ListItem>
                    </asp:DropDownList>
                    <asp:Label ID="Label3" runat="server" Text="班级："></asp:Label><asp:TextBox ID="TextBox3"
                        runat="server" Width="60px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox3"
                        ErrorMessage="*"></asp:RequiredFieldValidator>
                    <asp:Label ID="Label4" runat="server" Text="身份证号："></asp:Label><asp:TextBox
                            ID="TextBox4" runat="server" Width="60px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox4"
                        ErrorMessage="*"></asp:RequiredFieldValidator>
                    <asp:Label ID="Label5" runat="server" Text="手机号："></asp:Label><asp:TextBox
                        ID="TextBox5" runat="server" Width="60px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBox5"
                        ErrorMessage="*"></asp:RequiredFieldValidator><br />
                    <asp:Label ID="Label7" runat="server" Text="房间："></asp:Label><asp:TextBox
                                    ID="TextBox7" runat="server" Width="60px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBox7"
                        ErrorMessage="*"></asp:RequiredFieldValidator><br/>
                    <asp:Label ID="Label6" runat="server"
                            Text="日期："></asp:Label><!--#include file="../../module/date.htm"-->
                    
                    <asp:Button ID="Button1" runat="server" Text="入住" CssClass="BigButton"  OnClick="Button1_Click"  />
                </div>
            </fieldset>
           <br />
          <fieldset>
                <legend>房间查询</legend>
                <div style="width: 90%; float: left;">
                    
                    <input id="Button5" class="BigButton" type="button" value="满房间查询" onclick="showroom(1)" />
                    <input id="Button6" class="BigButton" type="button" value="空房间查询" onclick="showroom('em')" /></div>
            </fieldset>  
          <br />
          <fieldset>
                <legend>迁出办理</legend>
                <div style="width: 90%; float: left;">
                    <asp:Label ID="Label11" runat="server" Text="身份证号："></asp:Label><asp:TextBox
                            ID="TextBox8" runat="server"></asp:TextBox>
                    <anthem:Button ID="Button2" runat="server" Text="迁出" CssClass="BigButton" Width="125px" OnClick="Button2_Click" EnabledDuringCallBack="False" PostCallBackFunction="theback();" TextDuringCallBack="迁出中..." ValidationGroup="11"  />
                </div>
            </fieldset>  
        </div>
    </form>
</body>
</html>
