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

<%@ Register Src="../../include/head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="../../include/bottom.ascx" TagName="bottom" TagPrefix="uc2" %>
<%@ Register Src="../user/left.ascx" TagName="left" TagPrefix="uc3" %>
<!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="../user/member.css" rel="stylesheet" type="text/css" />
    <link rel="Shortcut Icon" href="/Images/favicon.ico" />
    <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; text-align: left;">
                <uc3:left ID="left1" runat="server" />
            </div>
            <div class="divRight">
                <div class="userNavTitle" style="width: 786px;">
                    &nbsp;&nbsp;&nbsp;发布家教信息
                </div>
                <div class="userNavLRB" style="width: 786px;">
                    <div style="padding: 15px 25px 15px 25px; text-align: left;">
                        <ul>
                            <li style="height: 15px; font-size: 0px;"></li>
                            <li style="background: url('/member/images/title_tips_bg.gif'); background-repeat: no-repeat; height: 43px; line-height: 38px; text-align: center; background-position: center; color: #1d61b5;">选择您的相关证件图片上传即可，尺寸控制在 
                            2000像素 X 2000像素及以下</li>
                            <li style="height: 20px; font-size: 0px;"></li>
                            <li runat="server" id="upType" style="text-align: left; height: 50px; line-height: 50px; padding-left: 60px;">证件类型：<asp:DropDownList
                                ID="imgType" runat="server" CssClass="inputBlueTxt">
                                <asp:ListItem Value="">== 请选择 ==</asp:ListItem>
                            </asp:DropDownList>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3"
                                    runat="server" ErrorMessage="请选择您要上传的证件类型" ControlToValidate="imgType"
                                    ForeColor="#FF3300"></asp:RequiredFieldValidator>
                            </li>
                            <li runat="server" id="upImg" style="text-align: left; height: 50px; line-height: 50px; padding-left: 60px;">证件图片：<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 runat="server" id="Li1" style="text-align: left; height: 50px; line-height: 50px; padding-left: 60px;">是否显示：<asp:RadioButtonList ID="view" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                                <asp:ListItem Value="1">审核后可显示</asp:ListItem>
                                <asp:ListItem Value="0">审核后不显示</asp:ListItem>
                            </asp:RadioButtonList>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2"
                                    runat="server" ErrorMessage="请确认此图片是否公开显示 " ControlToValidate="view"
                                    ForeColor="#FF3300"></asp:RequiredFieldValidator>
                            </li>
                            <li runat="server" id="upBotton" style="text-align: left; height: 40px; line-height: 40px; padding-left: 60px;">
                                <asp:Button ID="postButton" runat="server" Text="上传图片" CssClass="bottonTxt"
                                    OnClick="postButton_Click" />
                            </li>
                            <li style="padding: 10px;">
                                <table cellspacing="3" cellpadding="3" border="0" align="center">
                                    <asp:Literal ID="pic" runat="server"></asp:Literal>
                                </table>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <div class="height10px"></div>
        <uc2:bottom ID="bottom1" runat="server" />
    </form>
</body>
</html>
