Site du proximo, utilisé pour gérer le stock.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

template.php 3.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?php
  2. if (!isset($relativePath))
  3. $relativePath = "";
  4. if (!isset($pageScripts))
  5. $pageScripts = "";
  6. if (!isset($hasHeader))
  7. $hasHeader = false;
  8. ?>
  9. <!DOCTYPE html>
  10. <html>
  11. <head>
  12. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  13. <title><?= $pageTitle ?> | Proximo</title>
  14. <link href="https://fonts.googleapis.com/css?family=Open+sans|Roboto" rel="stylesheet">
  15. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css"
  16. integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
  17. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css"
  18. integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
  19. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.css">
  20. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css">
  21. <link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/general.css" media="screen,projection"/>
  22. <link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/index.css" media="screen,projection"/>
  23. <link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/hamburger.css"
  24. media="screen,projection"/>
  25. <link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/sidenav.css" media="screen,projection"/>
  26. <link type="text/css" rel="stylesheet" href="<?= $relativePath ?>assets/css/bootstrapOverwrite.css"
  27. media="screen,projection"/>
  28. <link rel="icon" type="image/png" href="<?= $relativePath ?>assets/images/favicon.png">
  29. <!--Let browser know website is optimized for mobile-->
  30. <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  31. </head>
  32. <body>
  33. <div id="mainContainer">
  34. <?php
  35. if (isset($header)) {
  36. echo $header;
  37. }
  38. include($relativePath . "includes/navbar.php");
  39. include($relativePath . "includes/sidenav.php");
  40. ?>
  41. <div class="mt-4" id="contentContainer">
  42. <?= $pageContent ?>
  43. </div>
  44. <?php include($relativePath . "includes/footer.php") ?>
  45. </div>
  46. <div id="scrollIndicator" style="display: none;">
  47. <i class="fas fa-angle-double-down"></i>
  48. </div>
  49. <!--JavaScript at end of body for optimized loading-->
  50. <script src="https://code.jquery.com/jquery-3.3.1.min.js"
  51. integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
  52. crossorigin="anonymous"></script>
  53. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"
  54. integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut"
  55. crossorigin="anonymous"></script>
  56. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"
  57. integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k"
  58. crossorigin="anonymous"></script>
  59. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.js"></script>
  60. <script type="text/javascript" src="<?= $relativePath ?>assets/js/init.js"></script>
  61. <script type="text/javascript" src="<?= $relativePath ?>assets/js/sidenav.js"></script>
  62. <?= $pageScripts ?>
  63. </body>
  64. </html>