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

📄 document_sort.dwt

📁 联讯KingOA办公系统
💻 DWT
字号:
 
<? require("setup1.php");

?>
<html>
<head>
<!-- #BeginEditable "doctitle" -->
<title>办公自动化OA系统</title>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../css.css" rel=stylesheet type=text/css>
<script LANGUAGE="JavaScript">
    //保存父级浏览树项信息
	var theParentTree=top.frmTree.TreeLevel1;
	if (theParentTree==null){document.location="menu_tree.asp";}
	if (theParentTree!=null){
	var ParentTreeLength=theParentTree.length;
	//保存全局信息	
	var gVars=top.frmTree.whole;

	//显示子目录树
    function DispSonTree(item,lastnode){
             for (j=0; j < theParentTree[item].sonTree.length; j++) {
                    writeStr = "";
					if (j==theParentTree[item].sonTree.length-1)
							writeStr += "<IMG SRC='./image/line_06.gif'  align=absmiddle>";
                    else	writeStr += "<IMG SRC='./image/line_05.gif'  align=absmiddle>";
					//显示话题的LOGO图片
					writeStr += "<IMG SRC='" + theParentTree[item].sonTree[j].logo + "' border=0 align=absmiddle'><A class=menu  HREF='" + theParentTree[item].sonTree[j].href + "' target='frmMain'>" + theParentTree[item].sonTree[j].title + "</A><br>";
		            document.write(writeStr);
            }   
    }
    
    //目录树扩展
    function expand(ID){
        if (top.frmTree.TreeLevel1[ID].open=="T")  
				top.frmTree.TreeLevel1[ID].open="F";
        else	top.frmTree.TreeLevel1[ID].open="T";
        tempPos=self.location.href.indexOf("?");
        if (tempPos!=-1)     Href=self.location.href.substring(0,tempPos);
        else			     Href=self.location.href;
        self.location.href=Href+"?ID="+ID;
    }

	//显示目录树    
	for (i=0; i < ParentTreeLength; i++) {
		writeStr = "";
        dispSon=false;
        lastnode=false;
        
        //显示目录树的节点图片		
		if (theParentTree[i].son=="T"){
//		   if (i==ParentTreeLength-1)
		   {
		      if (theParentTree[i].open=="F"){
		          writeStr += "<A class=menu href='javascript:expand(" + theParentTree[i].arrayid + ");'><IMG SRC='./image/t_plus.gif' align=absmiddle border=0></a>";
		      }
		      else{
		          writeStr += "<A class=menu  href='javascript:expand(" + theParentTree[i].arrayid + ");'><IMG SRC='./image/t_sub.gif' align=absmiddle border=0></a>";
		          dispSon=true;
		      }
		      lastnode=true //到达父目录树末端标记    
		   }
/*		   else{
		      if (theParentTree[i].open=="F"){
		          writeStr += "<A class=menu href='javascript:expand(" + theParentTree[i].arrayid + ");'><IMG SRC='./image/t_plus.gif' align=absmiddle border=0></a>";
		      }
		      else{
		          writeStr += "<A class=menu href='javascript:expand(" + theParentTree[i].arrayid + ");'><IMG SRC='./image/t_sub.gif' align=absmiddle border=0></a>";
		          dispSon=true;
		      }    
		   }
*/		          
	    }
/*	    else{
		   if (i==ParentTreeLength-1)
					writeStr += "<IMG SRC='"+gVars.emptyImgLast+"' align=absmiddle >";
		   else		writeStr += "<IMG SRC='"+gVars.emptyImg+"' align=absmiddle >";
	    }
*/	    
	    //显示话题的LOGO图片
	    writeStr += "<A class=menu1 href='javascript:expand(" + theParentTree[i].arrayid + ");'><IMG NAME='JP" + theParentTree[i].arrayid + "' SRC='"+theParentTree[i].logo+"' border=0 align=absmiddle>";
	    writeStr += theParentTree[i].title;
	    writeStr += "</A><br>";
	    document.write(writeStr);
        //显示二级目录树
        if (dispSon){
           DispSonTree(theParentTree[i].arrayid,lastnode);
        }   
    }
}
</script>
</head>
<body bgcolor="#dbd8b0" text="#000000" leftmargin="0" topmargin="0">
<table width="779" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td width="180"><img src="../images/saimen.gif" width="180" height="50"></td>
    <td width="10">&nbsp;</td>
    <td width="589" align="center"><img src="../images/banner.gif" width="468" height="60"></td>
  </tr>
  <tr> 
    <td colspan="3" height="10"> 
      <hr>
    </td>
  </tr>
  <tr valign="top"> 
    <td width="180" height="276"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="6%">&nbsp;</td>
          <td width="94%">人事管理</td>
        </tr>
        <tr> 
          <td width="6%">&nbsp;</td>
          <td width="94%"><font size="2">  <a href="../user_adduser.php">超级管理员</a></font></td>
        </tr>
        <tr> 
          <td width="6%">&nbsp;</td>
          <td width="94%"><font size="2"> <a href="../user_modiuser.php">用户资料修改</a></font></td>
        </tr>
        <tr> 
          <td width="6%">&nbsp;</td>
          <td width="94%">&nbsp;</td>
        </tr>
        <tr> 
          <td width="6%">&nbsp;</td>
          <td width="94%">文档管理</td>
        </tr>
        <tr> 
          <td width="6%">&nbsp;</td>
          <td width="94%"><font size="2"> <a href="../document_folder.php">我的文件夹</a></font></td>
        </tr>
        <tr> 
          <td width="6%">&nbsp;</td>
          <td width="94%">&nbsp;</td>
        </tr>
        <tr> 
          <td width="6%">&nbsp;</td>
          <td width="94%">&nbsp;</td>
        </tr>
        <tr> 
          <td width="6%">&nbsp;</td>
          <td width="94%">&nbsp;</td>
        </tr>
        <tr> 
          <td width="6%">&nbsp;</td>
          <td width="94%">&nbsp;</td>
        </tr>
      </table>
    </td>
    <td width="10" height="276">&nbsp; </td>
    <td width="589" height="276"> 
      <table border=1 bordercolordark=#dbd8b0 bordercolorlight=#333333 
            cellpadding=3 cellspacing=0 width=528 align="center">
        <tbody> 
        <tr> 
          <td class=newfont6 
                  width="526" height="20"><font size="2">&gt;&gt;&gt; 文档分类</font></td>
        </tr>
        <tr> 
          <td class=newfont6 
                  width="526" height="146" valign="top"> 
            <p><a href="../document_sortadd.php">创建分类</a> | <a href="../document_sortedit.php">编辑分类</a></p>
            <!-- #BeginEditable "001" -->{001}<!-- #EndEditable --></td>
        </tr>
        </tbody> 
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
      </table>
      </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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