Sindbad~EG File Manager

Current Path : /var/www/html/eagledigital.com.br/.siteantigo/contato/
Upload File :
Current File : /var/www/html/eagledigital.com.br/.siteantigo/contato/ajax_send.php

<?php

$clicado = isset($_REQUEST['clicado']) ? $_REQUEST['clicado'] : false;
$nome = isset($_REQUEST['nome']) ? $_REQUEST['nome'] : '';
$email = isset($_REQUEST['email']) ? $_REQUEST['email'] : '';           
$fone = isset($_REQUEST['fone']) ? $_REQUEST['fone'] : '';              
$mensagem = isset($_REQUEST['mensagem']) ? $_REQUEST['mensagem'] : '';

include 'Functions.php';
$obj = new Functions();

if ($clicado && !$nome && !$email && !$mensagem) {
    echo json_encode(array(
        'status' => false,
        'msg' => "Todos os campos (*) obrigatórios.",
    ));
    exit;
} else if ($clicado) {

    if ($obj->is_email($email)) {

        $para = "[email protected]";
        $assunto = "Contato";


        $conteudo = "<p align='center'><img src='http://www.eagledigital.com.br/img/eagle_header.png' alt='' height='196' width='584'></p><br><br>";
        $conteudo .= "<strong>Nome: </strong>" . $nome;
        $conteudo .= "<br> <strong>E-mail: </strong>" . $email;
        if (!empty($fone))
            $conteudo .= "<br> <strong>Telefone: </strong>" . $fone;
        $conteudo .= "<br> <strong>Mensagem: </strong>" . $mensagem;

        $headers = "MIME-Version: 1.1\n";
        $headers .= "Content-type: text/html; charset=UTF-8 \n";
        $headers .= "From: \"Eagle Digital\" <[email protected]> \n"; // remetente

        if (mail($para, $assunto, $conteudo, $headers)) {
            echo json_encode(array(
                'status' => true,
                'msg' => 'Seu e-mail foi enviado com sucesso! <br/> Obrigado!',
            ));
        } else {
            echo json_encode(array(
                'status' => false,
                'msg' => 'Não foi possível enviar seu e-mail.',
            ));
            exit;
        }
    } else {
        echo json_encode(array(
            'status' => false,
            'msg' => 'E-mail inválido.',
        ));
        exit;
    }
}
?>

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