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,30 +777,7 @@
777 <!-- *** FOOTER END *** --> 777 <!-- *** FOOTER END *** -->
778 778
779 <span id="back-to-top" title="<?=\Yii::t('app', 'Back to top')?>"><i class="fa fa-arrow-up"></i></span> 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 <script id="dsq-count-scr" src="//http-t13-artweb-com-ua.disqus.com/count.js" async></script> 781 <script id="dsq-count-scr" src="//http-t13-artweb-com-ua.disqus.com/count.js" async></script>
805 <!-- <script id="dsq-count-scr" src="//new-kbenergy-test.disqus.com/count.js" async></script>--> 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,7 +829,33 @@ if (!isset($_COOKIE[ &#39;sowCookieModal&#39; ])) {
852 <!-- {/literal} END JIVOSITE CODE --> 829 <!-- {/literal} END JIVOSITE CODE -->
853 830
854 <!-- /#all --> 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 <?php $this->endBody() ?> 857 <?php $this->endBody() ?>
  858 +
856 </body> 859 </body>
857 </html> 860 </html>
858 <?php $this->endPage() ?> 861 <?php $this->endPage() ?>
859 \ No newline at end of file 862 \ No newline at end of file
frontend/web/css/main.css
@@ -1091,7 +1091,7 @@ p.error-text{ @@ -1091,7 +1091,7 @@ p.error-text{
1091 color: #fff; 1091 color: #fff;
1092 padding: 7px 0; 1092 padding: 7px 0;
1093 text-align: center; 1093 text-align: center;
1094 - z-index: 8; 1094 + z-index: 9999999999;
1095 } 1095 }
1096 .cookie-modal.hide-bl { 1096 .cookie-modal.hide-bl {
1097 display: none; 1097 display: none;
@@ -1124,4 +1124,7 @@ p.error-text{ @@ -1124,4 +1124,7 @@ p.error-text{
1124 .cookie-modal a { 1124 .cookie-modal a {
1125 color: inherit; 1125 color: inherit;
1126 text-decoration: underline; 1126 text-decoration: underline;
  1127 +}
  1128 +.label_39 {
  1129 + z-index: 2147483645 !important;
1127 } 1130 }
1128 \ No newline at end of file 1131 \ No newline at end of file