Sindbad~EG File Manager

Current Path : /var/www/html/encuesta.sumar.com.py_old/resources/views/respuestas/formulario1/
Upload File :
Current File : /var/www/html/encuesta.sumar.com.py_old/resources/views/respuestas/formulario1/show.blade.php

@extends('adminlte::page')

@section('title', 'Respuestas')

@section('content')
<div class="container">
<div class="row">
	<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> 
		<h3 align="center">Respuestas realizadas por <b>{{$nombre->name}}</b> </h3><br><br>
	 </div>
	</div>
	<!-- Esto es un comentario-->

	<div class="row">
		<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <!-- para que sea responsive-->
			<div class="table-responsive">
				<table class="table table-striped table-bordered table-condensed table-hover">
					<thead> <!-- titulo cabecera-->
						<th>Cuestionante </th>
						<th>Respuesta  </th>
					</thead>
					
					@foreach ($respuestas as $res)
						@if($res->tipo == 1)
							<tr>
								<td>{{$res->cuestionante}}</td>
								<td>{{$res->respuesta}}</td>
							</tr>
						@endif
					@endforeach
				</table>
			</div>
		</div>
		{{-- <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <!-- para que sea responsive-->
			<h3 align="center">Lo que más me gusta de formar parte del Equipo Atlas</h3>
			<div class="table-responsive">
				<table class="table table-striped table-bordered table-condensed table-hover">
					<thead> <!-- titulo cabecera-->
						<th>Cuestionante </th>
						<th>Respuesta  </th>
					</thead>
					
					@foreach ($respuestas as $res)
						@if($res->tipo == 6)
							<tr>
								<td>Lo que me gusta</td>
								<td>
									@php
										$megusta = unserialize($res->respuesta);
                						$cantidad = count($megusta);
									@endphp
									<ul class="d-flex flex-row align-items-start justify-content-start">
					                  	@for($i=0; $i < $cantidad; $i++)
					                  		<li>{{$megusta[$i]}}</li>
					                  	@endfor
					                </ul>
								</td>
							</tr>
						@endif
					@endforeach
				</table>
			</div>
		</div>
		<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <!-- para que sea responsive-->
			<h3 align="center">Lo que menos me gusta de formar parte del Equipo Atlas</h3>
			<div class="table-responsive">
				<table class="table table-striped table-bordered table-condensed table-hover">
					<thead> <!-- titulo cabecera-->
						<th>Cuestionante </th>
						<th>Respuesta  </th>
					</thead>
					
					@foreach ($respuestas as $res)
						@if($res->tipo == 7)
							<tr>
								<td>Lo que no me gusta</td>
								<td>
									@php
										$nomegusta = unserialize($res->respuesta);
                						$cantidad = count($nomegusta);
									@endphp
									<ul class="d-flex flex-row align-items-start justify-content-start">
					                  	@for($i=0; $i < $cantidad; $i++)
					                  		<li>{{$nomegusta[$i]}}</li>
					                  	@endfor
					                </ul>
								</td>
							</tr>
						@endif
					@endforeach
				</table>
			</div>
		</div>
		<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <!-- para que sea responsive-->
			<h3 align="center">Elegi los puntos que te parecen en los que podemos seguir trabajando:</h3>
			<div class="table-responsive">
				<table class="table table-striped table-bordered table-condensed table-hover">
					<thead> <!-- titulo cabecera-->
						<th>Cuestionante </th>
						<th>Respuesta  </th>
					</thead>
					
					@foreach ($respuestas as $res)
						@if($res->tipo == 8)
							<tr>
								<td>Selección</td>
								<td>
									@php
										$otro = unserialize($res->respuesta);
                						$cantidad = count($otro);
									@endphp
									<ul class="d-flex flex-row align-items-start justify-content-start">
					                  	@for($i=0; $i < $cantidad; $i++)
					                  		<li>{{$otro[$i]}}</li>
					                  	@endfor
					                </ul>
								</td>
							</tr>
						@endif
					@endforeach
				</table>
			</div>
		</div>--}}
		<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <!-- para que sea responsive-->
			<h3 align="center">Observaciones</h3>
			<div class="table-responsive">
				<table class="table table-striped table-bordered table-condensed table-hover">
					<thead> <!-- titulo cabecera-->
						<th>Cuestionante </th>
						<th>Respuesta  </th>
					</thead>
					
					@foreach ($respuestas as $res)
						@if($res->tipo == 5)
							<tr>
								<td>{{$res->cuestionante}}</td>
								<td>{{$res->respuesta}}</td>
							</tr>
						@endif
					@endforeach
				</table>
			</div>
		</div>
	</div>
</div>
<script src="{{ asset('js/app.js') }}"></script>
@stop

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists