<%@ Page Title="" Language="C#" MasterPageFile="~/oa/OA.Master" AutoEventWireup="true" CodeBehind="DocList.aspx.cs" Inherits="oa.Doc.DocList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
   


    
    <div class="thecontent">	 
 <!--  start  -->
  

        

        
    <div class="breadcrumb">
              <asp:Literal runat="server" ID="lt_bc"></asp:Literal>
   </div>

         
   
       
       <div class="item-lists-box">
      
    <div  class="item-lists news-lists">
         
 










         
      <table class="table table-hover"> 
  <asp:Repeater runat="server" ID="rpt_subfolder">
    <ItemTemplate>
    
 <tr>
 <td> 
  <a href="DocList.aspx?catid=<%#Eval("id") %>">
   
  <img src="folder.png" border=0    style=" vertical-align:middle"/> <%#(Eval("pagename"))%></a>
 
    </td>
 
  

 </tr> 
    
    </ItemTemplate>
    </asp:Repeater>






























        
  
 <asp:ListView ID="lv_lists" runat="server"     ItemContainerID="layoutTableTemplate"  
    DataKeyNames="itemid"   
 >
 
 
    <LayoutTemplate>
 
   <table  class="table table-hover">
      <asp:PlaceHolder runat="server" ID="itemPlaceholder"></asp:PlaceHolder>
    </table>
  </LayoutTemplate>
     
  
   
    <ItemTemplate>
     
<tr>
    

	   	  		 <td class="thetitle"> 
	 
			 <a href="Binn.ashx?id=<%#Eval("itemid") %>&guid=<%#Eval("guid") %>&filename=<%#Eval("filename") %>" target="_blank">
				 <img src="../images<%#FileIcon.GetIcon("."+Eval("ext")) %>" />           <%#Eval("filename") %>
				</a>  
		</td>
    <td class="w1">
            <%#Eval("username") %> 
        </td>

        <td class="xs-date w2">	       
				    <%#(DateTime.Parse(Eval("createdate").ToString()).ToString("yyyy-MM-dd HH:mm"))%> 		 	    
			  
		</td>

         <td class="w3">
            <%#Eval("click") %> 
        </td>
</tr> 
	   		
	   		
    </ItemTemplate>


  

</asp:ListView>   




<div>
 <asp:DataPager ID="DataPager1"   class="btn-group btn-group-sm"  
      QueryStringField="Page" PagedControlID="lv_lists" runat="server" PageSize=10>
 <Fields>
           
     
            <asp:NextPreviousPagerField 
                PreviousPageText="<" 
                FirstPageText="|<" 
                ShowPreviousPageButton="true"
                ShowFirstPageButton="true" 
                ShowNextPageButton="false" 
                ShowLastPageButton="false"
                ButtonCssClass="btn btn-default" 
                RenderNonBreakingSpacesBetweenControls="false" 
                RenderDisabledButtonsAsLabels="false" />

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

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










         



</div>
    </div>


<!--  /start  -->
        </div>


</asp:Content>
