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.

33 lines
731 B

6 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <?php
  2. require_once('lib/assembler.php');
  3. if( $CUser->Data['id'] > 1 ){
  4. UI_PageHeaderExt(
  5. 'rgoose_general.js',
  6. array('rgoose_timeline.js','rgoose_camera_editor.js','rgoose_mediaserver_module.js','rgoose_sysmap_editor.js','rgoose_location_editor.js','rgoose_dashboard.js','rgoose_main.js')
  7. );
  8. UI_PageBottomExt();
  9. } else {
  10. UI_PageHeader();
  11. if( $RTL_SITE ){
  12. UI_Begin2Section();
  13. } else {
  14. UI_Begin2Section('120px');
  15. UI_SideMenu();
  16. UI_SectionDelimiter();
  17. };
  18. //Main Content
  19. if( $CUser->Data[id] > 1 ){
  20. UI_MainDashBoard();
  21. } else {
  22. UI_LoginForm();
  23. };
  24. if( $RTL_SITE ){
  25. UI_SectionDelimiter('120px');
  26. UI_SideMenu();
  27. }
  28. UI_End2Section();
  29. UI_PageBottom();
  30. };
  31. ?>