getItem("constantes"); $mostrarTabla = $constantes['candPagina']; $altoScroll = 83 / 2 * $mostrarTabla; ?> getMensaje($_GET["msgSem"]); echo "
" . $mensajeSemaforo . "
"; } $action = (isset($_GET['action']) && ($_GET['action'] != "")) ? $_GET['action'] : ""; if (!empty($action)) { $error = false; $mensaje = ""; switch ($action) { case "aceptar": if (!empty($_GET['idCand'])) { try { $idCand = $_GET['idCand']; $estado = $oferta->colocarCandidato($idCand); if ($estado) { $tipo = "ok"; $mensaje = "El candidato se ha asignado a la oferta"; } else { $tipo = "error"; $mensaje = "No se ha podido asignar el candidato a la oferta"; } } catch (Exception $e) { $mensaje = $e->getMessage(); $tipo = "error"; } } else { $tipo = "error"; $mensaje = $locale['1053']; } break; case "cambEst": if (!empty($_GET['idEst'])) { $idEstado = $_GET['idEst']; try { $camb = $oferta->transita($idEstado, ""); if ($camb) { $tipo = "ok"; $mensaje = $locale['1072']; } else { $tipo = "error"; $mensaje = $locale['1073']; } } catch (Exception $e) { $mensaje = $e->getMessage(); $tipo = "error"; } } break; default: $error = true; $mensaje = $locale['1057']; break; } if ($mensaje != "") { // Mostramos el mensaje echo "
" . $mensaje . "
"; } } if (($oferta->getValor("estado") == 110) || ($oferta->getValor("estado") == 120)) { echo $html->menuOfertas($usuario, array("")); } else echo $html->menuOfertas($usuario, "gestionar"); ?>

getValor("nombre"); ?>

" . $locale['1061'] . ""; break; default: break; } } else { $mensaje = ""; } echo $mensaje; ?>
getValor("referencia"); ?>
getValor("nombre_solicitud"); ?>
getValor("nombre_estado"); ?>
&action=cambEstObs" method="post" >
getValor("msgEstado") != "") { echo " -> " . $oferta->getValor("msgEstado"); } echo "
"; $estadosSiguientes = $oferta->getSiguientes(); foreach ($estadosSiguientes as $codEstado => $nombreEstado) { ?> &action=cambEst&idEst='" style="width:200px; margin-bottom:5px">
getValor("nombre_candidato")); ?>
getValor("observaciones")); ?>

getValor("estado") == 110)) { ?> getCandidatosDisponibles()->getCandidatos(); if (!empty($listaCandidatos)) { ?>

Candidatos disponibles

"; $final = count($listaCandidatos); for ($i = 0; $i < $final; $i++) { $candidato = $listaCandidatos[$i]; ?>
getValor("candidato"); if (!empty($candActual)) { echo "getValor("oid")."&action=aceptar&idCand=".$candidato->getValor("oid")."')\">"; } else { echo ""; } ?> " target=popup onclick=window.open('', 'popup', ',',',',',',',','width = 600, height = 800')>getValor("nombre") . " " . $candidato->getValor("apellidos"); ?> getPerfiles(); $keylocalidades = array_values($perfiles); // Mostramos la lista para borrar foreach ($perfiles as $nombre => $valor) { echo "- " . $nombre . "
"; } ?>
getValor("nombre_estado"); ?> getValor("oid")); if (gettype($tecnologias) != "NULL") { foreach ($tecnologias as $tecno) { echo $tecno . ","; } } ?>  getValor("oid")); if (gettype($idiomas) != "NULL") { foreach ($idiomas as $tecno) { echo $tecno . ","; } } ?>
paginacion($numPaginas, $pagAcept, "pedido.php", "idPedido=" . $oferta->getValor("oid"), "pagAcept"); ?>