footer.tpl 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. {if !$showingLoginPage}
  2. {if $themesettings.general.themelayout == "1"}
  3. {include file="$template/core/layouts/left/footer.tpl"}
  4. {else}
  5. {include file="$template/core/layouts/default/footer.tpl"}
  6. {/if}
  7. {/if}
  8. {if $showingLoginPage}
  9. <script>
  10. $("p:contains('Powered by')").remove();
  11. </script>
  12. {/if}
  13. {if $templatefile eq "pagebuilder" or $templatefile eq "homepage" or $pagetype eq "custom"}{else}
  14. <div class="modal system-modal fade" id="modalAjax" tabindex="-1" role="dialog" aria-hidden="true">
  15. <div class="modal-dialog modal-dialog-centered">
  16. <div class="modal-content">
  17. <div class="modal-header">
  18. <h5 class="modal-title"></h5>
  19. <button type="button" class="close" data-dismiss="modal">
  20. <span aria-hidden="true">&times;</span>
  21. <span class="sr-only">{lang key='close'}</span>
  22. </button>
  23. </div>
  24. <div class="modal-body">
  25. {$LANG.loading}
  26. </div>
  27. <div class="modal-footer">
  28. <div class="pull-left loader">
  29. <i class="fas fa-circle-notch fa-spin"></i> {$LANG.loading}
  30. </div>
  31. <button type="button" class="btn btn-default" data-dismiss="modal">
  32. {$LANG.close}
  33. </button>
  34. <button type="button" class="btn btn-primary modal-submit">
  35. {$LANG.submit}
  36. </button>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. {/if}
  42. <form method="get" action="{$currentpagelinkback}">
  43. <div class="modal fade modal-localisation" id="modalChooseLanguage" tabindex="-1" role="dialog">
  44. <div class="modal-dialog" role="document">
  45. <div class="modal-content">
  46. <div class="modal-body">
  47. <button type="button" class="close text-light" data-dismiss="modal" aria-label="Close">
  48. <span aria-hidden="true">&times;</span>
  49. </button>
  50. {if $languagechangeenabled && count($locales) > 1}
  51. <h4 class="pt-2 mt-0 pb-3">{lang key='chooselanguage'}</h4>
  52. <div class="row item-selector">
  53. <input type="hidden" name="language" data-current="{$language}" value="{$language}" />
  54. {foreach $locales as $locale}
  55. <div class="col-6 col-md-4">
  56. <a href="#" class="item{if $language == $locale.language} active{/if}" data-value="{$locale.language}">
  57. <span class="iti-flag {if $locale.countryCode === '001'}us{else}{$locale.countryCode|lower}{/if}"></span>
  58. <span>{$locale.localisedName}</span>
  59. </a>
  60. </div>
  61. {/foreach}
  62. </div>
  63. {/if}
  64. {if !$loggedin && $currencies}
  65. <p class="h5 pt-5 pb-3">{lang key='choosecurrency'}</p>
  66. <div class="row item-selector currency">
  67. <input type="hidden" name="currency" data-current="{$activeCurrency.id}" value="">
  68. {foreach $currencies as $selectCurrency}
  69. <div class="col-6 col-md-4">
  70. <a href="#" class="item{if $activeCurrency.id == $selectCurrency.id} active{/if}" data-value="{$selectCurrency.id}">
  71. {$selectCurrency.prefix} {$selectCurrency.code}
  72. </a>
  73. </div>
  74. {/foreach}
  75. </div>
  76. {/if}
  77. </div>
  78. <div class="modal-footer">
  79. <button type="submit" class="btn btn-block btn-primary">{lang key='apply'}</button>
  80. </div>
  81. </div>
  82. </div>
  83. </div>
  84. </form>
  85. {if $templatefile eq "pagebuilder" or $templatefile eq "homepage" or $pagetype eq "custom"}{else}
  86. {include file="$template/includes/generate-password.tpl"}
  87. {/if}
  88. {if $themesettings.cookieconsent.cconsent}
  89. {include file="$template/core/includes/cookieconsent.tpl"}
  90. {/if}
  91. {if !$showingLoginPage}
  92. {if $themesettings.general.enablepromo}
  93. {if $themesettings.general.edatec}
  94. <script>
  95. var x = setInterval( function(){ t(); } , 1000);
  96. var date_ = "{$themesettings.general.proend} 00:00";
  97. function t() {
  98. var now = new Date().getTime();
  99. var countDownDate = new Date(date_).getTime();
  100. var distance = countDownDate - now;
  101. var days = Math.floor(distance / (1000 * 60 * 60 * 24));
  102. var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  103. var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
  104. var seconds = Math.floor((distance % (1000 * 60)) / 1000);
  105. if (distance > 0) {
  106. document.getElementById("offer-Days").innerHTML = days.toString().length < 2 ? "0"+days : days ;
  107. document.getElementById("offer-Hours").innerHTML = hours.toString().length < 2 ? "0"+hours : hours ;
  108. document.getElementById("offer-Minutes").innerHTML = minutes.toString().length < 2 ? "0"+minutes : minutes;
  109. document.getElementById("offer-Seconds").innerHTML = seconds.toString().length < 2 ? "0"+seconds : seconds;
  110. }else{
  111. clearInterval(x);
  112. $('.cros-latest-promo').remove();
  113. }
  114. }
  115. </script>
  116. {/if}
  117. {/if}
  118. {/if}
  119. {if $adminMasqueradingAsClient || $adminLoggedIn}
  120. {if $themesettings.customcolors.developermod}
  121. {include file="$template/core/includes/theme-footer.tpl"}
  122. {/if}
  123. {/if}
  124. {$footeroutput}
  125. </body>
  126. </html>