Commit 41b041b331fe9a845c4991d5f7cc23c5cd80009a

Authored by Виталий
1 parent 48c7a979

cookies ad links

Showing 2 changed files with 30 additions and 24 deletions   Show diff stats
frontend/views/layouts/main.php
... ... @@ -777,30 +777,7 @@
777 777 <!-- *** FOOTER END *** -->
778 778  
779 779 <span id="back-to-top" title="<?=\Yii::t('app', 'Back to top')?>"><i class="fa fa-arrow-up"></i></span>
780   -<?php
781   -
782   -if (!isset($_COOKIE[ 'sowCookieModal' ])) {
783 780  
784   -?>
785   - <div class="cookie-modal">
786   - <div class="container">
787   - <div class="row">
788   - <div class="col-xs-12">
789   - <div class="cokeis-close"></div>
790   - <p>
791   - <?php
792   - echo \Yii::t('app', 'cookie-text')
793   - ?>
794   - </p>
795   - </div>
796   - </div>
797   - </div>
798   - </div>
799   - </div>
800   - <?php
801   - }
802   -
803   - ?>
804 781 <script id="dsq-count-scr" src="//http-t13-artweb-com-ua.disqus.com/count.js" async></script>
805 782 <!-- <script id="dsq-count-scr" src="//new-kbenergy-test.disqus.com/count.js" async></script>-->
806 783  
... ... @@ -852,7 +829,33 @@ if (!isset($_COOKIE[ &#39;sowCookieModal&#39; ])) {
852 829 <!-- {/literal} END JIVOSITE CODE -->
853 830  
854 831 <!-- /#all -->
  832 +
  833 + <?php
  834 +
  835 + if (!isset($_COOKIE[ 'sowCookieModal' ])) {
  836 +
  837 + ?>
  838 + <div class="cookie-modal">
  839 + <div class="container">
  840 + <div class="row">
  841 + <div class="col-xs-12">
  842 + <div class="cokeis-close"></div>
  843 + <p>
  844 + <?php
  845 + echo \Yii::t('app', 'cookie-text')
  846 + ?>
  847 + </p>
  848 + </div>
  849 + </div>
  850 + </div>
  851 + </div>
  852 + </div>
  853 + <?php
  854 + }
  855 +
  856 + ?>
855 857 <?php $this->endBody() ?>
  858 +
856 859 </body>
857 860 </html>
858 861 <?php $this->endPage() ?>
859 862 \ No newline at end of file
... ...
frontend/web/css/main.css
... ... @@ -1091,7 +1091,7 @@ p.error-text{
1091 1091 color: #fff;
1092 1092 padding: 7px 0;
1093 1093 text-align: center;
1094   - z-index: 8;
  1094 + z-index: 9999999999;
1095 1095 }
1096 1096 .cookie-modal.hide-bl {
1097 1097 display: none;
... ... @@ -1124,4 +1124,7 @@ p.error-text{
1124 1124 .cookie-modal a {
1125 1125 color: inherit;
1126 1126 text-decoration: underline;
  1127 +}
  1128 +.label_39 {
  1129 + z-index: 2147483645 !important;
1127 1130 }
1128 1131 \ No newline at end of file
... ...