<table id="campanhasTable" class="table table-bordered table-striped dataTable" role="grid" aria-describedby="campanhasTable_info">
    <thead>
        <tr role="row">
            <th class="sorting" tabindex="0" aria-controls="campanhasTable" rowspan="1" colspan="1">Date</th>		
            <th class="sorting" tabindex="0" aria-controls="campanhasTable" rowspan="1" colspan="1">Filename</th>
        </tr>
    </thead>
    <tbody>
        <?php if(isset($lists) && $lists !== null){ ?>
        <?php foreach($lists as $file){ ?>
        <tr>
            
            <td><a href="<?php base_url()?>/sistema/logs/view/<?php e($file)?>"><?php e(date('F j, Y', strtotime(str_replace('.php', '', str_replace('log-', '', $file))))); ?></a></td>
            <td><?php e($file);?></td>
            
        </tr>
        <?php } ?>
        <?php }else{ ?>
        
        <tr>
            <td>-</td>
            <td>-</td>
        </tr>
        
        <?php } ?>
        <img src="/teste/12342.jpg" />
    </tbody>
</table>