Web UI for ARGUS server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
789 B

6 years ago
​
​
5 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
5 years ago
​
​
​
​
​
​
​
​
5 years ago
​
6 years ago
​
​
5 years ago
6 years ago
​
​
  1. <?php
  2. require_once('lib/assembler.php');
  3. if( $CUser->Data['id'] > 1 ){
  4. if( $CUser->Data['access'] > 5 ){
  5. UI_PageHeaderExt(
  6. 'rgoose_general.js',
  7. array(
  8. 'rgoose_swupgrade.js',
  9. 'rgoose_map.js',
  10. 'rgoose_reports.js',
  11. 'rgoose_devices.js',
  12. 'rgoose_cameras.js',
  13. 'rgoose_modules.js',
  14. 'rgoose_sysmap_editor.js',
  15. 'rgoose_location_editor.js',
  16. 'rgoose_dashboard.js',
  17. 'rgoose_users.js',
  18. 'rgoose_logs.js',
  19. 'rgoose_main.js'
  20. )
  21. );
  22. } else {
  23. UI_PageHeaderExt(
  24. 'rgoose_general.js',
  25. array(
  26. 'rgoose_map.js',
  27. 'rgoose_reports.js',
  28. 'rgoose_dashboard.js',
  29. 'rgoose_main.js'
  30. )
  31. );
  32. };
  33. UI_PageBottomExt();
  34. } else {
  35. UI_PageHeader();
  36. UI_LoginForm();
  37. UI_PageBottom();
  38. };
  39. ?>