<%


  //增加一session，保存当前点中的页面地址
  String sCurrentPath = "";
  String sClickPath = request.getServletPath();
  String sPath_str[][] = {
			{"online/message/index_receive.jsp","tab_0","接收列表"},
			{"online/index_tree.jsp","tab_0","用户列表"},
			{"online/index.jsp","tab_0","在线用户"},
			{"online/message/index.jsp","tab_0","发送列表"},
			{"online/stat.jsp","tab_0","数量统计"}
  			   };

  //判断sCurrentPath是否在sPath_str里面
  for (int i_title =0; i_title<sPath_str.length; i_title++) {
    if (sClickPath.endsWith(sPath_str[i_title][0])) {
      	sCurrentPath = sClickPath;
	sPath_str[i_title][1] = "tab_1";
      	break;
    }
  }
%>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr class="main_title">
    <td><%=SzModule.getNameAndPath(Integer.parseInt(sMKID_SESSION), strLevel_SESSION)%></td>
  </tr>
  <tr>
    <td height="35">  
      <table border=0 cellpadding=0 cellspacing=0 height="30">  
        <tr align="center"> 

             <td class="line_01"></td>
<%
  for (int i_title =0; i_title<sPath_str.length; i_title++) {
%>
	      <td valign="bottom" class="<%=sPath_str[i_title][1]%>1"></td>  
	      <td class="<%=sPath_str[i_title][1]%>2" width="100"> 
	        <a href="<%=strLevel_SESSION%><%=sPath_str[i_title][0]%>"><%=sPath_str[i_title][2]%></a>
              </td>  
              <td valign="bottom" class="<%=sPath_str[i_title][1]%>3"></td>
<%
  }
%>
              <td class="line_02" width="100"></td>
              <td class="line_03"></td>
        </tr>  
      </table>  
    </td>  
  </tr>
</table>
