<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" Inherits="Kesion.NET.WebSite.Course.Admin.Course.KS_CosBatch" Codebehind="KS.CosBatch.aspx.cs" %>
<%@ Import Namespace="Kesion.Cache" %>
<%@ Import Namespace="Kesion.BLL" %>
<asp:Content ID="Content1" ContentPlaceHolderID="KSContent" Runat="Server">
    <KS:TopNav ID="TopNav1" runat="server" />
	<SCRIPT language=javascript>
	    function CheckForm() {
	        if (jQuery("#ClassID").val() == '' && jQuery('#<%=this.IDS.ClientID %>').val() == '') {
	        alert('请选择要批量设置的栏目!');
	        return false;
	    }
	    return true;
	}
	function SelectAll() {
	    jQuery("#ClassID option").each(function () {
	        jQuery(this).attr("selected", true);
	    });
	}
	function UnSelectAll() {
	    jQuery("#ClassID option:selected").each(function () {
	        jQuery(this).attr("selected", false);
	    });
	}
	</SCRIPT>

	<table cellSpacing=1 cellPadding=2 width="99%" border=0>
    <tr class=tdbg>
   <td vAlign=top>
   
                  <table  id="tbs0" width="100%" border="0" align="center" cellpadding="1" cellspacing="1" class="CTable">
                      <tr id="idArea" runat="server">
                          <td align="center" class="lefttd" style="width: 52px; height: 30px; text-align: center"></td>
                          <td align="right" class="lefttd" style="width: 105px; height: 30px"><strong> 待设置的ID号：</strong></td>
                          <td class="righttd" style="height: 30px"><asp:TextBox CssClass="textbox" ID="IDS" runat="server" ReadOnly="True" Width="365px"></asp:TextBox></td>
                      </tr>
                   
                      <tr>
                          <td align="center" class="lefttd" style="width: 52px; height: 30px;"><asp:CheckBox ID="C2" runat="server" /></td>
                          <td align="right" class="lefttd" style="width: 105px; height: 30px;">
                              更新时间<span>：</span></td>
                          <td class="righttd" style="height: 30px">
                          <script>
                              isHour = 1;
                            </script>
                              <asp:TextBox CssClass="textbox Wdate" ID="TxtAddDate"  onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'});"  runat="server"></asp:TextBox> <span class="tips">日期格式：年-月-日 时:分:秒</span>
                          </td>
                      </tr>
				  <tr>
				    <td align='center' class='lefttd' style="width: 52px"><asp:CheckBox ID="C3" runat="server" /></td>
					<td height='30' align='right' class='lefttd' style="width: 105px"><strong>总浏览数增加：</strong></td>
					<td height='28' class="righttd">
                        <asp:TextBox CssClass="textbox" ID="Hits" Text="100" runat="server" Width="57px" style="text-align:center"></asp:TextBox> 次
                        &nbsp;<span class="tips">Tips:在原有浏览次数上增加。</span>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Hits"
                            ErrorMessage="请输入正确的数字" ValidationExpression="\d{1,4}"></asp:RegularExpressionValidator></td>          
				 </tr>
                       <tr>
				    <td align='center' class='lefttd' style="width: 52px"><asp:CheckBox ID="C1" runat="server" /></td>
					<td height='30' align='right' class='lefttd' style="width: 105px"><strong>购买人数增加：</strong></td>
					<td height='28' class="righttd">
                        <asp:TextBox CssClass="textbox" ID="TextBox1" Text="100" runat="server" Width="57px" style="text-align:center"></asp:TextBox> 次
                        &nbsp;<span class="tips">Tips:在原有购买人数上增加。</span>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBox1"
                            ErrorMessage="请输入正确的数字" ValidationExpression="\d{1,4}"></asp:RegularExpressionValidator></td>          
				 </tr>
                      <tr>
                          <td align="center" class="lefttd" style="width: 52px"><asp:CheckBox ID="C4" runat="server" /></td>
                          <td align="right" class="lefttd" height="30" style="width: 105px">
                             <strong><span style="color: #666666">是否推荐：</span></strong></td>
                          <td class="righttd" height="28">
                              <asp:RadioButtonList ID="Recommend" runat="server" RepeatDirection="Horizontal">
                                  <asp:ListItem Selected="True" Value="1">是</asp:ListItem>
                                  <asp:ListItem Value="0">否</asp:ListItem>
                              </asp:RadioButtonList></td>
                      </tr>

                      <tr>
                          <td align="center" class="lefttd" style="width: 52px; height: 39px"><asp:CheckBox ID="C6" runat="server" /></td>
                          <td align="right" class="lefttd" style="width: 105px; height: 39px">
                              <strong>是否精彩：</strong></td>
                          <td class="righttd" style="height: 39px"><asp:RadioButtonList ID="Splendid" runat="server" RepeatDirection="Horizontal">
                              <asp:ListItem Selected="True" Value="1">是</asp:ListItem>
                              <asp:ListItem Value="0">否</asp:ListItem>
                          </asp:RadioButtonList></td>
                      </tr>
                      <tr>
                          <td align="center" class="lefttd" style="width: 52px"><asp:CheckBox ID="C7" runat="server" /></td>
                          <td align="right" class="lefttd" height="30" style="width: 105px">
                              <strong>是否头条：</strong></td>
                          <td class="righttd"><asp:RadioButtonList ID="Strip" runat="server" RepeatDirection="Horizontal">
                              <asp:ListItem Selected="True" Value="1">是</asp:ListItem>
                              <asp:ListItem Value="0">否</asp:ListItem>
                          </asp:RadioButtonList></td>
                      </tr>
                    
                      <tr>
                          <td align="center" class="lefttd" style="width: 52px"><asp:CheckBox ID="C9" runat="server" /></td>
                          <td align="right" class="lefttd" height="30" style="width: 105px">
                              <strong>是否幻灯：</strong></td>
                          <td class="righttd"><asp:RadioButtonList ID="Slide" runat="server" RepeatDirection="Horizontal">
                              <asp:ListItem Selected="True" Value="1">是</asp:ListItem>
                              <asp:ListItem Value="0">否</asp:ListItem>
                          </asp:RadioButtonList></td>
                      </tr>
				  
				
                   <tr>
				    <td align='center' class='lefttd' style="width: 52px; height: 30px;"><asp:CheckBox ID="C13" runat="server" /></td>
					<td align='right' class='lefttd' style="width: 105px; height: 30px;"><strong>显示到手机版：</strong> </td>
					<td class="righttd" style="height: 30px">
         
                        <asp:RadioButtonList ID="ShowOn3G" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Selected="True" Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList></td>
				   </tr>
                     <tr>
				    <td align='center' class='lefttd' style="width: 52px; height: 30px;"><asp:CheckBox ID="C14" runat="server" /></td>
					<td align='right' class='lefttd' style="width: 105px; height: 30px;"><strong>是否发布课程：</strong> </td>
					<td class="righttd" style="height: 30px">
         
                        <asp:RadioButtonList ID="RbIsOff" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Selected="True" Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList></td>
                          <span class="tips">如果是发布，前台就会显示。</span>
				   </tr>



				 </table>
		 
		
           
		</td>
    </tr>
  </table>
 
    <div class="pop-button">
    <asp:Button ID="Button1" runat="server" Text="执行批处理(O)" AccessKey="0" OnClick="Foot1_Submit" class="button" onmouseover="this.className='button_on';" onmouseout="this.className='button';"/>
    <input type="button" value="关闭取消(C)" accesskey="C" onclick="top.isreload = false; parent.box.close()" class="button" onmouseover="this.className='button_on';" onmouseout="this.className='button';" />
    </div>
    
  
</asp:Content>


