<%@ page language="C#" validaterequest="false" autoeventwireup="true" inherits="Store_Edit_module, WebApp_deploy" %>

<!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 runat="server">
    <title></title>
    <link href="CSS/setting-min.css" rel="stylesheet" type="text/css" />
    <script src="../Skin/CommStyle/js/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="Js/common.js" type="text/javascript"></script>
    <script src="Js/Ajax.js" type="text/javascript"></script>
    <script type="text/javascript">
        function closeProc() {
            var message_box = parent.document.getElementById("message_box");
            message_box.style.visibility = 'hidden';
            parent.document.getElementById("mybg").style.display = "none";
           // var ShopID = document.getElementById("HiddenShopID").value; //获取店铺的ID值
           // var shopEditUrl = "ShopEdit.aspx?ShopID=" + ShopID;
           // window.location.href = shopEditUrl;
        }

        function SuccessClose() {
            if (request("SuccessColse") != null && request("SuccessColse") != "") {
                if (request("SuccessColse") == "Yes") {
                    $("#J_DSMsg", window.parent.document).fadeIn(1000);
                    $("#J_DSMsg", window.parent.document).fadeOut(1000);
                    $("#mybg", window.parent.document).hide();
                    window.parent.document.getElementById("message_box").style.visibility = "hidden";
                }
            }

            if (document.getElementById("HiBackground") != null) {
                var J_iShowDlogo = document.getElementById("J_iShowDlogo");
                var J_iShowDtitle = document.getElementById("J_iShowDtitle");
                var J_iShowBg = document.getElementById("J_iShowBg");

                var HiddenShowType = parent.document.getElementById("HiddenShowType").value;
                var ShowTypeValue = HiddenShowType.substring(0, HiddenShowType.length - 1).split(',');

                for (var i = 0; i < ShowTypeValue.length; i++) {
                    if (ShowTypeValue[i] == "1") {
                        J_iShowDlogo.checked = true;
                        J_iShowBg.checked = false;
                        J_iShowBg.disabled = "disabled";

                    }
                    else if (ShowTypeValue[i] == "2") {
                        J_iShowDtitle.checked = true;
                        J_iShowBg.checked = false;
                        J_iShowBg.disabled = "disabled";
                    }
                    else {
                        J_iShowDlogo.checked = false;
                        J_iShowDlogo.disabled = "disabled";
                        J_iShowDtitle.checked = false;
                        J_iShowDtitle.disabled = "disabled";

                        J_iShowBg.checked = true;
                    }

                }
            }
        }

        function selectSet(Control) {
            var J_iShowDlogo = document.getElementById("J_iShowDlogo");
            var J_iShowDtitle = document.getElementById("J_iShowDtitle");
            var J_iShowBg = document.getElementById("J_iShowBg");



            var shopbiaozhi = parent.document.getElementById("shopbiaozhi"); //背景图
            var dianbiaoImg = parent.document.getElementById("dianbiaoImg"); //店标图
            var ShopTitle = parent.document.getElementById("ShopTitle"); //店铺标题

            var BackGround = parent.document.getElementById("HiddenBackGroundImage").value;


            if (Control == "logo" || Control == "title") {
                if ((J_iShowDlogo.checked == true && J_iShowDtitle.checked == true) || (J_iShowDlogo.checked == false && J_iShowDtitle.checked == true) || (J_iShowDlogo.checked == true && J_iShowDtitle.checked == false)) {
                    J_iShowBg.checked = false;
                    J_iShowBg.disabled = "disabled";
                }
                else {
                    J_iShowDlogo.checked = false;
                    J_iShowDtitle.checked = false;
                    J_iShowDlogo.disabled = "disabled";
                    J_iShowDtitle.disabled = "disabled";

                    J_iShowBg.disabled = "";
                    J_iShowBg.checked = true;
                }
            }
            else {
                if (J_iShowBg.checked == true) {
                    J_iShowDlogo.checked = false;
                    J_iShowDtitle.checked = false;
                    J_iShowDlogo.disabled = "disabled";
                    J_iShowDtitle.disabled = "disabled";
                }
                else {
                    J_iShowDlogo.checked = true;
                    J_iShowDtitle.checked = true;
                    J_iShowDlogo.disabled = "";
                    J_iShowDtitle.disabled = "";
                    J_iShowBg.checked = false;
                    J_iShowBg.disabled = "disabled";
                }
            }

            if (J_iShowDlogo.checked == true) {
                dianbiaoImg.style.display = "block";
            }
            else {
                dianbiaoImg.style.display = "none";
            }

            if (J_iShowDtitle.checked == true) {
                ShopTitle.style.display = "block";
            }
            else {
                ShopTitle.style.display = "none";

            }

            if (J_iShowBg.checked == true) {
                $("#shopbiaozhi", window.parent.document).css("background-image", "url(" + BackGround + ")");
            }
            else {
                $("#shopbiaozhi", window.parent.document).css("background-image", "");
            }
        }
       
    </script>
</head>
<body onload="SuccessClose()">
    <form id="form1" runat="server">
    <!-- 编辑店铺logo -->
    <asp:PlaceHolder ID="Shoplogo" runat="server" Visible="false">
        <asp:Panel ID="PanelAgree" runat="server">
            <table style="margin-left: 30px">
                <tr>
                    <td>
                        <asp:TextBox ID="AgreeBox" Height=" 200px" Width="500px" runat="server" ReadOnly="true"
                            TextMode="MultiLine" Text=" 为规范店铺LOGO（即，商家标识，下同）的设计侵权行为，本官方的LOGO审核机制已经启动，对店铺LOGO逐一审核。为了让您的LOGO可以顺利发布，请阅读本协议并及时调整您的店铺LOGO设计。

1. 严禁使用：本网及本网品牌下的所有LOGO，其中的文字标志，以及版式设计 LOGO中不得包含本网LOGO本身，“本网”三个字，以及版式设计
LOGO中不得包含本网旗下品牌LOGO本身，以及这些品牌的文字

2.严禁使用：本网授予卖家的官方勋章 消费者保障类、卖家星级类、商盟类、头衔类勋章，严禁出现在贵店的LOGO中本网的LOGO以及官方勋章等所有设计元素的版权均归本网所有，擅自使用可能遭受诉讼并承担赔偿责任。法律依据： 

《著作权》法，第二十四条* 《信息网络传播权保护条例》，第二十二条

3.严禁使用：夸大自身的词汇

4.严禁使用：已注册商家的商标、标识请广大卖家仔细阅读规则内容,及时调整相关行为.">
	             

                        </asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: center">
                        <asp:Button ID="ButOK" runat="server" OnClick="ButOK_Click" Text="我知道了" />
                    </td>
                </tr>
            </table>
        </asp:Panel>
        <asp:Panel ID="PanelUploadLogo" runat="server" Visible="false">
            <table style="margin-left: 30px">
                <tr>
                    <td>
                        <p class="logo">
                            <img height="57px" width="190px" src="<%=ShopLogoPath %>">
                        </p>
                        <p>
                            <asp:FileUpload ID="FileUpload1" runat="server" />
                        </p>
                        <p class="notice">
                            文件格式JPG、JPEG、PNG文件大小30K以内，建议尺寸230PX * 70PX</p>
                        <p class="submit-box">
                            <asp:Button ID="UploadSave" runat="server" Text="保存" OnClick="UploadSave_Click" />
                        </p>
                    </td>
                </tr>
            </table>
        </asp:Panel>
    </asp:PlaceHolder>
    <!-- 编辑店铺logo -->
    <!-- 编辑店铺背景图 -->
    <asp:PlaceHolder ID="SetBackgroundImage" runat="server" Visible="false">
        <div id="set-hd" style="margin-left: 30px; margin-top: 10px">
            <div style="margin-top: 10px">
                <h3>
                    背景图设置</h3>
                <p>
                    <span>更换背景图：</span>
                    <asp:FileUpload ID="FileBackground" runat="server" Height="20px" />
                </p>
            </div>
            <div style="margin-top: 10px">
                <h3>
                    显示设置</h3>
                <p id="J_SetItem" style="margin-top: 10px">
                    <span style="margin-top: 5px">是否显示：</span>
                    <input type="checkbox" id="J_iShowDlogo" runat="server" onclick="selectSet('logo')" /><label
                        for="J_iShowDlogo">店铺标志</label>
                    <input type="checkbox" id="J_iShowDtitle" runat="server" onclick="selectSet('title')" /><label
                        for="J_iShowDtitle">店铺标题</label>
                    <input type="checkbox" id="J_iShowBg" runat="server" name="enableBanner" autocomplete="off"
                        onclick="selectSet('ShowBg')" /><label for="J_iShowBg">显示背景图</label><br />
                    <br />
                </p>
                <asp:HiddenField ID="HiBackground" runat="server" Value="" />
            </div>
            <div style="clear: both; width: 99%;">
                <asp:Button ID="ButBackground" CssClass="ds-btn ds-btn-ok" runat="server" Text="保存"
                    OnClick="ButBackground_Click" />
                <button id="J_Reset" type="button" class='ds-btn ds-btn-cancel' onclick="closeProc()">
                    取 消</button>
            </div>
        </div>
    </asp:PlaceHolder>
    <!-- 编辑店铺背景图 -->
    <!-- 自定义内容 -->
    <asp:PlaceHolder ID="setCustomizeComment" runat="server" Visible="false">
        <table style="width: 100%; margin-top: 15px">
            <tr>
                <td style="height: 30px">
                    &nbsp&nbsp&nbsp&nbsp&nbsp 模块标题：<input type="text" id="CusTitle" runat="server" value=""
                        size="30" />（注：不输入则不显示标题）
                </td>
            </tr>
            <tr>
                <td style="text-align: center">
                    <asp:TextBox ID="ProductDescripe" runat="server" Style="display: none;" />
                    <iframe src="/Editor/Editor.aspx?id=ProductDescripe" frameborder="0" scrolling="auto"
                        width="900px" height="200px"></iframe>
                </td>
            </tr>
            <tr>
                <td style="text-align: center; height: 50px">
                    <asp:Button ID="ButCus" CssClass="ds-btn ds-btn-ok" runat="server" OnClick="ButCus_Click"
                        Text="保存" />
                    <button id="Button7" type="Button" class='ds-btn ds-btn-cancel' onclick="closeProc();">
                        取 消</button>
                </td>
            </tr>
        </table>
        <input type="hidden" runat="server" id="hiddenJust" value="1" />
    </asp:PlaceHolder>
    <!-- 自定义内容 -->
    <!-- 推荐产品 -->
    <asp:PlaceHolder ID="EliteShopProduct" runat="server" Visible="false">
        <table>
            <colgroup>
                <col width="100" />
            </colgroup>
            <tbody>
                <tr>
                    <th>
                        <h4>
                            显示方式</h4>
                    </th>
                    <td>
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="picSize">
                            图片尺寸：</label>
                    </th>
                    <td>
                        <select id="SelectElitePic" name="picSize" class="select" runat="server">
                            <option selected="selected" value="120">120x120</option>
                            <option value="160">160x160</option>
                            <option value="220">220x220</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="itemNum">
                            宝贝数量：</label>
                    </th>
                    <td>
                        <select id="SelectEliteNum" name="itemNum" class="select J_CustomSum" runat="server">
                            <option value="3">3</option>
                            <option selected="selected" value="4">4</option>
                            <option value="6">6</option>
                            <option value="8">8</option>
                            <option value="10">10</option>
                            <option value="12">12</option>
                            <option value="16">16</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="orderType">
                            排序方式：</label>
                    </th>
                    <td>
                        <select id="SelectEliteOrderBy" name="sort" class="select" runat="server">
                            <option value="NewOn" selected>最新产品在前</option>
                            <option value="Lowprice">低价格在前</option>
                            <option value="Hightprice">高价格在前</option>
                        </select>
                    </td>
                </tr>
            </tbody>
            <tfoot>
                <tr>
                    <th>
                        &nbsp;
                    </th>
                    <td>
                        <br />
                        <button class="ds-btn ds-btn-ok" type="button" onclick="SetEliteProduct()">
                            保存</button>
                        <button id="Button6" type="Button" class='ds-btn ds-btn-cancel' onclick="closeProc();">
                            取 消</button>
                        <br>
                        <br />
                    </td>
                </tr>
            </tfoot>
        </table>
    </asp:PlaceHolder>
    <!-- 推荐产品 -->
    <!-- 产品列表 -->
    <asp:PlaceHolder ID="ShopProductList" runat="server" Visible="false">
        <table>
            <colgroup>
                <col width="100" />
            </colgroup>
            <tbody>
                <tr>
                    <th>
                        <label for="display-count">
                            标题：</label>
                    </th>
                    <td>
                        <input id="PLModuleName" name="title" type="text" class="text" value="产品列表" runat="server" />
                        注：需要输入标题，默认"产品列表"
                    </td>
                </tr>
            </tbody>
            <tbody class="J_filter">
                <tr>
                    <th>
                        <label for="display-count">
                            <h4>
                                宝贝筛选</h4>
                        </label>
                    </th>
                    <td>
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="keyword">
                            关键词筛选：</label>
                    </th>
                    <td>
                        <input id="ProductKeyword" name="keyword" type="text" class="text" value="" runat="server"  />
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="scid">
                            所属分类：</label>
                    </th>
                    <td>
                        <select id="PLSelectClass" name="shopcat" style="z-index: 1;" class="select" runat="server" >
                            <option selected="selected" value="-1">不限</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>
                        <label>
                            宝贝类型：</label>
                    </th>
                    <td class="J_isNew">
                        <input id="rdUnlimited" name="oldnew" checked="true" value="-1" type="radio" runat="server" />
                        不限
                        <input id="rdoNew" name="oldnew" value="2" type="radio" runat="server"  />
                        全新
                        <input id="rdoOld" name="oldnew" value="1" type="radio" runat="server" />
                        二手（闲置）
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="sprice">
                            价格范围：</label>
                    </th>
                    <td>
                        <input id="PListprice1" name="sprice" type="text" value="" class="text price" runat="server"  />
                        元 <span>--</span>
                        <input id="PListprice2" name="eprice" type="text" value="" class="text price" runat="server"  />
                        元
                    </td>
                </tr>
            </tbody>
            <tbody>
                <tr>
                    <th>
                        <h4>
                            显示方式</h4>
                    </th>
                    <td>
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="picSize">
                            图片尺寸：</label>
                    </th>
                    <td>
                        <select id="picSize" name="picSize" class="select" runat="server" >
                            <option selected="selected" value="120">120x120</option>
                            <option value="160">160x160</option>
                            <option value="220">220x220</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="itemNum">
                            宝贝数量：</label>
                    </th>
                    <td>
                        <select id="itemNum" name="itemNum" class="select J_CustomSum" runat="server" >
                            <option value="3">3</option>
                            <option selected="selected" value="4">4</option>
                            <option value="6">6</option>
                            <option value="8">8</option>
                            <option value="10">10</option>
                            <option value="12">12</option>
                            <option value="16">16</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>
                        <label for="orderType">
                            排序方式：</label>
                    </th>
                    <td>
                        <select id="orderType" name="sort" class="select" runat="server" >
                            <option selected="selected" value="Humanspirit">人气指数</option>
                            <option value="Hotkeep">热门收藏在前</option>
                            <option value="NewOn">最新产品在前</option>
                            <option value="Lowprice">低价格在前</option>
                            <option value="Hightprice">高价格在前</option>
                        </select>
                    </td>
                </tr>
            </tbody>
            <tfoot>
                <tr>
                    <th>
                        &nbsp;
                    </th>
                    <td>
                        <br />
                        <button class="ds-btn ds-btn-ok" type="button" onclick="SetShopProductList()">
                            保存</button>
                        <button id="Button1" type="Button" class='ds-btn ds-btn-cancel' onclick="closeProc();">
                            取 消</button>
                        <br>
                        <br />
                    </td>
                </tr>
            </tfoot>
        </table>
    </asp:PlaceHolder>
    <!-- 产品列表 -->
    <!-- 产品搜索 -->
    <asp:PlaceHolder ID="PHShopSearch" runat="server" Visible="false">
        <div class="setting setting-mod-search" id="Div1" data-maxrow="10">
            <table id="tabProductKey">
                <tr>
                    <td>
                        输入以下关键词
                    </td>
                    <td>
                        编辑
                    </td>
                </tr>
                <tr>
                    <td>
                        <input type="text" name="hotword" />
                    </td>
                    <td>
                        <a href="#" class="btn-del J_Del">删除</a>
                    </td>
                </tr>
            </table>
            <table>
                <tr>
                    <td colspan="2">
                        <table>
                            <colgroup>
                                <col width="200">
                                <col width="100">
                            </colgroup>
                            <tr class="setting-add">
                                <td>
                                </td>
                                <td>
                                    <a href="#" class="btn-add J_Add" onclick="AddtabShopKey()">添加</a>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tfoot>
                    <tr>
                        <td colspan="2">
                            <br />
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            <button class="ds-btn ds-btn-ok" type="button" onclick="SetShopKey()">
                                保存</button>
                            <asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="显示cookies"
                                Visible="false" />
                        </td>
                    </tr>
                </tfoot>
            </table><asp:Literal ID="PopularSearch" runat="server"></asp:Literal>
            <%--<table id="showKeyWord">
                <tr>
                    <td>
                        <asp:Literal ID="PopularSearch" runat="server"></asp:Literal>
                    </td>
                </tr>
            </table>--%>
        </div>
    </asp:PlaceHolder>
    <!-- 产品搜索 -->
    <!-- 宝贝排行 -->
    <asp:PlaceHolder ID="ShopRank" runat="server" Visible="false">
        <div class="setting setting-mod-rank">
            <table>
                <colgroup>
                    <col width="100" />
                </colgroup>
                <tbody>
                    <tr>
                        <th>
                            <label>
                                标题 ：</label>
                        </th>
                        <td>
                            <input id="RankModuleName" name="title" type="text" class="text" value="宝贝排行榜" runat="server" />
                            &nbsp;&nbsp;<em class="setting-tips">注：需要输入标题，默认是 "宝贝排行榜"</em>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            <label for="display-count">
                                选择分类：</label>
                        </th>
                        <td>
                            <select class="select" id="RankSelectClass" name="categoryId" runat="server">
                                <option value="-1">所有分类</option>
                            </select>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            <label for="display-count">
                                显示数量：</label>
                        </th>
                        <td>
                            <%--<select class="select" id="display-count" name="count" runat="server">--%>
                            <select class="select" id="displayCount" name="count" runat="server">
                                <option value="3">3个宝贝</option>
                                <option value="4">4个宝贝</option>
                                <option value="5">5个宝贝</option>
                                <option value="6">6个宝贝</option>
                                <option value="8">8个宝贝</option>
                                <option value="10" selected>10个宝贝</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            <label>
                                宝贝价格范围：</label>
                        </th>
                        <td>
                            <input id="RankPriceRange1" class="text price" type="text" name="lowPrice" value="" runat="server">&nbsp;元
                            --&nbsp;<input id="RankPriceRange2" class="text price" type="text" name="highPrice"
                                value="" runat="server">&nbsp;元 <span class="form-alert"></span>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            <label for="display-default">
                                默认显示：</label>
                        </th>
                        <td>
                            <%--<select class="select" id="display-content" name="list" runat="server">--%>
                            <select class="select" id="displayContent" name="list" runat="server">
                                <option value="topSelling" selected>本月热销排行</option>
                                <option value="topCollect">热门收藏排行</option>
                            </select>
                            &nbsp;&nbsp;<em class="setting-tips">提示:热卖宝贝是显示最近30天的售出数据</em>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                    </tr>
                </tbody>
                <tfoot>
                    <tr>
                        <th>
                            &nbsp;
                        </th>
                        <td>
                            <button class="ds-btn ds-btn-ok" type="button" onclick="SetProductRanking()">
                                保存</button>
                        </td>
                    </tr>
                </tfoot>
            </table>
        </div>
    </asp:PlaceHolder>
    <!-- 宝贝排行 -->
    <!-- 友情链接 -->
    <asp:PlaceHolder ID="Friendlinks" runat="server" Visible="false">
        <table width="100%" style="margin-left: 10px">
            <tr>
                <td style="font-size: 15px; font-weight: bold; text-align: left">
                    添加友情链接
                </td>
            </tr>
            <tr>
                <td>
                    会员名称：<asp:TextBox ID="UserNameBox" runat="server"></asp:TextBox>&nbsp&nbsp&nbsp<asp:Button
                        ID="AddLinks" OnClick="AddLinks_Click" runat="server" Text="添加链接" /></br>
                    <asp:Label ID="lbError" runat="server" Text="" ForeColor="Red"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="font-size: 15px; font-weight: bold; text-align: left">
                    管理已有链接
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Repeater ID="Repeater1" runat="server">
                        <HeaderTemplate>
                            <table style="width: 100%">
                                <tr>
                                    <td style="width: 70%">
                                        店铺名
                                    </td>
                                    <td style="width: 30%">
                                        操作
                                    </td>
                                </tr>
                            </table>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <table style="width: 100%">
                                <tr>
                                    <td style="width: 70%">
                                        <%#Eval("ShopName") %>
                                    </td>
                                    <td style="width: 30%">
                                        <asp:LinkButton ID="Dellbt" runat="server" OnClick="Dellbt_Click" OnClientClick="return confirm('确定删除？')">删除</asp:LinkButton>
                                        <asp:HiddenField ID="HiddenUserID" runat="server" Value='<%#Eval("FriendUserId") %>' />
                                    </td>
                                </tr>
                            </table>
                        </ItemTemplate>
                    </asp:Repeater>
                </td>
            </tr>
        </table>
    </asp:PlaceHolder>
    <!-- 友情链接 -->
    <!-- 图片轮廓 -->
    <asp:PlaceHolder ID="ShopSlider" runat="server" Visible="false">
        <div class="setting setting-mod-slide" id="J_MaxRowNum" data-maxrow="5">
            <table>
                <colgroup>
                    <col width="100" />
                </colgroup>
                <tbody>
                    <tr>
                        <th>
                            模块标题：
                        </th>
                        <td colspan="3">
                            <input type="text" id="PictureTitle" name="title" value="" class="input-text" />
                            <label>
                                显示标题栏</label><em class="setting-tips">30个字符以内,支持中英文数字和符号</em>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            <h4>
                                图片管理</h4>
                        </th>
                    </tr>
                    <tr>
                        <td colspan="4">
                            <table class="setting-tbl-base J_SettingTable" id="TableSlider">
                                <colgroup>
                                    <col width="200" />
                                    <col width="180" />
                                    <col width="190" />
                                </colgroup>
                                <thead>
                                    <tr>
                                        <th>
                                            图片地址
                                        </th>
                                        <th>
                                            链接地址
                                        </th>
                                        <th>
                                            操作
                                        </th>
                                    </tr>
                                </thead>
                                <!--<tr>
                                <td><input type="text" name="picture" value="" class="input-text" /></td>
                                <td><input type="text" name="urlAddress" value="" class="J_Address input-text" /></td>
                                <td>
									<a class="move-up J_TagMoveUp no-move-up " href="#" >上移</a>
									<a class="move-down J_TagMoveDown " href="#" >下移</a>
									<a href="#" class="btn-del J_DelImageMap J_Del">删除</a>
								</td>
                            </tr>-->
                            </table>
                        </td>
                    </tr>
                </tbody>
                <tbody>
                    <tr>
                        <td colspan="4">
                            <table>
                                <colgroup>
                                    <col width="200">
                                    <col width="180">
                                    <col width="190">
                                </colgroup>
                                <tbody>
                                    <tr class="setting-add">
                                        <td>
                                        </td>
                                        <td>
                                        </td>
                                        <td>
                                            <a href="#" class="btn-add J_Add" onclick="AddTableTR()">添加</a>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                </tbody>
                <tbody>
                    <tr>
                        <th>
                            <h4>
                                图片设置</h4>
                        </th>
                    </tr>
                    <tr>
                        <th>
                            图片像素：
                        </th>
                        <td colspan="3">
                            <select id="picHight" name="picHight" class="J_SliderSize" id='J_SliderSize'>
                                <option value="120">120px*120px</option>
                                <option value="140">140px*140px</option>
                                <option value="200">200px*200px</option>
                                <option value="300">300px*300px</option>
                                <option value="400">400px*400px</option>
                                <option value="500">500px*500px</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            切换效果：
                        </th>
                        <td>
                            <select id="showType" name="showType">
                                <option value="scrolly" selected="selected">上下滚动</option>
                                <option value="fade">渐变滚动</option>
                            </select>
                        </td>
                    </tr>
                </tbody>
                <tfoot>
                    <tr>
                        <th>
                            &nbsp;
                        </th>
                        <td colspan="3">
                            <br>
                            <button class="ds-btn ds-btn-ok" value="保存" type="button" onclick="setSlider()">
                                保存</button>
                            <button id="Button2" type="reset" class='ds-btn ds-btn-cancel' onclick="closeProc();">
                                取 消</button>
                        </td>
                    </tr>
                </tfoot>
            </table>
        </div>
    </asp:PlaceHolder>
    <!--图片轮廓 -->
    <!-- 交流区 -->
    <asp:PlaceHolder ID="EditExchangeArea" runat="server" Visible="false">
        <div class="setting setting-mod-bbs">
            <table>
                <colgroup>
                    <col width="80" />
                </colgroup>
                <tbody>
                    <tr>
                        <th>
                            <label for="display-content">
                                显示内容：</label>
                        </th>
                        <td>
                            <select name="rule" id="selectOrderBy" class="select" runat="server">
                                <option value="1" selected="selected">优先显示置顶贴</option>
                                <option value="2">优先显示精华帖</option>
                                <option value="3">优先显示掌柜回复贴</option>
                                <option value="4">优先显示最近更新贴</option>
                            </select>
                            &nbsp;&nbsp;<em class="setting-tips">掌柜未回复的贴子，买家不会看到</em>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            <label for="display-count">
                                显示帖数：</label>
                        </th>
                        <td>
                            <select name="sum" id="selectThreadNum" class="select" runat="server">
                                <option value="0" selected="selected">全部</option>
                                <option value="3">3</option>
                                <option value="4">4</option>
                                <option value="5">5</option>
                                <option value="6">6</option>
                                <option value="7">7</option>
                                <option value="8">8</option>
                                <option value="9">9</option>
                                <option value="10">10</option>
                            </select>
                        </td>
                    </tr>
                </tbody>
                <tfoot>
                    <tr>
                        <th>
                            &nbsp;
                        </th>
                        <td>
                            <button type="button" onclick="setThreadType()" class="ds-btn ds-btn-ok">
                                保存</button>
                        </td>
                    </tr>
                </tfoot>
            </table>
        </div>
    </asp:PlaceHolder>
    <!-- 交流区 -->
    <!-- 发布成功 -->
    <asp:PlaceHolder ID="SuccessIssue" runat="server" Visible="false">
        <table id="tableIssue1" style="margin-left: 20px; margin-top: 10px">
            <tr>
                <td>
                    <img src="images/dengIssue.gif" />大功告成！马上让买家看到你的最新店铺杰作吧！
                </td>
            </tr>
            <tr>
                <td style="height: 50px">
                    <button style="width: 100px; height: 21px" class="ds-btn ds-btn-ok" value="确认发布"
                        type="button" onclick="ConfirmIssue()">
                        确认发布</button>
                    <button style="width: 100px; height: 21px" id="Button4" type="reset" class='ds-btn ds-btn-cancel'
                        onclick="closeProc();">
                        返回</button>
                </td>
            </tr>
        </table>
        <table id="tableIssue2" style="margin-left: 20px; display: none; margin-top: 10px">
            <tr>
                <td>
                    <img src="images/IssueOK.gif" />发布成功！
                </td>
            </tr>
            <tr>
                <td>
                    <a class="ds-btn ds-btn-ok" target="_blank" href="ShopIndex.aspx?ShopID=<%=ShopID %>">
                        查看我的店铺</a>
                    <button id="Button5" type="reset" class='ds-btn ds-btn-cancel' onclick="closeProc();">
                        返回</button>
                </td>
            </tr>
        </table>
    </asp:PlaceHolder>
    <!-- 发布成功 -->
    <asp:HiddenField ID="HiddenShopID" runat="server" />
    </form>
    <p>
    </p>
</body>
</html>
