			<photos defaultProvider="SqlPhotosAppDataProvider">
				<providers>
					<add name="SqlPhotosAppDataProvider" type="Openlab.Applications.Photos.DataProviders.SqlPhotosDataProvider, Openlab.Applications.Photos" connectionStringName="openlabSqlServer"/>
				</providers>
			</photos>


default.aspx:

        <div class="modhd">
            <table style="padding:0px;margin:0px;" border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td>                    
                        <ol class="tabIndicator">        
                            <li class="current">ͼƬ</li>                    
                            <li class="listSeparator">|</li>
                            <li>ƼͼƬ</li>                    
                            <li class="listSeparator">|</li>
                            <li>ͼƬ</li> 
                            <li class="listSeparator">|</li>
                            <li>ҵͼƬ</li>    
                        </ol>     
                    </td>
                    <td align="right" style="text-align:right;padding-right:4px;font-weight:normal;"><a href="#">...</a></td>
                </tr>
            </table>        
        </div>
        <div class="modContent">
			<asp:ObjectDataSource ID="odsRecentPhotos" Runat="server" 
			    TypeName="Openlab.Applications.Photos.PhotoManager, Openlab.Applications.Photos"  SelectMethod="GetRecentPhotos">
			    <SelectParameters>
					<asp:Parameter Name="count" DefaultValue="8" />
			    </SelectParameters>
	        </asp:ObjectDataSource>
	        <asp:Repeater runat="server" DataSourceID="odsRecentPhotos">
				<HeaderTemplate>
				<table style="padding: 0px; margin: 0px;" border="0" cellpadding="0" cellspacing="0"
					width="100%">
					<tr>				
				</HeaderTemplate>
				<ItemTemplate>
						<td class="featuredListing" valign="top">
							<div class="thumbnailFrame">
								<olp:PhotoLink runat="server" Photo='<%#Container.DataItem %>' ImageHeight="60" ImageWidth="60" ShowImage="true" />
							</div>
							<%# Eval("ThreadDate","{0:d}") %>
							<br />
							<olu:DisplayName runat="server" User='<%#Eval("User") %>' />	
							|
							<olp:GalleryLink runat="server" Gallery='<%#Eval("Gallery") %>' />						
						</td>				
				</ItemTemplate>
				<FooterTemplate>
					</tr>
				</table>
				
				</FooterTemplate>
	        </asp:Repeater>	        
        </div>
