<%@ Page Title="" Language="C#" MasterPageFile="~/m/m.Master" AutoEventWireup="true" CodeBehind="Mybook.aspx.cs" Inherits="Book.m.Mybook" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <style>
        .s {
         font-size:14px
        }
    </style>
    
     <header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">我的预定</h1>
         <a class="mui-icon mui-icon-bars mui-pull-right" href="default.aspx"></a>
 </header>

    
      <div class="mui-content">
        <div class="mui-page">
 
   	<div class="mui-card">

  <div class="mui-input-row mui-checkbox mui-left" style="position:relative; right:0px;top:0px;">
   <asp:CheckBox runat="server" ID="cb_hiddlepast" Text="隐藏过期申请"  AutoPostBack="true"   Checked="true" OnCheckedChanged="cb_hiddlepast_CheckedChanged" />
                 
</div>         
           
   </div>









            
 
   
<asp:ListView ID="lv_lists" runat="server" 
    ItemContainerID="layoutTableTemplate" 
              DataKeyNames="id" OnPagePropertiesChanging="lv_lists_PagePropertiesChanging"   
    
                    
 >
 
   <LayoutTemplate>
                       
                     	<ul class="mui-table-view" id="itemPlaceholderContainer" runat="server">
                              <li id="itemPlaceholder" runat="server">
                                </li>
                         </ul>
                    </LayoutTemplate>

                <ItemTemplate>
                   
                    <li class="mui-table-view-cell prop">
                        <a href='details.aspx?id=<%#Eval("id") %>'  class="mui-navigate-right">
						
                            <%#Eval("rec").ToString()!=""?"<span class='s mui-icon mui-icon-loop'></span>":"" %>

              <%# Eval("roomname")%>  /  <%# Eval("intro")%>        / <%# Eval("numbers")%>人 /
                            <%#DateTime.Parse(Eval("begintime").ToString()).ToString("MM月dd日 HH:mm")%> ~
                             <%#DateTime.Parse(Eval("endtime").ToString()).ToString("HH:mm")%> /      <%# Eval("contactname")%> 
                            


                                
 

                     </a>

                        
             

					 </li>
                    </ItemTemplate>
   
</asp:ListView>        


 
 

   	<div class="pg">
 <asp:DataPager ID="DataPager1"   class="pg mui-pagination"  
        PagedControlID="lv_lists" runat="server" PageSize="20">
 <Fields>
           
     
            <asp:NextPreviousPagerField 
                PreviousPageText="<" 
                FirstPageText="|<" 
                ShowPreviousPageButton="true"
                ShowFirstPageButton="true" 
                ShowNextPageButton="false" 
                ShowLastPageButton="false"
               
                RenderNonBreakingSpacesBetweenControls="false" 
                RenderDisabledButtonsAsLabels="false" />

            <asp:NumericPagerField 
                ButtonType="Link" 
                CurrentPageLabelCssClass="btn btn-primary disabled"  
                RenderNonBreakingSpacesBetweenControls="false"
                
                ButtonCount="10" 
                NextPageText="..." 
               />
            
           <asp:NextPreviousPagerField 
               NextPageText=">" 
               LastPageText=">|" 
               ShowNextPageButton="true"
               ShowLastPageButton="true" 
               ShowPreviousPageButton="false" 
               ShowFirstPageButton="false" 
               RenderNonBreakingSpacesBetweenControls="false" 
               RenderDisabledButtonsAsLabels="false"/>
      

  </Fields> 
</asp:DataPager>
</div>

 




















            </div>
          </div>
    


    
 
















</asp:Content>
