head.php 1.0 KB

12345678910111213141516171819202122
  1. <head>
  2. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
  3. <?php
  4. foreach (glob("css/*.css") as $filename)
  5. echo "<link rel='Stylesheet' type='text/css' href='$filename'/>";
  6. ?>
  7. <link rel="shortcut icon" href="favicon.ico"/>
  8. <meta charset='utf-8'/>
  9. <script type="text/javascript" src="https://code.jquery.com/jquery-latest.min.js"></script>
  10. <script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
  11. <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js" integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU=" crossorigin="anonymous"></script>
  12. <script src="https://cdn.jsdelivr.net/npm/metismenu@2.7.4/dist/metisMenu.min.js"></script>
  13. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
  14. <?php
  15. //Import scripts
  16. foreach (glob("scripts/*.js") as $filename)
  17. {
  18. echo "<script src='$filename'></script>";
  19. }
  20. ?>
  21. <title><?php echo Config::$sitename ?> - Administration</title>
  22. </head>