$el_php="formulario.php";
?>
$el_php
} else {
$error="::: ERROR the field: ";
$vacio=" it cant be empty :::";
//****************************************
$recaptcha_secret = "6Lfkx2QlAAAAAN5hsTT3D3TsXXIzv42BWO6aZpbU";
$recaptcha_response = $_POST['g-recaptcha-response'];
if($recaptcha_response !='')
{
$nombre = strtoupper($_POST['nombre']);
//$telef = $_POST['telefono'];
$correo = $_POST['email'];
$tours = $_POST['tours'];
$servicios = $_POST['servicios'];
if((strlen(trim($nombre))==0) OR ($nombre=="NAME")) { $error NAME $vacio exit;}
if((strlen(trim($correo))==0) OR ($correo=="EMAIL")) { $error EMAIL $vacio exit;}
if((strlen(trim($tours))==0) OR ($tours=="REQUIRED TOURS")) { $error REQUIRED TOURS $vacio exit;}
if((strlen(trim($servicios))==0) OR ($servicios=="TRAVEL SERVICES")) { $error TRAVEL SERVICES $vacio exit;}
$subjet="GRATITUDE:";
$cabecera="Dear Customer";
$texto1="Thank you we well back to you later on.";
$texto11="Thank you we well back to you later on.";
$adicional1="
$texto1
"; $para=""$correo"; $de=""; // require_once 'class.phpmailer.php'; // contenido_correo($subjet,$cabecera,$adicional,$adicional1,$para,$de,$nombre,$pais,$telef,$correo,$texto); // guardar_correo($nombre,$pais,$telef,$correo,$texto); ?>
::: echo"$texto11"; ?> :::
$subjet="CONTACT:";
$cabecera="New contact received:";
$adicional="";
$adicional1="";
$de="$correo";
$para="";
//contenido_correo($subjet,$cabecera,$adicional,$adicional1,$para,$de,$nombre,$pais,$telef,$correo,$texto);
} else {
$texto="The reCAPTCHA is not correct. Go back and try again.";
?>
::: echo"$texto"; ?> :::
}
}
?>
$texto1
"; $para=""$correo"; $de=""; // require_once 'class.phpmailer.php'; // contenido_correo($subjet,$cabecera,$adicional,$adicional1,$para,$de,$nombre,$pais,$telef,$correo,$texto); // guardar_correo($nombre,$pais,$telef,$correo,$texto); ?>
::: echo"$texto11"; ?> :::