index.php
2.05 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
<?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");
?>
<html>
<head>
<title>Lei de Acesso - Enquete</title>
<!-- CSS -->
<meta name="verify-v1" content="miqBcW00PywY1Jm7/yQP8ztDacIWFV9gQRTCmHuai9w=" />
<!-- TAG PARA O GOOGLEBOT -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="../css/estilo.css">
<script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
<script src="../js/functions.js"></script>
</head>
<body>
<div id="conteudo" style="width: 800;">
<h2>Avalie nosso sistema!</h2>
<br>
<?php
if($_POST['Enviar'] and empty($erro))
{
echo "Sua avaliação foi cadastrada com sucesso!<br><br>Obrigado por sua colaboração!";
}
else
{
?>
<form method="post" action="index.php">
<input type="radio" name="resposta" value="U" <?php echo ($resposta=="U")?"checked":"";?>>Ruim
<input type="radio" name="resposta" value="R" <?php echo ($resposta=="R")?"checked":"";?>>Regular
<input type="radio" name="resposta" value="B" <?php echo ($resposta=="B")?"checked":"";?>>Bom
<input type="radio" name="resposta" value="O" <?php echo ($resposta=="O")?"checked":"";?>>Ótimo
<br><br>Considerações:<br>
<textarea name="comentario" onKeyUp="setMaxLength(2000,this);" rows="8" cols="70" ><?php echo $comentario;?></textarea>
<br><br>
<input type="submit" value="Enviar" name="Enviar" class="botaoformulario" />
</form>
<?php
getErro($erro);
}
?>
</div>
</body>
</html>