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.

26 lines
526 B

6 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <?php
  2. require_once('lib/assembler.php');
  3. // Disable Direct access without login
  4. if($CUser->Data[id] < 2 ){
  5. header('location: /');
  6. exit();
  7. };
  8. UI_PageHeader();
  9. if( $RTL_SITE ){
  10. UI_Begin2Section();
  11. } else {
  12. UI_Begin2Section('120px');
  13. UI_SideMenu();
  14. UI_SectionDelimiter();
  15. };
  16. if( $CUser->Data[id] > 1 ){
  17. //Main Content
  18. } else {
  19. UI_LoginForm();
  20. };
  21. if( $RTL_SITE ){
  22. UI_SectionDelimiter('120px');
  23. UI_SideMenu();
  24. }
  25. UI_End2Section();
  26. UI_PageBottom();
  27. ?>