left.php

来自「通达OA2007SE源代码 非常好的」· PHP 代码 · 共 54 行

PHP
54
字号
<?
  include_once 'inc/auth.php';
  echo '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<link rel="stylesheet" type="text/css" href="/inc/xtree.css">
</head>
';
  echo '<s';
  echo 'cript>
function show_tree(tree_id)
{
   if(document.all("xtree"+tree_id).style.display=="none")
      document.all("xtree"+tree_id).style.display="";
   else
      document.all("xtree"+tree_id).style.display="none"
}
</script>
<body topmargin="3" leftmargin="5" rightMargin="0" bgcolor="#D9E8FF" marginwidth="0" marginheight="0">
';
  if (($FILE_SORT == 2))
  {
    echo '<table border="0" cellspacing="1" width="100%" class="small" bgcolor="#000000" cellpadding="3">
  <tr class="TableHeader" onclick="show_tree(\'1\');" title="点击隐藏或显示个人文件柜目录树" style="cursor:hand;">
      <td nowrap align="center">个人文件柜</td>
  </tr>
</table>
<div id="xtree1" class="xtree" XmlSrc="tree.php?SORT_ID=0&FILE_SORT=';
    echo $FILE_SORT;
    echo '"></div>
<br>
<table border="0" cellspacing="1" width="100%" class="small" bgcolor="#000000" cellpadding="3">
  <tr class="TableHeader" onclick="show_tree(\'2\');" title="点击隐藏或显示共享文件柜目录树" style="cursor:hand;">
      <td nowrap align="center">共享文件柜</td>
  </tr>
</table>
<div id="xtree2" class="xtree" XmlSrc="share_tree.php?SORT_ID=0"></div>
';
  }
  else
  {
    echo '<div id="xtree1" class="xtree" XmlSrc="tree.php?SORT_ID=&SORT_ID=';
    echo $SORT_ID;
    echo '&FILE_SORT=';
    echo $FILE_SORT;
    echo '"></div>
';
  }
  echo '</body>
</html>';
?>

⌨️ 快捷键说明

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