Web Interface For Lite Argus Control modules
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.

42 lines
901 B

4 years ago
​
​
​
​
​
​
4 years ago
​
​
​
​
​
​
4 years ago
​
​
​
​
4 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_global_vars.js',
  9. 'rgoose_swupgrade.js',
  10. 'rgoose_map.js',
  11. 'rgoose_reports.js',
  12. 'rgoose_devices.js',
  13. 'rgoose_cameras.js',
  14. 'rgoose_modules.js',
  15. 'mojo_monitoring.js',
  16. //'rgoose_sysmap_editor.js',
  17. 'rgoose_location_editor.js',
  18. 'rgoose_dashboard.js',
  19. 'rgoose_users.js',
  20. 'rgoose_logs.js',
  21. 'rgoose_single_ipi.js',
  22. 'mojo_settings.js',
  23. 'rgoose_main.js'
  24. )
  25. );
  26. } else {
  27. UI_PageHeaderExt(
  28. 'rgoose_general.js',
  29. array(
  30. 'rgoose_map.js',
  31. 'rgoose_reports.js',
  32. 'rgoose_dashboard.js',
  33. 'rgoose_main.js'
  34. )
  35. );
  36. };
  37. UI_PageBottomExt();
  38. } else {
  39. UI_PageHeader();
  40. UI_LoginForm();
  41. UI_PageBottom();
  42. };
  43. ?>