first commit
This commit is contained in:
49
contato_envia.php
Executable file
49
contato_envia.php
Executable file
@@ -0,0 +1,49 @@
|
||||
<!doctype html>
|
||||
<html lang="pt-br">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Refresh" content="5;URL=index.php">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/x-icon" href="css/favicon.ico" />
|
||||
<link rel="stylesheet" href="css/font-face/stylesheet.css">
|
||||
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="css/estilo.css" rel="stylesheet">
|
||||
|
||||
<title>Verificação do Envio do Contato</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main class="container">
|
||||
<a name="home"></a>
|
||||
<nav class="navbar navbar-fixed-top navbar-inverse navbar-transparente">
|
||||
<?php include ('menu.php')?>
|
||||
</nav>
|
||||
<header>
|
||||
</header>
|
||||
<section class="main container" style="margin-top:80px">
|
||||
<div class="jumbotron">
|
||||
<h1 class="text-center">Agradecemos seu contato!</h1>
|
||||
|
||||
<?php
|
||||
$destino="contatowinfirst@gmail.com";
|
||||
$nome_contato=$_POST['nome_contato'];
|
||||
$email_contato=$_POST['email_contato'];
|
||||
$msg="Mensagem de:".$nome_contato."\n".$_POST['mensagem_contato'];
|
||||
$mailsend=mail("$destino","Formulário de comentários","$msg","From:$email_contato");
|
||||
|
||||
echo "<p>Obrigado por enviar seus comentários, $nome_contato !</p>";
|
||||
echo "<p>Mensagem enviada com sucesso</p>";
|
||||
?>
|
||||
|
||||
<h5 class="alert-danger"><h5>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<!-- Jquery (obrigatório para plugin JS do Bootstrap) -->
|
||||
<script src="bootstrap/jquery.min.js"></script>
|
||||
|
||||
<!-- Plugin JS-->
|
||||
<script src="bootstrap/js/bootstrap.min.js"></script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user