Commit 2fa1cf7569d3f6774087cfd053d76dcdcf271317
1 parent
7efd5fa3
Exists in
CEP
and in
7 other branches
Insercao da Migalha de Pao
Showing
4 changed files
with
234 additions
and
54 deletions
Show diff stats
manual/InformacaoMundo.php
@@ -7,10 +7,8 @@ | @@ -7,10 +7,8 @@ | ||
7 | Este programa é software livre; você pode redistribuí-lo e/ou | 7 | Este programa é software livre; você pode redistribuí-lo e/ou |
8 | modificá-lo sob os termos da Licença GPL2. | 8 | modificá-lo sob os termos da Licença GPL2. |
9 | ***********************************************************************************/ | 9 | ***********************************************************************************/ |
10 | - | ||
11 | - include("../inc/topo.php"); | ||
12 | - ?> | ||
13 | -<center><strong><h1>Acesso à Informação no Mundo</h1></strong></center> | 10 | + include("../inc/topo.php"); ?> |
11 | +<div id="migalha_de_Pao">Você está em:<a href="../index.php"> Principal</a> -> Acesso à Informação no Mundo</div> | ||
14 | <table border="0" cellpadding="0" cellspacing="0" width="986" align="center"> | 12 | <table border="0" cellpadding="0" cellspacing="0" width="986" align="center"> |
15 | <tbody><tr> | 13 | <tbody><tr> |
16 | <td height="10"></td> | 14 | <td height="10"></td> |
@@ -21,6 +19,12 @@ | @@ -21,6 +19,12 @@ | ||
21 | <td colspan="2" height="10"></td> | 19 | <td colspan="2" height="10"></td> |
22 | </tr> | 20 | </tr> |
23 | <tr> | 21 | <tr> |
22 | + <td bgcolor="#FFFFFF" width="24"></td> | ||
23 | + <td class="titulo2" bgcolor="#FFFFFF" align="center"> | ||
24 | + <strong>Acesso à Informação no Mundo</strong> | ||
25 | + </td> | ||
26 | + </tr> | ||
27 | + <tr> | ||
24 | <td colspan="2" bgcolor="#FFFFFF"> </td> | 28 | <td colspan="2" bgcolor="#FFFFFF"> </td> |
25 | </tr> | 29 | </tr> |
26 | <tr> | 30 | <tr> |
manual/LeiAcessoMundo.php
1 | <?php | 1 | <?php |
2 | /********************************************************************************** | 2 | /********************************************************************************** |
3 | Sistema e-SIC Livre: sistema de acesso a informação baseado na lei de acesso. | 3 | Sistema e-SIC Livre: sistema de acesso a informação baseado na lei de acesso. |
4 | - | 4 | + |
5 | Copyright (C) 2014 Prefeitura Municipal do Natal | 5 | Copyright (C) 2014 Prefeitura Municipal do Natal |
6 | - | 6 | + |
7 | Este programa é software livre; você pode redistribuí-lo e/ou | 7 | Este programa é software livre; você pode redistribuí-lo e/ou |
8 | modificá-lo sob os termos da Licença GPL2. | 8 | modificá-lo sob os termos da Licença GPL2. |
9 | -***********************************************************************************/ | ||
10 | - | 9 | + ***********************************************************************************/ |
11 | include("../inc/topo.php"); | 10 | include("../inc/topo.php"); |
12 | ?> | 11 | ?> |
13 | 12 | ||
@@ -16,9 +15,12 @@ include("../inc/topo.php"); | @@ -16,9 +15,12 @@ include("../inc/topo.php"); | ||
16 | </style> | 15 | </style> |
17 | 16 | ||
18 | <span id="span" style="width:1000px; align: left; font-family: Verdana, Arial, Helvetica, Sans-serif; font-size: 12px;"> | 17 | <span id="span" style="width:1000px; align: left; font-family: Verdana, Arial, Helvetica, Sans-serif; font-size: 12px;"> |
18 | +<div id="migalha_de_Pao">Você está em:<a href="../index.php"> Principal</a> -> SIC'S</div> | ||
19 | <table border="0" cellpadding="0" cellspacing="0" width="986" align="center"> | 19 | <table border="0" cellpadding="0" cellspacing="0" width="986" align="center"> |
20 | + | ||
20 | <tbody><tr> | 21 | <tbody><tr> |
21 | - <td colspan="2" height="10"></td> | 22 | + |
23 | + <td colspan="2" height="10"></td> | ||
22 | </tr> | 24 | </tr> |
23 | <tr> | 25 | <tr> |
24 | <td bgcolor="#FFFFFF" width="24"></td> | 26 | <td bgcolor="#FFFFFF" width="24"></td> |
manual/index.php
1 | <?php | 1 | <?php |
2 | /********************************************************************************** | 2 | /********************************************************************************** |
3 | Sistema e-SIC Livre: sistema de acesso a informação baseado na lei de acesso. | 3 | Sistema e-SIC Livre: sistema de acesso a informação baseado na lei de acesso. |
4 | - | 4 | + |
5 | Copyright (C) 2014 Prefeitura Municipal do Natal | 5 | Copyright (C) 2014 Prefeitura Municipal do Natal |
6 | - | 6 | + |
7 | Este programa é software livre; você pode redistribuí-lo e/ou | 7 | Este programa é software livre; você pode redistribuí-lo e/ou |
8 | modificá-lo sob os termos da Licença GPL2. | 8 | modificá-lo sob os termos da Licença GPL2. |
9 | -***********************************************************************************/ | 9 | + ***********************************************************************************/ |
10 | +require_once("../inc/security.php"); | ||
11 | + | ||
12 | +//require_once('../class/recaptchalib.php'); | ||
13 | + | ||
14 | +$login = $_POST["login"]; | ||
15 | +$password = $_POST["password"]; | ||
16 | +$tipo = $_REQUEST['t']; | ||
17 | +$msg = ""; | ||
18 | + | ||
19 | +if(usaRecaptcha($login)) | ||
20 | + $usarecap = true; | ||
21 | +else | ||
22 | + $usarecap = false; | ||
23 | + | ||
24 | + | ||
25 | +if ($_POST['btsub']) | ||
26 | +{ | ||
27 | + | ||
28 | + if($usarecap) | ||
29 | + { | ||
30 | + $error = null; | ||
31 | + //$recaptcha_ok = checkRecaptcha($error); | ||
32 | + $recaptcha_ok = (strtoupper($_POST["palavra"]) == strtoupper($_SESSION["palavra"])); | ||
33 | + } | ||
34 | + else | ||
35 | + $recaptcha_ok = true; | ||
36 | + | ||
37 | + if($recaptcha_ok) | ||
38 | + { | ||
39 | + if(autentica($login, $password, $tipo)) | ||
40 | + { | ||
41 | + Redirect("../solicitacao"); | ||
42 | + } | ||
43 | + else | ||
44 | + { | ||
45 | + $msg = "<font color='red'>Erro: falha no login.</font>"; | ||
46 | + $usarecap = true; | ||
47 | + } | ||
48 | + } | ||
49 | + else | ||
50 | + $msg = "<font color='red'>Erro: falha no login.</font>"; | ||
51 | +} | ||
52 | + | ||
53 | + | ||
54 | + | ||
10 | 55 | ||
11 | include("../inc/topo.php"); | 56 | include("../inc/topo.php"); |
12 | ?> | 57 | ?> |
13 | - <center><strong><h1>Manual de utilização do sistema e-SIC Livre</h1></strong></center> | ||
14 | - <div id="span" style="width:980px; border: 1px solid #ccc; text-align:center; margin: 0 auto;"> | ||
15 | - <br> | ||
16 | - <br> | ||
17 | - <br> | ||
18 | - <span>1. Entre na página do Lei de Acesso e clique no link "Cadastre-se", localizado à direita da página, dentro da caixa de login (figura abaixo);</span> | ||
19 | - <br> | ||
20 | - <br> | ||
21 | - <br> | ||
22 | - <span><img src="img/login.png" /></span><br> | ||
23 | - <br> | ||
24 | - <br> | ||
25 | - <br> | ||
26 | - <span>2. A tela seguinte é a de cadastro do solicitante, nela o usuário irá preencher os dados pessoais e em seguida clicar no botão salvar para que o seu cadastro seja efetuado (figura abaixo); </span> | ||
27 | - <br> | ||
28 | - <br> | ||
29 | - <br> | ||
30 | - <span><img src="img/cadastro.png" /></span><br> | ||
31 | - <br> | ||
32 | - <br> | ||
33 | - <br> | ||
34 | - <span>3. O usuário receberá uma notificação via e-mail, portanto é de suma importância que na tela de cadastro de solicitante o usuário insira um e-mail válido. Obs: Ao entrar na caixa de entrada do seu | ||
35 | - webmail se não encontrar o e-mail de confirmação, entre na caixa “Lixo” se você inseriu todos os dados de forma correta possivelmente o e-mail de confirmação poderá estar lá;</span><br> | ||
36 | - <br> | ||
37 | - <br> | ||
38 | - <br> | ||
39 | - <span>4. No e-mail de confirmação, estará contido um link no qual o usuário deverá clicar, para que só assim seu cadastro seja validado;</span><br> | ||
40 | - <br> | ||
41 | - <br> | ||
42 | - <br> | ||
43 | - <span>5. O link que o solicitante clicou no passo anterior irá redirecioná-lo (em nova janela) para a página confirmação de cadastro(figura abaixo);</span><br> | ||
44 | - <br> | ||
45 | - <br> | ||
46 | - <br> | ||
47 | - <span><img src="img/autenticado.png" /></span><br> | ||
48 | - | ||
49 | - | ||
50 | - | ||
51 | - | 58 | + <div id="migalha_de_Pao">Você está em: Principal</div> |
59 | + <div id="principal"> | ||
60 | + <div id="banner"> | ||
61 | + <img src="../css/img/sic.png" /> | ||
62 | + </div> | ||
63 | + | ||
64 | + <?php if (empty($_SESSION[SISTEMA_CODIGO])) { ?> | ||
65 | + <div id="login"> | ||
66 | + <form action="index.php" method="post"> | ||
67 | + <div class="titulo_caixa_login"> Acesse o sistema</div> | ||
68 | + <span class="Mensagem">Preencha o Nome do Usuário e senha para acessar o Sistema de Informações.</span> | ||
69 | + | ||
70 | + <div id="campos"> | ||
71 | + <table cellpadding="1" cellspacing="5" width="80%"> | ||
72 | + <tr align="right"> | ||
73 | + <td> | ||
74 | + <span class="labelLogin"><label for="login">Usuário: </label> </span> | ||
75 | + </td> | ||
76 | + <td> | ||
77 | + <span class="inputLogin"><input type="text" name="login" maxlength="20"> </span> | ||
78 | + </td> | ||
79 | + </tr> | ||
80 | + <tr align="right"> | ||
81 | + <td> | ||
82 | + <span class="labelLogin"><label for="Senha">Senha: </LABEL> </span> | ||
83 | + </td> | ||
84 | + <td> | ||
85 | + <span class="inputLogin"><input type="password" name="password" maxlength="100"> </span> | ||
86 | + </td> | ||
87 | + </tr> | ||
88 | + <?php /*if ($usarecap) echo '<tr> | ||
89 | + <td colspan="2">'.recaptcha_get_html(PUBLIC_KEY, $error).'<td> | ||
90 | + <tr>' ; */?> | ||
91 | + <?php if ($usarecap) { ?> | ||
92 | + <tr> | ||
93 | + <td colspan="2" align="right"> | ||
94 | + <br> | ||
95 | + <img src="../inc/captcha.php?l=150&a=50&tf=20&ql=5" id="imgcaptcha"> | ||
96 | + <img src="../img/refresh.gif" title="Clique aqui para recarregar a imagem" alt="Clique aqui para recarregar a imagem" onclick="getElementById('imgcaptcha').src ='../inc/captcha.php?l=150&a=50&tf=20&ql=5';"> | ||
97 | + <br><span class="labelLogin">Informe o código acima:</span><br><input type="text" name="palavra" /> | ||
98 | + </td> | ||
99 | + </tr> | ||
100 | + <?php } ?> | ||
101 | + | ||
102 | + <tr align="right"> | ||
103 | + <td> | ||
104 | + </td> | ||
105 | + <td> | ||
106 | + <br><input type="submit" class="inputBotao" name="btsub" value="Entrar"> | ||
107 | + </td> | ||
108 | + </tr> | ||
109 | + <tr align="right"> | ||
110 | + <td colspan="2"> | ||
111 | + <a class="class_cadastrese" href="../cadastro">Cadastre-se</a> | | ||
112 | + <a class="class_senha" href="../reset">Esqueci a senha</a> | ||
113 | + </td> | ||
114 | + </tr> | ||
115 | + </table> | ||
116 | + </div> | ||
117 | + | ||
118 | + </form> | ||
119 | + </div> | ||
120 | + <?php } else {?> | ||
121 | + <div id="login"> | ||
122 | + <span class="Mensagem"> | ||
123 | + <br> | ||
124 | + Olá <?php echo getSession("nomeusuario");?>! | ||
125 | + <br><br> | ||
126 | + Caso não seja você [<a href="../index/logout.php" class="class_cadastrese">clique aqui</a>] | ||
127 | + </span> | ||
128 | + </div> | ||
129 | + <?php } ?> | ||
52 | </div> | 130 | </div> |
131 | + | ||
132 | + <div id="notificacoes"> | ||
133 | + <div id="linha"></div> | ||
134 | + | ||
135 | + <div id="links"> | ||
136 | + <table width="100%"> | ||
137 | + <tr> | ||
138 | + <th width="40%"> | ||
139 | + SIC - Serviço de informação ao Cidadão | ||
140 | + </th> | ||
141 | + <th width="30%"> | ||
142 | + Lei de Acesso | ||
143 | + </th> | ||
144 | + <th width="30%"> | ||
145 | + Links úteis | ||
146 | + </th> | ||
147 | + </tr> | ||
148 | + <tr> | ||
149 | + <td> | ||
150 | + <a href="../manual/informacao.php">Como pedir uma informação</a> | ||
151 | + </td> | ||
152 | + <td> | ||
153 | + <a href="../manual/decreto.php">Decreto</a> | ||
154 | + </td> | ||
155 | + <td> | ||
156 | + <a href="http://www.acessoainformacao.gov.br/acessoainformacaogov/">Acesso à informação CGU</a> | ||
157 | + </td> | ||
158 | + </tr> | ||
159 | + <tr> | ||
160 | + <td> | ||
161 | + <a href="../manual/pedido.php">Como acompanhar seu pedido</a> | ||
162 | + </td> | ||
163 | + <td> | ||
164 | + <a href="../manual/LegislacaoRelacionada.php">Legislação relacionada</a> | ||
165 | + </td> | ||
166 | + <td> | ||
167 | + <a href="http://portal2.tcu.gov.br/portal/page/portal/TCU/transparencia">Acesso à informação TCU</a> | ||
168 | + </td> | ||
169 | + </tr> | ||
170 | + <tr> | ||
171 | + <td> | ||
172 | + <a href="../manual/recurso.php">Como entrar com um recurso</a> | ||
173 | + </td> | ||
174 | + <td> | ||
175 | + Leis | ||
176 | + </td> | ||
177 | + <td> | ||
178 | + | ||
179 | + </td> | ||
180 | + </tr> | ||
181 | + </table> | ||
182 | + </div> | ||
183 | + <div id="postagens"></div> | ||
184 | + </div> | ||
53 | <?php include("../inc/rodape.php"); ?> | 185 | <?php include("../inc/rodape.php"); ?> |
54 | \ No newline at end of file | 186 | \ No newline at end of file |
restrito/css/estilo.css
@@ -50,18 +50,53 @@ h5 { | @@ -50,18 +50,53 @@ h5 { | ||
50 | h6 { | 50 | h6 { |
51 | 51 | ||
52 | } | 52 | } |
53 | +/* Milgalha de pão */ | ||
54 | +#migalha_de_Pao { | ||
55 | + display: inline-block; | ||
56 | + background-color: #A1CDEE; | ||
57 | + color: white; | ||
58 | + padding: 5px; | ||
59 | + margin: 5px; | ||
60 | + font-size: 10px; | ||
61 | + text-transform: uppercase; | ||
62 | + position:relative; | ||
63 | + top:0px; | ||
64 | +} | ||
65 | + | ||
66 | +#migalha_de_Pao .breadlink { | ||
67 | + color: #fff; | ||
68 | +} | ||
69 | + | ||
70 | +#migalha_de_Pao a { | ||
71 | + color: #fff; | ||
72 | + | ||
73 | +} | ||
74 | + | ||
75 | +#migalha_de_Pao a:hover { | ||
76 | + color: #fff; | ||
77 | + | ||
78 | +} | ||
79 | + | ||
53 | 80 | ||
54 | /* Estrutura do site */ | 81 | /* Estrutura do site */ |
82 | + | ||
83 | +#corpo { | ||
84 | + width:1000px; | ||
85 | + height:520px; | ||
86 | + position: relative; | ||
87 | + top:-20px; | ||
88 | + | ||
89 | +} | ||
90 | + | ||
91 | + | ||
55 | #out { | 92 | #out { |
56 | width: 100%; | 93 | width: 100%; |
57 | - overflow: hidden; | ||
58 | border-top: 1px solid #5188E4; | 94 | border-top: 1px solid #5188E4; |
59 | margin-top: 5px; | 95 | margin-top: 5px; |
60 | } | 96 | } |
61 | 97 | ||
62 | #conteudo { | 98 | #conteudo { |
63 | width: 1000px; | 99 | width: 1000px; |
64 | - overflow: hidden; | ||
65 | margin: 0 auto; | 100 | margin: 0 auto; |
66 | } | 101 | } |
67 | 102 | ||
@@ -184,6 +219,10 @@ h6 { | @@ -184,6 +219,10 @@ h6 { | ||
184 | display: block; | 219 | display: block; |
185 | min-height: 200px; | 220 | min-height: 200px; |
186 | width: 100%; | 221 | width: 100%; |
222 | + margin-top:-10px; | ||
223 | + position:relative; | ||
224 | + top:8px; | ||
225 | + | ||
187 | } | 226 | } |
188 | 227 | ||
189 | #principal #banner { | 228 | #principal #banner { |
@@ -325,6 +364,9 @@ h6 { | @@ -325,6 +364,9 @@ h6 { | ||
325 | height: 100px; | 364 | height: 100px; |
326 | font-size: 10px; | 365 | font-size: 10px; |
327 | color: #2D70DE; | 366 | color: #2D70DE; |
367 | + | ||
368 | + | ||
369 | + | ||
328 | } | 370 | } |
329 | 371 | ||
330 | #rodapetexto1 { | 372 | #rodapetexto1 { |
@@ -382,7 +424,7 @@ input[type='radio']{ | @@ -382,7 +424,7 @@ input[type='radio']{ | ||
382 | /*tabela de seleção de registro***********************/ | 424 | /*tabela de seleção de registro***********************/ |
383 | .tabLista th{ | 425 | .tabLista th{ |
384 | background-color: #abcdef; | 426 | background-color: #abcdef; |
385 | - padding: 5px; | 427 | + padding: 10px; |
386 | color: #000000; | 428 | color: #000000; |
387 | } | 429 | } |
388 | .tabLista td{ | 430 | .tabLista td{ |