-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAtas_Inclusao_Problema.php
89 lines (89 loc) · 4.42 KB
/
Atas_Inclusao_Problema.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?php
include "./config/db/conecta.php";
$id = NULL;
if (!empty($_GET['id']))
{
$id = $_REQUEST['id'];
}
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Incluir Ata</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<script type="text/javascript" language="javascript">
</script>
<body>
<div class="div-form">
<h1>Inclusão de Problemas</h1>
<form action="class/Atas_Incluir_Problema.php" method="post">
<fieldset>
<input type="hidden" name="id_atas" size='30' class="width233" value="<?echo $id;?>"/>
<label for="lbl_cidade">
<legend>
Cidade:
</legend>
</label>
<input type="text" name="cidade" size='30' class="width233"/>
<label for="lbl_grupo">
<legend>
Grupo:
</legend>
</label>
<input type="text" name="grupo" size='30' class="width233"/>
<label for="lbl_problema">
Problema:
</label>
<textarea rows="5" cols="40" name='problema' class="width233" required="*" placeholder="Descrição dos problemas..."></textarea>
<label for="lbl_classificacao">
Classificação:
</label>
<select class="width233" name="classificacao_problema">
<option>Selecione ...</option>
<?php
$queryClassificacao = mysql_query("Select id, classificacao from Atas_Classificacao_Problemas where Ativo = 'A'");
while ($classification = mysql_fetch_array($queryClassificacao))
{
?>
<option value="<?php echo $classification['id'] ?>">
<?php
echo utf8_decode($classification['classificacao']);}
?>
</option>
</select>
<label for="lbl_acao">
Ação:
</label>
<textarea rows="5" cols="40" name='acao' class="width233" required="*" placeholder="Descrição das ações..."></textarea>
<label for="lbl_status">
Status:
</label>
<select class="width233" name="status">
<option>Selecione ...</option>
<?php
$qquery = mysql_query("Select id, status from Status");
while ($status = mysql_fetch_array($qquery))
{
?>
<option value="<?php echo $status['id'] ?>">
<?php
echo utf8_decode($status['status']);}
?>
</option>
</select>
<label for="lbl_data_conclusao">
Data da Conclusão:
</label>
<input type="date" name='data_conclusao' size="30" class="width233" required="*"/>
<label for="lbl_responsável">
Responsável(s):
</label>
<input type="text" name="responsavel" size='30' class="width233"/>
<input type="submit" name="incluir" value="Incluir Problema"/>
</fieldset>
</form>
</div>
</body>
</html>