<%@ page language="C#" masterpagefile="~/member/MemberMasterPage.master" autoeventwireup="true" inherits="V5Shop.NewMember.User_Gbook_Operate, V5Shop.Member" title="添加留言" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style="float: left; width: 759px">
        <div>
            <img src="images/list/top-1.gif" /></div>
        <div style="border-right: #c5dce7 1px solid; padding-right: 2px; padding-left: 3px;
            padding-bottom: 3px; width: 754px; padding-top: 3px; height: 693px">
            <div style="background: url(images/list/a-1.gif); width: 739px; line-height: 30px;
                height: 30px">
                <div style="padding-left: 10px; font-weight: bold; font-size: 14px; float: left;
                    color: #014d7f">



添加留言</div>
                <div style="padding-right: 10px; float: right">
                    <font color="#ff0000">*</font>表示该项必填</div>
            </div>
            <div class="account">
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <th width="19%">
                            留言标题：</th>
                        <td width="81%">
                  <asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>
                <span style="color: #ff0000"> * </span>
                
                <select onchange="InitOrderInfo(this)">
                    <option>-请选择您要关联的订单-</option>
                    <asp:Repeater ID="rptMyOrder" runat="server">
                        <ItemTemplate>
                            <option value='<%#Eval("Number") %>'><%#Eval("Number") %></option>
                        </ItemTemplate>
                    </asp:Repeater>
                </select>
                
                  <asp:RequiredFieldValidator ID="rfvTitle" runat="server" ControlToValidate="txtTitle" Display="Dynamic" ErrorMessage="必须输入！"></asp:RequiredFieldValidator>
                  
                  
                        </td>
                    </tr>
                  
                  
                    <tr>
                        <th width="19%">
                            留言类型：</th>
                        <td width="81%">
                     <asp:RadioButtonList ID="rblMenuID" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow"> </asp:RadioButtonList>
                        </td>
                    </tr>
                    
                    
                      <tr>
                        <th width="19%">
                            留言内容：</th>
                        <td width="81%">
                       <asp:TextBox ID="txtContent" runat="server" Width="256px" Height="120px" TextMode="MultiLine"></asp:TextBox>
                <span style="color: #ff0000"> * </span>
                  <asp:RequiredFieldValidator ID="rfvContent" runat="server" ControlToValidate="txtContent" Display="Dynamic" ErrorMessage="必须输入！"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    
                    
                      <tr>
                        <th width="19%">
                            联系电话：</th>
                        <td width="81%">
                       <cc1:NumberBox ID="txtTelphone" runat="server"  />
                        </td>
                    </tr>
                    
                    
                      <tr style="display:none;">
                        <th width="19%">
                            电子邮件：</th>
                        <td width="81%">
                   <asp:TextBox ID="txtEmail" runat="server" Width="208px"></asp:TextBox>
                <span style="color: #ff0000"> * </span>
                  <%--<asp:RequiredFieldValidator ID="rfvEmail" runat="server" ControlToValidate="txtEmail" Display="Dynamic" ErrorMessage="必须输入！"></asp:RequiredFieldValidator>--%>
                        </td>
                    </tr>
                    
                   
                    
                    
                      
                    
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td>
                                                 
                                                 <asp:Button ID="btnEdit" runat="server" OnClick="btnEdit_Click" Text="确定"  CssClass="input_bg"/>          
                &nbsp;&nbsp
                <input name="reset" type="reset" id="btnReset" value="重置"  Class="input_bg"/> &nbsp;&nbsp;<asp:Button ID="btnReturn" runat="server" Text="返回列表" CssClass="input_bg2" OnClick="btnReturn_Click" CausesValidation="False" />
                                                 
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div>
            <img src="images/list/bottom-1.gif" /></div>
    </div>
    <script language="javascript" type="text/javascript">
        function InitOrderInfo(obj){
            var title = document.getElementById('<%=txtTitle.ClientID %>');
            title.value = obj.options[obj.options.selectedIndex].value;
        }
    </script>
<asp:Label ID="lblAll" runat="server" Text="全部" Visible="false" ></asp:Label>
</asp:Content>

