<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" Inherits="Kesion.NET.WebSite.Admin.Exam.KS_SJBatch" Codebehind="KS.SJBatch.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="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="C8" runat="server" /></td>
                          <td align="right" class="lefttd" height="30" style="width: 105px">
                              <strong>是否允许发表考后心得：</strong></td>
                          <td class="righttd"><asp:RadioButtonList ID="comment" 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="istjda" 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="C1" runat="server" /></td>
                          <td align="right" class="lefttd" height="30" style="width: 105px">
                              <strong>是否允许保存答案：</strong></td>
                          <td class="righttd"><asp:RadioButtonList ID="issaveanswer" 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="C10" runat="server" /></td>
                          <td align="right" class="lefttd" height="30" style="width: 105px">
                              <strong>是否禁止右键及选择：</strong></td>
                          <td class="righttd"><asp:RadioButtonList ID="righttf" 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="C11" runat="server" /></td>
                          <td align="right" class="lefttd" height="30" style="width: 105px">
                              <strong>是否禁止F5键刷新：</strong></td>
                          <td class="righttd"><asp:RadioButtonList ID="f5tf" 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 style="display:none">
				    <td align='center' class='lefttd' style="width: 52px; height: 30px;"><asp:CheckBox ID="C16" runat="server" /></td>
					<td align='right' class='lefttd' style="width: 105px; height: 30px;"><strong>修改价格：</strong> </td>
					<td class="righttd" style="height: 30px">
         
                  <table >

                 <tr >
             <td align="right" class="lefttd" height="30" style="width: 102px">
              <strong>计费类型：</strong></td>
               <td class="righttd">
               <asp:RadioButtonList ID="ChargeType" runat="server" RepeatDirection="Horizontal" Height="24px">
                     <asp:ListItem Value="0" Selected="True">点券</asp:ListItem>
                      <asp:ListItem  Value="1">资金(人民币)</asp:ListItem>
                      <asp:ListItem  Value="2">积分</asp:ListItem>
                </asp:RadioButtonList>
             </td>
          </tr>
                               <tr >
                                 <td align="right" class="lefttd" height="30" style="width: 102px">
                                    <strong>所需</strong></td>
                                <td class="righttd">
                                    &nbsp;<asp:TextBox CssClass="textbox" ID="TxtMoney" Text="0" runat="server" Width="60px"></asp:TextBox>.元/积分
                                <asp:CheckBox ID="VIPCheck" runat="server" Text="VIP免费" />    
                                </td>
                                 </tr>
                       </table>
            


					</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>
