<%@ page language="C#" autoeventwireup="true" inherits="space_photo_list, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="Pager" Namespace="Wuqi.Webdiyer" TagPrefix="DataPager" %>
<%@ Register TagPrefix="UC" TagName="meta" Src="~/space/meta.ascx" %>
<%@ Register TagPrefix="UC" TagName="topbar" Src="~/space/topbar.ascx" %>
<%@ Register TagPrefix="UC" TagName="head" Src="~/space/head.ascx" %>
<%@ Register TagPrefix="UC" TagName="side" Src="~/space/side.ascx" %>
<%@ Register TagPrefix="UC" TagName="foot" Src="~/space/foot.ascx" %>
<!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">
    <UC:meta ID="meta1" runat="server" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
<body>
    <form id="form1" runat="server">
    <div class="wrap">
        <UC:topbar ID="topbar1" runat="server" />
        <div class="box">
            <UC:head ID="head1" runat="server" />
            <div class="main">
                <div class="hto">
                    <div class="left">
                        <UC:side ID="side1" runat="server" />
                    </div>
                    <div class="right">
                        <div class="c">
                            <div class="b">
                                <div class="fl">
                                    <asp:Literal ID="Literal1" runat="server">相册图片</asp:Literal></div>
                                <div class="fr" style="color:#fff">
                                    <asp:Literal ID="Literal2" runat="server"></asp:Literal>
                                </div>
                                <div class="clear">
                                </div>
                            </div>
                            <div class="v">
                                <asp:Panel ID="Panel1" runat="server" Visible="false" Style="padding: 10px 0 0 10px">
                                    <input type="button" class="but1" value="上传照片" onclick="this.style.display='none';document.getElementById('photo_up_box').style.display=''" />
                                    <table id="photo_up_box" style="display: none" border="0" cellpadding="0" cellspacing="0"
                                        class="wto">
                                        <tr>
                                            <td>

                                                <script src="/s/skin/AC_RunActiveContent.js" type="text/javascript"></script>

                                                <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','400','height','24','src','/s/skin/filex1','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','scale','noborder','movie','/s/skin/filex1','flashvars','<%=strFlashvars %>');
                                                </script>

                                                <noscript>
                                                    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
                                                        width="400" height="24">
                                                        <param name="movie" value="/s/skin/filex1.swf" />
                                                        <param name="quality" value="high" />
                                                        <param name="flashvars" value="<%=strFlashvars %>" />
                                                        <param name="SCALE" value="noborder" />
                                                        <embed src="/s/skin/filex1.swf" width="400" height="24" quality="high" flashvars="<%=strFlashvars %>"
                                                            pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
                                                            type="application/x-shockwave-flash" scale="noborder"></embed>
                                                    </object>
                                                </noscript>
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                                <asp:Panel ID="Panel_Nodata" runat="server" Visible="false">
                                      <div class="tip_nodata" style="padding:100px; text-align:center">
                                        该相册还未上传照片！</div>
                                </asp:Panel>
                                <asp:Panel ID="Panel_List" runat="server" CssClass="photo_list">
                                    <asp:Repeater ID="Repeater1" runat="server">
                                        <HeaderTemplate>
                                            <ul>
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <li>
                                                <table border="0" cellpadding="0" cellspacing="0" width="100%" height="160">
                                                    <tr>
                                                        <td>
                                                            <a href="photo_view.aspx?uid=<%=UID %>&id=<%#Eval("id") %>" target="_blank"><img alt="<%#Eval("title") %>" src="<%#get1(Eval("url").ToString() )%>" /></a>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <div><%#Eval("title") %></div>
                                            </li>
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            </ul>
                                            <div class="clear">
                                            </div>
                                        </FooterTemplate>
                                    </asp:Repeater>
                                </asp:Panel>
                                <asp:Panel ID="Panel_Turn" runat="server" Visible="false">
                                    <div id="DataPager">
                                        <table border="0" cellspacing="0" cellpadding="0" style="margin: 0 auto">
                                            <tr>
                                                <td>
                                                    <DataPager:AspNetPager ID="Pager1" runat="server" OnPageChanged="Pager1_PageChanged"
                                                        UrlPagingTarget="_self" PageSize="20" UrlPaging="true" FirstPageText="最前页" PrevPageText="上一页"
                                                        NextPageText="下一页" LastPageText="最后页" PagingButtonSpacing="0" CssClass="turn"
                                                        CurrentPageButtonClass="turn_on" SubmitButtonClass="pager_but" PageIndexBoxClass="pager_inp"
                                                        SubmitButtonText="转到" ShowPageIndexBox="Auto" ShowBoxThreshold="0" ShowDisabledButtons="false"
                                                        NumericButtonCount="6" FirstLastButtonsClass="turn_flpn" PrevNextButtonsClass="turn_flpn">
                                                    </DataPager:AspNetPager>
                                                </td>
                                            </tr>
                                        </table>
                                        <div class="clear" style="height: 8px">
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                        </div>
                    </div>
                    <div class="clear">
                    </div>
                </div>
            </div>
            <UC:foot ID="foot1" runat="server" />
        </div>
    </div>
    </form>
</body>
</html>
