<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
+ path;
List<Map<String, Object>> list = (List<Map<String, Object>>) request.getAttribute("listMessage");
%>
<!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>
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="utf-8"></meta>
<link rel="stylesheet" href="../../common/css/sapar.css" />
<link rel="stylesheet" type="text/css"
href="../../common/css/common.css" />
<link rel="stylesheet" type="text/css" href="../../css/my_info.css" />
<script type="text/javascript" src="../../common/js/jquery.js"></script>
<script type="text/javascript" src="../../common/js/sapar.js"></script>
<script type="text/javascript" src="../../common/js/WdatePicker.js"></script>
<title>添加类型</title>
<script type="text/javascript">
function dosubmit(){
var th = document.form1;
th.action="<%=path%>/servlet/MessageAction?action_flag=addTeacher";
th.submit();
}
</script>
</head>
<body>
<div id="saper-container">
<div id="saper-bd">
<div class="subfiled clearfix">
<h2>添加类型</h2>
</div>
<div class="subfiled-content">
<div class="tab-container" data-trigger="hover">
<form name="form1" id="f2" action="" method="post"
style="margin-top: 15px">
<div class="kv-item clearfix">
<label>老师名称:</label>
<div class="kv-item-content">
<input type="text" name="teaName" ></input>
</div>
</div>
<div class="kv-item clearfix">
<label>手机号码:</label>
<div class="kv-item-content">
<input type="text" name="teaPhone" ></input>
</div>
</div>
<!-- 点击这个标签后会执行javascript代码, doSubmit()是方法名,执行这个方法 -->
<div class="kv-item-content">
<a href="javascript:dosubmit();" class="sapar-btn sapar-btn-recom query-btn"
style="margin-left: 80px;margin-top: 10px">确认添加</a>
</div>
</form>
</div>
</div>
</div>
</div>
</body>
<script type="text/javascript">
$('select').iSelect();
</script>
</html>