Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--inicio do Bloco-->
- <?php if(isset($noticias) && !is_null($noticias)): ?>
- <?php foreach($noticias as $nt): ?>
- <div class="bloco-agenda-int">
- <div class="data-agenda-int"><?= get_day_month_year($nt->data_publicacao) ?></div>
- <div class="titulo-agenda-int"><a href="<?= base_url('noticia/'.$nt->id) ?>"><?= $nt->titulo ?></a></div>
- <div class="assinatura-agenda-int">por <?= strtoupper($nt->grupo) ?> em <?= br_datetime($nt->data_publicacao) ?></div>
- <a href="<?= base_url('noticia/'.$nt->id) ?>"><img src="<?= base_url($nt->imagem) ?>" alt=""></a>
- <div class="texto-agenda-int"><?= substr($nt->conteudo, 0, 300).'...' ?></div>
- </div><br><br>
- <?php endforeach; ?>
- <?php endif; ?>
- <!--FIM do Bloco-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement