<%@ Page Language="C#" EnableEventValidation="false" Title="教师管理"  Debug="true" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="True" Inherits="Kesion.NET.WebSite.Course.Admin_Course_KS_CsTeacher" Codebehind="KS.CsTeacher.aspx.cs" %>
<%@ Import Namespace="Kesion.Publics" %>
<%@ Import Namespace="Kesion.Cache" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="Kesion.Course" %>
<%@ Import Namespace="Kesion.BLL" %>

<asp:Content ID="Content1" ContentPlaceHolderID="KSContent" Runat="Server">

   <script>
       function SetDate() {
           var today = new Date();
           if ($("#showdate").is(":hidden")) {
               $("#showdate").show();
               $('#<%=TxtBeginDate.ClientID%>').val(today.getFullYear() + '-' + (today.getMonth() + 1) + '-01');
        $('#<%=TxtEndDate.ClientID%>').val(today.getFullYear() + '-' + (today.getMonth() + 1) + '-' + today.getDate());
    }
    else {
        $("#showdate").hide();
        $('#<%=TxtBeginDate.ClientID%>').val('');
                $('#<%=TxtEndDate.ClientID%>').val('');
    }
}
function keyWordFocus() {
    if (jQuery("#<%=this.KeyWord.ClientID %>").val() == '请输入关键字！') {
                jQuery("#<%=this.KeyWord.ClientID %>").val('');
            }
        }
        function keyWordBlur() {
            if (jQuery("#<%=this.KeyWord.ClientID %>").val() == '') {
                jQuery("#<%=this.KeyWord.ClientID %>").val('请输入关键字！');
            }
        }

       $(function () {
           //全选反选
           $("#selectAll").click(function () {
               if ($(this).is(":checked")) {
                   $(".courseList").find("input[type=checkbox]").attr("checked", true);
               }
               else {
                   $(".courseList").find("input[type=checkbox]").attr("checked", false);
               };
           });

       });

   </script>
  
<asp:Panel ID="ListPanel" runat="server" Width="100%">

    <div class="listedit">    
        <ul>
            <asp:LinkButton ID="addclassbutton" runat="server" OnClick="addclassbutton_Click" CssClass="button button_on">添加</asp:LinkButton>
            <%if (CourseId!=0)
            {%>
            <a href="javascript:;" onclick="location.href='KS.CosList.aspx?costype=<%=KSCMS.S("costypes") %>';" class="button">返回课程列表</a>
            <%} %>
            <%if (CourseId==0)
            {%>
                <label><input name="" type="checkbox" value="" id="selectAll"/> 全选</label>
                <asp:LinkButton ID="delclassbutton" runat="server" OnClick="delclassbutton_Click" CssClass="button">删除</asp:LinkButton>
                <asp:LinkButton ID="UpdateTeacheCourse" OnClick="UpdateTeacheCourse_Click" runat="server" CssClass="button">一键更新名师课程</asp:LinkButton>
                <asp:LinkButton ID="LinkButton10" runat="server" OnClick="LinkButton10_Click" OnClientClick="return(GetIDS());" CssClass="button">批量审核</asp:LinkButton>
            <%} %>
        </ul>
    </div>
   
  	<div class="menu_top_fixed_height <%if (CourseId!=0){%>menu_top_fixed_height2<%} %>" style="display:none;"></div>
     <!--当前课程信息-->
     <asp:PlaceHolder ID="PlaceHolder1"  runat="server"></asp:PlaceHolder>
 



<style>
.categorynav{line-height:25px;width:97%;margin:0 auto;margin-bottom:10px;border:1px solid #DEEFFA;background-color:#F7FBFE;padding:5px 0px 5px 10px; height:100%; overflow:hidden;}
ul,li{padding:0px;margin:0px}
.categorynav li{width:160px;float:left;}
</style>           

   <div class="content-area <%=CourseId!=0?"":"mt20"%>">      
        <div class="myTitle clearfix">

		<%if (CourseId!=0)
          { %>
        <div class="tabButton">
                <%if(Course.GetIsPeriod(CourseId)==1){ %>
				<%if(CosType==1){ %>
                	<a href="KS.CosPeriod.Aspx?CourseId=<%=CourseId %>&teacherid=<%=teacherid%>">课时</a>
                <%}
				else if (CosType == 3)
				{%>
				  	<a href="KS.CosLivePeriod.Aspx?CourseId=<%=CourseId %>&teacherid=<%=teacherid%>">课时</a>
			    <% }%>
            	<%} %>
                <%if(CosType==1){ %>   
                	<a class="on"  href="KS.CsTeacher.aspx?CosType=<%=CosType %>&teacherid=<%=teacherid%>&CourseId=<%=CourseId %>">教师</a>
				<%}
                else if (CosType == 3)
                {%> 
                	<a class="on"  href="KS.CsTeacher.aspx?CosType=<%=CosType %>&teacherid=<%=teacherid%>&CourseId=<%=CourseId %>">教师</a>
    
                <% }%>
              	<%if (CosType ==2)
                   { %>
                    <a href="KS.FaceSignUp.aspx?CourseId=<%=CourseId %>&teacherid=<%=teacherid%>&CosType=2&type=1">已报名</a>
                    <a href="KS.CosFaceExamlist.aspx?courseid=<%=CourseId %>&teacherid=<%=teacherid%>&CosType=2&type=1">试卷</a>
                    <a class="on"  href="KS.CsTeacher.aspx?CosType=<%=CosType %>&teacherid=<%=teacherid%>&CourseId=<%=CourseId %>&type=1">教师</a>
                <%} %>
                	<a href="KS.CsZLInfo.aspx?type=<%=CosType==2?"1":CosType==1?"0":"5"%>&CourseId=<%=CourseId %>&teacherid=<%=teacherid%>&CosType=<%=CosType%>">资料</a>
                <%if(CosType==1){ %>
                	<a href="KS.CosExamlist.aspx?CourseId=<%=CourseId %>&teacherid=<%=teacherid%>">试卷</a>
                <%} %>
                <%if(CosType==1||CosType==3){ %>  
                	<a href="KS.CosLearnRecord.aspx?CosType=<%=CosType %>&courseid=<%=CourseId %>&teacherid=<%=teacherid%>">学员</a>
                <%} %>
                <a href="KS.CosPJ.aspx?CosType=<%=CosType %>&courseid=<%=CourseId %>&teacherid=<%=teacherid%>&type=<%=KSCMS.S("type") %>">评价</a>

             </div>
        <%} %>

           <%if (CourseId==0)
              {%>
            
             名师管理
            <%}
            
            else {%>
            该课程下的老师
            
            <% }%>
            <!--<asp:Label ID="LabNav" runat="server"></asp:Label>-->
        </div>
         <%if(CourseId==0){ %>
        <div class="quickSearch clearfix">
                <div class="quickSelect">
                    <asp:DropDownList ID="DrpClassID" runat="server" onchange="location.href='?classid='+this.value;">
                    <asp:ListItem Value="0">--按分类查看--</asp:ListItem>
                    </asp:DropDownList>
                </div>
                <div class="SearchBox fl">
                    <asp:DropDownList ID="Condition" runat="server" style="margin-right:8px;">
                        <asp:ListItem Value="1">教师</asp:ListItem>
                        <asp:ListItem Value="2">职称</asp:ListItem>
                    </asp:DropDownList>
                    <asp:TextBox onfocus="keyWordFocus();" onblur="keyWordBlur();" Style="color: #ccc" Text="请输入关键字！" CssClass="textbox" ID="KeyWord" runat="server" Width="180px"></asp:TextBox>
    
                    <span class="link-color" onclick="SetDate()" style="cursor: pointer">日期范围？</span>&nbsp;
                    <span id="showdate" <%if (this.TxtBeginDate.Text == "")
                                          { %> style="display: none" <%} %>>
                        <asp:TextBox ID="TxtBeginDate" placeholder="格式：YYYY-MM-DD" Width="150px" runat="server" onclick="WdatePicker({dateFmt:&#39;yyyy-MM-dd&#39;});" CssClass="textbox Wdate"></asp:TextBox>至
                       <asp:TextBox ID="TxtEndDate" placeholder="格式：YYYY-MM-DD" Width="150px" runat="server" onclick="WdatePicker({dateFmt:&#39;yyyy-MM-dd&#39;});" CssClass="textbox Wdate"></asp:TextBox>
                    </span>
                    <asp:Button ID="Button2" runat="server" CssClass="button" Text="搜索" OnClick="Button2_Click" />
                </div>
                <div class="property">
                    <div class="name button ml15">筛选</div>
                    <div class="propertyBox">
                        <ul class="tabs clearfix">
                            <span class="screen fl">审核状态：</span>
                            <li <%=KSCMS.S("verify")==""?" class='active'":string.Empty %>><a href="KS.CsTeacher.Aspx?CourseId=<%=CourseId %>&CosType=<%=CosType %>&teacherid=<%=teacherid %>"><span>所有记录</span></a></li>
                            <li <%=KSCMS.S("verify")=="1"?" class='active'":string.Empty %>><a href="KS.CsTeacher.Aspx?verify=1&CourseId=<%=CourseId %>&CosType=<%=CosType %>&teacherid=<%=teacherid %>"><span>未审核</span></a></li>
                            <li <%=KSCMS.S("verify")=="2"?" class='active'":string.Empty %>><a href="KS.CsTeacher.Aspx?verify=2&CourseId=<%=CourseId %>&CosType=<%=CosType %>&teacherid=<%=teacherid %>"><span>已审核</span></a></li>
            
                        </ul>
                    </div>
                </div>
        </div>
       <%} %>
     <asp:Panel ID="Panel1" runat="server" Width="100%">
       <div class="courseList">
        	<ul>
			 <asp:Repeater ID="list1" runat="server"  >
             <HeaderTemplate>
               </HeaderTemplate>
			 <ItemTemplate>
            	<li  <%#CourseId==0?"class=\"teacherLi\"":"class=\"teacherLi teacherLi2 \"" %>>

                	<div class="input"><input type="checkbox" name="ids" id="ids" value="<%#Eval("TcID") %>" /></div>
                    <div class="courseImg">
                    	<img src="<%#Eval("photo") %>" onerror="this.src='../../admin/images/nopic_200_200.png'"/>
                    </div>
                    
                    <div class="courseInfo">
                   		<div class="courseTitle">
                        	<div class="operating">
                                <%if(CourseId==0){ %>
											<a href="?action=verify&TcID=<%#Eval("TcID")%>&CourseId=<%#CourseId %>&CosType=<%#CosType %>&teacherid=<%#teacherid %>" class="<%# Convert.ToString(Eval("verify"))=="0"?"notext":"yestext" %>" title="<%# Convert.ToString(Eval("verify"))=="0"?"未审核":"已审核" %>"><%# Convert.ToString(Eval("verify"))=="0"?"未审核":"已审核" %></a>
                                <%} %> 
                                <a href="?action=modify&TcID=<%#Eval("TcID")%>&CourseId=<%=CourseId %>&CosType=<%=CosType %>&teacherid=<%=teacherid %>" class="button">编辑</a>
                                <div class="operatBoxBtn">
                                    <a class="button"><i class="iMore"></i></a>
                                    <div class="operatBoxMore clearfix">
                                        <a href="<%# Kesion.HtmlTags.BasicField.GetRewriteUrl("teacherview", Utils.StrToInt(Eval("TcID").ToString()))%>" title="前台页" target="_blank">预览</a>
                                        <%if(CosType!=0)
										 { %>
										 <a href="javascript:void(0)" onclick="top.openWin('评价','Course/KS.TcAchieve.aspx?teacherid=<%#Eval("TcID") %>&istop=1',true,800,500)">评价<i>(</i><%#Eval("PJCount")%><i>)</i></a>
										 <a href="javascript:void(0)" onclick="top.openWin('留言','Course/KS.TcMessage.aspx?teacherid=<%#Eval("TcID") %>&istop=1',false,850,550)">留言<i>(</i><%#Eval("MessageCount")%><i>)</i></a>
										 <%}
										 else{%>
										   <a href="KS.TcAchieve.aspx?teacherid=<%#Eval("TcID") %>">评价<i>(</i><%#Eval("PJCount")%><i>)</i></a>
										   <a href="KS.TcMessage.aspx?teacherid=<%#Eval("TcID") %>" class="btn">留言<i>(</i><%#Eval("MessageCount")%><i>)</i></a>
										 <%} %>
										 <%if(CourseId==0){ %>
											<a href="?action=del&Ids=<%#Eval("TcID") %>&CourseId=<%#CourseId %>&CosType=<%#CosType %>&teacherid=<%#teacherid %>"  onclick="return(confirm('此操作不可逆，确定删除操作吗?'))">删除</a>                        
										 <%} %> 
                                        
                                    </div>
                                </div>
                        	</div>
                        	<div class="title"><a href="<%# Kesion.HtmlTags.BasicField.GetRewriteUrl("teacherview", Utils.StrToInt(Eval("TcID").ToString()))%>" title="前台页" target="_blank"><%# Convert.ToString(Eval("TName")) %></a>
                             	<span class="ml15 grayFont"><%#Convert.ToString(Eval("Tlevel"))==string.Empty?"": Utils.CutStr(Convert.ToString(Eval("Tlevel")), 255)%></span>
                                <span class="ml15 grayFont"><%#(Convert.ToString(Eval("SchoolID"))==string.Empty || BaseFun.CheckModulePower("school") == false)?"":"所属机构："+ DataFactory.GetOnlyValue("select top 1 CompanyName from KS_EnterPrise where userid="+Utils.StrToInt(Convert.ToString(Eval("SchoolID"))))%></span>
                        	</div>
						</div>
                        <div class="info"><span>发布者：<em title="<%# Utils.StrToInt(Eval("system"))==0?"系统":Utils.StrToInt(Eval("system"))==1?"企业":"教师"%>"><%#Eval("username")%></em></span><span>时间：<%#Convert.ToDateTime(Eval("adddate").ToString()).ToString("yyyy-MM-dd")%></span>
						<span>分类：<%# MyCache.GetCosClass( Utils.StrToInt( Eval("classid")),"ClassName",0)  %></span>
                         <span>性别:<%# Convert.ToString(Eval("sex"))== "1" ?"男":"女" %></span>
                        <span>帐号绑定：  <%#(Eval("Field").ToString()==string.Empty) ?"<a onclick=\" parent.openWin('名师绑定','Course/KS.TCBingUser.aspx?tcid="+Eval("TcID")+"',true,600,400)\" class=link-color>未绑定</a>":Eval("Field").ToString()==string.Empty?"":""+Eval("Field").ToString()%></span>
                        <span>等级：<%#Teacher.GetGradeName(Utils.StrToInt(Eval("Grade"))) %></span>
                        <%#Utils.StrToInt(Tcep.GetTcScoreConfig("TcScoreStatus"))==1?"<span>信誉积分："+Eval("CreditScore").ToString()+"</span>":""%>
                        </div>
                    	
                        <div class="buttonBox">
                        	<a href='KS.TcCourse.aspx?from=<%#from %>&teacherid=<%#Eval("TcID") %>' title="课程：<%#Eval("CourseTotal")%> 门" class="greenFont btn"><em><%#Eval("CourseTotal")%></em>&nbsp;<span>门课程</span>&nbsp;>></a>

                            <%if(CosType!=0)
                            { %>

                        	<a  href="javascript:void(0)" onclick="top.openWin('点赞','Course/KS.TcZan.aspx?from=<%#from %>&teacherid=<%#Eval("TcID") %>&istop=1',false,850,550)" class="greenFont btn"><em><%#Eval("totalz")%></em>&nbsp;<span>个点赞</span>&nbsp;>></a>
                        	<a href="javascript:void(0)" onclick="top.openWin('收藏','Course/KS.TcCollect.aspx?from=<%#from %>&teacherid=<%#Eval("TcID") %>&istop=1',false,850,550)"  class="greenFont btn"><em><%#Eval("totalc")%></em>&nbsp;<span>个收藏</span>&nbsp;>></a>
                        
                           <%}
                             else{%>
                            <a href="KS.TcZan.aspx?from=<%#from %>&teacherid=<%#Eval("TcID") %>" class="greenFont btn"><em><%#Eval("totalz")%></em>&nbsp;<span>个点赞</span>&nbsp;>></a>
                        	<a href="KS.TcCollect.aspx?from=<%#from %>&teacherid=<%#Eval("TcID") %>" class="greenFont btn"><em><%#Eval("totalc")%></em>&nbsp;<span>个收藏</span>&nbsp;>></a>
                      
                           <%} %>

                           <%if (Utils.StrToInt(Kesion.Course.Teacher.getTeacherConfig(5)) == 1)
                             {%>

                            <a  href="KS.TcDegreeCertificate.aspx?from=<%#from %>&teacherid=<%#Eval("TcID") %>" class="greenFont btn"><em><%#Eval("XueLiNum")%></em>&nbsp;<span>份学历证书</span>>></a>
                             
                            <%} %>
                              <%if (Utils.StrToInt(Kesion.Course.Teacher.getTeacherConfig(6)) == 1)
                                {%>

                            <a  href="KS.TcProfessionCertificate.aspx?from=<%#from %>&teacherid=<%#Eval("TcID") %>" class="greenFont btn"><em><%#Eval("ZhiYeNum")%></em>&nbsp;<span>份职业资格证</span>&nbsp;>></a>
                             
                            <%} %> 
                            
                            <span <%# Eval("username").ToString()=="admin"||Eval("userid").ToString()==""||string.IsNullOrEmpty(Eval("Field").ToString())?"style='display:none;'":"" %>>
                            <a href="<%# KSCMS.GetInstallDir()+MyCache.GetCacheConfig(4) %>/Course/KS.TcSmsLog.aspx?username=<%#Eval("field") %>&from=<%#from==""?"teacher":"course" %>" class="greenFont btn"><em><%#Eval("DuanXinTiaoshu")%></em>&nbsp;<span>条可用短信</span>&nbsp;>></a>
                            <div class="mt20">
                                <a class="button" title="充值短信" onclick='parent.openWin("给用户充值短信","Course/KS.TcSmsAdd.aspx?userID=<%#Eval("userID") %>",true,720,320);return false'>充值短信</a>
                            </div>
                            </span>
                        </div>
                    </div>
                </li>
            	</ItemTemplate>
				 <FooterTemplate>
           		
              
                  <div class="empty" style="display:<%# bool.Parse((list1.Items.Count==0).ToString())?"":"none"%>">您没有添加任何教师</div>
                
               </FooterTemplate>
				</asp:Repeater>
            </ul>
        </div>
        <script>
            $(function () {
                $(".courseList li:first").css({ borderTop: "0px" });
            });
		</script>
       </asp:Panel>
     
    <KS:Page ID="page1" runat="server" />
</div>
    </asp:Panel>

<asp:Panel ID="AddPanel" runat="server" Width="100%">
<!--<KS:TopNav ID="TopNav1" runat="server" Text="添加教师" />-->
<div class="content-area mt20">  
    <div class="tab-page" id="CsTeacherPanel">
         <script type="text/javascript">
             var tabPane1 = new WebFXTabPane(document.getElementById("CsTeacherPanel"), 1)
         </script> 
		 <div class="tab-page" id="tab0">
		  	<h2 class="tab">基本信息</h2>
			<script type="text/javascript">
			    tabPane1.addTabPage(document.getElementById("tab0"));
			</script>
			<input type="hidden"  value="<%=KSCMS.S("costypes") %>" name="costypes" />
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="CTable no-borderTable"> 
                 <tr>
                    <td class="lefttd" align="right"><font color="red">*</font><strong>教师类型：</strong></td>
                    <td class="auto-style2">
                        <asp:DropDownList ID="DrpClassID1" runat="server">
                            <asp:ListItem Value="0">--选择教师分类--</asp:ListItem>
                        </asp:DropDownList>
                    </td>          
                 </tr>
            
                 <tr>
                    <td align="right" class="lefttd" height="30" ><strong>教师省市：</strong></td>
                    <td class="righttd">
                        <script src="../../plus/area.aspx?pid=<%=Provinceid %>&cityid=<%=CityId %>&countyid=<%=CountyId %>"></script>
                        <span class="msgtips">选择教师所在的省份和城市,方便检索。</span>
                    </td>
                 </tr>  
                 <tr>
                    <td align="right" class="lefttd auto-style1" ><font color="red">*</font><strong>教师姓名：</strong></td>
                    <td class="auto-style1"><asp:TextBox ID="TxtName" CssClass="textbox" runat="server"></asp:TextBox></td>
                 </tr>
                 <tr>
                    <td align="right" class="lefttd" height="30" ><strong>英文名称：</strong></td>
                    <td class="righttd"><asp:TextBox ID="TxtTename" CssClass="textbox" runat="server"></asp:TextBox></td>
                 </tr>
                 <tr>
                    <td align="right" class="lefttd" height="30" ><strong>教师职称：</strong></td>
                    <td class="righttd"><asp:TextBox ID="Txtlevel" CssClass="textbox" runat="server"></asp:TextBox></td>
                 </tr>
                     
                 <tr>
                    <td align="right" class="lefttd" height="30" style="width: 102px">发布者：</td>
                    <td class="righttd"><asp:TextBox ID="TxtPublisher" runat="server" ></asp:TextBox></td>
                 </tr>
                 <tr>
                    <td align="right" class="lefttd" height="30" style="width: 102px"><strong>是否推荐：</strong></td>
                    <td class="righttd">
                        <asp:RadioButtonList ID="RadioButtonList3" runat="server" Width="137px" RepeatDirection="Horizontal" Height="24px">
                            <asp:ListItem Value="1" >是</asp:ListItem>
                            <asp:ListItem Value="0" Selected="True">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                 </tr>
                 <tr>
                    <td align="right" class="lefttd" height="30" style="width: 102px"><strong>推荐等级：</strong></td>
                    <td class="righttd">
                        <asp:RadioButtonList ID="RadioButtonList2" runat="server" RepeatDirection="Horizontal" Height="24px">
                        </asp:RadioButtonList>
                    </td>
                 </tr>
                 <tr>
                    <td align="right" class="lefttd" height="30" style="width: 102px"><strong>性别：</strong></td>
                    <td class="righttd">
                        <asp:RadioButtonList ID="RadioButtonList1" runat="server" Width="137px" RepeatDirection="Horizontal" Height="24px">
                            <asp:ListItem Value="1" Selected="True">男</asp:ListItem>
                            <asp:ListItem Value="0">女</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="lefttd" height="30" ><strong>电话号码：</strong></td>
                    <td class="righttd"><asp:TextBox ID="Txtlxdh" CssClass="textbox" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td align="right" class="lefttd" height="30" ><strong>传真号码：</strong></td>
                    <td class="righttd"><asp:TextBox ID="Txtczdh" CssClass="textbox" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td align="right" class="lefttd" height="30" ><strong>联系地址：</strong></td>
                    <td class="righttd"><asp:TextBox ID="TxtADD" CssClass="textbox" runat="server" Width="355px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td align="right" class="lefttd" height="30" ><strong>邮箱地址：</strong></td>
                    <td class="righttd"><asp:TextBox ID="Txtemail" CssClass="textbox" runat="server" Width="197px"></asp:TextBox><span class="tips">如edu@kesion.com</span></td>
                </tr>
                <tr>
                    <td align="right" class="lefttd"><strong>教师照片：</strong></td>
                    <td class="righttd"> 
                        <input id="DefaultPic" name="DefaultPic" Class="textbox" type="text" value="<%=DefaultPic%>" >                
                        &nbsp;<input type="button" class="button" onclick="SelectFiles('DefaultPic', 0);" value="选择图片" />
                        <%=Kesion.APPCode.UploadAPI.EchoUpload("coursePic","DefaultPic") %>     
                    </td>
                </tr>
                <tr>
                    <td align="right" class="lefttd" height="30" ><strong>教师介绍：</strong></td>
                     <td class="righttd"><asp:TextBox ID="TxtIntro"  TextMode="MultiLine" Width="100%" Height="200px" runat="server"></asp:TextBox>
                      <% Kesion.APPCode.EditorAPI.EchoEditor("editor", this.TxtIntro.ClientID, "Basic");%>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="lefttd" height="30" ><strong>培训专长：</strong></td>
                    <td class="righttd"><asp:TextBox ID="Txtpxzc" TextMode="MultiLine" Width="100%" Height="200px" runat="server"></asp:TextBox>
                       <% Kesion.APPCode.EditorAPI.EchoEditor("editor", this.Txtpxzc.ClientID, "Basic");%>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="lefttd" height="30" ><strong>服务客户：</strong></td>
                    <td class="righttd"><asp:TextBox ID="txtfwkh" TextMode="MultiLine" Width="100%" Height="200px" runat="server"></asp:TextBox>
                       <% Kesion.APPCode.EditorAPI.EchoEditor("editor", this.txtfwkh.ClientID, "Basic");%>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="lefttd" height="30" style="width: 102px"><strong>教师状态：</strong></td>
                    <td class="righttd" nowrap="nowrap">
                     <asp:RadioButtonList ID="RdbVerify" runat="server" Width="137px" RepeatDirection="Horizontal" Height="24px">
                      <asp:ListItem Value="1" Selected="True">审核</asp:ListItem>
                      <asp:ListItem Value="0">未审核</asp:ListItem>
                     </asp:RadioButtonList>
                    </td>
                </tr>    
            </table>
         </div>
    </div>
    <KS:Foot ID="Foot1" runat="server" OnSubmit="Foot1_Submit" />
</div>
</asp:Panel>
<script type="text/javascript" src="<%=ResolveUrl("~/editor/ckeditor.js") %>"></script>

        <script>

				function CheckForm() {
					if (jQuery('#<%=this.DrpClassID1.ClientID %>').val() == '0') {
						KesionJS.Alert('请选择教师类型!', "jQuery('#<%=this.DrpClassID1.ClientID %>').focus()");
						  return false;
					  }
					if (jQuery('#<%=this.TxtName.ClientID %>').val() == '') {
						KesionJS.Alert('教师名称必须输入!', "jQuery('#<%=this.TxtName.ClientID %>').focus()");
						return false;
					}
				  
					return true;
				}
		</script>


</asp:Content>
