<?php $__env->startSection('metatags'); ?>
<meta name="description" content="">
<meta property="og:title" content="Vida em Comunidade | Centro Social Paroquial de Rio de Loba">
<meta property="og:description" content="">
<meta property="og:image" content="<?php echo asset('assets/img/og_image.png'); ?>">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('title'); ?>
Vida em Comunidade |
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<div class="row">
    <div class="col-sm-12">
        <h3 class="page-title text-uppercase">
            Vida em Comunidade
            <br>
            <small>Eventos e atividades da Comunidade Paroquial</small>
        </h3>
    </div>
    <div class="col-sm-8">
       <table class="table">
           <tr>
               <th class="border-top-0 text-primary">Próximos Acontecimentos</th>
               <th class="border-top-0"></th>
               <th class="border-top-0"></th>
               <th class="border-top-0"></th>
           </tr>
           <?php if($eventos->isEmpty()): ?>
           <tr>
               <td colspan="4" class="text-muted">Não há eventos marcados para os próximos dias.</td>
           </tr>
           <?php endif; ?>
           
           <?php foreach($eventos as $evento): ?>
           <tr>
               <td><?php echo $evento->title; ?></td>
               <td><?php echo $evento->start->format('d F Y'); ?></td>
               <td><?php echo $evento->start->format('H\hs'); ?></td>
               <td><?php echo $evento->local; ?></td>
           </tr>
           <?php endforeach; ?>
       </table>
       <div class="spacer-30"></div>
       <table class="table">
           <tr>
               <th class="border-top-0 text-primary">Acontecimentos Anteriores</th>
               <th class="border-top-0"></th>
               <th class="border-top-0"></th>
               <th class="border-top-0"></th>
           </tr>
           <?php if($oldEventos->isEmpty()): ?>
           <tr>
               <td colspan="4" class="text-muted">Não há eventos anteriores.</td>
           </tr>
           <?php endif; ?>
           
           <?php foreach($oldEventos as $evento): ?>
           <tr>
               <td><?php echo $evento->title; ?></td>
               <td><?php echo $evento->start->format('d F'); ?></td>
               <td><?php echo $evento->start->format('H\hs'); ?></td>
               <td><?php echo $evento->local; ?></td>
           </tr>
           <?php endforeach; ?>
       </table>
    </div>
    <div class="col-sm-4">
        <div class="panel panel-sidebar">
            <div class="panel-heading">
                <h4 class="margin-top-0"><i class="fa fa-clock-o"></i> Horário das Eucaristias</h4>
            </div>
            <div class="panel-body">
                <table class="table">
                    <tr>
                        <td>Segunda a Sexta</td>
                        <td>Rio de Loba</td>
                        <td>19h00</td>
                    </tr>
                    <tr>
                        <td>Sábado</td>
                        <td>Rio de Loba</td>
                        <td>18h00</td>
                    </tr>
                    <tr>
                        <td>Domingo</td>
                        <td>
                            Rio de Loba<br/>
                            Trav. Cima<br/>
                            Trav. Baixo<br/>
                            Barbeita<br/>
                            Póvoa Sobrinhos
                        </td>
                        <td>
                            11h00<br/>
                            10h00<br/>
                            09h00<br/>
                            10h30<br/>
                            09h30<br/>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        
        <div class="panel panel-sidebar">
            <div class="panel-heading">
                <h4 class="margin-top-0"><i class="fa fa-phone"></i> Contactos úteis</h4>
            </div>
            <div class="panel-body">
                <table class="table">
                    <tr>
                        <td>Junta de Freguesia</td>
                        <td style="width: 120px">232 440 518</td>
                    </tr>
                    <tr>
                        <td>Agrupamento Escuteiros</td>
                        <td>geral.1156@escutismo.pt</td>
                    </tr>
                    <tr>
                        <td>CSCDR Leões da Beira</td>
                        <td>geral@leoesdabeira.pt</td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</div>
<div class="spacer-30"></div>
<?php $__env->stopSection(); ?>