%PDF- %PDF-
Direktori : /var/www/pjc/resources/views/ |
Current File : /var/www/pjc/resources/views/corsi.blade.php |
<?php ?> @extends('layouts.main') @section('content') <!-- START BREADCRUMB --> <ul class="breadcrumb"> <li><a href="">Home</a></li> <li> Corsi</li> <li class="active"> </li> </ul> <!-- END BREADCRUMB --> <div class="row"> <div class="col-md-12"> <div class="panel-body"> <div class="panel panel-default"> <div class="panel-body"> <p>Elenco Corsi</p> </div> <div class="panel-body"> <table class="table data-table" id="tabella"> <thead> <th>Data</th> <th>Corso</th> <th>Report</th> </thead> <tbody> @foreach($data as $item) <?php $data = $item['data']; $app = explode('/',$data); $new = $app[2].$app[1].$app[0]; ?> <tr> <td data-sort={{ $new }}>{{ $item['data']}}</td> <td>{{ $item['corso']}}</td> <td><a target="blank" href="{{ $item['link'] }}">vedi</a></td> </tr> @endforeach </tbody> </table> </div> </div> </div> </div> </div> </div> <script> $(document).ready(function () { $('#tabella').DataTable(); }); </script> @stop