Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $block1links = [];
- $block1images = [];
- $block1index = 0;
- $block1link0 = 'https://www.gospelcontei.com.br/2019/07/eyshila-faz-homenagem-emocionante-a-cantora-gospel-bruna-karla/2075/';
- $block1link02 = 'https://www.gospelcontei.com.br/2019/07/cantor-gospel-davi-sacer-e-tietado-por-angolanos-no-aeroporto/1932/';
- $block1link03 = 'https://www.gospelcontei.com.br/2019/07/pastor-expulsa-demonio-a-tapas-e-video-viraliza-nas-redes-sociais/2105/';
- $block1link04 = 'https://www.gospelcontei.com.br';
- $block1titulo0 = 'Cantora Gospel ...';
- $block1titulo1 = 'Cantor Gospel ...';
- $block1titulo2 = 'Pastor ... Evangélico';
- $block1titulo3 = 'Notícias Gospel ... Mundo Cristão';
- $block1img0 = 'https://www.gospelcontei.com.br/wp-content/uploads/2019/06/Logo-contei.png';
- $block1img1 = 'https://www.gospelcontei.com.br/wp-content/uploads/2019/06/Logo-contei.png';
- $block1img2 = 'https://www.gospelcontei.com.br/wp-content/uploads/2019/06/Logo-contei.png';
- $block1img3 = 'https://www.gospelcontei.com.br/wp-content/uploads/2019/06/Logo-contei.png';
- $block1links[0] = "
- <a style='display: block; text-decoration: none; margin-top: 7px; margin-bottom: 8px' href = '". $block1link0 ."' target='_blank'>
- <img style='clear: both; float: left; margin-top: 3px; margin-right: 6px; height: 61px; min-width: 61px' src='". $block1img0 ."' alt='Cantora Gospel'>
- <div>
- <div style=''>
- <span style='font-size: 13px;'><small>Leia também:</small></span>
- </div>
- <div style='margin-top: -5px'>
- <span style='font-size: 18px; margin-top: 1px'>". $block1titulo0 ."</span>
- </div>
- </div>
- </a>";
- $block1links[1] = "
- <a style='display: block; text-decoration: none; margin-top: 7px; margin-bottom: 8px' href = '". $block1link1 ."' target='_blank'>
- <img style='clear: both; float: left; margin-top: 3px; margin-right: 6px; height: 61px; min-width: 61px' src='". $block1img1 ."' alt='Cantor Gospel'>
- <div>
- <div style=''>
- <span style='font-size: 13px;'><small>Leia também:</small></span>
- </div>
- <div style='margin-top: -5px'>
- <span style='font-size: 18px; margin-top: 1px'>". $block1titulo1 . "</span>
- </div>
- </div>
- </a>";
- $block1links[2] = "
- <a style='display: block; text-decoration: none; margin-top: 7px; margin-bottom: 8px' href = '". $block1link2 ."' target='_blank'>
- <img style='clear: both; float: left; margin-top: 3px; margin-right: 6px; height: 61px; min-width: 61px' src='". $block1img2 ."' alt='Pastor, Pastor Evangélico'>
- <div>
- <div style=''>
- <span style='font-size: 13px;'><small>Leia também:</small></span>
- </div>
- <div style='margin-top: -5px'>
- <span style='font-size: 18px; margin-top: 1px'>". $block1titulo2 . "</span>
- </div>
- </div>
- </a>";
- $block1links[3] = "
- <a style='display: block; text-decoration: none; margin-top: 7px; margin-bottom: 8px' href = '". $block1link3 ."' target='_blank'>
- <img style='clear: both; float: left; margin-top: 3px; margin-right: 6px; height: 61px; min-width: 61px' src='". $block1img3 ."' alt='Notícias Gospel'>
- <div>
- <div style=''>
- <span style='font-size: 13px;'><small>Leia também:</small></span>
- </div>
- <div style='margin-top: -5px'>
- <span style='font-size: 18px; margin-top: 1px'>". $block1titulo3 . "</span>
- </div>
- </div>
- </a>";
- $block1index = mt_rand(0,count($block1links)-1);
- // echo $block1index;
- ?>
- <div id="marketing-block1images" style="min-height: 136px">
- <hr style='margin-bottom: 14px; margin-top: 14px'>
- <div class="gen50">
- <?php echo $block1links[$block1index] ?>
- </div>
- </div>
- <style>
- .gen50 {
- height: auto;
- width: 50%; float: left;
- -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
- border: 1px solid transparent;
- padding: 0;
- }
- @media (max-width: 768px) {
- .gen50 {
- width: 100%;
- }
- }
- </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement