<?php $__env->startSection('css'); ?>
<?php echo Minify::stylesheet('/css/radioOnDemandPlayer.css')->withFullUrl(); ?>

<?php echo HTML::style('//cdn.datatables.net/1.10.7/css/jquery.dataTables.min.css'); ?>

<?php echo Minify::stylesheet('/css/dataTable.css')->withFullUrl(); ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('title'); ?>
Radio ECCA a la carta
<?php $__env->stopSection(); ?>
<?php $__env->startSection('description'); ?>
Escuche todos los programas de Radio ECCA dónde y cuando quiera. Todos los podcasts de audio de Radio ECCA disponibles.
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<?php echo Breadcrumbs::render('radio-on-demand'); ?>

<div id="loading" class="oculto">
   <span class="glyphicon glyphicon-refresh" aria-hidden="true"></span>
</div>
<div class="container">
   <div class="titulo_categoria">
      <span>Radio a la carta</span>
   </div>
   <div class="titulo col-md-12">
      Listado de programas disponibles
   </div>
   <table class="table" id="ivooxTable">
      <thead>
         <tr>
            <td>
               Título del podcast
            </td>
            <td>
               Canal
            </td>
            <td>
               Actualizado
            </td>
         </tr>
      </thead>
      <tbody>
         <?php foreach($ivooxes as $ivoox): ?>
         <tr>
            <td data-order="<?php echo e($ivoox['alias']); ?>" class="ivoox-title">
               <a href="<?php echo e(route('radio-selected', ['id'=>$ivoox['alias']])); ?>">
                  <?php echo e($ivoox['name']); ?>

               </a>
            </td>
            <?php if($ivoox['typeImage']=='img/ivoox_magis.jpg'): ?>
               <td>      
                   Magis Radio <img width="15" src="<?php echo e(asset($ivoox['typeImage'])); ?>">
               </td>
            <?php endif; ?>
            <?php if($ivoox['typeImage']=='img/ivoox_ecca.jpg'): ?>
               <td>      
                  Radio ECCA <img width="15" src="<?php echo e(asset($ivoox['typeImage'])); ?>"> 
               </td>
            <?php endif; ?>
            <?php if($ivoox['active']): ?>
               <td style="width: 9%" data-order="activo">      
                  <span style="color:#6fce00" class="glyphicon glyphicon-thumbs-up" aria-hidden="true"></span> 
               </td>
            <?php else: ?>
               <td style="width: 9%" data-order="inactivo">      
                  <span style="color:#d21e00" class="glyphicon glyphicon-thumbs-down" aria-hidden="true"></span> 
               </td>
            <?php endif; ?>
         </tr>
         <?php endforeach; ?>
      </tbody>
   </table>
   <div class="spacer"></div>
<!--   <div class="titulo col-md-12">
      Leyenda
   </div>
   <div class="leyenda">
      <div class="col-md-3 col-sm-6"><img width="15" src='<?php echo e(asset("img/ivoox_ecca.jpg")); ?>'> Programación Radio ECCA</div>
      <div class="col-md-3 col-sm-6"><img width="15" src='<?php echo e(asset("img/ivoox_magis.jpg")); ?>'> Programación Magis Radio</div>
   </div>   -->
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('js-code-post'); ?>
<?php echo Minify::javascript('/js/custom.js')->withFullUrl(); ?> 
<?php echo HTML::script('https://cdn.datatables.net/1.10.9/js/jquery.dataTables.min.js'); ?>

<script>
   $(document).ready(function () {
      $('#ivooxTable').dataTable({
         "language": {
            "url": "//cdn.datatables.net/plug-ins/1.10.9/i18n/Spanish.json"
         },
         "order": [[2, "asc"], [ 1, 'desc' ]],
         "pageLength": 15
      });
   });
</script> 
<?php $__env->stopSection(); ?>


<?php echo $__env->make('layouts.base', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>