<%@ Page Language="C#" AutoEventWireup="true" CodeFile="photo.aspx.cs" Inherits="member_user_photo" %>

<%@ Register Src="../../inClude/head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="../../inClude/bottom.ascx" TagName="bottom" TagPrefix="uc2" %>
<%@ Register Src="~/member/user/left.ascx" TagPrefix="uc1" TagName="left" %>

<!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 id="Head1" runat="server">
    <title></title>
    <link href="../../inClude/style.css" rel="stylesheet" type="text/css" />
    <link href="member.css" rel="stylesheet" type="text/css" />
    <script src="/js/jquery.min.js" type="text/javascript"></script>
    <script src="/js/all.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
        <uc1:head ID="head2" runat="server" />
        <div class="divWidth">
            <div class="divLeft" style="height: 36px; line-height: 36px;">
                <img src="../../images/home.gif" style="vertical-align: middle;" />&nbsp;<a href="/" target="_top">网站首页</a>&nbsp;-&nbsp;<a href="/member/" target="_top">会员中心</a>&nbsp;-&nbsp;头像设置
            </div>
        </div>
        <div class="divWidth">
            <div class="divLeft" style="width: 170px;">
                <uc1:left runat="server" ID="left" />
            </div>
            <div class="divRight">
                <div class="userNavTitle" style="width: 786px;">
                    &nbsp;&nbsp;&nbsp;头像设置
                </div>
                <div class="userNavLRB" style="width: 786px;">
                    <div style="padding: 15px;">
                        <ul>
                            <li style="text-align: center; height: 50px; line-height: 50px;">上传头像：<asp:FileUpload ID="uploadImg" runat="server" CssClass="inputText"
                                Width="300px" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1"
                                    runat="server" ErrorMessage="请选择您的头像" ControlToValidate="uploadImg"
                                    ForeColor="#FF3300"></asp:RequiredFieldValidator>
                            </li>
                            <li style="text-align: center; height: 40px; line-height: 40px;">
                                <asp:ImageButton ID="postButton" runat="server" ImageUrl="~/member/images/yes.gif" OnClick="postButton_Click" />
                                <asp:HiddenField ID="hidImg" runat="server" />
                            </li>
                            <li style="text-align: center; padding: 10px;">
                                <asp:Image ID="myImg" runat="server" BorderColor="#9BDFFF" BorderStyle="Dotted" BorderWidth="1px" />
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="height10px"></div>
        <uc2:bottom ID="bottom1" runat="server" />
    </form>
</body>
</html>
