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.

39 lines
818 B

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_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_single_ipi.js',
  20. 'rgoose_main.js'
  21. )
  22. );
  23. } else {
  24. UI_PageHeaderExt(
  25. 'rgoose_general.js',
  26. array(
  27. 'rgoose_map.js',
  28. 'rgoose_reports.js',
  29. 'rgoose_dashboard.js',
  30. 'rgoose_main.js'
  31. )
  32. );
  33. };
  34. UI_PageBottomExt();
  35. } else {
  36. UI_PageHeader();
  37. UI_LoginForm();
  38. UI_PageBottom();
  39. };
  40. ?>