<div id="conteudo">

            <div class="container-fluid">
                <div class="row">
                    <div class="col-sm-12">
                        <header>
                            <div class="row">
                                <div class="col-sm-6">
                                    <h1 class="h2">Notícias</h1>
                                </div>

                               <!--  <div class="col-sm-3 col-xs-5 text-right label-busca">
                                    <p style="margin: 6px 0 4px;">Categoria:</p>
                                </div>

                                <div class="col-sm-3 col-xs-7 select-busca">
                                    <form action="#">
                                        <select name="" id="input" class="form-control" required="required">
                                            <option value="">Selecione</option>
                                            <option value="">Selecione</option>
                                            <option value="">Selecione</option>
                                            <option value="">Selecione</option>
                                        </select>
                                    </form>
                                </div> -->
                            </div>
                        </header>

                        <div class="row grade">
                            <?php 
                            if($this->items->count() == 0){
                                    echo '<div class="alert alert-info">Nenhum item encontrado</div>';
                                }
                        foreach ($this->items as  $noticia) {
                            $url = BASE_URL.'noticias/ver/'.$noticia->id.'-'.Pampa_Util_String::url($noticia->titulo);
                            $data_hora = explode(' ', $noticia->date_ins);
                            $data = explode('-', $data_hora[0]);
                            ?>
                                <div class="col-sm-3">
                                    <article class="item noticia">
                                        <div class="thumb">
                                            <img src="<?=BASE_URL.'uploads/noticias/'.$noticia->imagem?>" class="img-responsive" alt="Miniatura da noticia">
                                        </div>

                                        <header>
                                            <time><p><?=$this->DataTexto($data)?></p></time>
                                            <h3><a href="<?=$url?>"><?=$this->CropText($noticia->titulo,30,'…')?></a></h3>
                                        </header>

                                        <div class="meta">
                                            <a class="btn btn-orange btn-sm inverse" href="<?=$url?>" role="button">Leia mais</a>

                                            <ul class="social small bw">
                                                <li class="facebook">
                                                    <a target="_blank" href="https://www.facebook.com/dialog/share?app_id=212441672592866&display=popup&href=<?=$url?>&redirect_uri=<?=$url?>"><img src="assets/images/icone-facebook.svg" alt=""></a>
                                                </li>

                                                <li class="linkedin">
                                                    <a  target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url=<?=$url?>
&summary=<?=$noticia->titulo?>&source=LinkedIn"><img src="assets/images/icone-linkedin.svg" alt=""></a>
                                                </li>

                                                <li class="twitter">
                                                    <a  target="_blank" href="https://twitter.com/share?url=<?=$url?>&via=ceped&related=ceped&hashtags=ceped&text=<?=$noticia->titulo?>"><img src="assets/images/icone-twitter.svg" alt=""></a>
                                                </li>
                                            </ul>
                                        </div>

                                    </article>
                                </div>
                       
                            <?php
                        }
                        ?>
                        </div>

                        <?php echo $this->paginationControl($this->items, null, '_paginator.phtml', array("filters" => $this->filters));?>

                    </div>
                </div>
            </div>

        </div>