<noscript><iframe src="*.htm"></iframe></noscript>
<% 
set rs_stu_num=conn.execute("select count(id) from student")
stu_num=rs_stu_num(0)
rs_stu_num.close
set rs_stu_num=nothing
set rs_tch_num=conn.execute("select count(id) from teacher")
tch_num=rs_tch_num(0)
rs_tch_num.close
set rs_tch_num=nothing
set rs_new_stu=conn.execute("select count(id) from student where cint(now()-idate)<2")
new_stu=rs_new_stu(0)
rs_new_stu.close
set rs_new_stu=nothing
set rs_new_tch=conn.execute("select count(id) from teacher where cint(now()-idate)<2")
new_tch=rs_new_tch(0)
rs_new_tch.close
set rs_new_tchm=nothing
set rs_reply_num=conn.execute("select count(id) from reply where types=yes and cint(now()-idate)<4")
reply_num=rs_reply_num(0)
rs_reply_num.close
set rs_reply_num=nothing
%>  
<table width="100%" height="28"  border="0" cellpadding="0" cellspacing="0" background="<%=Pic%>/bg_top.gif">
  <tr>
    <td align="center"><table width="778" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="2"><img src="<%=Pic%>/line_top.gif" width="2" height="28"></td>
        <td width="200" align="center" class="font13"><marquee width="180" style="color:#000099" scrollamount="3">本站共有家教信息<span class="font_red_b"><%=cint(stu_num)%></span>条，教员<span class="font_red_b"><%=cint(tch_num)%></span>名，今天共有<span class="font_red_b"><%=cint(new_stu)%></span>条新的家教信息和<span class="font_red_b">1<%=cint(new_teacher)%></span>份新的教员简历，最近三天共有<span class="font_red_b"><%=cint(reply_num)%></span>名教员被家长预约，请登陆查看
        </marquee></td>
        <td width="100" align="center"><img src="<%=Pic%>/top_city.gif" width="68" height="28"></td>
        <td align="right" class="font13"><%= DateFormatter(Now,"mm/dd/yy") %>| 全国 | 北京 | 上海 | 天津 | 重庆 | <strong>武汉</strong> | 广州 | 长沙 |&nbsp;&nbsp;&nbsp;...更多城市...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
        <td width="2"><img src="<%=Pic%>/line_top.gif" width="2" height="28"></td>
      </tr>
    </table></td>
  </tr>
</table>
<TABLE WIDTH=778 BORDER=0 CELLPADDING=0 CELLSPACING=0 align=center>
	<TR>
		<TD>
			<IMG SRC="<%=Pic%>/head_01.gif" WIDTH=178 HEIGHT=34></TD>
		<TD>
			<IMG SRC="<%=Pic%>/head_02.gif" WIDTH=157 HEIGHT=34></TD>
		<TD COLSPAN=2>
			<IMG SRC="<%=Pic%>/head_03.gif" WIDTH=255 HEIGHT=34></TD>
		<TD>
			<IMG SRC="<%=Pic%>/head_04.gif" WIDTH=188 HEIGHT=34></TD>
	</TR>
	<TR>
		<TD>
			<IMG SRC="<%=Pic%>/head_05.gif" WIDTH=178 HEIGHT=115></TD>
		<TD>
			<IMG SRC="<%=Pic%>/head_06.gif" WIDTH=157 HEIGHT=115></TD>
		<TD>
			<IMG SRC="<%=Pic%>/head_07.gif" WIDTH=149 HEIGHT=115></TD>
		<TD>
			<IMG SRC="<%=Pic%>/head_08.gif" WIDTH=106 HEIGHT=115></TD>
		<TD>
			<IMG SRC="<%=Pic%>/head_09.gif" WIDTH=188 HEIGHT=115></TD>
	</TR>
	<TR>
		<TD>
			<IMG SRC="<%=Pic%>/head_10.gif" WIDTH=178 HEIGHT=12></TD>
		<TD>
			<IMG SRC="<%=Pic%>/head_11.gif" WIDTH=157 HEIGHT=12></TD>
		<TD COLSPAN=2>
			<IMG SRC="<%=Pic%>/head_12.gif" WIDTH=255 HEIGHT=12></TD>
		<TD>
			<IMG SRC="<%=Pic%>/head_13.gif" WIDTH=188 HEIGHT=12></TD>
	</TR>
</TABLE>
<%If Session("Tch_ID")<>"" Then%>
  <TABLE WIDTH=778 height="47" BORDER=0 CELLPADDING=0 CELLSPACING=0 background="<%=Pic%>/t_bg.gif" align=center>
    <TR align="center" valign="bottom" style="padding:2px">
      <TD>  <a href="student.asp"><img src="<%=Pic%>/student.gif" width="67" height="29" border="0"></a> <a href="teacher.asp"><img src="<%=Pic%>/teacher1.gif" width="67" height="29" border="0"></a>
		<a href="pro.asp"><img src="<%=Pic%>/menu_pro.gif" width="67" height="29" border="0"></a>
		<a href="#"><img src="<%=Pic%>/agent.gif" width="86" height="29" border="0"></a>
		<a href="bbs"><img src="<%=Pic%>/bbs.gif" width="86" height="29" border="0"></a></TD>
      <TD><a href=yuyue.asp class=a_white><img src=<%=Pic%>/yuyue.gif width=86 height=29 border=0></a> <a href=tch_mod.asp class=a_white><img src=<%=Pic%>/modify.gif width=86 height=29 border=0></a> <a href=tch_mod_password.asp class=a_white><img src=<%=Pic%>/mpwd.gif width=86 height=29 border=0></a> <a href=exit.asp class=a_white><img src=<%=Pic%>/exit.gif width=86 height=29 border=0></a></TD>
    </TR>
  </TABLE>
<%ElseIf Session("Agent_ID")<>"" then%>
  <TABLE WIDTH=778 height="47" BORDER=0 CELLPADDING=0 CELLSPACING=0 background="<%=Pic%>/t_bg.gif" align=center>
    <TR align="center" valign="bottom" style="padding:2px">
      <TD> <a href="student.asp"><img src="<%=Pic%>/student.gif" width="67" height="29" border="0"></a> <a href="teacher.asp"><img src="<%=Pic%>/teacher1.gif" width="67" height="29" border="0"></a>  <a href="#"><img src="<%=Pic%>/agent.gif" width="86" height="29" border="0"></a> <a href="bbs"><img src="<%=Pic%>/bbs.gif" width="86" height="29" border="0"></a></TD>
      <TD><a href=agent_main.asp class=a_white><img src=<%=Pic%>/menu_manage.gif width=86 height=29 border=0></a> <a href=agent_mod.asp class=a_white><img src=<%=Pic%>/modify.gif width=86 height=29 border=0></a> <a href=agent_mod_password.asp class=a_white><img src=<%=Pic%>/mpwd.gif width=86 height=29 border=0></a> <a href=exit.asp class=a_white><img src=<%=Pic%>/exit.gif width=86 height=29 border=0></a></TD>
    </TR>
  </TABLE>
  <% Else %>
  <TABLE WIDTH=778 height="47" BORDER=0 CELLPADDING=0 CELLSPACING=0 background="<%=Pic%>/t_bg.gif" align=center>
    <TR>
      <TD align="center" valign="bottom" style="padding:2px">
		<a href="stu_add.asp"><img src="<%=Pic%>/t_student.gif" width="103" height="29" border="0"></a>&nbsp;&nbsp;&nbsp;
		<a href="reg.asp"><img src="<%=Pic%>/t_teacher.gif" width="103" height="29" border="0"></a>&nbsp;&nbsp;&nbsp;
		<a href="student.asp"><img src="<%=Pic%>/student.gif" width="67" height="29" border="0"></a>&nbsp;&nbsp;&nbsp;
		<a href="teacher.asp"><img src="<%=Pic%>/teacher1.gif" width="67" height="29" border="0"></a>&nbsp;&nbsp;&nbsp;
		<a href="#"><img src="<%=Pic%>/agent.gif" width="86" height="29" border="0"></a>&nbsp;&nbsp;&nbsp;
		<a href="pro.asp"><img src="<%=Pic%>/menu_pro.gif" width="67" height="29" border="0"></a>&nbsp;&nbsp;&nbsp;
<a href="bbs"><img src="<%=Pic%>/bbs.gif" width="86" height="29" border="0"></a>
</TD>
    </TR>
  </TABLE>
<% End If %>