cadastro.php
2.33 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
69
<?php
/**********************************************************************************
Sistema e-SIC Livre: sistema de acesso a informação baseado na lei de acesso.
Copyright (C) 2014 Prefeitura Municipal do Natal
Este programa é software livre; você pode redistribuí-lo e/ou
modificá-lo sob os termos da Licença GPL2.
***********************************************************************************/
include "manutencao.php";
include "../inc/topo.php";
getErro($erro);
?>
<h1>Cadastro de SIC</h1>
<br><br>
<form action="cadastro.php" method="post" >
<input type="hidden" name="idsecretaria" value="<?php echo $idsecretaria;?>">
<table class="tabLista">
<tr>
<td><b>Nome:</b></td>
<td><input type="text" name="nome" value="<?php echo $nome;?>" maxlength="100" size="50" /></td>
</tr>
<tr>
<td><b>Sigla:</b></td>
<td><input type="text" name="sigla" value="<?php echo $sigla;?>" maxlength="30" size="50" /></td>
</tr>
<tr>
<td>Responsável:</td>
<td><input type="text" name="responsavel" value="<?php echo $responsavel;?>" maxlength="50" size="50" /></td>
</tr>
<tr>
<td>Telefone:</td>
<td><input type="text" name="telefonecontato" value="<?php echo $telefonecontato;?>" maxlength="20" size="50" /></td>
</tr>
<tr>
<td>E-mail SIC:</td>
<td>
<input type="text" name="emailsic" value="<?php echo $emailsic;?>" maxlength="100" size="50" />
</td>
</tr>
<tr>
<td colspan="2"><input type="checkbox" name="siccentral" value="1" <?php echo ($siccentral)?"checked":"";?>> É um SIC centralizador (recebe as demandas recém cadastradas)</td>
</tr>
<tr>
<td><b>Status:</b></td>
<td>
<select name="ativado" id="ativado">
<option value="1" <?php echo ($ativado) == "1"?"selected":""; ?>>Ativo</option>
<option value="0" <?php echo ($ativado) == "0" ?"selected":""; ?>>Inativo</option>
</select>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<br>
<input type="submit" class="botaoformulario" value="<?php echo $acao;?>" name="<?php echo $acao;?>" />
<input type="button" class="botaoformulario" onClick="document.location = 'index.php';" value="Voltar">
</td>
</tr>
</table>
</form>
<?php
include "../inc/rodape.php";
?>