<%@ page language="C#" autoeventwireup="true" inherits="EditShopMgs, LebiMall" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!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><%=model.Title %>-编辑店铺信息</title>
    <meta name="description" content=<%=model.Description %> />
    <meta name="keywords" content=<%=model.Keywords %> />
    <meta name="generator" content="LBMall 3.0.0" />
    <link href="images/css/css3.css" rel="stylesheet" type="text/css" />
    <link href="images/css/css.css" rel="stylesheet" type="text/css" />
    <link href="images/css/shopcss.css" rel="stylesheet" type="text/css" />
    <!--[if lte IE 6]><style type="text/css" media="screen">/* <![CDATA[ */ @import url(images/css/ie6.css); /* ]]> */</style><![endif]-->
    <!--[if gte IE 7]><STYLE type=text/css media=screen>@import url(images/css/ie7.css);</STYLE><![endif]-->
    <script type="text/javascript" src="images/js/shopjs.js"></script>
    <script type="text/javascript" src="images/js/prototype-1.4.0.js"></script>
        <script>
        function search2(){
            var texts2=document.getElementById("ser2").value;
            var select_v2=document.getElementById("Select3").value;
            window.location="list.aspx?tid="+select_v2+"&titlec="+escape(texts2);
        }
    </script>
</head>
<body>
    <div id="top-menu02">
        <div id="top-menu">
            <div class="right">
                <script type="text/javascript">indexhead();</script>
            </div>
        </div>
    </div>
    <div id="top">
        <div id="logo">
            <a href="http://<%=Request.Url.Host %><%=model.WebPath %>/">
                <img src="Upload/WebAdminImages/<%=model.Logoimg %>" border="0" /></a></div>
    </div>
    <div id="sp-menu">
        <ul>
            <li><a href="http://<%=Request.Url.Host %><%=model.WebPath %>/">首页</a></li>
            <%for (int i = 0; i < ds_tab.Tables[0].Rows.Count; i++){ %>
            <li><%if (model.Tab == "1")
                  { %>
                <a href="<%= ds_tab.Tables[0].Rows[i]["tdirname"]%>/" target="_blank"><%= ds_tab.Tables[0].Rows[i]["tname"]%></a>
                <%}else{%>
                <a href="TopTab.aspx?type=<%= ds_tab.Tables[0].Rows[i]["tdirname"]%>" target="_blank"><%= ds_tab.Tables[0].Rows[i]["tname"]%></a>
                <%} %></li>
            <%} %>
            <li><a href="http://<%=Request.Url.Host %><%=model.WebPath %>/News/" target="_blank">资讯</a></li>
        </ul>
        <p>
            <span><a href="ShopCoupon.aspx">优惠券</a></span></p>
    </div>

    <div id="contenter2">
        <div id="contenter">

            <script type="text/javascript">
            shopLeft();
            </script>

            <div id="right">
                <div class="page-title">
                    <a class="back" href="#" onclick="javascript:window.history.back();"><span>返回上一页</span></a>
                    <h2 class="shop clearfix">
                        资料修改
                    </h2>
                </div>
                <div class="contenter">
                    <form id="Form1" runat="server">
                        <div class="nav-tabs">
                            <ul class="tabs">
                                <li class="selected"><a onfocus="this.blur()" href="EditShopMgs.aspx">网店资料</a> </li>
                                <li><a onfocus="this.blur()" href="EditLogo.aspx">Logo/Banner</a> </li>
                                <li><a onfocus="this.blur()" href="EditFlash.aspx">Flash</a> </li>
                            </ul>
                        </div>
                        <div class="rbody">
                            <table>
                                <tr>
                                    <td>
                                        名称：</td>
                                    <td style="width: 174px">
                                        <asp:TextBox ID="txtName" runat="server" CssClass="rstext" /><asp:RequiredFieldValidator
                                            ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txtName"></asp:RequiredFieldValidator></td>
                                    <td>
                                        运费限额：</td>
                                    <td>
                                        <asp:TextBox ID="txtPayLimit" CssClass="rstext" runat="server" />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPayLimit"
                                            ErrorMessage="*"></asp:RequiredFieldValidator></td>
                                </tr>
                                <tr>
                                    <td colspan="3">
                                    </td>
                                    <td class="rsFont1">
                                        所购商品多件时，按该标准只收一次运费</td>
                                </tr>
                                <tr>
                                    <td>
                                        电话：</td>
                                    <td style="width: 174px">
                                        <asp:TextBox ID="txtPhone" CssClass="rstext" runat="server" /><asp:RequiredFieldValidator
                                            ID="RequiredFieldValidator3" runat="server" ErrorMessage="*" ControlToValidate="txtPhone"></asp:RequiredFieldValidator></td>
                                    <td>
                                        QQ：</td>
                                    <td>
                                        <asp:TextBox ID="txtQQ" CssClass="rstext" runat="server" />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtQQ"
                                            ErrorMessage="*"></asp:RequiredFieldValidator></td>
                                </tr>
                                <tr>
                                    <td colspan="3">
                                    </td>
                                    <td class="rsFont1">
                                        可填写多个QQ，用","隔开</td>
                                </tr>
                                <tr height="35px">
                                    <td>
                                        省/市：</td>
                                    <td>
                                        <select name="hw_1" onchange="hw_select()" id="hw_1">
                                        </select>
                                        <select name="hw_2" onchange="hw_select()" id="hw_2">
                                        </select>
                                        <input type="hidden" id="hidd_diqu" runat="server" />

                                        <script type="text/javascript" src="images/js/area1.js"></script>

                                    </td>
                                    <td>
                                        详细地址：</td>
                                    <td>
                                        <asp:TextBox ID="txtAddress" CssClass="rstext" runat="server" Text="Saddress" />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtAddress"
                                            ErrorMessage="*"></asp:RequiredFieldValidator></td>
                                </tr>
                                <tr>
                                    <td>
                                        店铺公告：</td>
                                    <td colspan="3">
                                        <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="~/images/js/fckeditor/"
                                            Height="260px" Width="600px">
                                        </FCKeditorV2:FCKeditor>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div class="rbody">
                            <asp:Button ID="btnSubmit" runat="server" Text="保存" OnClick="btnSubmit_Click" CssClass="btn_submit" /></div>

                        <script type="text/javascript">
                            document.getElementsByName("hw_1")[0].value = "<%=this.address1 %>";
                            document.getElementsByName("hw_2")[0].value = "<%=this.address2 %>";
                            hw_select();
                        </script>

                    </form>
                </div>
            </div>
            <div id="footer">
                <div id="copyright">
                    <div class="search">
                        <div class="search-left">
                            <div class="search-left-title">
                                搜索：</div>
                            <div class="search-left-form">
                                <input type="text" runat="server" id="ser2" size="30" /></div>
                            <div class="search-left-list">
                                <select id="Select3" runat="server">
                                </select>
                            </div>
                            <div class="search-left-button">
                                <img src="images/search-buttom.gif" width="60" height="20" onclick="search2()" /></div>
                        </div>
                        <div class="search-right">
                            <div runat=server id="div_s2"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="copyright" runat="server" id="copr"></div>
        </div>
    </div>
</body>
</html>
