Sindbad~EG File Manager
<?php
use App\Models\Puntaje;
?>
<table>
<tr>
<td>Nombre del usuario</td>
<td>Pregunta</td>
<td>Respuesta 1</td>
<td>Respuesta 2</td>
<td>usuario_id</td>
<td>Equipo</td>
<td>Fecha</td>
<td>Puntuación</td>
<td>Feedback</td>
</tr>
@foreach($respuestas as $res)
<tr>
<td>{{$res->name}}</td>
<td>
<?php
$texto = preg_replace ('/<[^>]*>/', ' ', $res->int_nom);
echo $texto;
?>
</td>
<td>
@if($res->int_tipo == 4 || $res->int_tipo == 5)
<?php
$datos=unserialize($res->respuesta);
?>
<ul>
@foreach($datos as $dato)
@foreach($dato as $da)
<li>{{$da}}</li>
@endforeach
@endforeach
</ul>
@else
{{$res->respuesta}}
@endif
</td>
<td>
{{strip_tags($res->respuesta2)}}
</td>
<td>{{$res->usuario_id}}</td>
<td>{{$res->equipo}}</td>
<td>{{$res->created_at}}</td>
<?php
$puntaje=Puntaje::where('usuario_id',$res->usuario_id)->where('formulario_id',$res->formulario_id)->first();
?>
<td>
@if($puntaje)
{{$puntaje->nota}}
@endif
</td>
<td>
@if($puntaje)
{{$puntaje->feedback}}
@endif
</td>
</tr>
@endforeach
</table>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists