page252.tpl.php 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?php // BEGIN PHP
  2. $websitekey=basename(__DIR__); if (empty($websitepagefile)) $websitepagefile=__FILE__;
  3. if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) {
  4. $pathdepth = count(explode('/', $_SERVER['SCRIPT_NAME'])) - 2;
  5. require_once ($pathdepth ? str_repeat('../', $pathdepth) : './').'master.inc.php';
  6. } // Not already loaded
  7. require_once DOL_DOCUMENT_ROOT.'/core/lib/website.lib.php';
  8. require_once DOL_DOCUMENT_ROOT.'/core/website.inc.php';
  9. ob_start();
  10. // END PHP ?>
  11. <html lang="en">
  12. <head>
  13. <title>Footer</title>
  14. <meta charset="utf-8">
  15. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  16. <meta name="robots" content="index, follow" />
  17. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  18. <meta name="keywords" content="" />
  19. <meta name="title" content="Footer" />
  20. <meta name="description" content="" />
  21. <meta name="generator" content="Dolibarr 17.0.0-beta (https://www.dolibarr.org)" />
  22. <meta name="dolibarr:pageid" content="252" />
  23. <?php if ($website->use_manifest) { print '<link rel="manifest" href="/manifest.json.php" />'."\n"; } ?>
  24. <!-- Include link to CSS file -->
  25. <link rel="stylesheet" href="/styles.css.php?website=<?php echo $websitekey; ?>" type="text/css" />
  26. <!-- Include link to JS file -->
  27. <script async src="/javascript.js.php"></script>
  28. <!-- Include HTML header from common file -->
  29. <?php if (file_exists(DOL_DATA_ROOT."/website/".$websitekey."/htmlheader.html")) include DOL_DATA_ROOT."/website/".$websitekey."/htmlheader.html"; ?>
  30. <!-- Include HTML header from page header block -->
  31. </head>
  32. <!-- File generated by Dolibarr website module editor -->
  33. <body id="bodywebsite" class="bodywebsite bodywebpage-footer">
  34. <!-- Enter here your HTML content. Add a section with an id tag and tag contenteditable="true" if you want to use the inline editor for the content -->
  35. <section id="footer" contenteditable="true">
  36. <!-- Footer -->
  37. <footer class="site-footer section-padding">
  38. <div class="container">
  39. <div class="row">
  40. <div class="col-lg-4 col-md-7 col-xs-12 tooplate-mt30">
  41. <h6 class="text-white mb-lg-4 mb-3"><?php echo $weblangs->trans("Location"); ?></h6>
  42. <p><?php echo $mysoc->getFullAddress(); ?></p>
  43. <a href="contact.php#divaddress" class="custom-btn btn btn-dark mt-2"><?php echo $weblangs->trans("Map"); ?></a>
  44. </div>
  45. <div class="col-lg-4 col-md-5 col-xs-12 tooplate-mt30">
  46. <h6 class="text-white mb-lg-4 mb-3">Opening Hours</h6>
  47. <?php $days = ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY"];
  48. foreach ($days as $day){
  49. echo "<p> $day : " .getDolGlobalString("MAIN_INFO_OPENINGHOURS_$day") ."</p>";
  50. }
  51. ?>
  52. <p>
  53. Tel:
  54. <a href="tel: <?php echo $mysoc->phone ?>" class="tel-link"
  55. ><?php echo $mysoc->phone ?></a
  56. >
  57. </p>
  58. </div>
  59. <div class="col-lg-4 col-md-6 col-xs-12 tooplate-mt30">
  60. <h6 class="text-white mb-lg-4 mb-3">Social</h6>
  61. <ul class="social-icon">
  62. <?php foreach($mysoc->socialnetworks as $key => $value) {
  63. print '<li> <a class="btn btn-perso2 btn-floating m-1" href="'. (preg_match('/^http/', $value) ? $value : 'https://www.'.$key.'.com/'.$value).'"><span class="fab fa-'.$key.'"></i></a> </li>';
  64. } ?>
  65. </ul>
  66. <p class="copyright-text tooplate-mt60">
  67. Copyright © <?php echo $mysoc->name; ?>
  68. </p>
  69. </div>
  70. </div>
  71. <!-- row ending -->
  72. </div>
  73. <!-- container ending -->
  74. </footer>
  75. </section>
  76. </body>
  77. </html>
  78. <?php // BEGIN PHP
  79. $tmp = ob_get_contents(); ob_end_clean(); dolWebsiteOutput($tmp, "html", 252);
  80. // END PHP ?>