-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
50 lines (47 loc) · 2.53 KB
/
index.php
File metadata and controls
50 lines (47 loc) · 2.53 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
<!doctype html>
<html lang="pt-BR">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Horóscopo</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<link rel="stylesheet" href="css/estilo.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css">
</head>
<body class="bg-light">
<div class="container shadow rounded-3 my-5">
<div class="row row-cols-1">
<div class="col">
<h1 class="text-center fw-bold mt-5">Signos</h1>
<p class="text-muted text-center mt-2 mb-5">
Horóscopo <?php echo $ano = date('Y');?>: confira a previsão de hoje
<?php echo $hoje = date('d/m/Y');?> para seu signo.</p>
<form action="signos.php" method="post">
<div class="row row-cols-1 row-cols-md-2">
<div class="col">
<div class="form-floating mb-3">
<input type="text" class="form-control" id="floatingInput" name="nomePess" placeholder="Seu nome" required>
<label for="floatingInput">Informe seu Nome</label>
</div>
</div>
<div class="col">
<div class="form-floating mb-3">
<input type="date" class="form-control" id="floatingInput" name="dataNasc" placeholder="Sua data" required>
<label for="floatingInput">Informe a data de Nascimento</label>
</div>
</div>
</div>
<div class="row row-cols-1">
<div class="col my-3">
<div class="d-grid gap-2 col-6 mx-auto">
<button class="btn btn-primary" type="submit">Ver Signo</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8" crossorigin="anonymous"></script>
</body>
</html>