index.php 549 B

1234567891011121314151617181920212223
  1. <?php
  2. // Init
  3. error_reporting(NULL);
  4. $TAB = 'LOG';
  5. include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
  6. // Header
  7. include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
  8. // Panel
  9. top_panel($user,$TAB);
  10. // Data
  11. exec (VESTA_CMD."v-list-user-log $user json", $output, $return_var);
  12. check_error($return_var);
  13. $data = json_decode(implode('', $output), true);
  14. $data = array_reverse($data);
  15. unset($output);
  16. include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_log.html');
  17. // Footer
  18. include($_SERVER['DOCUMENT_ROOT'].'/templates/footer.html');