Commit 7914c5372adf15ec314be6a68285059b532e16e8
1 parent
269168e6
123
Showing
1 changed file
with
14 additions
and
1 deletions
Show diff stats
src/app/frontend/views/about_ukr.php
1 | +<?php | |
2 | + session_start(); | |
3 | +?> | |
1 | 4 | <!DOCTYPE html> |
2 | 5 | <html lang="ru-ru"> |
3 | 6 | <head> |
... | ... | @@ -819,13 +822,23 @@ |
819 | 822 | autoplayHoverPause:true |
820 | 823 | }) |
821 | 824 | </script> |
822 | - | |
825 | +<?php | |
826 | + if(isset($_SESSION['lang'])){ | |
827 | + //223232; | |
828 | + } | |
829 | + else{ | |
830 | + ?> | |
831 | + | |
823 | 832 | <script> |
824 | 833 | $("#invislang").click().remove(); |
825 | 834 | $(".close_lang").click(function(){ |
826 | 835 | $(".modal").hide(); |
827 | 836 | }); |
828 | 837 | </script> |
838 | +<?php | |
839 | + $_SESSION['lang'] = '1'; | |
840 | + } | |
841 | +?> | |
829 | 842 | <script type="text/javascript" src="/js/main.js"></script> |
830 | 843 | <!-- |
831 | 844 | <script src="/js/about/script.js"></script> | ... | ... |