<?php
require("conn.php");
ob_start();
session_start(); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>基本资料</title>
<link href="css/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style></head>
<script language="javascript">function onfocus_check(id) { id.style.border='2px #FF0000 solid'; }
function onblur_check(id) { id.style.border='1px #6CB5FF solid'; }
function user_form_check() {
if (user_form.now_password.value=='') { alert('请输入旧密码!'); user_form.now_password.focus(); return false; }
if (user_form.new_password.value=='') { alert('请输入新密码!'); user_form.new_password.focus(); return false; }
if (user_form.new_password_1.value=='') { alert('请再次输入新密码!'); user_form.new_password_1.focus(); return false; }
if (user_form.new_password.value!=user_form.new_password_1.value) { alert('两次输入密码必须相同!'); user_form.new_password_1.focus(); return false; }
}
</script>
<body><div align="center">
<?php require('manage_top.php'); ?>
  <table width="970" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="220" align="left" valign="top"><table width="200" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="30" background="images/sort_top.jpg" style="border-top:1px #BCDFFF solid;border-left:1px #BCDFFF solid;border-right:1px #BCDFFF solid;" class="button_css">　请家教</td>
        </tr>
        <tr>
          <td height="40" style="border-left:1px #BCDFFF solid;border-right:1px #BCDFFF solid;border-bottom:1px #BCDFFF solid;" class="news_css">　　<a href="student_manage.php?disp_type=add">发布家教</a> 　　<a href="student_manage.php?disp_type=list">管理家教</a></td>
        </tr>
        <tr>
          <td style="height:10px;"></td>
        </tr>
      </table>
        <table width="200" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="30" background="images/sort_top.jpg" style="border-top:1px #BCDFFF solid;border-left:1px #BCDFFF solid;border-right:1px #BCDFFF solid;" class="button_css">　做家教</td>
          </tr>
          <tr>
            <td height="40" style="border-left:1px #BCDFFF solid;border-right:1px #BCDFFF solid;border-bottom:1px #BCDFFF solid;" class="news_css">　　<a href="teacher_manage.php?disp_type=add">发布家教</a> 　　<a href="teacher_manage.php?disp_type=list">管理家教</a></td>
          </tr>
          <tr>
            <td style="height:10px;"></td>
          </tr>
        </table>
        <table width="200" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="30" background="images/sort_top.jpg" style="border-top:1px #BCDFFF solid;border-left:1px #BCDFFF solid;border-right:1px #BCDFFF solid;" class="button_css">　我的订单</td>
          </tr>
          <tr>
            <td height="40" style="border-left:1px #BCDFFF solid;border-right:1px #BCDFFF solid;border-bottom:1px #BCDFFF solid;" class="news_css">　　<a href="order_manage.php?disp_type=list&submit_action=teacher_order">教员订单（客户找教员）</a></td>
          </tr>
          <tr>
            <td height="40" style="border-left:1px #BCDFFF solid;border-right:1px #BCDFFF solid;border-bottom:1px #BCDFFF solid;" class="news_css">　　<a href="order_manage.php?disp_type=list&submit_action=student_order">学员订单（客户找学员）</a></td>
          </tr>
          <tr>
            <td height="40" style="border-left:1px #BCDFFF solid;border-right:1px #BCDFFF solid;border-bottom:1px #BCDFFF solid;" class="news_css">　　<a href="order_manage.php?disp_type=my_list&submit_action=teacher_order">我的教员订单（我找教员）</a></td>
          </tr>
          <tr>
            <td height="40" style="border-left:1px #BCDFFF solid;border-right:1px #BCDFFF solid;border-bottom:1px #BCDFFF solid;" class="news_css">　　<a href="order_manage.php?disp_type=my_list&submit_action=student_order">我的学员订单（我找学员）</a></td>
          </tr>
          <tr><td style="height:10px;"></td></tr>
        </table>
      </td>
      <form name="user_form" method="post" action="login_action.php?type_action=password_edit" onSubmit="return user_form_check()">
      <td width="750" align="left" valign="top">
 <table width="750" border="0" cellpadding="0" cellspacing="0" style="border:1px #FFBE54 solid;" class="news_css">
              <tr>
                <td width="750" height="30" align="left">&nbsp;</td>
              </tr>
              <tr>
                <td height="40" align="center" style="font-size:12px;line-height:160%;"><font color="#FF0000">*</font> 旧　密　码：
                    <input name="now_password" type="password" style="width:200px;height:20px;line-height:20px;border:1px #6CB5FF solid;" onFocus="javascript:onfocus_check(now_password);" onBlur="javascript:onblur_check(now_password);">
                </td>
              </tr>
              <tr>
                <td height="40" align="center" style="font-size:12px;line-height:160%;"><font color="#FF0000">*</font> 新　密　码：
                <input name="new_password" type="password" style="width:200px;height:20px;line-height:20px;border:1px #6CB5FF solid;" onFocus="javascript:onfocus_check(new_password);" onBlur="javascript:onblur_check(new_password);"></td>
              </tr>
              <tr>
                <td height="40" align="center" style="font-size:12px;line-height:160%;"><font color="#FF0000">*</font> 再次新密码：
                <input name="new_password_1" type="password" style="width:200px;height:20px;line-height:20px;border:1px #6CB5FF solid;" onFocus="javascript:onfocus_check(new_password_1);" onBlur="javascript:onblur_check(new_password_1);"></td>
              </tr>
              <tr>
                <td height="40" align="center" style="font-size:12px;line-height:160%;"><input name="imageField" type="image" src="images/edit.jpg" width="60" height="30" border="0"></td>
              </tr>
              <tr>
                <td height="40" align="left" style="font-size:12px;line-height:160%;">&nbsp;</td>
              </tr></table>
			  </td></form></tr>
  </table><table width="970" height="150" border="0" cellpadding="0" cellspacing="0" class="news_css">
    <tr><td height="20">&nbsp;</td>
    </tr>
    <tr><td height="130" align="left" valign="top" style="border-top:1px #7FBEFF solid;">
      <?php $bottom_check="select * from web_info_manage";
	$rs_bottom_check=mysql_query ($bottom_check);
	if ($rs_bottom=mysql_fetch_object ($rs_bottom_check)) { ?><?=$rs_bottom->bottom_info?><?php } ?>
        </td>
    </tr>
  </table>
  </div></body></html>