Sindbad~EG File Manager

Current Path : /var/www/html/edd.sumar.com.py/storage/framework/views/
Upload File :
Current File : /var/www/html/edd.sumar.com.py/storage/framework/views/337718cd17c1b6de5c63ed1c35ec8c7913986a07.php

<div>
	<?php $__currentLoopData = $interrogantes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $int): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
		<div class="row">
			<div class="col-md-6">
				<p style="color: #6c757d;"><?= $int->int_nom ?></p>
			</div>
			<div class="col-md-6" style="color: #6c757d;">
				<?php if($int->int_tipo == 1): ?>
					<?php for($i = $int->int_inicio; $i <= $int->int_fin; $i++): ?>
						<div class="form-check form-check-inline">
						  	<input class="form-check-input calcular" type="radio" name="respuesta<?php echo e($int->id); ?>" id="inlineRadio<?php echo e($int->id); ?><?php echo e($i); ?>" value="<?php echo e($i); ?>" required>
						  	<label class="form-check-label" for="inlineRadio<?php echo e($int->id); ?><?php echo e($i); ?>"><?php echo e($i); ?></label>
						</div>
					<?php endfor; ?>
					<?php if($int->int_nr == 1): ?>
						<div class="form-check form-check-inline">
						  	<input class="form-check-input" type="radio" name="respuesta<?php echo e($int->id); ?>" id="inlineRadio5" value="N/A">
						  	<label class="form-check-label" for="inlineRadio5">N/A</label>
						</div>
					<?php endif; ?>
					<?php if($editar == 1): ?>
						<?php $__currentLoopData = $respuestaint; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
							<?php if($int->id == $element->interrogante_id): ?>
								<script>
									document.getElementById("inlineRadio<?php echo e($int->id); ?><?php echo e($element->respuesta); ?>").checked = true;
								</script>
							<?php endif; ?>
						<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
					<?php endif; ?>
				<?php elseif($int->int_tipo == 2 && $evaluador_id == Auth::user()->id): ?>
					<div class="form-group">
					    <textarea class="form-control" id="Textarea<?php echo e($int->id); ?>" name="respuesta<?php echo e($int->id); ?>" rows="3" required></textarea>
					</div>
					<?php if($editar == 1): ?>
						<?php $__currentLoopData = $respuestaint; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
							<?php if($int->id == $element->interrogante_id): ?>
								<script>
									document.getElementById("Textarea<?php echo e($int->id); ?>").value = "<?php echo e($element->respuesta); ?>";
								</script>
							<?php endif; ?>
						<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
					<?php endif; ?>
				<?php elseif($int->int_tipo == 3): ?>
					<?php for($i = 1; $i <= 10; $i++): ?>
						<?php
							$dato='int_opcion'.$i;
							$dato2='int_opcion'.$i.'_punto';
						?>
						<?php if($int->$dato): ?>
							<div class="form-check form-check-inline">
							  	<input class="form-check-input" type="radio" name="respuesta<?php echo e($int->id); ?>" id="inlineRadio<?php echo e($int->id); ?><?php echo e($int->$dato2); ?>" value="<?php echo e($int->$dato2); ?>" required>
							  	<label class="form-check-label" for="inlineRadio<?php echo e($int->id); ?><?php echo e($int->$dato2); ?>"><?php echo e($int->$dato); ?></label>
							</div><br>
						<?php endif; ?>
					<?php endfor; ?>
					<?php if($editar == 1): ?>
						<?php $__currentLoopData = $respuestaint; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
							<?php if($int->id == $element->interrogante_id): ?>
								<script>
									document.getElementById("inlineRadio<?php echo e($int->id); ?><?php echo e($element->respuesta); ?>").checked = true;
								</script>
							<?php endif; ?>
						<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
					<?php endif; ?>
				<?php elseif($int->int_tipo == 4 && $evaluador_id == Auth::user()->id): ?>
					<?php for($i = 1; $i <= 10; $i++): ?>
						<?php
							$dato='int_opcion'.$i;
						?>
						<?php if($int->$dato): ?>
							<div class="form-check">
							  <input class="form-check-input" type="checkbox" name="respuesta<?php echo e($int->id); ?>[]" value="<?php echo e($int->$dato); ?>" id="checkbox<?php echo e($int->id); ?><?php echo e($int->$dato); ?>">
							  <label class="form-check-label" for="<?php echo e($int->id); ?><?php echo e($i); ?>">
							    <?php echo e($int->$dato); ?>

							  </label>
							</div><br>
						<?php endif; ?>
					<?php endfor; ?>
					<?php if($editar == 1): ?>
						<?php $__currentLoopData = $respuestaint; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
							<?php if($int->id == $element->interrogante_id): ?>
								<?php
									$arreglo = unserialize($element->respuesta);
								?>
								<?php $__currentLoopData = $arreglo; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $arr): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
									<script>
										document.getElementById("checkbox<?php echo e($int->id); ?><?php echo e($arr); ?>").checked = true;
									</script>
								<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
							<?php endif; ?>
						<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
					<?php endif; ?>
				<?php else: ?>
					<script>
						var myobj = document.getElementById("<?php echo e($int->competencia_id); ?>");
						myobj.remove();
					</script>
				<?php endif; ?>
			</div>
			<?php if($int->int_tipo == 4 && $evaluador_id == Auth::user()->id): ?>
				<div class="col-md-12" style="color: #6c757d;">
					<div class="form-group">
						<label for="">Comentario:</label>
					    <textarea class="form-control" id="Textarea<?php echo e($int->id); ?>" name="respuesta2<?php echo e($int->id); ?>" rows="3" required></textarea>
					</div>
					<?php if($editar == 1): ?>
						<?php $__currentLoopData = $respuestaint; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
							<?php if($int->id == $element->interrogante_id): ?>
								<script>
									document.getElementById("Textarea<?php echo e($int->id); ?>").value = "<?php echo e($element->respuesta2); ?>";
								</script>
							<?php endif; ?>
						<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
					<?php endif; ?>
				</div>
			<?php endif; ?>
		</div><hr>

    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

</div><?php /**PATH /var/www/html/logros.sumar.com.py/resources/views/livewire/cargaformulario/index.blade.php ENDPATH**/ ?>

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