header.php 1.9 KB

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