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

    <style>
    .w140 {
     width:150px;
    }
    .left20 {
     padding-left:20px; margin-top:10px;
    }
</style>














    
  <table class="thetable">
  <tr  valign="top" >
 
  
  
<td>	
    <div class="thecontent">	 
 <!--  start  -->
  

    <ul class="breadcrumb fontbt">
              <asp:Literal runat="server" ID="lt_bc"></asp:Literal>
   </ul>
       
       <div class="item-lists-box">
      
    <div  class="item-lists news-lists">
         
  
 
          
        
  
 <asp:ListView ID="lv_lists" runat="server"     ItemContainerID="layoutTableTemplate"  
    DataKeyNames="itemid"  GroupItemCount="3"   
 >
 
  
      <GroupTemplate>
                <tr id="itemPlaceholderContainer" runat="server">
                    <td id="itemPlaceholder" runat="server"></td>
                </tr>
            </GroupTemplate>

           <LayoutTemplate>
               
                <table id="groupPlaceholderContainer" runat="server" class="table">
                    <tr id="groupPlaceholder" runat="server">
                    </tr>
                </table>
                     
            </LayoutTemplate>





           <ItemTemplate>
               

               	 <td class="thetitle">
				 
                
   <a href='Photo_Detail.aspx?itemid=<%#Eval("itemid") %>&catid=<%#Eval("catid") %>'    >   
         <img src="<%#Eval("thumpath") %>"  class="w140 img-rounded"/>
				</a>   
	 <div class="left20">			
         <a  href='Photo_Detail.aspx?itemid=<%#Eval("itemid") %>&catid=<%#Eval("catid") %>'      >
				   <%#Eval("title") %>
				</a>  
         </div>


 
  

		</td>
            </ItemTemplate>



      
 

  

</asp:ListView>   




<div>
 <asp:DataPager ID="DataPager1"   class="btn-group btn-group-sm"  
      QueryStringField="Page" PagedControlID="lv_lists" runat="server" PageSize=21>
 <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>
</td>
</tr>
</table>

















</asp:Content>
