netdisk_public_share_left.jsp
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:3k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=utf-8"%>
  2. <%@ page import="com.redmoon.oa.netdisk.*" %>
  3. <%@ page import="cn.js.fan.util.*" %>
  4. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  5. <html>
  6. <head>
  7. <LINK href="common.css" type=text/css rel=stylesheet>
  8. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  9. <title>选择全局共享目录-菜单</title>
  10. <script>
  11. function findObj(theObj, theDoc)
  12. {
  13.   var p, i, foundObj;
  14.   
  15.   if(!theDoc) theDoc = document;
  16.   if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
  17.   {
  18.     theDoc = parent.frames[theObj.substring(p+1)].document;
  19.     theObj = theObj.substring(0,p);
  20.   }
  21.   if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
  22.   for (i=0; !foundObj && i < theDoc.forms.length; i++) 
  23.     foundObj = theDoc.forms[i][theObj];
  24.   for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++) 
  25.     foundObj = findObj(theObj,theDoc.layers[i].document);
  26.   if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
  27.   
  28.   return foundObj;
  29. }
  30. function ShowChild(imgobj, name)
  31. {
  32. var tableobj = findObj("childof"+name);
  33. if (tableobj.style.display=="none")
  34. {
  35. tableobj.style.display = "";
  36. if (imgobj.src.indexOf("i_puls-root-1.gif")!=-1)
  37. imgobj.src = "images/i_puls-root.gif";
  38. if (imgobj.src.indexOf("i_plus-1-1.gif")!=-1)
  39. imgobj.src = "images/i_plus2-2.gif";
  40. if (imgobj.src.indexOf("i_plus-1.gif")!=-1)
  41. imgobj.src = "images/i_plus2-1.gif";
  42. }
  43. else
  44. {
  45. tableobj.style.display = "none";
  46. if (imgobj.src.indexOf("i_puls-root.gif")!=-1)
  47. imgobj.src = "images/i_puls-root-1.gif";
  48. if (imgobj.src.indexOf("i_plus2-2.gif")!=-1)
  49. imgobj.src = "images/i_plus-1-1.gif";
  50. if (imgobj.src.indexOf("i_plus2-1.gif")!=-1)
  51. imgobj.src = "images/i_plus-1.gif";
  52. }
  53. }
  54. </script>
  55. </head>
  56. <body>
  57. <table width="100%"  border="0" style="background-image:url(images/bg_left.jpg); background-repeat:no-repeat">
  58.   <tr>
  59.     <td height="73" align="left"><table width="100%"  border="0">
  60.       <tr>
  61.         <td height="33" align="left" style="FILTER: glow(color=ffffff)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong><font color="#0099FF">公共共享</font></strong>&nbsp;<a target="_parent" href="../admin/netdisk_public_dir_frame.jsp"><font color="#999999">[管理]</font></a></td>
  62.       </tr>
  63.       <tr>
  64.         <td align="left">&nbsp;<img src="images/disk.gif" align="absmiddle">&nbsp;<a href="netdisk_frame.jsp" target="_parent">网络硬盘</a>&nbsp;&nbsp;<img src="images/network.gif" width="16" height="16" align="absbottom">&nbsp;<a href="netdisk_neighbor_frame.jsp" target="_parent">网络邻居</a></td>
  65.       </tr>
  66.     </table></td>
  67.   </tr>
  68. </table>
  69. <table width="100%"  border="0">
  70.   <tr>
  71.     <td width="5" align="left">&nbsp;</td>
  72.   <td align="left">
  73. <%
  74. PublicDirectoryView pdv = new PublicDirectoryView(new PublicLeaf(PublicLeaf.ROOTCODE));
  75. pdv.ListSimple(out, "mainPublicShareFrame", "netdisk_public_attach_list.jsp", "", "" );
  76. %>
  77. </td>
  78.   </tr>
  79. </table>
  80. </body>
  81. </html>