<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Photos.aspx.cs" Inherits="Oykx.Photos" %>


<!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>相片欣赏 -
        <%=Resources.zhouxiang.index %></title>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="HD" runat="server"></div>
    <div id="content" style=" height:auto">
        <div style="margin: 2px;
            width: 99%;" class="bian">
            <div class="titleBT">
                <table cellpadding="0" cellspacing="0" align="left" style="margin-top: 6px;">
                    <tr>
                        <td>
                            &nbsp;<img alt="" src="image/emproyee.gif" width="16px" height="16px" />
                        </td>
                        <td>
                            &nbsp;<b>相片欣赏</b>
                        </td>
                    </tr>
                </table>
            </div>
                <asp:DataList ID="DataList_Photos" runat="server" 
                RepeatDirection="Horizontal" RepeatColumns="5" align="left" 
                style=" margin-top:10px" onitemdatabound="DataList_Photos_ItemDataBound">
                    <ItemTemplate>
                        <div style="margin:6px;width: 180px;"><%--'<%# imgurl(Eval("db2").ToString()) %>'--%>
                            <div>
                                <a href="Photowz.aspx?FileName=<%# Server.UrlEncode(Eval("db1").ToString()) %>"><asp:Image ID="ImagePhotos" Style="border: 0" runat="server" Width="100px" Height="100px" ImageUrl="image/no_photo_s.png" /></a></div>
                            <div style=" margin-top:10px;">
                                <a href="Photowz.aspx?FileName=<%# Server.UrlEncode(Eval("db1").ToString()) %>" class="graylink"><asp:Label ID="lblPhotosName" Style="font-weight: 700; font-size: 14px" runat="server" Text='<%# Eval("db1") %>'></asp:Label></a></div>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
            
        </div>
        <div style="margin-top: 10px; width: 400px">
            当前:第
            <asp:Label ID="lblCurrentPage" runat="server"></asp:Label>
            &nbsp;页
            <asp:HyperLink ID="lnkPrev" runat="server" CssClass="graylink">上一页</asp:HyperLink>
            &nbsp;<asp:HyperLink ID="lnkNext" runat="server" CssClass="graylink">下一页</asp:HyperLink></div>
    </div>
    <div id="DB" runat="server"></div>
    </form>
</body>
</html>
