header.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Панель администратора</title>
  5. <link rel="stylesheet" type="text/css" href="/<?php echo HTML_STYLE.'.css'; ?>">
  6. <script src="/js/jq/jquery.min.js"></script>
  7. <link href="/js/select2/css/select2.min.css" rel="stylesheet"/>
  8. <script src="/js/select2/js/select2.min.js"></script>
  9. <link rel="stylesheet" href="/js/jstree/themes/default/style.min.css" />
  10. <script src="/js/jstree/jstree.min.js"></script>
  11. <meta http-equiv="content-type" content="application/xhtml+xml" />
  12. <meta charset="UTF-8" />
  13. <script language="javascript">
  14. function checkAll(check) {
  15. var boxes = document.def.elements.length;
  16. if(check) {
  17. for(i=0; i<boxes; i++) {
  18. document.def.elements[i].checked = true;
  19. }
  20. } else {
  21. for(i=0; i<boxes; i++) {
  22. document.def.elements[i].checked = false;
  23. }
  24. }
  25. }
  26. $(document).ready(function() {
  27. $('.js-select-single').select2();
  28. });
  29. </script>
  30. </head>
  31. <body>
  32. <div id="title"><?php print get_const('org_name')?></div>
  33. <div id="navi">
  34. <a href="/admin/reports/index-full.php">
  35. <?php print $title_reports?>
  36. </a> | <a href="/admin/groups/">
  37. <?php print $title_groups?>
  38. </a> | <a href="/admin/users/">
  39. <?php print $title_users?>
  40. </a> | <a href="/admin/iplist/">
  41. <?php print $title_users_ips?>
  42. </a> | <a href="/admin/filters/">
  43. <?php print $title_filters?>
  44. </a> | <a href="/admin/queues/">
  45. <?php print $title_shapers?>
  46. </a> | <a href="/admin/devices/">
  47. <?php print $title_devices?>
  48. </a> |
  49. <a href="/admin/customers/control.php"> Managment </a> |
  50. <a href="/admin/logs/"> Logs </a> |
  51. <a href="<?php print $page_url.'?logout=1'; ?>">Exit</a>
  52. </div>