select_folder.php 758 B

123456789101112131415161718192021222324252627
  1. <?php
  2. require_once ('./header.php');
  3. logged_in_only ();
  4. ?>
  5. <h2 class="title">Select Folder</h2>
  6. <div style="width:100%; height:330px; overflow:auto;">
  7. <?php
  8. require_once ('./folders.php');
  9. $tree = new folder;
  10. $tree->make_tree (0);
  11. $tree->print_tree ();
  12. $path = $tree->print_path ($folderid);
  13. ?>
  14. </div>
  15. <br>
  16. <input type="submit" value=" OK " onClick="javascript:opener.childof.value = '<?php echo $folderid; ?>';opener.path.value = '<?php echo $path; ?>'; self.close()">
  17. <input type="button" value="Cancel" onClick="window.close()">
  18. <input type="button" value=" New Folder " onClick="self.location.href='javascript:foldernew(<?php echo $folderid; ?>)'">
  19. <?php
  20. require_once (ABSOLUTE_PATH . "footer.php");
  21. ?>