<!-- #include file="conn.asp" -->
<!-- #include file="inc.asp" -->
<script language="JavaScript">
<!--
function  check() {
  if (modfiystu.password.value=="") {
		alert("请填写管理密码！");
		modfiystu.password.focus();		
		    return (false);
  }
 else
	document.modfiystu.submit();
}// -->
</script>
<%
Tch_ID=makeid("tch","in",session("Tch_ID"))
if Tch_ID<>"" then
set rs=server.createobject("ADODB.Recordset")
sql="select * from teacher where id="&Tch_ID
rs.open sql,conn,1,1
username=rs("username")
password=rs("password")
iname=rs("iname")
rs.close
set rs=nothing
else
iname="-"
end if
if isempty(iname) then iname="-" end if

id=makeid("stu","in",request.QueryString("id"))
set rs=server.createobject("adodb.recordset")
sql="select * from student where id="&id
rs.open sql,conn,1,3
rs("hit")=rs("hit")+1
rs.update
agent=rs("agent")%>
<SCRIPT><!--
function chgstyle(obj) {

if(obj.className == 'hide') 
	{obj.className = 'show';}
else
	{obj.className = 'hide';}
}
//-->
</SCRIPT>
<html>
<head>
<title>查看学员信息-武汉家教网</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css" type="text/css">
</head>
<BODY LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0><div align="center">
<!-- #include file="head.asp" -->
    <table width="778" height="30" border="0" cellpadding="0" cellspacing="0" bgcolor="FBFCED">
      <tr>
        <td height="30" valign="bottom">&nbsp;&nbsp;&nbsp;<strong>当前位置</strong>：【<a href="http://www.whjiajiao.com" title="www.whjiajiao.com"><font color=red><b>武汉家教网</b></font></a>】 → <a href="index.asp">首页</a> → <a href="student.asp">学员库</a> → 学员信息</td>
      </tr>
      <tr>
        <td align="center" valign="bottom"><img src="IMAGES/line.gif" width="730" height="2"></td>
      </tr>
    </table>
    <TABLE WIDTH=778 BORDER=0 CELLPADDING=0 CELLSPACING=0 bgcolor="FBFCED">
  <TR>
    <TD align="center">
      <br>
      <table width="660" height="10" border="0" cellpadding="5" cellspacing="1" bgcolor="#999999">
	  <% If rs("agent")>0 Then %>
      <tr align="center" bgcolor="#FDFEF5">
      <td height="2" colspan="4">该信息为中介机构 [ <a href="index.asp?<%=rs("agent")%>" class="a_red"><%
set rs1=server.createobject("ADODB.Recordset")
sql1="select * from agent where id="&rs("agent")
rs1.open sql1,conn,1,1
Response.Write(rs1("company"))
	  %></a> ] 发布的信息</td>
      </tr>
	  <% End If %>
      <tr>
      <td width="22%" height="2" align="right" bgcolor="#FDFEF5">学员编号：</td>
      <td height="2" colspan="3" bgcolor="#FFFFFF" class="font14_red_b">&nbsp;<%=makeid("stu","out",rs("id"))%></td>
    </tr><tr>
        <td height="2" align="right" bgcolor="#FDFEF5">求教学科：</td>
        <td height="2" colspan="3" bgcolor="#FFFFFF">&nbsp;<%=rs("teach")%> </td>
      </tr>
      <tr>
        <td align="right" bgcolor="#FDFEF5">学生学习情况：</td>
        <td colspan="3" bgcolor="#FFFFFF">&nbsp;<%=rs("edu")%></td>
      </tr>
      <tr>
        <td align="right" bgcolor="#FDFEF5">就读年级：</td>
        <td colspan="3" bgcolor="#FFFFFF">&nbsp;<%=rs("grade")%></td>
      </tr>
      <tr>
        <td align="right" bgcolor="#FDFEF5">家教要求：</td>
        <td colspan="3" bgcolor="#FFFFFF">　　<%=replace(replace(replace(rs("content"),"<","&lt;"),">","&gt;"),chr(13),"　　<br>")%> </td>
      </tr>  <tr> 
      <td align="right" bgcolor="#FDFEF5">所在地区：</td>
        <td colspan="3" bgcolor="#FFFFFF">&nbsp;<%=rs("tarea")%>        </td>
      </tr>
      <tr> 
      <td align="right" bgcolor="#FDFEF5">详细地址：</td>
        <td colspan="3" bgcolor="#FFFFFF">&nbsp;<%=rs("add")%></td>
      </tr><tr> 
        <td align="right" bgcolor="#FDFEF5">公汽路线： </td>
        <td colspan="3" bgcolor="#FFFFFF">&nbsp;<%=rs("bus")%></td>
      </tr>
      <tr> 
        <td align="right" bgcolor="#FDFEF5">待遇标准： </td>
        <td colspan="3" bgcolor="#FFFFFF">&nbsp;<%=rs("pay")%></td>
      </tr>
	  <tr>
        <td align="right" bgcolor="#FDFEF5">称&nbsp;&nbsp;&nbsp;&nbsp;呼：</td>
        <td colspan="3" bgcolor="#FFFFFF">&nbsp;<%=rs("iname")%>        </td>
      </tr>
	  <tr>
        <td align="right" bgcolor="#FDFEF5">联系电话：</td>
        <td colspan="3" bgcolor="#FFFFFF" style="font-size:16px">&nbsp;<%'if rs("vip")=true and rs("pas")<>2 and iname<>"-" then
'if iname="-" then
'Response.Write("登陆后即可直接查看联系方式，你尚未登陆或还没有发布简历 [ <a href=reg.asp><b>注册</b></a>|<a href=#><b>登陆</b></a> ]")
if rs("pas")=3 then
Response.Write("此信息已经过期，需要获取相关的家教信息，请[ <a href=reg.asp><b>注册</b></a> ] 或 [ <a href=#><b>登陆</b></a> ]")
else
Response.Write("&nbsp;<font style='font-size:12px;color:#999999'>支持本站发展，请[ <a href=reg.asp><font color=red><b>发布您的个人简历</b></font></a> ] 或 [ <a href=#><font color=red><b>登陆更新</b></font></a> ]</font><br>")
Response.Write("<b>"&rs("tel")&"</b><br>")
Response.Write("&nbsp;&nbsp;<INPUT style='BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 12px; BORDER-BOTTOM-WIDTH: 1px; HEIGHT: 18px; width:325px; BACKGROUND-COLOR: #f7f7f7;color:#999999; BORDER-RIGHT-WIDTH: 1px' value='报告此信息为过期信息或虚假信息&nbsp;[点击报告]' onclick=window.location.href='stu_over.asp?id="&makeid("stu","out",rs("id"))&"' type=button name=Button_over>")
end if
		'elseif rs("pas")=2 then
		'Response.Write("此信息已经过期，需要获取相关的家教信息，请[ <a href=reg.asp><b>注册</b></a> ] 或 [ <a href=#><b>登陆</b></a> ]")
		'else
		'Response.Write("请通过[<span class=font14_red_b>在线申请↓</span>]或[<span class=font14_red_b>电话申请</span>]获得此家教工作，电话申请：<b>50655862</b>")
		'end if%>
         </td> 
      </tr>
<tr>
        <td align="right" bgcolor="#FDFEF5">E-mail：</td>
        <td colspan="3" bgcolor="#FFFFFF">&nbsp;<%'if rs("vip")=true and rs("pas")<>2 and iname<>"-" then
'if iname="-" then
'Response.Write("登陆后即可直接查看联系方式，你尚未登陆或还没有发布简历 [ <a href=reg.asp><b>注册</b></a>|<a href=#><b>登陆</b></a> ]")
if rs("pas")=3 then
Response.Write("此信息已经过期，需要获取相关的家教信息，请[ <a href=reg.asp><b>注册</b></a> ] 或 [ <a href=#><b>登陆</b></a> ]")
else
Response.Write(rs("email"))
end if
		'elseif rs("pas")=2 then
		'Response.Write("此信息已经过期，需要获取相关的家教信息，请[ <a href=reg.asp><b>注册</b></a> ] 或 [ <a href=#><b>登陆</b></a> ]")
		'else
		'Response.Write("请通过[<span class=font14_red_b>在线申请↓</span>]或[<span class=font14_red_b>电话申请</span>]获得此家教工作，电话申请：<b>50655862</b>")
		'end if%></td>
      </tr>
	 <tr>
        <td align="right" bgcolor="#FDFEF5">登记时间：</td>
        <td width="42%" bgcolor="#FFFFFF">&nbsp;<%=rs("idate")%></td>
        <td width="17%" align="right" bgcolor="#FDFEF5">点击：</td>
        <td width="19%" bgcolor="#FFFFFF"><%=rs("hit")%></td>
	 </tr><form name="modfiystu" method="post" action="stu_mod.asp"><tr>
        <td align="right" bgcolor="#FDFEF5">信息管理：</td>
        <td colspan="3" bgcolor="#FFFFFF" class="font12_red"><input name="password" type="password" size="20">
		<input name="id" type="hidden" value="<%=makeid("stu","out",rs("id"))%>">
		<input name="edit" type="hidden" value="1">
          <input type="button" name="Submit" onclick=check() value="修改/删除">
          (该信息的发布人,凭登记密码进行管理操作)</td>
      </tr></form> 
<tr align="center">
      <td height="11" colspan="4"><%if rs("pas")<4 then%><INPUT class="input3"  value="我要申请做这个家教&nbsp;[在线申请]" onclick=chgstyle(window.getme); type=button name=Button><%else%><INPUT class="input3"  value="获取同类信息请注册或登陆&nbsp;[点击注册]" onclick="window.location.href='reg.asp'" type=button name=Button> <%end if%>
</td>
    </tr>
  </table>
      <br>
<FORM name=repaly action=reply_save.asp method=post>
<INPUT type=hidden value=<%=makeid("stu","out",rs("id"))%> name=infoid>
<INPUT type=hidden value=0 name=types> 
            <TABLE class=hide id=getme cellSpacing=1 cellPadding=5 width="660" 
            align=center bgColor=#999999 border=0>
              <TBODY>
              <TR align="center" bgcolor="#FFCC33">
                <TD height=28 colSpan=3> 我要申请编号[ <FONT COLOR="#FF0000"><b><%=rs("id")%></b></font> ]的家教信息</TD>
              </TR>
              <TR>
                <TD vAlign=top align=right width="24%" bgColor=#e1e1e1>用户名：</TD>
                <TD vAlign=top align=left width="49%" bgColor=#ffffff><INPUT 
                  maxLength=20 name=username type="text" value="<%=username%>"> </TD>
                <TD width="27%" rowspan="2" align=center bgColor=#ffffff>如果您还不是本站注册会员，请立即[ <a href="reg.asp" target="_blank"><FONT COLOR="#FF0000"><b>注册</b></font></a> ]</TD>
              </TR>
              <TR>
                <TD vAlign=top align=right bgColor=#e1e1e1>密码：</TD>
                <TD align=left vAlign=top bgColor=#ffffff><input 
                  maxlength=20 name=password type="password" value="<%=password%>"></TD>
                </TR>
              <TR>
                <TD vAlign=top align=right width="24%" bgColor=#e1e1e1>相关说明：</TD>
                <TD colspan="2" align=left vAlign=top bgColor=#ffffff><textarea name="content" cols="50" rows="3"></textarea> </TD></TR>
              
              <TR>
                <TD colSpan=3>                  <DIV align=center><INPUT style="HEIGHT: 17pt" type=submit value="提交申请" name=Submit> 
          </DIV></TD></TR></TBODY></TABLE>
</FORM>
      <br></TD>
  </TR>
</TABLE>

<!-- #include file="foot.asp" -->
</div>
</body>
</html>
<% rs.close
  set rs=nothing
  conn.close
  set conn=nothing
%>