file.html 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>文件管理</title>
  6. <link href="{#_link("static/css/style.css")#}" rel="stylesheet" type="text/css" />
  7. <link href="{#_link("static/css/select.css")#}" rel="stylesheet" type="text/css" />
  8. <link href="{#_link("static/css/jquery.multiSelect.css")#}" rel="stylesheet" type="text/css" />
  9. <script type="text/javascript" src="{#_link("static/js/jquery.min.js")#}"></script>
  10. <script type="text/javascript" src="{#_link("static/js/jquery.idTabs.min.js")#}"></script>
  11. <script type="text/javascript" src="{#_link("static/js/select-ui.min.js")#}"></script>
  12. <script type="text/javascript" src="{#_link("static/js/jquery.bgiframe.min.js")#}"></script>
  13. <script type="text/javascript" src="{#_link("static/js/jquery.multiSelect.js")#}"></script>
  14. <script type="text/javascript" src="{#_link("static/js/tips.js")#}"></script>
  15. <script type="text/javascript" src="{#_link("static/js/notify-custom.min.js")#}"></script>
  16. <link href="{#_link('static/js/google-code-prettify/prettify.css')#}" type="text/css" rel="stylesheet" />
  17. <script type="text/javascript" src="{#_link('static/js/google-code-prettify/prettify.js')#}"></script>
  18. <style>
  19. pre span{display:inline;font-size:14px;}
  20. pre.prettyprint{border:0px;}
  21. </style>
  22. </head>
  23. <body>
  24. <div class="place">
  25. <span>位置:</span>
  26. <ul class="placeul">
  27. <li><a href="{#$pathes.index#}">首页</a></li>
  28. <li><a href="{#_link('/dirs')#}?path={#$defaultPath#}">文件管理</a></li>
  29. {#foreach item=item from=$visitPathes#}
  30. <li><a href="{#$item.url#}">{#$item.name#}</a></li>
  31. {#/foreach#}
  32. <li>{#$file#}</li>
  33. </ul>
  34. </div>
  35. <table class="filetable">
  36. <thead>
  37. <tr>
  38. <td><h3>&nbsp;&nbsp;&nbsp;&nbsp;文件内容:</h3></td>
  39. </tr>
  40. </thead>
  41. <tbody>
  42. <tr>
  43. <td width="100%">
  44. <pre class="prettyprint linenums Lang-html">
  45. {#$code|htmlspecialchars#}
  46. </pre>
  47. </td>
  48. </tr>
  49. </tbody>
  50. </table>
  51. <script>
  52. $(function(){
  53. prettyPrint();
  54. });
  55. </script>
  56. </body>
  57. </html>