header.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title><?php echo WEB_site_title; ?></title>
  5. <link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png">
  6. <link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png">
  7. <link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png">
  8. <link rel="manifest" href="/site.webmanifest">
  9. <link rel="mask-icon" href="/img/safari-pinned-tab.svg" color="#5bbad5">
  10. <meta name="viewport" content="width=device-width, initial-scale=1">
  11. <meta http-equiv="content-type" content="application/xhtml+xml" />
  12. <meta charset="UTF-8" />
  13. <link rel="stylesheet" href="/js/remodal/remodal.css">
  14. <link rel="stylesheet" href="/js/remodal/remodal-default-theme.css">
  15. <link rel="stylesheet" href="/css/remodal-custom.css">
  16. <link rel="stylesheet" type="text/css" href="/css/<?php echo HTML_STYLE.'.css'; ?>">
  17. <script src="/js/jq/jquery.min.js"></script>
  18. <link href="/js/select2/css/select2.min.css" rel="stylesheet"/>
  19. <script src="/js/select2/js/select2.min.js"></script>
  20. <link rel="stylesheet" href="/js/jstree/themes/default/style.min.css" />
  21. <script src="/js/jstree/jstree.min.js"></script>
  22. <script language="javascript">
  23. function checkAll(check) {
  24. var boxes = document.def.elements.length;
  25. if(check) {
  26. for(i=0; i<boxes; i++) {
  27. document.def.elements[i].checked = true;
  28. }
  29. } else {
  30. for(i=0; i<boxes; i++) {
  31. document.def.elements[i].checked = false;
  32. }
  33. }
  34. }
  35. $(document).ready(function() {
  36. $('.js-select-single').select2({
  37. width: 'auto',
  38. dropdownAutoWidth: true
  39. });
  40. });
  41. </script>
  42. </head>
  43. <body>
  44. <div id="title"><?php print get_const('org_name')?></div>
  45. <div id="navi">
  46. <a href="/admin/reports/index-full.php"><?php print WEB_title_reports; ?></a> |
  47. <a href="/admin/groups/"><?php print WEB_title_groups; ?></a> |
  48. <a href="/admin/users/"><?php print WEB_title_users; ?></a> |
  49. <a href="/admin/iplist/"><?php print WEB_title_users_ips; ?></a> |
  50. <a href="/admin/filters/"><?php print WEB_title_filters; ?></a> |
  51. <a href="/admin/queues/"><?php print WEB_title_shapers; ?></a> |
  52. <a href="/admin/devices/"><?php print WEB_title_devices; ?></a> |
  53. <a href="/admin/customers/control.php"><?php print WEB_title_control; ?></a> |
  54. <a href="/admin/logs/"><?php print WEB_title_logs; ?></a> |
  55. <a href="/logout.php"><?php print WEB_title_exit; ?></a>
  56. </div>