<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="teacheradd.aspx.cs" ValidateRequest="false" Inherits="jiaowu.system.teacheradd" %>

<!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/table.css" rel="stylesheet">
     <link rel="stylesheet" href="../kindeditor/themes/default/default.css" />
	<link rel="stylesheet" href="../kindeditor/plugins/code/prettify.css" />
	<script charset="utf-8" src="../kindeditor/kindeditor.js"></script>
	<script charset="utf-8" src="../kindeditor/lang/zh_CN.js"></script>
	<script charset="utf-8" src="../kindeditor/plugins/code/prettify.js"></script>
	<script>
	    KindEditor.ready(function (K) {
	        var editor1 = K.create('#txtcontent', {
	            cssPath: '../kindeditor/plug/ins/code/prettify.css',
	            uploadJson: '../kindeditor/upload_json.ashx',
	            fileManagerJson: '../kindeditor/file_manager_json.ashx',
	            allowFileManager: true,
	            afterCreate: function () {
	                var self = this;
	                K.ctrl(document, 13, function () {
	                    self.sync();
	                    K('form[name=form1]')[0].submit();
	                });
	                K.ctrl(self.edit.doc, 13, function () {
	                    self.sync();
	                    K('form[name=form1]')[0].submit();
	                });
	            }
	        });
	        prettyPrint();
	    });
	</script>
    <style type="text/css">
        .style1
        {
        }
        .style2
        {
            width: 119px;
        }
        .style3
        {
            width: 119px;
            height: 29px;
        }
        .style4
        {
            height: 29px;
            width: 862px;
        }
        .style5
        {
            width: 862px;
        }
    </style>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="place">
        <asp:SiteMapPath ID="SiteMapPath1" runat="server" Height="27px">
        </asp:SiteMapPath>
        </div><table height="126"  border="0" cellpadding="0" cellspacing="0" class="line_table">
      <tr>
        <td height="29"  class="style2">所属校区：</td>
        <td  style="text-align: left" class="style5">
              <asp:DropDownList ID="ddlfenxiao" runat="server" AppendDataBoundItems="true">
                  <asp:ListItem Value="">请选择</asp:ListItem>
              </asp:DropDownList>
          </td>
        <td  style="text-align: left" rowspan="5">
              <img ID="imgpho" runat="server" alt="照片" height="166" name="imgpho" src="" 
                    width="116" /><span class="style7"><br />
                <input name="Submit23" 
                    onclick="javascript:window.open('../upphoto.aspx?hidname=hidphoto&amp;imgname=imgpho','上传照片','width=500,height=300')" 
                    type="button" value="上传照片" /><asp:HiddenField ID="hidphoto" 
                    runat="server" />
                </span></td>
      </tr>
      <tr>
        <td height="29"  class="style2">手机号：		</td>
        <td  style="text-align: left" class="style5">
         <asp:TextBox ID="txttel" 
                runat="server" Width="168px"  MaxLength="11"></asp:TextBox> <input name="id" type="hidden" value="">
          </td>
      </tr>
      <tr>
        <td height="29"  class="style2">密码：</td>
        <td style="text-align: left" class="style5">
         <asp:TextBox ID="txtpwd" 
                runat="server" Width="168px" TextMode="Password"></asp:TextBox> 
            <asp:HiddenField ID="hidpwd" runat="server" />
          </td>
      </tr>
      <tr>
        <td height="29"  class="style2">真实姓名：</td>
        <td style="text-align: left" class="style5">
            <asp:TextBox ID="txtuserxm" 
                runat="server" Width="168px"></asp:TextBox>
            <asp:HiddenField ID="hidtel" runat="server" />
          </td>
      </tr>
      <tr>
        <td  class="style3">身份证号：</td>
        <td style="text-align: left" class="style4">
            <asp:TextBox ID="txtcard" 
                runat="server" Width="168px"></asp:TextBox>
            </td>
      </tr>
      <tr>
        <td height="29"  class="style2">教练车：</td>
        <td style="text-align: left" colspan="2">
            <asp:DropDownList ID="ddlcheid" runat="server" AppendDataBoundItems="true">
            <asp:ListItem Value="">请选择</asp:ListItem>
            </asp:DropDownList>
            </td>
      </tr>
      <tr>
        <td height="29"  class="style2">教练介绍：</td>
        <td style="text-align: left" colspan="2">
           <asp:TextBox ID="txtcontent" runat="server" TextMode="MultiLine" cols="100" rows="8" style="width:700px;height:200px;visibility:hidden;" runat="server"></asp:TextBox>  &nbsp;</td>
      </tr>
      <tr>
        <td height="22" align="center" class="style1" colspan="3">
            <asp:Button ID="Button1" runat="server" CssClass="btn_grey" 
                onclick="Button1_Click" Text="保存" />
            <asp:Button ID="Button2" runat="server" CssClass="btn_grey" Text="修改" 
                Visible="False" onclick="Button2_Click" />
&nbsp;&nbsp;
<asp:Label 
                ID="labmsg" runat="server" Text=""></asp:Label>
          </td>
      </tr>
    </table>
    </div>
    </form>
</body>
</html>


