<%@ Page Title="用户商铺信息配置" Theme="AdminSkin" ValidateRequest="false" Language="C#" MasterPageFile="~/Others/AdminMasterPage.Master" AutoEventWireup="true" CodeBehind="UserShopConfigEdit.aspx.cs" Inherits="Web.Admin.Contents.UserShopConfigEdit" %>

<%@ Register Src="../Controls/ExtendedEditor.ascx" TagName="ExtendedEditor" TagPrefix="uc1" %>
<%@ Register Src="../Controls/WebFileUpload.ascx" TagName="WebFileUpload" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="AdminContentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdminContentCenter" runat="server">
    <form id="form1" runat="server">
        <div class="formtextfield">
            <div class="title">
                <h4><span>用户商铺信息配置</span></h4>
            </div>
            <div class="content">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="fieldname">公司名称:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtCompanyName" runat="server" Width="260" CssClass="text form-validate"></asp:TextBox>
                            <asp:CustomValidator ControlToValidate="txtCompanyName" ClientValidationFunction="Validator.NonEmpty" ErrorMessage="不能为空" ValidateEmptyText="true" CssClass="fielderror" runat="server"></asp:CustomValidator>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">联系人:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtContact" runat="server" Width="260"></asp:TextBox>

                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">联系电话:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtTel" runat="server" Width="260" TextMode="SingleLine" CssClass="text"></asp:TextBox>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">移动电话:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtMobileTel" runat="server" Width="260" TextMode="SingleLine" CssClass="text"></asp:TextBox>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">邮箱:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtEmail" runat="server" Width="260" TextMode="SingleLine" CssClass="text"></asp:TextBox>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>

                    <tr>
                        <td class="fieldname">公司地址:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtCompanyAddress" runat="server" Width="260" TextMode="SingleLine" CssClass="text"></asp:TextBox>
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">Logo:
                        </td>
                        <td class="fieldvalue">
                            <uc2:WebFileUpload ID="txtCompanyLogo" PreviewRoot="/" UploadPath="../ajax/FileUpload.ashx?cmd=thumbnail" runat="server" />
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">公司简介:
                        </td>
                        <td class="fieldvalue">
                            <uc1:ExtendedEditor ID="txtCompanyIntroduce" runat="server" EditorFileName="xheditor"
                                EditorUploadUrl="../ajax/FileUpload.ashx?cmd=article&name=imgFile&uploadtype=xheditor" />
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">商铺Banner:
                        </td>
                        <td class="fieldvalue">
                            <uc2:WebFileUpload ID="txtShopBanner" PreviewRoot="/" UploadPath="../ajax/FileUpload.ashx?cmd=thumbnail" runat="server" />
                        </td>
                        <td class="fielddescription"></td>
                    </tr>
                    <tr>
                        <td class="fieldname">商铺Banner链接:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="txtShopBannerLink" runat="server" Width="260" Text="http://" CssClass="text"></asp:TextBox>
                        </td>
                        <td class="fielddescription">以http://开头</td>
                    </tr>
                </table>
            </div>
            <table width="100%" border="0" cellpadding="2" cellspacing="1">
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" SkinID="ButtonSave" />
                        &nbsp;&nbsp;
                        <asp:Button ID="btnCancel" runat="server" Text="取消" SkinID="ButtonCancel" CausesValidation="false" OnClick="Cancel_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</asp:Content>
