<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="True" Inherits="Kesion.NET.WebSite.Admin_SmallRoutine" CodeBehind="KS.SmallRoutine.aspx.cs" %>
<%@ Import Namespace="Kesion.Cache" %>
<%@ Import Namespace="Kesion.BLL" %>
<%@ Import Namespace="Kesion.Publics"%>
<asp:Content ID="Content1" ContentPlaceHolderID="KSContent" runat="server">
    <!--<KS:TopNav ID="TopNav1" runat="server" />-->
    <div class="content-area mt20 pageBlank">
        <div class="tab-page" id="SmallRoutinePanel">
            <script type="text/javascript">
                var tabPane1 = new WebFXTabPane(document.getElementById("SmallRoutinePanel"), 1)
            </script>

            <div class="tab-page" id="tab0">
                <h2 class="tab">基本参数</h2>
                <script type="text/javascript">
                    tabPane1.addTabPage(document.getElementById("tab0"));
                </script>

                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="CTable no-borderTable">
                    <tr>
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>是否在微信平台提交审核：</strong></td>
                        <td class="righttd">
                               
                      <asp:RadioButtonList ID="RdbVerify" RepeatDirection="Horizontal" runat="server">
                    <asp:ListItem Value="0" Selected>否</asp:ListItem>
                    <asp:ListItem Value="1">是</asp:ListItem>
                   </asp:RadioButtonList>
                  <span class="tips">如果准备在微信小程序平台那边提交审核时，请设置成是，由于微信平台那边审核时先隐藏价格，否则，微信平台审核通过时请开关设置成否，请慎用。</span>                                                               
                        </td>
                    </tr>
                    <tr>
                        <td height="30" align="right" class="lefttd" style="width: 198px"><strong>首页轮播图：</strong></td>
                        <td class="righttd">
                            <table cellspacing="0" cellpadding="0">
                                <tr>
                                    <td>第一张:<asp:TextBox CssClass="textbox" Width="350" ID="TxtOne" runat="server"></asp:TextBox>&nbsp;<input type="button" class="button" onclick="SelectFiles('<%=this.TxtOne.ClientID %>',0);" value="选择图片"></td>
                                    <%if (Kesion.BLL.KSSecurity.CheckCommonUploadPower())
                                        { %>
                                    <td style="padding-left: 4px; padding-top: 15px; vertical-align: middle; *padding-top: 12px;"><%=Kesion.APPCode.UploadAPI.EchoUpload("classpic", this.TxtOne.ClientID, 150) %></td>
                                    <%} %>
                                    <td>
                                        <img id="show<%=TxtOne.ClientID %>" src="<%=TxtOne.Text%>" height="30" style="border: 1px solid #f1f1f1;" onerror="this.src='../../sysimg/nopic.gif'" />

                                    </td>
                                </tr>
                                <tr>
                                    <td>第二张:<asp:TextBox CssClass="textbox" Width="350" ID="TxtTwo" runat="server"></asp:TextBox>&nbsp;<input type="button" class="button" onclick="SelectFiles('<%=this.TxtTwo.ClientID %>',0);" value="选择图片"></td>
                                    <%if (Kesion.BLL.KSSecurity.CheckCommonUploadPower())
                                        { %>
                                    <td style="padding-left: 4px; padding-top: 15px; vertical-align: middle; *padding-top: 12px;"><%=Kesion.APPCode.UploadAPI.EchoUpload("classpic", this.TxtTwo.ClientID, 150) %></td>
                                    <%} %>
                                    <td>
                                        <img id="show<%=TxtTwo.ClientID %>" src="<%=TxtTwo.Text%>" height="30" style="border: 1px solid #f1f1f1;" onerror="this.src='../../sysimg/nopic.gif'" />

                                    </td>
                                </tr>
                                <tr>
                                    <td>第三张:<asp:TextBox CssClass="textbox" Width="350" ID="TxtThreen" runat="server"></asp:TextBox>&nbsp;<input type="button" class="button" onclick="SelectFiles('<%=this.TxtThreen.ClientID %>',0);" value="选择图片"></td>
                                    <%if (Kesion.BLL.KSSecurity.CheckCommonUploadPower())
                                        { %>
                                    <td style="padding-left: 4px; padding-top: 15px; vertical-align: middle; *padding-top: 12px;"><%=Kesion.APPCode.UploadAPI.EchoUpload("classpic", this.TxtThreen.ClientID, 150) %></td>
                                    <%} %>
                                    <td>
                                        <img id="show<%=TxtThreen.ClientID %>" src="<%=TxtThreen.Text%>" height="30" style="border: 1px solid #f1f1f1;" onerror="this.src='../../sysimg/nopic.gif'" />

                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>小程序APPID：</strong></td>
                        <td class="righttd">
                               <asp:TextBox ID="TxtAPPID" runat="server" Style="text-align: center" CssClass="textbox"    />  
                             
                                                       
                        </td>
                    </tr>
                     <tr>
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>小程序APPSECRET：</strong></td>
                        <td class="righttd">
                               <asp:TextBox ID="TxtAPPSECRET" runat="server" Style="text-align: center" CssClass="textbox"    />  
                             
                                                       
                        </td>
                    </tr>
                  
                    <tr>
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>课程列表筛选设置：</strong></td>
                         <td class="righttd">
                             排序：
                             <asp:TextBox ID="TxtCourseSort" runat="server" style="width:600px;height:60px;" CssClass="textbox textarea"    Columns="60" Rows="2" TextMode="MultiLine"/>  
                              <br />
                             <span class="tips">多个排序,以英文逗号隔开:最新|addTime desc,购买人数|buycount desc,浏览量|lookcount desc</span>
                             <br />
                             价格：<asp:TextBox ID="TxtCoursePrice" runat="server" style="width:600px;height:60px;" CssClass="textbox textarea"    Columns="60" Rows="2" TextMode="MultiLine"/>  
                             <br /> <span class="tips">多个价格,以英文逗号隔开:￥0-100|0-100,￥100-1000|100-1000</span>

                    </td>
                    </tr>
                      <tr>
                        <td align="right" class="lefttd" height="30" style="width: 198px">
                            <strong>文章栏目设置：</strong></td>
                         <td class="righttd">
                            
                             <asp:DropDownList ID="DrpClassID" runat="server">
                      <asp:ListItem Value="0">--文章栏目设置--</asp:ListItem>
                     </asp:DropDownList>
                        </td>
                    </tr>
                </table>

            </div>
        </div>
    </div>
    <KS:Foot ID="CopyRight1" CancelButtonVisible="false" OnSubmit="SaveButton_Click" runat="server" />
</asp:Content>
