 <?php 
  $agenda = $this->obj;
  $data = implode('/', array_reverse(explode('-', $agenda->data)) );
  $url = BASE_URL.'eventos/ver/'.$agenda->id.'-'.Pampa_Util_String::url($agenda->titulo);
  $urlInscricao = BASE_URL.'eventos/inscrever/'.$agenda->id.'-'.Pampa_Util_String::url($agenda->titulo);
                            
 ?>
  <div id="conteudo">

            <div class="container-fluid">
                <div class="row">
                    <div class="col-sm-10">
                        
                        <article class="noticia detalhe">

                            <div class="row navegacao hidden-xs">
                                <div class="col-sm-12">
                                    <a class="btn btn-grey inverse" href="javascript:history.back();" role="button"><img style="top: -1px; position: relative;" src="assets/images/seta-left.svg" alt="">&nbsp;VOLTAR</a>
                                </div>
                            </div>
                            
                            <div class="row alinhamento-vertical">

                                <div class="col-sm-12">
                                    <header>
                                        <span class="pagina"><a href="<?=BASE_URL?>eventos">Agenda</a></span>
                                        <time class="agenda"><p><?=$data?></p></time>
                                        <h3><?=$agenda->titulo?></h3>
                                    </header>

                                    <!-- <div class="acoes">
                                        <a class="btn btn-orange btn-inscricao" href="<?=$urlInscricao?>" role="button">Inscreva-se</a>
                                    </div> -->

                                    <div class="meta">
                                        <p>COMPARTILHAR:</p>

                                        <ul class="social 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=<?=$agenda->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=<?=$agenda->titulo?>"><img src="assets/images/icone-twitter.svg" alt=""></a>
                                                </li>
                                        </ul>
                                    </div>
                                </div>

                            </div>

                            <div class="row">
                                <div class="col-sm-12">
                                    <div class="texto">
                                        <br>
                                        <br>
                                        <?= stripslashes($agenda->texto)?>
                                    </div>
                                </div>
                            </div>

                        </article>

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

        </div>