index.php 460 B

123456789101112131415161718
  1. <?php
  2. error_reporting(NULL);
  3. $TAB = 'WEB';
  4. // Main include
  5. include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
  6. // Data
  7. exec (VESTA_CMD."v-list-web-domains $user json", $output, $return_var);
  8. $data = json_decode(implode('', $output), true);
  9. $data = array_reverse($data,true);
  10. $ips = json_decode(shell_exec(VESTA_CMD.'v-list-sys-ips json'), true);
  11. // Render page
  12. render_page($user, $TAB, 'list_web');
  13. // Back uri
  14. $_SESSION['back'] = $_SERVER['REQUEST_URI'];