⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cnwebleft.jsp

📁 jsp网站
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
<%@ page import="com.sunny.currency.*,com.sunny.s3fornetoffice.*,java.util.*" %>
<% Session m_session = new Session(session); %>

   <%
    request.setCharacterEncoding("gb2312");
	Vector vt = new Vector();
	Request m_request = new Request(request);
	String fatherDirID=m_request.GetString("siteDirID");
	String fatherDirName=m_request.GetString("siteDirName");
        int ifatherDirID=Integer.parseInt(fatherDirID);
	String sonDirIDs=WebSiteDirManager.getSonSystemDirectoryIDs(ifatherDirID);
        vt=WebSiteDirManager.getRecordBystrID(sonDirIDs);
		int tempID=0;int iSubCount=0;
   %>
<table width="100%"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="13"></td>
      </tr>
      <tr>
        <td align="center"> <strong><%=fatherDirName%></strong> </td>
      </tr>
	    <tr>
        <td><hr></td>
      </tr>

<%
if(vt!=null){
 int iCount=vt.size();
 for(int i=0;i<iCount;i++){
 //out.println(((Vector)vt.get(i)).get(12).toString());
 if(((Vector)vt.get(i)).get(12).toString().equals("true")){

	tempID=Integer.parseInt(((Vector)vt.get(i)).get(0).toString());
	iSubCount=WebSiteDirManager.getSubSystemDirectoryCount(tempID);
 	if(iSubCount>0)
              {
               //int  iChildrenacount = Integer.parseInt(((Vector)vt.get(i)).get(4).toString(),10);
			%>
			    <tr><!--?????!-->
        <td align="center"><a href="sub.jsp?siteDirID=<%=((Vector)vt.get(i)).get(0).toString()%>&siteDirName=<%=((Vector)vt.get(i)).get(1).toString()%>" class="black_a" target="_self"><%=((Vector)vt.get(i)).get(1).toString()%></a></td>
      </tr>
      <tr>
        <td align="center"><hr></td>
      </tr>
              <%
			  }
			  else
			  {
 %>
 	 <tr>
        <td align="center"><a href="sub.jsp?ID=<%=((Vector)vt.get(i)).get(0).toString()%>&siteDirID=<%=fatherDirID%>&siteDirName=<%=fatherDirName%>" class="black_a" target="_self"><%=((Vector)vt.get(i)).get(1).toString()%></a></td>
      </tr>
      <tr>
        <td align="center"><hr></td>
      </tr>
 <%
 }
 }
 }
 }
%>
  </table>

	<!--查询-->

	 <table width="100%"  border="0" cellspacing="0" cellpadding="0">
       <form name="queryForm" action="Query.jsp"  target="_self" method="post" >
        <tr>
          <td height="65">&nbsp;</td>
        </tr>
        <tr>
          <td align="center">
            <input name="strQuery" type="text" class="login" value="     站内搜索" size="16">
            <img src="images/search.gif" width="30" height="19" align="absbottom" style="cursor:hand" onClick="document.queryForm.submit();">
          </td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        </form>
      </table>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -