desktopLentBanner.php 930 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. ?>
  3. <?php if(!Yii::$app->deviceDetect->isMobile()):?>
  4. <style>
  5. .desktop-lent-banner{
  6. min-height: 400px;
  7. }
  8. .lenta .list-wrapper div.desktop-lent-banner:hover{
  9. background: transparent;
  10. }
  11. .desktop-lent-banner>div{
  12. display: flex;
  13. align-items: center;
  14. justify-content: center;
  15. }
  16. </style>
  17. <div class="desktop-lent-banner text-center">
  18. <div id="lent_adfox_163238723987728973"></div>
  19. <script>
  20. window.yaContextCb.push(() => {
  21. // eslint-disable-next-line no-undef
  22. Ya.adfoxCode.create({
  23. ownerId: 279920,
  24. containerId: 'lent_adfox_163238723987728973',
  25. params: {
  26. pp: 'g',
  27. ps: 'dbpj',
  28. p2: 'hijw'
  29. }
  30. })
  31. })
  32. </script>
  33. </div>
  34. <?php endif;?>