<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="pic.aspx.cs" Inherits="JuSNS.Web.home.movie.pic" %>

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title id="ptitle" runat="server">电影海报</title>
<script language="javascript" type="text/javascript" src="/js/ajControl.js"></script> 
<script language="javascript" type="text/javascript" src="/js/ajax.js"></script>
<script language="javascript" type="text/javascript" src="/js/public.js"></script>
<link href="/template/<% Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/css/base.css"   id="skinpath" type="text/css" rel="stylesheet" />
</head>
<body>
  <!--头部-->
   <%=this.GetHtmlShort()%> 
    <div id="divhead">
        <%=this.GetHtmlHead()%>
    </div>
    <div id="divbody">
        <div id="body_first">
            <div class="body_menu">
                <%=this.GetHtmlLeft()%>
            </div>
        </div>
        <div id="body_sec">
        
            <div id="body_mid">
                <div class="body_frame">
                    <!--主题内容中-->
                    <div class="body_frame_otherinfo">
                        <div class="title">
                            <div class="l">
                                <img src="/template/<%Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/images/site/movie.gif" align="absmiddle" />
                                <span class="bold shenlan font14 ocolor">电影，视频</span></div>
                            <div class="r">
                            </div>
                            <div class="c">
                            </div>
                        </div>
                        <div class="nav-menu">
                            <ul>
                                    <li><a href="/home/movie">好友的电影</a></li>
                                    <li><a href="/home/movie/?r=my">我的电影</a></li>
                                    <li><a href="/home/movie/?r=all">所有电影</a></li>
                                    <li><a href="/home/movie/top.aspx">排行榜</a></li>
                                    <li class="current"><a href="javascript:void(0);">电影海报</a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="body_sec_all">
                    <form id="form1" runat="server">
                        <div class="msg-succ" runat="server" id="succDiv" visible="false">上传海报成功。等待管理员审核。</div>
                        <asp:Literal ID="Lit_MovieName"  runat="server"></asp:Literal>
                        <asp:DataList runat="server" ID="Rpt_MoviePicList" Width="100%" RepeatColumns="4">
                            <HeaderTemplate>
                                <table width="100%" border="0" cellpadding="3" cellspacing="1" >
                                    <tr>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <td align="center">
                                    <table width="100%" border="0" cellpadding="3" cellspacing="1" class="content">
                                        <tr>
                                            <td>
                                                <div style="border:1px solid #eeeeee;padding:10px 0;margin:10px 0;">
                                                    <a href="../../<%# DataBinder.Eval(Container.DataItem, "FileName")%>" target="_blank"><img style="border:0;" src="../../<%# DataBinder.Eval(Container.DataItem, "FileName")%>" height="120" width="100" /></a>
                                                </div>
                                                <div>
                                                   <div style="text-align:center;">上传者：<span id="UserNames" runat="server"><a href="../../user?r=<%# DataBinder.Eval(Container.DataItem, "UserID")%>"><%#GetUserNames(DataBinder.Eval(Container.DataItem, "UserID"))%></a></span></div> 
                                                    </div>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </ItemTemplate>
                            <FooterTemplate>
                                </tr> </table>
                            </FooterTemplate>
                        </asp:DataList>
                        <div class="pagination" runat="server" id="DivPage" align="center"></div>
                        <table width="100%" border="0" cellpadding="3" cellspacing="1">
                            <tr class="maintablepage">
                                <td>
                                    
                                    <asp:HiddenField ID="HidMID" runat="server" />
                                </td>
                            </tr>
                        </table>
                        <table style="width:90%;">
                        <tr>
                        <td>
                            上传海报：<asp:FileUpload  ID="supfile" CssClass="f-text"  runat="Server" /> 
                            <asp:Button ID="Button1" CssClass="f-button" runat="server" Text="上传" OnClick="Button1_Click" /> (支持JPG、GIF 、JPEG,BMP和 PNG 格式的照片，每张最大 2M。)
                        </td>
                        </tr>
                        </table>
                    </form >
                    </div>
                    
                    
                    </div>
                <!--底部-->
                <div class="divbottom">
                    <%=this.GetHtmlFoot()%>
                </div>                    
                    
                    </div>
                    </div>
                    </div>
                    
</body>
</html>
