-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
56 lines (46 loc) · 2.1 KB
/
index.php
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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<?php include "configuracao.php"; ?>
<title>Cadastro</title>
</head>
<body>
<?php include "cabecalho.php"; ?>
<?php if(!empty($_GET['retorno'])){echo $_GET['retorno'];}?>
<main>
<div class="formulario">
<h1>Cadastro de Contêiner</h1>
<form action="funcoes.php" method="post">
<input type="hidden" name="conteinerIncluir" value="conteinerIncluir">
<label for="">Número do contêiner:</label>
<input type="text" name="numeroConteiner" placeholder="Ex: 4 letras e 7 números. Ex: TEST1234567"
minlength="11" maxlength="11" required>
<label for="">Cliente:</label>
<input type="text" name="cliente" placeholder="Ex: Transpotes LTDA"
minlength="2" maxlength="30" required>
<label for="">Tipo:</label>
<select name="tipo" required>
<option Value=""></option>
<option Value="20">20</option>
<option value="40">40</option>
</select>
<label for="">Status:</label>
<select name="status" required>
<option Value=""></option>
<option Value="Cheio">Cheio</option>
<option value="Vazio">Vazio</option>
</select>
<label for="">Categoria:</label>
<select name="categoria" required>
<option value=""></option>
<option Value="Importacao">Importação</option>
<option value="Exportacao">Exportação</option>
</select>
<input type="submit" value="Enviar">
<input type="reset" value="Limpar">
</form>
</div>
</main>
<?php include "rodape.php"; ?>
</body>
</html>