<%@ page title="" language="C#" masterpagefile="~/lovecenter/LoveCenterMaster.master" autoeventwireup="true" inherits="lovecenter_PhotoUploaded, App_Web_ubyenibr" enableEventValidation="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script type="text/javascript" src="/js/utils.js"></script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="rightbody">
        <div class="menutit">
            上传成功
        </div>
        <div class="bodycotent">
            <div class="menutab">
                <div class="menuitem">
                    <a href="Album.aspx" >相册管理</a>
                    <a href="PhotoUpload.aspx">上传照片</a>
                    <a class="chk">上传成功</a>
                </div>
                <div class="menusub">
                    <a href="Album.aspx">查看我的相册列表</a> 
                </div>
            </div>
            <div class="body">
                <div class="descr"></div>
                <div class="list inputs renames">
                    <asp:Repeater ID="rptMain" runat="server">
                    <HeaderTemplate>
                    <table width="100%" cellpadding="5" cellspacing="0" border="0">
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td><div class="img"><img src="/uploadfiles/<%# DataBinder.Eval(Container.DataItem, "photourl")%>_200x200.jpg" align="absmiddle" width="75" height="75" /></div></td>
                            <td class="descr">
                                <div class="tit">请填写照片描述：</div>
                                <div class="cnt">
                                    <asp:TextBox ID="txtDescr" runat="server" MaxLength="20" TextMode="MultiLine" Width="500" Height="30"></asp:TextBox>
                                    <asp:HiddenField ID="hidID" runat="server" Value='<%# DataBinder.Eval(Container.DataItem, "photoid")%>'/>
                                </div>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                    </table>
                    </FooterTemplate>
                    </asp:Repeater>
                </div>
                <div class="submits">
                    <asp:LinkButton ID="btnOK" runat="server" class="okbtn" onclick="btnOK_Click" >确认</asp:LinkButton>
                    <a href="Photos.aspx?albumid=<%= Request.QueryString["albumid"] %>" class="okbtn">跳过</a> 
                </div>
            </div>
        </div>
    </div>
    
<script type="text/javascript">
    $(document).ready(function() {
        $(".inputs img").each(function() {
            setImg(this, 60, 60);
        });
    }); 
</script>
</asp:Content>

