infoUI.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. include '../auth.php';
  3. $useSystemProperties = file_exists("../SystemAOB/functions/file_system/properties.php");
  4. if ($useSystemProperties){
  5. header("Location: " . "../SystemAOB/functions/file_system/properties.php?filename=" . realpath($_GET["file"]));
  6. }
  7. ?>
  8. <!DOCTYPE html>
  9. <html>
  10. <head>
  11. <meta charset="UTF-8">
  12. <script src="../script/jquery.min.js"></script>
  13. <link rel="stylesheet" href="../script/tocas/tocas.css">
  14. <script type='text/javascript' src="../script/tocas/tocas.js"></script>
  15. <script type='text/javascript' src="../script/ao_module.js"></script>
  16. <title>7z File Manager</title>
  17. <style>
  18. body{
  19. background-color:white
  20. }
  21. .ts.form .inline.field label {
  22. min-width: 50%;
  23. }
  24. .ts.basic.dropdown, .ts.form select {
  25. max-width: 50%;
  26. }
  27. </style>
  28. </head>
  29. <body>
  30. <br>
  31. <div class="ts container">
  32. <h3>File information</h3>
  33. <br>File name: <?php echo $_GET["file"];?>
  34. <br>File size: <?php echo filesize($_GET["file"]);?>b
  35. <br><button class="ts basic button" style="width:45%" onclick="f_close()">Cancel</button>
  36. </div>
  37. </body>
  38. <script>
  39. function f_close(){
  40. if(ao_module_virtualDesktop){
  41. ao_module_close();
  42. }else{
  43. ts('#modal').modal('hide');
  44. }
  45. }
  46. </script>
  47. </html>