HEX
Server: Apache
System: Linux clpupre 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64
User: undanet (1000)
PHP: 7.4.3
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /home/undanet/www/PortalEmpleo/src/Views/pdftemplates/resolexam.php
<?php setlocale(LC_ALL,"es_ES"); ?>
<script>
jQuery(document).ready(function($) {
    $(".escribir-texto-libre1").keyup(function () {
      var value = $(this).val();
      $(".texto-libre1").html(value);
    }).keyup();
    
    $(".escribir-texto-libre2").keyup(function () {
      var value = $(this).val();
      $(".texto-libre2").html(value);
    }).keyup();
    
});
</script> 
<style>
	#resolucion-examen {
		margin: 40px 35px 25px 35px;
	}
	#resolucion-examen img.logo {
		width: 2in;
		margin-left: 20px;
		margin-top: 0;
		position: relative;
		margin: 0;
	}
	#resolucion-examen h1,
	#resolucion-examen h2,
	#resolucion-examen h3,
	#resolucion-examen p,
	#resolucion-examen span,
	#resolucion-examen h4 {
		font-family: Arial, Helvetica, sans-serif;
	}
	#resolucion-examen .decorarte {
		display: flex;
		margin-top: 5%;
		justify-content: center;
	}
	#resolucion-examen .izq {
		width: 50%;
	}
	#resolucion-examen .der {
		width: 90%;
		text-align: right;   
	}
	#resolucion-examen .customer,
	#resolucion-examen .footer {
		margin: 10px 0;
	}
	#resolucion-examen .header {
		display: flex;
		justify-content: space-between;
		width: 90%;
		margin-top: -50px;
		margin-left: auto;
		margin-right: auto;
	}
	#resolucion-examen .productos-row {
		display: flex;
		flex-wrap: wrap;
		border-bottom: solid 1px;
	}
	#resolucion-examen .productos-row:first-child {
		border-top: solid 1px;
	}
	#resolucion-examen .productos-row>div {
		width: calc(15% - 11px);
		text-align: center;
		border-right: solid 1px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 5px;
	}
	#resolucion-examen .productos-row>div:first-child {
		border-left: solid 1px;
	}
	#resolucion-examen .productos-row>div.descripcion {
		width: calc(40% - 12px);
	}
	#resolucion-examen .productos-row>div.sub-total {
		width: calc(85% - 12px);
		justify-content: flex-end;
	}
	#resolucion-examen .separador {
		padding: 10px 0;
	}
	#resolucion-examen .header-text,
	#resolucion-examen .p.header.text {
		line-height: 0.1;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 9px;
		text-align: right;
	}
	#resolucion-examen .referencia {
		line-height: 0.1;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 11px;
	}    
	#resolucion-examen .referencia-nobold {
		color: rgb(54, 95, 145);
		line-height: 1;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 11.5px;
		font-weight: 300;
	}
	#resolucion-examen .center {
		font-family: Arial, Helvetica, sans-serif;
		font-size: 12px;
		text-align: justify;
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	#resolucion-examen .color-noblack {
		color: rgb(54, 95, 145);
		font-family: Arial, Helvetica, sans-serif;
		font-size: 11.5px;
		font-weight: 300;
	}
	#resolucion-examen .font-weight300 {
		font-weight: 300;
	}
	#resolucion-examen .first-bold {
		font-weight: bold;
	}
	#resolucion-examen .tabla-resultado td {
		font-family: Arial, Helvetica, sans-serif;
		font-size: 9px;
		font-weight: 300;
		border: thin solid black;
	}
	#resolucion-examen .tabla-resultado th {
		font-family: Arial, Helvetica, sans-serif;
		font-size: 10px;
		font-weight: bold;
		border: thin solid black;
	}
	#resolucion-examen .tabla-resultado {
		border-collapse: collapse;
		width: 100%;
	}
	#resolucion-examen .span-center {
		position: relative;
		left: 20%;
		margin: 2% 0 2% 0;
	}
	#resolucion-examen .pie-firma {
		text-align: center;
		padding-top: 30px;
	}
	#resolucion-examen .pie-firma2 {
		text-align: center;
	}
	#resolucion-examen .ul-footer-alone li img {
		margin: 5px;
		height: 100%;
		max-height: 60px;
	}
	#resolucion-examen .footer-alone {
		text-align: center;
		margin-top: 100px;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
	#resolucion-examen .ul-footer-alone li {
		display: inline;
		list-style: none;
		margin: 5%;
		width: 100%;
	}
	#resolucion-examen .ul-footer-alone {
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0;
	}
	.ul-footer-alone li img {
		width: 100%!Important;
		max-width: 100px!Important;
	}
</style>
<div class="resolucion-examen" id="resolucion-examen">
    <div class="header">
		<img class="logo" src="<?php echo get_stylesheet_directory_uri() ?>/img/logo-up.png" />
		<div class="header-text">
			<p class="p.header.text">CLPU – Centro de Láseres Pulsados</p>
			<p class="p.header.text">Edif. M5. Parque Científico de la USAL</p>
			<p class="p.header.text">c/ Adaja, 8. 37185 Villamayor, Salamanca. SPAIN</p>
			<p class="p.header.text">Tel: (+34) 923 338 121 || www.clpu.es</p>
		</div>
	</div>
    <div class="decorarte">
		<div class="der referencia">
			<p>
				<strong>
					Ref. <?php echo $data['convocatoria']->getReferencia() ?> 
					<?php echo $data['convocatoria']->getDescripcion() ?>
				</strong>
			</p>
		</div>
    </div>
    <div class="center ">
		<p style="text-transform:uppercase;">
			<strong>RESOLUCIÓN DE FECHA <?php echo date("d");?> DE <?php echo getMes(date('n')-1) ;?> DE 
			<?php echo date("Y");?> DEL DIRECTOR DEL CONSORCIO DEL CENTRO DE LÁSERES PULSADOS ULTRACORTOS ULTRAINTENSOS 
			DE SALAMANCA (CLPU) DE LOS RESULTADOS DE LA 1ª FASE DEL PROCESO DE SELECCIÓN PARA LA FORMALIZACIÓN DE UN 
			CONTRATO <span class="texto-libre1"></span>
		</p>
    </div>
    <div class="center font-weight300">
		<p> 
			<span class="texto-libre2"></span>    
		</p>      
		<p>
			En dicha Resolución se establecía que el proceso constaría de las siguientes fases: evaluación del 
			cumplimiento de los requisitos de la candidatura, oposición y concurso de méritos.
		</p>
		<p>
			Una vez finalizada la evaluación de cumplimiento de requisitos y tras la evaluación de la oposición 
			de las personas participantes, a propuesta del Tribunal de Selección, se acuerda:
		</p>
		<p> 
			<strong>Primero:</strong> Aprobar la siguiente relación que contiene las puntuaciones 
			obtenidas por las personas que han realizado la prueba selectiva:
		</p>
		<table class="tabla-resultado" style="width: 90%;">
			<tr>
				<th style="text-align: center; padding: 8px  ;">Nº</th>
				<th style="text-align: center;">Nombre y Apellidos</th>
				<th style="text-align: center;">Nº Identificación</th>
				<th style="text-align: center;">Puntuación</th>
			</tr>
			<?php $counter = 1; ?>
			<?php foreach ($data['lcandidato'] as $candidatoconvocatoria) { 
				if( candidatoTieneReqSuperados($candidatoconvocatoria) ) { ?>
					<tr>
						<td style="text-align: center;"><?php echo $counter++; ?></td>
						<td style="padding-left: 5px;padding: 5px;">
						  <?php echo ($candidatoconvocatoria->getCodigocandidato())->getNombre() ?>
						  <?php echo ($candidatoconvocatoria->getCodigocandidato())->getApellido1() ?>
						  <?php echo ($candidatoconvocatoria->getCodigocandidato())->getApellido2() ?>
						</td>
						<td style="text-align: center;"> 
						  <?php echo substr_replace( substr_replace( ($candidatoconvocatoria->getCodigocandidato())->getDocumento(), '***', 3, 3 ) , '**', 7, strlen( ($candidatoconvocatoria->getCodigocandidato())->getDocumento() )  )  ?>
						</td>
					
						<?php foreach ( $data['lvaloraciones'] as $valoracion ) {
							
							if ($valoracion->getCodigoconvocatoriarequisito() != null) {
								$valoracion_codigo_merito_requisito = ($valoracion->getCodigoconvocatoriarequisito())->getIdconvocatoriarequisito();
							} else if ($valoracion->getCodigoconvocatoriamerito() != null) {
								$valoracion_codigo_merito_requisito = ($valoracion->getCodigoconvocatoriamerito())->getIdconvocatoriamerito();										
							} else {
								$valoracion_codigo_merito_requisito = null;
							}
							
							if ( null == $valoracion_codigo_merito_requisito && ($candidatoconvocatoria->getCodigocandidato())->getIdcandidato() == ($valoracion->getCodigocandidato())->getIdcandidato() && (($valoracion->getCodigotribunalconvocatoria())->getCodigoRol())->getIdrol() == 5 ) {
								$textofinal = $valoracion->getExamennota();
								break;							
							}                                
						} ?>
						<td style="text-align: center;"><?php echo $textofinal; ?></td> 				
					</tr>
				<?php } 
			} ?>                        
		</table>
		<br>
		<p> 
			<strong>Segundo:</strong> Aprobar la siguiente relación que contiene las candidaturas que en base al 
			umbral establecido en las Bases específicas de esta convocatoria, superan la oposición. Se convocará 
			a los aspirantes que la hayan superado para continuar en la fase de concurso de méritos
		</p>
		<table class="tabla-resultado" style="width: 90%;">
			<tr>
				<th style="text-align: center; padding: 8px  ;">Nº</th>
				<th style="text-align: center;">Nombre y Apellidos</th>
				<th style="text-align: center;">Nº Identificación</th>
			</tr>
			<?php $counter = 1; ?>
			<?php foreach ($data['lcandidato'] as $candidatoconvocatoria) { 
			
				if( candidatoTieneReqSuperados($candidatoconvocatoria) ) { ?>
					<tr>
						<?php 
						$desaprobado = false;					
						foreach ( $data['lvaloraciones'] as $valoracion ) {
							
							if ($valoracion->getCodigoconvocatoriarequisito() != null) {
								$valoracion_codigo_merito_requisito = ($valoracion->getCodigoconvocatoriarequisito())->getIdconvocatoriarequisito();
							} else if ($valoracion->getCodigoconvocatoriamerito() != null) {
								$valoracion_codigo_merito_requisito = ($valoracion->getCodigoconvocatoriamerito())->getIdconvocatoriamerito();										
							} else {
								$valoracion_codigo_merito_requisito = null;
							}
							
							if (null == $valoracion_codigo_merito_requisito && ($candidatoconvocatoria->getCodigocandidato())->getIdcandidato() == ($valoracion->getCodigocandidato())->getIdcandidato() && (($valoracion->getCodigotribunalconvocatoria())->getCodigoRol())->getIdrol() == 5 ) {
								$desaprobado = $valoracion->getExamennota() < $data['convocatoria']->getPuntuacionCorte();
								break;							
							}                                
						} 
						
						if ($desaprobado) {
							continue;
						}
						?>
						
						<td style="text-align: center;"><?php echo $counter++; ?></td>
						<td style="padding-left: 5px;padding: 5px;">
						  <?php echo ($candidatoconvocatoria->getCodigocandidato())->getNombre() ?>
						  <?php echo ($candidatoconvocatoria->getCodigocandidato())->getApellido1() ?>
						  <?php echo ($candidatoconvocatoria->getCodigocandidato())->getApellido2() ?>
						</td>
						<td style="text-align: center;"> 
						  <?php echo substr_replace( substr_replace( ($candidatoconvocatoria->getCodigocandidato())->getDocumento(), '***', 3, 3 ) , '**', 7, strlen( ($candidatoconvocatoria->getCodigocandidato())->getDocumento() )  )  ?>
						</td>
					</tr>
				<?php } 
			} ?>                        
		</table>
		<br>		
		<p> 
			<strong>Tercero:</strong> Proceder a publicar esta Resolución y conceder a los candidatos un plazo de 
			cinco días hábiles, a partir del día siguiente al envío de la notificación de su publicación en la página 
			web del CLPU, para efectuar las alegaciones pertinentes, sin perjuicio de la continuidad del proceso 
			selectivo. Si se realizaran alegaciones éstas serán resueltas en un plazo máximo de cinco días hábiles. 
		</p>
		<p class="pie-firma">Fdo: Mª Dolores Rodríguez Frías</p>
		<p class="pie-firma2">Director CLPU</p>
	</div>
    <div class="footer-alone">
		<ul class="ul-footer-alone">
			<li><img class="logo-footer1" src="<?php echo get_stylesheet_directory_uri() ?>/img/logo1.png" alt="logo2" /></a></li>
			<li><img class="logo-footer2" src="<?php echo get_stylesheet_directory_uri() ?>/img/logo2.png" alt="logo2" /></a></li>
			<li><img class="logo-footer3" src="<?php echo get_stylesheet_directory_uri() ?>/img/logo3.png" alt="logo2" /></a></li>
		</ul>
    </div>
</div>