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

<!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>
        <%=title() %>
        - 相片欣赏 -
        <%=Resources.zhouxiang.index %></title>
        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
         <link href="script/highslide/highslide.css" rel="stylesheet" type="text/css" />

    <script src="script/highslide/highslide-with-gallery.js" type="text/javascript"></script>

    <script type="text/javascript">
        hs.graphicsDir = 'script/highslide/graphics/';
        hs.align = 'center';
        hs.transitions = ['expand', 'crossfade'];
        hs.outlineType = 'rounded-white';
        hs.fadeInOut = true;
        //hs.dimmingOpacity = 0.75;

        // Add the controlbar
        hs.addSlideshow({
            //slideshowGroup: 'group1',
            interval: 5000,
            repeat: false,
            useControls: true,
            fixedControls: 'fit',
            overlayOptions: {
                opacity: 0.75,
                position: 'bottom center',
                hideOnMouseOut: true
            }
        });
    </script>
</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>
            <div style="margin: 30px 10px 10px 40px;text-align:center" align="center">
                <asp:DataList ID="Data_photowz" runat="server" RepeatColumns="4" RepeatDirection="Horizontal"
                    align="left">
                    <ItemTemplate>
                        <div style="margin: 6px;">
                            <div style="width: 180px">
                                <a href="<%# imgurl(Eval("db1").ToString()) %>" class='highslide' onclick='return hs.expand(this)' target="_blank">
                                    <asp:Image ID="ImagePhotos" Style="border: 0" runat="server" Width="200px" Height="200px"
                                        ImageUrl='<%# imgurl(Eval("db1").ToString()) %>' /></a></div>
                            <div style="width: 180px;margin-top:10px;">
                                <a 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>
        <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>
