<% if ($action==1) { // error_reporting(E_ALL); require "./config/definitions.asp"; // Definições Gerais require "./config/functions.asp"; // Definições Gerais include('./mime/htmlMimeMail.php'); $mail = new htmlMimeMail(); $mail->setSMTPParams($mysql_host,$PORT,$SITE_URL); $dbcnx = @mysql_connect($mysql_host, $mysql_user, $mysql_senha); if (!$dbcnx) { echo( "Unable to connect to the database server at this time." ); exit(); } if (! @mysql_select_db($mysql_db) ) { echo( "Unable to locate the $mysql_db database at this time." ); exit(); } $text = "Contato Nucci\n\n"; $text.= "Nome: $nome\n"; $text.= "Empresa: $empresa\n"; $text.= "Email: $email\n"; $text.= "Telefone: ($ddd) $telefone\n"; $text.= "Interesse: $chkAcesso\n"; $text.= " $chkHospedagem\n"; $text.= " $chkConsultoria\n"; $text.= " $chkDesenvolvimento\n"; $text.= " $chkLicenciamento\n"; $text.= " $chkInfraEstrutura\n"; $text.= " $chkECommerce\n"; $text.= " $chkDesign\n"; $text.= " $chkSuporte\n"; $text.= " $chkParticipacao\n"; $text.= "Sistema: $sistema\n"; $text.= "Pergunta: $pergunta\n"; $mail->setText($text); $mail->setFrom('"Contato Nucci" '); $mail->setSubject('Contato Nucci'); $mail->setHeader('X-Mailer', 'Nucci Systems (http://www.nucci.com.br/)'); $mail->setHeader('X-ADV', 'Programa para enviar emails HTML com images incorporadas.'); $result = $mail->send(array('fabiano@nucci.com.br','nucci_n1@hotmail.com'), 'smtp'); if ($result) { $mystatus="Contato enviado! Obrigado."; $bstatusemail_cont=-1; } else { $mystatus="Erro ao enviar contato!"; $bstatusemail_cont=0; echo "\n"; // exit(); } //guarda info de contato na tbl_contato $strInteresse= "$chkAcesso, "; $strInteresse.= " $chkHospedagem, "; $strInteresse.= " $chkConsultoria, "; $strInteresse.= "$chkDesenvolvimento, "; $strInteresse.= " $chkLicenciamento, "; $strInteresse.= " $chkInfraEstrutura, "; $strInteresse.= "$chkECommerce, "; $strInteresse.= "$chkDesign, "; $strInteresse.= "$chkSuporte, "; $strInteresse.= "$chkParticipacao, "; $strSQL=" INSERT INTO tbl_contato (dtdata_cont,snome_cont,sempresa_cont,semail_cont,stel_cont,sareainte_cont,ssistema_cont,mpergunta_cont,bstatusemail_cont) "; $strSQL.=" VALUES ('$myDateTimeMySQL','$nome','$empresa','$email','($ddd) $telefone','$strInteresse','$sistema','$pergunta',$bstatusemail_cont) "; $result = mysql_query($strSQL); if (!$result) { echo("Error performing query: " . mysql_error()."

$sql" ); exit(); } $id=mysql_insert_id(); $message=$mystatus; } %> Contato
 
relacionamento  login  contato 

Entre em contato em nosso telefone 11 4152-8445.

Preencha o formulário abaixo. Estaremos em contato o mais rápido possível. 

Nome:
Empresa:
Email:
Telefone: ()
Área de Interesse: Acesso
Hospedagem
Consultoria
Desenvolvimento
Licenciamento
Infra-Estrutura
E-Commerce
Design
Suporte
Participação
Sistema:
Pergunta:

 

Nucci Systems - Copyright © 2002, 2009 - Todos os direitos reservados

 

<% if ($message<>"") {%> <% } %>