-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.php
More file actions
68 lines (54 loc) · 1.94 KB
/
contact.php
File metadata and controls
68 lines (54 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
include 'config.php';
session_start();
$user_id = $_SESSION['user_id'];
if (!isset($user_id)) {
header('location:login.php');
};
?>
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contactos</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<link rel="stylesheet" href="bootstrap-icons/bootstrap-icons.css">
<link rel="stylesheet" href="css/style.css">
<style>
.home{
min-height: 60vh;
background-image: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url('images/home.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
display: flex;
align-items: center;
justify-content: center;
}
</style>
</head>
<body>
<?php include 'header.php'; ?>
<section class="home">
<div class="content">
<h3>Contacte-nos</h3>
<p>Reclamações ou sertos problemas na página.
</p>
</div>
</section>
<section class="contact">
<form action="" method="post">
<h3>Hey diga alguma coisa!</h3>
<input type="text" name="name" required placeholder="Insira o seu nome" class="box">
<input type="email" name="email" required placeholder="Insira o seu email" class="box">
<input type="number" name="number" required placeholder="Insira o seu numero" class="box">
<textarea name="message" id="" cols="30" rows="10" placeholder="Insira a sua mensagem" required class="box"></textarea>
<input type="submit" value="Enviar Mensagem" name="send" class="btn">
</form>
</section>
<?php include 'footer.php'; ?>
<script src="js/script.js"></script>
</body>
</html>