Incam_Intranet/formulario_importa_candidato.php

31 lines
1014 B
PHP

<?php
include("seguridad.php");
include("functions.php");
// Sólo los administradores y rrhh pueden importar
if(!$usuario->tieneRol("1")
&& !$usuario->tieneRol("4")){
header("Location: aplicacion.php?e=permiso");
exit;
}
include_once("html/cabecera.php");
include_once("Objects/HTML.php");
$html = new HTML($locale);
echo $html->menuCandidatos();
echo "<h2>".$locale["1541"]."</h2>";
echo '<form action="importa_candidato_infojobs.php" method="POST">';
echo '<textarea name="contenido" rows="20" cols="100" maxlength="10000" style="overflow: auto;"></textarea><br>';
echo '<input type="submit" class="button" value="Importar">';
echo '</form>';
echo "<h2>".$locale["1542"]."</h2>";
echo "Formato: nombre;apellidos;e-mail;tlf móvil<br/>";
echo '<form action="importa_candidatos_cvs.php" enctype="multipart/form-data" method="POST">';
echo '<input name="userfile" type="file"><br>';
echo '<input type="submit" class="button" value="Importar">';
echo '</form>';
?>