header.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Панель администратора</title>
  5. <link rel="stylesheet" type="text/css" href=<? echo "\"/$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. </script>
  27. <script>
  28. $(document).ready(function() {
  29. $('.js-select-single').select2();
  30. });
  31. </script>
  32. </head>
  33. <body>
  34. <div id="title"><?php print $org_name?></div>
  35. <div id="navi">
  36. <a href="/admin/reports/index-full.php">
  37. <?php print $title_reports?>
  38. </a> | <a href="/admin/groups/">
  39. <?php print $title_groups?>
  40. </a> | <a href="/admin/users/">
  41. <?php print $title_users?>
  42. </a> | <a href="/admin/iplist/">
  43. <?php print $title_users_ips?>
  44. </a> | <a href="/admin/filters/">
  45. <?php print $title_filters?>
  46. </a> | <a href="/admin/queues/">
  47. <?php print $title_shapers?>
  48. </a> | <a href="/admin/devices/">
  49. <?php print $title_devices?>
  50. </a> |
  51. <a href="/admin/customers/control.php"> Managment </a> |
  52. <a href="/admin/logs/"> Logs </a> |
  53. <a href="<?php print $page_url.'?logout=1'; ?>">Exit</a>
  54. </div>