<%@ page language="C#" autoeventwireup="true" enableeventvalidation="false" validaterequest="false" inherits="HL_Admin_admin_Syslabelparameter, HoWaveVGO" debug="true" %> 
<!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="Css/StyleSheet.css" type="text/css" rel="stylesheet" />
   <link href="Css/tabpane.css" type="text/css" rel="stylesheet" />  
   <script type="text/javascript" src="../shop/js/prototype.js"/>
   <script type="text/javascript" src="../shop/js/scriptaculous.js"></script>    
   <script type="text/javascript" src="../shop/js/notebook.js"></script>    
   <script type="text/javascript">     
   function ImagesProduct()
   {  
        var strReturn=' <'+"%=myTemplateLableClass.ImagesProduct(\""+$F("ITxtExplain")+"\",\""; 
        if($("ICheckNClassChild").checked)
        { 
           var someNodeList = $("IListCLASSID").getElementsByTagName("option");
		   var nodes = $A(someNodeList); 
		   nodes.each (function(node){
			 if(node.selected)
		      strReturn+=node.value+"|";
		                             }); 
		   strReturn+="\","
	    }
	    else 
	    {
	      var someNodeList2 = $("IDropClassID");
	      index2=someNodeList2.selectedIndex; 
          if(index2<0)
          return; 
          strReturn+=someNodeList2.options(index2).value+"\","; 
	    } 
	    if($("ICheckIncludeChild").checked)
	      strReturn+="\"true\",";
	    else
	      strReturn+="\"false\",";
	    var someNodeList3 = $("IDropSpecialID");
	    index3=someNodeList3.selectedIndex; 
        if(index3<0)
        return; 
        strReturn+="\""+someNodeList3.options(index3).value +"\",";
	    strReturn+="\""+$F("ITxtNum")+"\",";
	    strReturn+="\""+$F("ITxtKeyWord")+"\",";
	    strReturn+="\""+$F("ITxtPlace")+"\",";
	    var someNodeList4 = $("IDropProductType")
	    index4=someNodeList4.selectedIndex; 
        if(index4<0)
        return; 
        strReturn+="\""+someNodeList4.options(index4).value +"\","; 
	    var someNodeList5 = $("IDropProductAttribute")
	    index5=someNodeList5.selectedIndex; 
        if(index5<0)
        return; 
        strReturn+="\""+someNodeList5.options(index5).value +"\",";
		strReturn+="\""+$F("ITxtUpdateNum")+"\",";
	    strReturn+="\""+$F("ITxtBeginDateNum")+"\",";
	    strReturn+="\""+$F("ITxtEndDateNum")+"\",";
	    var someNodeList6 = $("IDropOrderType")
	    index6=someNodeList6.selectedIndex; 
        if(index6<0)
        return; 
        strReturn+="\""+someNodeList6.options(index6).value+"\",";
        var someNodeList7 = $("IDropShowType");
	    index7=someNodeList7.selectedIndex; 
        if(index7<0)
        return; 
        strReturn+="\""+someNodeList7.options(index7).value+"\",";
	    strReturn+="\""+$F("ITxtmgWidth")+"\",";
	    strReturn+="\""+$F("ITxtmgHeight")+"\",";
	    strReturn+="\""+$F("ITxtTitleLen")+"\",";
	    var someNodeList8= $("IDropCols") ;  
	    index8=someNodeList8.selectedIndex; 
        if(index8<0)
        return; 
        strReturn+="\""+someNodeList8.options(index8).value+"\",";
        if($("IcheckShowDiscount").checked)
		       strReturn+="\"true\",";
	    else
		      strReturn+="\"false\",";
	    var someNodeList9= $("IDropShowButtonType") ;  
	    index9=someNodeList9.selectedIndex; 
        if(index9<0)
        return; 
        strReturn+="\""+someNodeList9.options(index9).value+"\",";
	    strReturn+="\""+$F("ITxtStyleContent")+"\",";
	    strReturn+="\""+$F("ITxtStyleFav")+"\",";  
		var someNodeList10 = $("IDropOpenType") ;  
	    index10=someNodeList10.selectedIndex; 
        if(index10<0)
        return; 
        strReturn+="\""+someNodeList10.options(index10).value+"\")%>";
        window.parent.returnValue =  strReturn ; 
        window.parent.close(); 
    }
   function TitleProduct()
   { 
        var strReturn=' <'+"%=myTemplateLableClass.TitleProduct(\""+$F("LTxtExplain")+"\",\"";  
        if($("LCheckNClassChild").checked)
        {  
           var someNodeList = $("LListCLASSID").getElementsByTagName("option");
		   var nodes = $A(someNodeList); 
		   nodes.each (function(node){
		   if(node.selected)
		      strReturn+=node.value+"|";
		                             }); 
		   strReturn+="\","
	    }
	    else 
	    {
	      var someNodeList2 = $("LDropClassID")
	      index2=someNodeList2.selectedIndex; 
          if(index2<0)
          return; 
          strReturn+=someNodeList2.options(index2).value+"\","; 
	    }
	    if($("LCheckIncludeChild").checked)
	      strReturn+="\"true\",";
	    else
	      strReturn+="\"false\",";
	    var someNodeList3 = $("LDropSpecialID");
	    index3=someNodeList3.selectedIndex; 
        if(index3<0)
        return; 
        strReturn+="\""+someNodeList3.options(index3).value +"\",";
        var someNodeList4 = $("LDropShowType")
	    index4=someNodeList4.selectedIndex; 
        if(index4<0)
        return; 
        strReturn+="\""+someNodeList4.options(index4).value +"\","; 
	    strReturn+="\""+$F("LTxtNum")+"\","; 
	    strReturn+="\""+$F("LTxtKeyWord")+"\","; 
	    strReturn+="\""+$F("LTxtPlace")+"\",";  
	    var someNodeList5 = $("LDropProductType");
	    index5=someNodeList5.selectedIndex; 
        if(index5<0)
        return; 
        strReturn+="\""+someNodeList5.options(index5).value +"\","; 
        var someNodeList6 = $("LDropProductAttribute");
	    index6=someNodeList6.selectedIndex; 
        if(index6<0)
        return; 
        strReturn+="\""+someNodeList6.options(index6).value +"\","; 
        var someNodeList12 = $("LDropShowPropertyType");
	    index12=someNodeList12.selectedIndex; 
        if(index12<0)
        return; 
        strReturn+="\""+someNodeList12.options(index12).value +"\","; 
	    strReturn+="\""+$F("LTxtUpDateDateNum")+"\",";
	    strReturn+="\""+$F("LTxtBeginDateNum")+"\",";
	    strReturn+="\""+$F("LTxtEnddateNum")+"\",";
	    var someNodeList7 = $("LDropOrderType"); 
	    index7=someNodeList7.selectedIndex; 
        if(index7<0)
        return; 
        strReturn+="\""+someNodeList7.options(index7).value+"\","; 
	    strReturn+="\""+$F("LTxtTitleLen")+"\",";
	    strReturn+="\""+$F("LTxtContentLen")+"\",";
	    if($("LCheckShowClassName").checked)
	      strReturn+="\"true\",";
	    else
	      strReturn+="\"false\","; 
	    var someNodeList8= $("LDropShowDateType") ;  
	    index8=someNodeList8.selectedIndex; 
        if(index8<0)
           return; 
        strReturn+="\""+someNodeList8.options(index8).value+"\",";
	    if($("LCheckShowHotSign").checked)
	      strReturn+="\"true\",";
	    else
	      strReturn+="\"false\","; 
	    if($("LCheckShowNewSign").checked)
	      strReturn+="\"true\",";
	    else 
	      strReturn+="\"false\",";  
	    if($("LCheckShowEliteSign").checked)
	      strReturn+="\"true\",";
	    else 
	      strReturn+="\"false\","; 	      
	    if($("LCheckUsePage").checked)
	      strReturn+="\"true\",";
	    else 
	      strReturn+="\"false\",";  
        var someNodeList9 = $("LDropOpenType") ;  
        index9=someNodeList9.selectedIndex; 
        if(index9<0)
        return; 
        strReturn+="\""+someNodeList9.options(index9).value+"\",";
        strReturn+="\""+$F("LTxtIntervalLines")+"\",";  
        strReturn+="\""+$F("LTxtTableTitleStr1")+"\",";
        strReturn+="\""+$F("LTxtTableTitleStr2")+"\",";
        strReturn+="\""+$F("LTxtTableTitleStr3")+"\",";
        strReturn+="\""+$F("LTxtTableTitleStr4")+"\",";
        strReturn+="\""+$F("LTxtTableTitleStr5")+"\",";
        strReturn+="\""+$F("LTxtTableTitleStr6")+"\",";
        strReturn+="\""+$F("LTxtTableTitleStr7")+"\",";
        strReturn+="\""+$F("LTxtTableTitleStr8")+"\",";
        strReturn+="\""+$F("LTxtTableTitleStr9")+"\",";
        strReturn+="\""+$F("LTxtTableTitleStr10")+"\",";
        strReturn+="\""+$F("LTxtTableTitleStr11")+"\",";
        strReturn+="\""+$F("LTxtTableTitleStr12")+"\","; 
        var someNodeList10 = $("LDropShowButtonType") ;  
        index10=someNodeList10.selectedIndex; 
        if(index10<0)
        return; 
        strReturn+="\""+someNodeList10.options(index10).value+"\",";
        if($("LCheckShowTableTitle").checked)
	      strReturn+="\"true\",";
	    else 
	      strReturn+="\"false\","; 
	    if($("LCheckShowProductType").checked)
	      strReturn+="\"true\",";
	    else 
	      strReturn+="\"false\","; 
	     if($("LCheckShowProductRemark").checked)
	      strReturn+="\"true\",";
	    else 
	      strReturn+="\"false\","; 
	    if($("LCheckShowBeginDate").checked)
	      strReturn+="\"true\",";
	    else 
	      strReturn+="\"false\","; 
	    if($("LCheckShowUnit").checked)
	      strReturn+="\"true\",";
	    else 
	      strReturn+="\"false\","; 
	    if($("LCheckShowStocks").checked)
	      strReturn+="\"true\",";
	    else
	      strReturn+="\"false\","; 
	    if($("LCheckProductStandard").checked)
	      strReturn+="\"true\",";
	    else 
	      strReturn+="\"false\","; 
	    if($("LCheckPrice").checked)
	      strReturn+="\"true\",";
	    else 
	      strReturn+="\"false\","; 
	    if($("LCheckEndDate").checked)
	      strReturn+="\"true\",";
	    else 
	      strReturn+="\"false\","; 
	    if($("LCheckProductPlace").checked)
	      strReturn+="\"true\",";
	    else
	      strReturn+="\"false\",";  
	     if($("LCheckShowDiscount").checked)
	      strReturn+="\"true\",";
	    else
	      strReturn+="\"false\","; 
	    if($("LCheckShowSaler").checked)
	    strReturn+="\"true\",";
	    else 
	    strReturn+="\"false\",";   
	    strReturn+="\""+$F("LTxtStyleContent")+"\",";
	    strReturn+="\""+$F("LTxtStyleFav")+"\",";
	    strReturn+="\""+$F("LTxtCssNameTable")+"\",";
	    strReturn+="\""+$F("LTxtCssNameTitle")+"\",";
	    strReturn+="\""+$F("LTxtCssNameA")+"\",";
	    strReturn+="\""+$F("LTxtCssName1")+"\",";
	    strReturn+="\""+$F("LTxtCssName2")+"\")%>"; 
        window.parent.returnValue =  strReturn ; 
        window.parent.close(); 
       
   }
   function SlideProduct()
   {
        var strReturn=' <'+"%=myTemplateLableClass.SlideProduct(\""+$F("STxtExplain")+"\",\"";  
        if($("SCheckNClassChild").checked)
        {  
           var someNodeList = $("SListCLASSID").getElementsByTagName("option");
		   var nodes = $A(someNodeList); 
		   nodes.each (function(node){
		   if(node.selected)
		      strReturn+=node.value+"|";
		                             }); 
		   strReturn+="\","
	    }
	    else 
	    {
	      var someNodeList2 = $("SDropClassID");
	      index2=someNodeList2.selectedIndex; 
          if(index2<0)
          return; 
          strReturn+=someNodeList2.options(index2).value+"\","; 
	    } 
	   if($("SCheckIncludeChild").checked)
	      strReturn+="\"true\",";
	    else
	      strReturn+="\"false\",";
	    var someNodeList3 = $("SDropSpecialID");
	    index3=someNodeList3.selectedIndex; 
        if(index3<0)
        return; 
        strReturn+="\""+someNodeList3.options(index3).value +"\",";
	    strReturn+="\""+$F("STxtNum")+"\",";
	    strReturn+="\""+$F("STxtKeyWord")+"\",";
	    strReturn+="\""+$F("STxtPlace")+"\","; 
	    var someNodeList4 = $("SDropProductType");
	    index4=someNodeList4.selectedIndex; 
        if(index4<0)
        return;  
        strReturn+="\""+someNodeList4.options(index4).value +"\",";  
	    var someNodeList5 = $("SDropProductAttribute")
	    index5=someNodeList5.selectedIndex; 
        if(index5<0)
        return; 
        strReturn+="\""+someNodeList5.options(index5).value +"\",";
	    strReturn+="\""+$F("STxtUpdateNum")+"\",";
	    strReturn+="\""+$F("STxtBeginDateNum")+"\",";
	    strReturn+="\""+$F("STxtEndDateNum")+"\",";
	    var someNodeList6 = $("SDropOrderType");
	    index6=someNodeList6.selectedIndex; 
        if(index6<0)
        return; 
        strReturn+="\""+someNodeList6.options(index6).value+"\","; 
	    strReturn+="\""+$F("STxtmgWidth")+"\","; 
	    strReturn+="\""+$F("STxtmgHeight")+"\","; 
	    strReturn+="\""+$F("STxtTitleLen")+"\","; 
	    strReturn+="\""+$F("STxtiTimeOut")+"\","; 
	    strReturn+="\""+$F("STxteffectID")+"\")%>";   
        window.parent.returnValue =  strReturn ; 
        window.parent.close(); 
   }
   
   function Attributes(RBLArticle,TxtANum)
   { 
        var index=RBLArticle.selectedIndex;  
        var  StrLable =' <'+"%=myTemplateLableClass.ShowIndexArticle("+'"';
        StrLable+=RBLArticle.options(index).value;
        StrLable+='"'+"," +TxtANum.value + ")%> ";
        window.parent.returnValue =  StrLable ; 
        window.parent.close(); 
   }
   function Probutes(RBLPro,TxtProNum)
   { 
       var index=RBLPro.selectedIndex;  
       var StrLable = ' <'+"%=myTemplateLableClass.ShowIndexProduct("+'"' ;
       StrLable=StrLable+RBLPro.options(index).value
       StrLable=StrLable+'"'+"," + TxtProNum.value + ")%> ";
       window.parent.returnValue =  StrLable ; 
       window.parent.close(); 

   }
   
   function  Custom_Contenbutes(count)
   {
       var index=count.selectedIndex;  
       var StrLable = ' <'+"%=myTemplateLableClass.ShowCustom_Content("+ count.options(index).value+")%> ";
       window.parent.returnValue =  StrLable ; 
       window.parent.close(); 
   }
  
   function  Custom_ShowAnnounces(count)
   {
       var index=count.selectedIndex;  
       var StrLable = ' <'+"%=myTemplateLableClass.GetAnnounce("+ count.options(index).value+")%> ";
       window.parent.returnValue =  StrLable ; 
       window.parent.close(); 
   }
  
  
  function  Custom_ShowHotSearchCount(count)
   {
       var index=count.selectedIndex;  
       var StrLable = ' <'+"%=myTemplateLableClass.ShowHotKey("+ count.options(index).value+")%> ";
       window.parent.returnValue =  StrLable ; 
       window.parent.close(); 
   }
   

   </script> 
</head>
<body style=" background-color:White; font: smallcaption;">
    <form id="form1" runat="server">
    <div >
        &nbsp;<asp:TextBox ID="Laburl" runat="server" BackColor="White" BorderColor="White"
            ForeColor="White" BorderWidth="0"></asp:TextBox>
            </div>
    <div>
        <asp:Panel ID="PanelProduct" runat="server" Height="50px" Width="750px" Visible="False">
        <table class="nick" width="100%">
                <tr>
                    <td class="ltd">
                        商品类型：</td>
                    <td class="rtd">
                        <asp:ListBox ID="LBPro" runat="server"  Width="125px">
                            <asp:ListItem Selected="True" Value="ontop">推荐商品</asp:ListItem>
                            <asp:ListItem Value="ishot">热门商品</asp:ListItem>
                            <asp:ListItem Value="isnew">最新商品</asp:ListItem>
                            <asp:ListItem Value="isend">即将结束商品</asp:ListItem>
                        </asp:ListBox></td>
                </tr>
                <tr>
                    <td class="ltd">
                    显示行数：</td>
                    <td class="rtd">
                    <asp:TextBox ID="txtProNum" runat="server" Text="1"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtProNum"
                        ErrorMessage="不能为空"></asp:RequiredFieldValidator>
                    <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txtProNum"
                        ErrorMessage="必须为整数类型" MaximumValue="999999999" MinimumValue="1" Type="Integer"
                        ></asp:RangeValidator></td>
                </tr>
                <tr>
                <td style="height: 28px" colspan="2">
                    &nbsp;<input id="butpro" onclick="Probutes(LBPro,txtProNum);" type="button" value="确定" title="确定" /></td>
            </tr>
        </table>
            <br />
        </asp:Panel>
        &nbsp;
    
    </div>
        <asp:Panel ID="PanelArticle" runat="server" Height="50px" Width="750px" Visible="False">
        <table class="nick" width="100%">
            <tr>
                <td class="ltd">
                    文章类型：</td>
                <td class="rtd">
                    <asp:ListBox ID="LBArticle" runat="server" Width="125px">
                        <asp:ListItem Value="action">精彩活动</asp:ListItem>
                        <asp:ListItem Selected="true" Value="announce">首页公告</asp:ListItem>
                        <asp:ListItem Value="promote">促销区</asp:ListItem>
                        <asp:ListItem   Value="guide">购物指南</asp:ListItem>
                        <asp:ListItem  Value="bbsbest">社区精华</asp:ListItem>
                    </asp:ListBox></td>
            </tr>
            <tr>
                <td class="ltd">
                    显示行数：</td>
                <td class="rtd">
                    <asp:TextBox ID="TxtANum" runat="server">1</asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxtANum"
                        ErrorMessage="不能为空"></asp:RequiredFieldValidator>
                    <asp:RangeValidator ID="RangeValidator2" runat="server" ControlToValidate="TxtANum"
                        ErrorMessage="必须为整数类型" MaximumValue="999999999" MinimumValue="1" Type="Integer" Width="160px"></asp:RangeValidator></td>
            </tr>
            <tr>
                <td style="height: 28px" colspan="2">
                    &nbsp;<input id="ButA" onclick="Attributes(LBArticle,TxtANum);" type="button" value="确定" title="确定" />
                    </td>
            </tr>
        </table>
        </asp:Panel>
        <br />
        <asp:Panel ID="PanelTitleProduct" runat="server" Height="50px" Width="950px" Visible="False">
            <table class="nick" width="100%">
                <tr>
                    <td class="tit" colspan="2" height="22">
                        <strong>商城列表函数标签</strong></td>
                </tr>
                <tr>
                    <td class="ltd" height="25">
                        <strong>所属类别：</strong></td>
                    <td class="rtd" height="25">
                        &nbsp;<asp:ScriptManager ID="ScriptManager1" runat="server">
                        </asp:ScriptManager>
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                                <asp:DropDownList ID="LDropClassID" runat="server" AppendDataBoundItems="True"
                            DataSourceID="ObjectDataSource1" DataTextField="ClassName" DataValueField="ClassID">
                            <asp:ListItem Value="-1">所有栏目</asp:ListItem>
                            <asp:ListItem Value="-2">未指向任何栏目</asp:ListItem>
                            <asp:ListItem Value="-3">当前栏目</asp:ListItem>
                            <asp:ListItem Value="-4">当前栏目（不包含子栏目）</asp:ListItem>
                        </asp:DropDownList>
                        <asp:ListBox ID="LListCLASSID" Visible="false" runat="server" DataSourceID="ObjectDataSource1" DataTextField="ClassName"
                            DataValueField="ClassID" Height="147px" SelectionMode="Multiple"></asp:ListBox>
                            </ContentTemplate>
                            <Triggers>
                            <asp:AsyncPostBackTrigger ControlID="LCheckNClassChild" EventName="CheckedChanged" /></Triggers>
                        </asp:UpdatePanel>
                        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetAllClass"
                            TypeName="Shop_Class"></asp:ObjectDataSource>
                        <asp:CheckBox ID="LCheckIncludeChild" runat="server" Text="包含子栏目  注意：不能指定为外部栏目 " />
                        <br />
                        <asp:CheckBox ID="LCheckNClassChild"  runat="server" Text="是否选择多个栏目  注意：多选红色的栏目不能选 " AutoPostBack="True" /></td>
                </tr>
                <tr>
                    <td class="ltd" height="25">
                        <strong>所属专题：</strong></td>
                    <td class="rtd">
                        &nbsp;<asp:DropDownList ID="LDropSpecialID" runat="server" AppendDataBoundItems="True"
                            DataSourceID="ObjectDataSource2" DataTextField="SpecialName" DataValueField="SpecialID">
                            <asp:ListItem Value="-2">不属于任何专题</asp:ListItem>
                            <asp:ListItem Value="-1">属于任何专题</asp:ListItem>
                            <asp:ListItem Value="-3">当前频道专题</asp:ListItem>
                        </asp:DropDownList><asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="GetSpecialByChannel"
                            TypeName="SpecialBll">
                            <SelectParameters>
                                <asp:Parameter DefaultValue="40" Name="ChannelID" Type="Int32" />
                            </SelectParameters>
                        </asp:ObjectDataSource>
                    </td>
                </tr>
                <tr>
                    <td class="ltd" height="25">
                        <strong>标签说明：</strong></td>
                    <td class="rtd">
                        <input id="LTxtExplain" maxlength="20" name="lableExplain" runat="server" style="width: 236px" value="这是商品标题标签，请注意参数的顺序" />
                        &nbsp;<font color="blue" style="font-size: 12px">请在这里填写标签的使用说明方便以后的查找</font>
                    </td>
                </tr>
                <tr>
                    <td class="ltd" height="25">
                        <strong>显示样式：</strong></td>
                    <td class="rtd"> 
                        <asp:DropDownList ID="LDropShowType" runat="server">
                        <asp:ListItem Text="普通列表" Value="1"/> 
                        <asp:ListItem Text="表格式" Value="2"/> 
                        <asp:ListItem Enabled="false" Text="各项独立式" Value="3"/> 
                        <asp:ListItem Text="输出DIV格式" Value="4"/> 
                        <asp:ListItem Enabled="false"  Text="输出RSS格式" Value="5"/> 
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>商品数目：</strong></td>
                    <td class="rtd">
                        <input maxlength="3" name="TxtNum" size="5" value="10" id="LTxtNum" runat="server" />
                        &nbsp; &nbsp; &nbsp;<font color="#ff0000">如果为0，将显示所有商品，不能为空。</font></td>
                </tr>
                <tr>
                    <td class="ltd">
                        关键字：</td>
                    <td class="rtd">
                        <input maxlength="3" name="TxtNum" size="5" id="LTxtKeyWord" runat="server" /></td>
                </tr>
                <tr>
                    <td class="ltd">
                        所在地：</td>
                    <td class="rtd">
                        <input maxlength="3" name="TxtNum" size="5" id="LTxtPlace" runat="server" /></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>产品类型：</strong></td>
                    <td class="rtd"> 
                        <asp:DropDownList ID="LDropProductType" runat="Server">
                        <asp:ListItem Value="所有" Text="所有"   />
                        <asp:ListItem Value="团购" Text="团购"  />
                        <asp:ListItem Value="拍卖" Text="拍卖"   />
                        <asp:ListItem Value="一口价" Text="一口价"   />
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>商品属性：</strong></td>
                    <td class="rtd"><asp:DropDownList runat="server" ID="LDropProductAttribute">
                        <asp:ListItem Text="都不是" Value="-1" />
                        <asp:ListItem Text="推荐" Value="IsElite" />
                        <asp:ListItem Text="热门" Value="IsHot" />
                    </asp:DropDownList></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>商品属性图片：</strong></td>
                    <td class="rtd">
                        <table 1 cellpadding="0" cellspacing="0" height="100%" valign="top" width="100%">
                            <tr>
                                <td width="100"> 
                                    <asp:DropDownList ID="LDropShowPropertyType" runat="server">
                                    <asp:ListItem Text="不显示" Value="0" />
                                    <asp:ListItem Text="符号" Value="1" />
                                    <asp:ListItem Text="小图片（样式 1）" Value="2" />
                                    <asp:ListItem Text="小图片（样式 2）" Value="3" />
                                    <asp:ListItem Text="小图片（样式 3）" Value="4" />
                                    <asp:ListItem Text="小图片（样式 4）" Value="5" />
                                    <asp:ListItem Text="小图片（样式 5）" Value="6" />
                                    </asp:DropDownList>
                                </td>
                                <td id="objFiles" style="display: none">
                                    &nbsp; 普通图片 &nbsp;<img id="common" alt="普通图片" 1 src="/images/Product_common.gif" />
                                    &nbsp;推荐图片 &nbsp;<img id="elite" alt="推荐图片" 1 src="/images/Product_elite.gif" />
                                    &nbsp;固定图片 &nbsp;<img id="ontop" alt="固定图片" 1 src="/images/Product_ontop.gif" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>日期范围：</strong></td>
                    <td class="rtd">
                        只显示最近
                        <input id="LTxtUpDateDateNum" maxlength="3" name="DateNum" size="5" value="0" runat="server" />
                        天内更新的商品&nbsp;<br />
                        只显示最近
                        <input id="LTxtBeginDateNum" maxlength="3" name="DateNum" size="5" value="0" runat="server" />
                        天内上市的商品&nbsp;<br />
                        只显示最近
                        <input id="LTxtEnddateNum" maxlength="3" name="DateNum" size="5" value="0" runat="server" />
                        天内结束的商品<br />
                        <font color="#ff0000"> 如果为空或0，则显示所有天数的商品，不能为空。</font></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>排序方法：</strong></td>
                    <td class="rtd">
                       <asp:DropDownList ID="LDropOrderType" runat="server" >
                            <asp:ListItem Text="商品ID（降序）" Value="1" />
                            <asp:ListItem Text="商品ID（升序）" Value="2" />
                            <asp:ListItem Text="更新时间（降序）" Value="3" />
                            <asp:ListItem Text="更新时间（升序）" Value="4" />
                            <asp:ListItem Text="点击次数（降序）" Value="5" />
                            <asp:ListItem Text="点击次数（升序）" Value="6" />
                            <asp:ListItem Text="结束日期（降序）" Value="7" />
                            <asp:ListItem Text="结束日期(升序）" Value="8" />
                            <asp:ListItem Text="上市日期（降序）" Value="9" />
                            <asp:ListItem Text="上市日期（升序)" Value="10" />
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>标题最多字符数：</strong></td>
                    <td class="rtd">
                        <input id="LTxtTitleLen" maxlength="3" name="TitleLen" size="5" value="0" runat="server" />
                        &nbsp; &nbsp; <font color="#ff0000">如果为0，则显示完整标题。字母算一个字符，汉字算两个字符 ，不能为空。</font></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>商品内容字符数：</strong></td>
                    <td class="rtd">
                        <input id="LTxtContentLen" maxlength="3" name="ContentLen" size="5" value="30" runat="server" />
                        &nbsp; &nbsp; <font color="#ff0000">如果大于0，则在标题下方面显示指定字数的商品内容，不能为空</font></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>显示内容：</strong></td>
                    <td class="rtd">
                        <table 1 cellpadding="1" cellspacing="2" width="100%">
                            <tr>
                                <td style="height: 24px">
                                    <input id="LCheckShowClassName" name="ShowClassName" type="checkbox" value="1" runat="server" />所属栏目</td>
                                <td style="height: 24px">
                                    更新时间 
                                    <asp:DropDownList ID="LDropShowDateType" runat="Server">
                                    <asp:ListItem Text="不显示" Value="0" />
                                    <asp:ListItem Text="短时间" Value="1" />
                                    <asp:ListItem Text="长时间" Value="2" />
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td style="height: 22px">
                                    <input id="LCheckShowHotSign" name="ShowHotSign" type="checkbox" runat="server" />热点商品标志</td>
                                <td style="height: 22px">
                                    <input id="LCheckShowNewSign" name="ShowNewSign" type="checkbox" value="1" runat="server" />最新商品标志</td>
                                <td style="height: 22px">
                                    <input id="LCheckUsePage" name="UsePage" type="checkbox" value="1" runat="server" />是否分页显示</td>
                            </tr>
                            <tr>
                                <td colspan="3" style="height: 22px">
                                    <input id="LCheckShowEliteSign" name="ShowHotSign" type="checkbox" value="1" runat="server" />推荐商品标志</td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>商品打开方式：</strong></td>
                    <td class="rtd">
                        &nbsp;<asp:DropDownList runat="server" ID="LDropOpenType">
                            <asp:ListItem Text="在原窗口打开" Value="0"/>
                            <asp:ListItem Text="在新窗口打开" Value="1"/>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>每隔多少行空白一行：</strong></td>
                    <td class="rtd">
                        <input maxlength="10" name="IntervalLines" size="10" id="LTxtIntervalLines" runat="server" />
                        <font color="blue">为0时不空行，不能为空</font></td>
                </tr>
                <tr>
                    <td class="ltd" height="25">
                        <strong>表格头部文字：</strong></td>
                    <td class="rtd" height="25px">
                        <table align="center"  cellpadding="0" cellspacing="0" height="100%" width="100%">
                            <tr align="middle" class="tdbg">
                                <td style="height: 17px">
                                    商品名称</td>
                                <td style="height: 17px">
                                    类型</td>
                                <td style="height: 17px">
                                    描述</td>
                                <td style="height: 17px">
                                    上市时间</td>
                                <td style="height: 17px">
                                    单位</td>
                                <td style="height: 17px">
                                    库存量</td>
                                <td style="height: 17px">
                                    新旧程度</td>
                            </tr>
                            <tr align="middle" class="tdbg">
                                <td>
                                    <input maxlength="20" name="TableTitleStr1" size="10" style="text-align: center"
                                        value="商品名称" id="LTxtTableTitleStr1" runat="server" /></td>
                                <td>
                                    <input maxlength="20" name="TableTitleStr2" size="10" style="text-align: center"
                                        value="类型" id="LTxtTableTitleStr2" runat="server" /></td>
                                <td>
                                    <input maxlength="20" name="TableTitleStr3" size="10" style="text-align: center"
                                        value="描述" id="LTxtTableTitleStr3" runat="server" /></td>
                                <td>
                                    <input maxlength="20" name="TableTitleStr4" size="10" style="text-align: center"
                                        value="上市时间" id="LTxtTableTitleStr4" runat="server" /></td>
                                <td>
                                    <input maxlength="20" name="TableTitleStr5" size="10" style="text-align: center"
                                        value="单位" id="LTxtTableTitleStr5" runat="server" /></td>
                                <td>
                                    <input maxlength="20" name="TableTitleStr6" size="10" style="text-align: center"
                                        value="库存量" id="LTxtTableTitleStr6" runat="server" /></td>
                                <td>
                                    <input maxlength="20" name="TableTitleStr7" size="10" style="text-align: center"
                                        value="新旧程度" id="LTxtTableTitleStr7" runat="server" /></td>
                            </tr>
                            <tr align="middle" class="tdbg">
                                <td style="height: 18px">
                                    商品价格</td>
                                <td style="height: 18px">
                                    结束日期</td>　
                                <td style="height: 18px">
                                    所在地</td>
                                <td style="height: 18px">
                                    折扣率</td>
                                <td style="height: 18px">
                                    卖家</td>
                            </tr>
                            <tr align="middle" class="tdbg">
                                <td>
                                    <input maxlength="20" name="TableTitleStr8" size="10" style="text-align: center"
                                        value="商品价格" id="LTxtTableTitleStr8" runat="server" /></td>
                                <td>
                                    <input maxlength="20" name="TableTitleStr9" size="10" style="text-align: center"
                                        value="结束日期" id="LTxtTableTitleStr9" runat="server" /></td>
                                <td>
                                    &nbsp;<input maxlength="20" name="TableTitleStr11" size="10" style="text-align: center"
                                        value="所在地" id="LTxtTableTitleStr10" runat="server" /></td>
                                <td>
                                    <input maxlength="20" name="TableTitleStr12" size="10" style="text-align: center"
                                        value="折扣率" id="LTxtTableTitleStr11" runat="server" /></td>
                                <td><input maxlength="20" name="TableTitleStr12" size="10" style="text-align: center"
                                        value="卖家" id="LTxtTableTitleStr12" runat="server" /></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>按钮显示方式：</strong></td>
                    <td class="rtd">
                        &nbsp;<asp:DropDownList runat="server" ID="LDropShowButtonType">
                            <asp:ListItem Text="都显示" Value="0" />
                            <asp:ListItem Text="显示详细按钮" Value="1" />
                            <asp:ListItem Text="显示收藏按钮" Value="2" />
                            <asp:ListItem Text="都不显示" Value="4" />
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>显示商品详细信息：</strong></td>
                    <td class="rtd">
                        <table  cellpadding="1" cellspacing="2" width="100%">
                            <tr>
                                <td>
                                    <input id="LCheckShowTableTitle" name="ShowTableTitle" type="checkbox" value="1" runat="server" />表格头部文字</td>
                                <td>
                                    <input id="LCheckShowProductType" name="ShowProductModel" type="checkbox" value="1" runat="server" />是否显示商品类型</td>
                                <td>
                                    <input id="LCheckShowProductRemark" name="ShowProductStandard" type="checkbox" value="1" runat="server" />是否显示商品描述</td>
                            </tr>
                            <tr>
                                <td style="height: 40px">
                                    <input id="LCheckShowBeginDate" name="ShowUnit" type="checkbox" value="1" runat="server" />是否显示商品上市时间</td>
                                <td style="height: 40px">
                                    <input id="LCheckShowUnit" name="ShowWeight" type="checkbox" value="1" runat="server" />是否显示商品单位</td>
                                <td style="height: 40px">
                                    <input id="LCheckShowStocks" name="ShowPrice_Market" type="checkbox" value="1" runat="server" />是否显示商品库存量</td>
                            </tr>
                            <tr>
                                <td style="height: 22px">
                                    <input id="LCheckProductStandard" name="ShowPrice_Original" type="checkbox" value="1" runat="server" />是否显示商品新旧程度</td>
                                <td style="height: 22px">
                                    <input id="LCheckPrice" name="ShowPrice" type="checkbox" value="1" runat="server" />是否显示商品价格</td>
                                <td style="height: 22px">
                                    <input id="LCheckEndDate" name="ShowPrice_Member" type="checkbox" value="1" runat="server" />是否显示结束日期</td>
                                <td style="height: 22px">
                                    <input id="LCheckProductPlace" name="ShowDiscount" type="checkbox" value="1" runat="server" />是否显示所在地</td>
                            </tr>
                            <tr>
                                <td>
                                    <input id="LCheckShowDiscount" name="ShowPrice_Original" type="checkbox" value="1" runat="server" />是否显示商品折扣率</td>
                                <td>
                                    <input id="LCheckShowSaler" name="ShowPrice" type="checkbox" value="1" runat="server" />是否显示商品卖家</td>
                               
                             
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>按钮样式：</strong></td>
                    <td class="rtd">
                        显示详细按纽<input maxlength="20" name="ButtonStyle" size="10" id="LTxtStyleContent" runat="server" />
                        &nbsp;<br />
                        显示收藏按扭<input maxlength="20" name="ButtonStyle" size="10" id="LTxtStyleFav" runat="server" /><br />
                        <font color="blue">请填写定义图片数字</font><br />
                        举例：<br />
                        /Shop/images/ProductBuy<font color="blue">“数字”</font>.gif<br />
                        /Shop/images/ProductContent<font color="blue">“数字”</font>.gif<br />
                        /Shop/images/ProductFav<font color="blue">“数字”</font>.gif<br />
                        &nbsp; <font color="blue">请按以上方式制作上传自定义按钮图片</font></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>表格CSS：</strong></td>
                    <td class="rtd">
                        <input maxlength="10" name="CssNameTable" size="10" id="LTxtCssNameTable" runat="server" />
                        &nbsp; &nbsp;<font color="#ff0000">表格的CSS类名，可选参数(仅在表格式有效)</font></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>表格头部CSS：</strong></td>
                    <td class="rtd">
                        <input maxlength="10" name="CssNameTitle" size="10" id="LTxtCssNameTitle" runat="server" />
                        &nbsp; &nbsp;<font color="#ff0000">表格头部行的CSS类名，可选参数。(仅在表格式有效)</font></td>
                </tr>
                <tr>
                    <td class="ltd" height="25">
                        <strong>CSS类名：</strong></td>
                    <td class="rtd">
                        <input maxlength="10" name="CssNameA" size="10" id="LTxtCssNameA" runat="server" />
                        &nbsp; &nbsp;<font color="#ff0000">列表中文字链接调用的CSS类名，可选参数(仅在表格式有效)</font></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>风格样式1：</strong></td>
                    <td class="rtd">
                        <input maxlength="10" name="CssName1" size="10" id="LTxtCssName1" runat="server" />
                        &nbsp; &nbsp;<font color="#ff0000">列表中奇数行的CSS效果的类名，可选参数(仅在表格式有效)</font></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>风格样式2：</strong></td>
                    <td class="rtd">
                        <input maxlength="10" name="CssName2" size="10" id="LTxtCssName2" runat="server" />
                        &nbsp; &nbsp;<font color="#ff0000">列表中偶数行的CSS效果的类名，可选参数(仅在表格式有效)</font></td>
                </tr>
                <tr>
                    <td align="middle" colspan="2" height="40">
                        <input id="MakeJS" name="MakeJS" type="button"  onclick="TitleProduct();"  value=" 确 定 "  />
                    </td>
                </tr>
            </table>
        </asp:Panel>
        <br />
        <asp:Panel ID="PanelImagesProduct" runat="server" Height="50px" Width="950px" Visible="False">
            <table  class="nick" width="100%">
                <tr>
                    <td class="tit" colspan="2" height="22">
                        <strong>显示图片商城标签</strong></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>所属栏目：</strong></td>
                    <td class="rtd">
                        &nbsp;&nbsp;<asp:UpdatePanel ID="UpdatePanel2" runat="server">
                            <ContentTemplate>
                    <asp:DropDownList ID="IDropClassID" runat="server" AppendDataBoundItems="True"
                        DataSourceID="ObjectDataSource1" DataTextField="ClassName" DataValueField="ClassID">
                        <asp:ListItem  Value="-1">所有栏目</asp:ListItem>
                        <asp:ListItem Value="-2">未指向任何栏目</asp:ListItem>
                        <asp:ListItem Value="-3">当前栏目</asp:ListItem>
                        <asp:ListItem Value="-4">当前栏目（不包含子栏目）</asp:ListItem>
                    </asp:DropDownList>
                        <asp:ListBox ID="IListCLASSID" Visible="FALSE"  runat="server" DataSourceID="ObjectDataSource1" DataTextField="ClassName"
                            DataValueField="ClassID" Height="147px" SelectionMode="Multiple"></asp:ListBox>
                            </ContentTemplate>
                            <Triggers >
                             <asp:AsyncPostBackTrigger ControlID="ICheckNClassChild" EventName="CheckedChanged" /> 
                             </Triggers>
                        </asp:UpdatePanel>
                        <br />
                        <asp:CheckBox ID="ICheckIncludeChild"  runat="server" Text="包含子栏目  注意：不能指定为外部栏目 " />
                        <br />
                        <asp:CheckBox ID="ICheckNClassChild" runat="server" Text="是否选择多个栏目  注意：多选红色的栏目不能选 " AutoPostBack="True" OnCheckedChanged="ICheckNClassChild_CheckedChanged" /></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>所属专题：</strong></td>
                    <td class="rtd">
                        <asp:DropDownList ID="IDropSpecialID" runat="server" AppendDataBoundItems="True"
                            DataSourceID="ObjectDataSource2" DataTextField="SpecialName" DataValueField="SpecialID">
                            <asp:ListItem Value="-2">不属于任何专题</asp:ListItem>
                            <asp:ListItem Value="-1">属于任何专题</asp:ListItem>
                            <asp:ListItem Value="-3">当前频道专题</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                   <td class="ltd">
                        <strong>标签说明：</strong></td>
                    <td class="rtd">
                    <asp:TextBox ID="ITxtExplain" runat="server" Width="296px" >这是商品图片列表标签</asp:TextBox><br />
                        &nbsp;<font color="blue" style="font-size: 12px">请在这里填写标签的使用说明方便以后的查找</font>
                    </td>
                </tr>
                <tr>
                   <td class="ltd">
                        <strong>商品数目：</strong></td>
                    <td class="rtd">
                        <input maxlength="3" name="Num" size="5" value="4" id="ITxtNum" runat="server" />
                        <font color="#ff0000">如果为0，将显示所有商品，不能为空。</font></td>
                </tr>
                <tr>
                   <td class="ltd">
                        关键字：</td>
                    <td class="rtd">
                        <input maxlength="3" name="TxtNum" size="5" id="ITxtKeyWord" runat="server" /></td>
                </tr>
                <tr>
                   <td class="ltd">
                        所在地：</td>
                    <td class="rtd">
                        <input maxlength="3" size="5" id="ITxtPlace" runat="server" /></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>产品类型：</strong></td>
                    <td class="rtd">
					<asp:DropDownList ID="IDropProductType" runat="Server">
                        <asp:ListItem Value="所有" Text="所有"   />
                        <asp:ListItem Value="团购" Text="团购"  />
                        <asp:ListItem Value="拍卖" Text="拍卖"   />
                        <asp:ListItem Value="一口价" Text="一口价"   />
                        </asp:DropDownList>
                        </td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>商品属性：</strong></td>
                    <td class="rtd">
					<asp:DropDownList runat="server" ID="IDropProductAttribute">
                            <asp:ListItem Text="都不是" Value="-1" />
                        <asp:ListItem Text="推荐" Value="IsElite" />
                          <asp:ListItem Text="热门" Value="IsHot" />
                        </asp:DropDownList>
                       </td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>日期范围：</strong></td>
                    <td class="rtd">
                        <font color="#ff0000"> 只显示最近
							<input id="ITxtUpdateNum" maxlength="3" name="DateNum" size="5" value="0" runat="server" />
                            天内更新的商品&nbsp;，不能为空<br />
                            只显示最近
                            <input id="ITxtBeginDateNum" maxlength="3" name="DateNum" size="5" value="0" runat="server" />
                            天内上市的商品&nbsp;，不能为空<br />
                            只显示最近
                            <input id="ITxtEndDateNum" maxlength="3" name="DateNum" size="5" value="0" runat="server" />
                            天内结束的商品<br />
                            <font color="#ff0000">，不能为空如果是0，则显示所有天数的商品。</font></font></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>排序方法：</strong></td>
                    <td class="rtd">
                    <asp:DropDownList ID="IDropOrderType" runat="server" >
                    <asp:ListItem Text="商品ID（降序）" Value="1" />
                    <asp:ListItem Text="商品ID（升序）" Value="2" />
                    <asp:ListItem Text="更新时间（降序）" Value="3" />
                    <asp:ListItem Text="更新时间（升序）" Value="4" />
                    <asp:ListItem Text="点击次数（降序）" Value="5" />
                    <asp:ListItem Text="点击次数（升序）" Value="6" />
                    <asp:ListItem Text="结束日期（降序）" Value="7" />
                    <asp:ListItem Text="结束日期(升序）" Value="8" />
                    <asp:ListItem Text="上市日期（降序）" Value="9" />
                    <asp:ListItem Text="上市日期（升序)" Value="10" />                         
                    </asp:DropDownList> 
                    </td>
                </tr>
                <tr>
                    <td class="ltd">
                    <strong>显示样式：</strong></td>
                    <td class="rtd">
                    <asp:DropDownList runat="server" ID="IDropShowType"> 
                    <asp:ListItem Text="图片+名称+价格+按钮：上下排列" Value="1" />
                    <asp:ListItem Text="（图片+名称：上下排列）+（名称+价格+按钮）" Value="2" />
                    <asp:ListItem Text="图片+（名称+价格+按钮：上下排列）：左右排列" Value="3" />
                    <asp:ListItem Text="图片+名称+价格：上下排列" Value="4" />
                     <asp:ListItem Text="（图片+名称：上下排列）+价格：左右排列" Value="5" />
                    <asp:ListItem Text="图片+（名称+价格：上下排列）：左右排列" Value="6" />
                    <asp:ListItem Text="图片+名称+按钮：上下排列" Value="7" />
                    <asp:ListItem Text="图片+名称：上下排列" Value="8" />
                    <asp:ListItem Text="图片+按钮：上下排列" Value="9" />
                    <asp:ListItem Text="只显示图片" Value="10" /> 
                    </asp:DropDownList> 
                    </td>
                </tr>
                <tr>
                    <td class="ltd">
                        <b>首页图片设置：</b></td>
                    <td class="rtd">
                        &nbsp;宽度：
                        <input id="ITxtmgWidth" maxlength="3" name="ImgWidth" size="5" value="130" runat="server" />
                        像素 &nbsp; &nbsp; 高度：
                        <input id="ITxtmgHeight" maxlength="3" name="ImgHeight" size="5" value="90" runat="server" />
                        像素</td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>标题最多字符数：</strong></td>
                    <td class="rtd">
                        <input id="ITxtTitleLen" maxlength="3" name="TitleLen" size="5" value="30" runat="server" />
                        &nbsp; &nbsp; <font color="#ff0000">若为0，则不显示标题；若为-1，则显示完整标题。字母算一个字符，汉字算两个字符，，不能为空。</font></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>每行显示商品数：</strong></td>
                    <td class="rtd">
                    <asp:DropDownList ID="IDropCols" runat="server" >
                    <asp:ListItem Text="1" Value="1" />
                     <asp:ListItem Text="2" Value="2" />
                      <asp:ListItem Text="3" Value="3" />
                     <asp:ListItem Text="4" Value="4" />
                      <asp:ListItem Text="5" Value="5" />
                     <asp:ListItem Text="6" Value="6" />
                      <asp:ListItem Text="7" Value="7" />
                     <asp:ListItem Text="8" Value="8" />
                      <asp:ListItem Text="9" Value="9" />
                     <asp:ListItem Text="10" Value="10" />
                     <asp:ListItem Text="11" Value="11" />
                     <asp:ListItem Text="12" Value="12" />
                    </asp:DropDownList> 
                        &nbsp; &nbsp; 超过指行列数就会换行</td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>是否显示折扣率：</strong></td>
                    <td class="rtd">
                        <input id="IcheckShowDiscount" name="ShowDiscount"  type="checkbox" value="1" runat="server" />
                        &nbsp; &nbsp;<font color="blue">只有当ShowType参数设为含价格方式时才有效</font></td>
                </tr>
                 
                <tr>
                    <td class="ltd">
                        <strong>按钮显示方式：</strong></td>
                    <td class="rtd">
                    <asp:DropDownList runat="server" ID="IDropShowButtonType">
                    <asp:ListItem Text="都显示" Value="1" />
                     <asp:ListItem Text="显示详细按钮" Value="2" />
                     <asp:ListItem Text="显示收藏按钮" Value="3" />
                      <asp:ListItem Text="都不显示" Value="4" />
                    </asp:DropDownList> 
                    </td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>按钮样式：</strong></td>
                    <td class="rtd">
                     显示详细按纽<input maxlength="20" name="ButtonStyle" size="10" id="ITxtStyleContent" runat="server" />
                        &nbsp;<br />
                        显示收藏按扭<input maxlength="20" name="ButtonStyle" size="10" id="ITxtStyleFav" runat="server" /><br />
                       </td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>商品打开方式：</strong></td>
                    <td class="rtd">
                    <asp:DropDownList runat="server" ID="IDropOpenType">
                    <asp:ListItem Text="在原窗口打开" Value="0"/>
                     <asp:ListItem Text="在新窗口打开" Value="1"/>
                 </asp:DropDownList> 
                    </td>
                </tr>
                <tr>
                    <td align="middle" colspan="2" height="40">
                        <input id="Button2"  onclick="ImagesProduct()" type="button" value=" 确 定 " />
                    </td>
                </tr>
            </table>

         

         
        </asp:Panel>
        <br />
        <asp:Panel ID="PanelSlideProduct" runat="server" Height="50px" Width="950px" Visible="False">
            <table  class="nick">
                <tr>
                    <td class="tit" colspan="2" height="22">
                        <strong>显示幻灯片商城标签</strong></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>所属栏目：</strong></td>
                    <td class="rtd">
                        &nbsp;&nbsp;
                        <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                            <ContentTemplate>
                                <asp:DropDownList ID="SDropClassID" runat="server" AppendDataBoundItems="True"
                            DataSourceID="ObjectDataSource1" DataTextField="ClassName" DataValueField="ClassID">
                        <asp:ListItem Value="-1">所有栏目</asp:ListItem>
                        <asp:ListItem Value="-2">未指向任何栏目</asp:ListItem>
                        <asp:ListItem Value="-3">当前栏目</asp:ListItem>
                        <asp:ListItem Value="-4">当前栏目（不包含子栏目）</asp:ListItem>
                    </asp:DropDownList>
                        <asp:ListBox ID="SListCLASSID" Visible="false"  runat="server" DataSourceID="ObjectDataSource1" DataTextField="ClassName"
                            DataValueField="ClassID" Height="147px" SelectionMode="Multiple"></asp:ListBox>
                            </ContentTemplate>
                            <Triggers >
                            <asp:AsyncPostBackTrigger ControlID="SCheckNClassChild" EventName="CheckedChanged" />
                            </Triggers>
                        </asp:UpdatePanel>
                        <br />
                        <asp:CheckBox ID="SCheckIncludeChild" runat="server" Text="包含子栏目  注意：不能指定为外部栏目 " />
                        <br />
                        <asp:CheckBox ID="SCheckNClassChild" runat="server" Text="是否选择多个栏目  注意：多选红色的栏目不能选 " AutoPostBack="True" /></td>
                </tr>
                <tr>
                     <td class="ltd">
                        <strong>所属专题：</strong></td>
                    <td class="rtd">
                        &nbsp;<asp:DropDownList ID="SDropSpecialID" runat="server" AppendDataBoundItems="True"
                            DataSourceID="ObjectDataSource2" DataTextField="SpecialName" DataValueField="SpecialID">
                            <asp:ListItem Value="-2">不属于任何专题</asp:ListItem>
                            <asp:ListItem Value="-1">属于任何专题</asp:ListItem>
                            <asp:ListItem Value="-3">当前频道专题</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>标签说明：</strong></td>
                    <td class="rtd">
                        <input id="STxtExplain" maxlength="20" name="lableExplain" size="15" runat="server" value="这是商品的幻灯片" />
                        &nbsp;<font color="blue" style="font-size: 12px">请在这里填写标签的使用说明方便以后的查找</font>
                    </td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>商品数目：</strong></td>
                    <td class="rtd">
                        <input maxlength="3" name="Num" size="5" value="4" id="STXTNum" runat="server" />
                        <font color="#ff0000">如果为0，将显示所有商品，不能为空。</font></td>
                </tr>
                <tr>
                     <td class="ltd">
                        关键字：</td>
                    <td class="rtd">
                        <input maxlength="3" name="TxtNum" size="5" id="STxtKeyWord" runat="server" /></td>
                </tr>
                <tr>
                   <td class="ltd">
                        所在地：</td>
                    <td class="rtd">
                        <input maxlength="3" name="TxtNum" size="5" id="STxtPlace" runat="server" /></td>
                </tr>
                <tr>
                     <td class="ltd">
                        <strong>产品类型：</strong></td>
                    <td class="rtd"> 
                          <asp:DropDownList ID="SDropProductType" runat="Server">
                        <asp:ListItem Value="所有" Text="所有"   />
                        <asp:ListItem Value="团购" Text="团购"  />
                        <asp:ListItem Value="拍卖" Text="拍卖"   />
                        <asp:ListItem Value="一口价" Text="一口价"   />
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>商品属性：</strong></td>
                    <td class="rtd"><asp:DropDownList runat="server" ID="SDropProductAttribute">
                        <asp:ListItem Text="都不是" Value="-1" />
                        <asp:ListItem Text="推荐" Value="IsElite" />
                        <asp:ListItem Text="热门" Value="IsHot" />
                    </asp:DropDownList></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>日期范围：</strong></td>
                    <td class="rtd">
                        只显示最近&nbsp;
                        <input id="STxtUpdateNum" maxlength="3" name="DateNum" size="5" value="0" runat="server" />
                        天内更新的商品&nbsp;<br />
                        只显示最近
                        <input id="StxtBeginDateNum" maxlength="3" name="DateNum" size="5" value="0" runat="server" />
                        天内上市的商品&nbsp;<br />
                        只显示最近
                        <input id="STxtEndDateNum" maxlength="3" name="DateNum" size="5" value="0" runat="server" />
                        天内结束的商品<br />
                        <font color="#ff0000">如果为0，则显示所有天数的商品，不能为空。</font></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <strong>排序方法：</strong></td>
                    <td class="rtd">
                        &nbsp;<asp:DropDownList ID="SDropOrderType" runat="server" >
                            <asp:ListItem Text="商品ID（降序）" Value="1" />
                            <asp:ListItem Text="商品ID（升序）" Value="2" />
                            <asp:ListItem Text="更新时间（降序）" Value="3" />
                            <asp:ListItem Text="更新时间（升序）" Value="4" />
                            <asp:ListItem Text="点击次数（降序）" Value="5" />
                            <asp:ListItem Text="点击次数（升序）" Value="6" />
                            <asp:ListItem Text="结束日期（降序）" Value="7" />
                            <asp:ListItem Text="结束日期(升序）" Value="8" />
                            <asp:ListItem Text="上市日期（降序）" Value="9" />
                            <asp:ListItem Text="上市日期（升序)" Value="10" />
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <b>首页图片设置：</b></td>
                    <td class="rtd">
                        &nbsp;宽度：
                        <input id="STxtmgWidth" maxlength="3" name="ImgWidth" size="5" value="130" runat="server" />
                        像素 &nbsp; &nbsp; 高度：
                        <input id="STxtmgHeight" maxlength="3" name="ImgHeight" size="5" value="90" runat="server" />
                        像素</td>
                </tr>
                <tr>
                    <td class="ltd">
                        <b>标题/名称长度</b></td>
                    <td class="rtd">
                        <input id="STxtTitleLen" maxlength="3" name="TitleLen" size="5" value="30" runat="server" />
                        个字符</td>
                </tr>
                <tr>
                    <td class="ltd">
                        <b>效果变换间隔时间</b></td>
                    <td class="rtd">
                        <input id="STxtiTimeOut" maxlength="5" name="iTimeOut" size="5" value="1000" runat="server" />
                        &nbsp;<font color="blue"><b>毫秒为单位，不能空</b></font></td>
                </tr>
                <tr>
                    <td class="ltd">
                        <b>幻灯片显示时间</b></td>
                    <td class="rtd">
                        <input id="STxteffectID" maxlength="5" name="effectID" size="5" value="1000" runat="server" />
                        <strong><span style="color: #0000ff">毫秒为单位，不能空</span></strong></td>
                </tr>
                <tr>
                    <td align="middle" colspan="2" height="40">
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                        &nbsp; &nbsp; &nbsp;&nbsp;
                        <input id="Button3" name="MakeJS" onclick="SlideProduct();"
                            type="button" value=" 确 定 " />
                    </td>
                </tr>
            </table>
        </asp:Panel>
        <br /> 
        <br />
        <br />
        <asp:Panel ID="PanelCustom_Content" runat="server" Height="50px" Width="950px" Visible="False">
            <table  class="nick" width="100%">
                <tr>
                     <td class="ltd">专题自设内容序号：</td>
                  <td class="rtd">
                        &nbsp;<select id="DropCount">
                            <option selected="selected" value="1">1</option>
                            <option value="2">2</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>
            </table>
            <input id="Button1" onclick="Custom_Contenbutes(DropCount);" type="button" value="确定" title="确定" />
         </asp:Panel>
         <asp:Panel ID="PanelShowHotKey" Visible="false" runat="server" Height="50px" Width="950px">
          <table  class="nick" width="100%">
                <tr>
                     <td class="ltd">
                         热门搜索条数：
                     </td>
                      <td class="rtd">
                        &nbsp;<select id="DropSearchCount">
                            <option selected="selected" value="1">1</option>
                            <option value="2">2</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>　 　
                          　<option selected="selected" value="11">11</option>
                            <option value="2">12</option>
                            <option value="3">13</option>
                            <option value="4">14</option>
                            <option value="5">15</option>
                            <option value="6">16</option>
                            <option value="7">17</option>
                            <option value="8">18</option>
                            <option value="9">19</option>
                            <option value="10">20</option>　
                              　<option selected="selected" value="50">50</option>
                            <option value="100">100</option>
                            <option value="500">500</option>
                            <option value="1000">1000</option> 
                        </select></td> 
                </tr>
            </table>
            <input id="Button4" onclick="Custom_ShowHotSearchCount(DropSearchCount);" type="button" value="确定" title="确定" /></asp:Panel>  
            
             <asp:Panel ID="PanelAnnounces" Visible="false" runat="server" Height="50px" Width="950px">
          <table  class="nick" width="100%">
                <tr>
                     <td class="ltd">
                         公告条数：
                     </td>
                      <td class="rtd">
                        &nbsp;<select id="DropAnnounces">
                            <option selected="selected" value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option selected="selected" 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>　 　
                          　<option  value="11">11</option>
                            <option value="2">12</option>
                            <option value="3">13</option>
                            <option value="4">14</option>
                            <option value="5">15</option>
                            <option value="6">16</option>
                            <option value="7">17</option>
                            <option value="8">18</option>
                            <option value="9">19</option>
                            <option value="10">20</option>　
                              　<option  value="50">50</option>
                            <option value="100">100</option>
                            <option value="500">500</option>
                            <option value="1000">1000</option> 
                        </select></td> 
                </tr>
            </table>
            <input id="Button5" onclick="Custom_ShowAnnounces(DropAnnounces);" type="button" value="确定" title="确定" /></asp:Panel>
       
    </form>
</body>
</html>