Commit 20a9c81eb5a45cff28914da6020bfe43170b06ad
1 parent
5fbb099a
Exists in
master
and in
1 other branch
Pequenas correcoes nos detalhes de Locais, Estatisticas, Relatorios, etc.
git-svn-id: http://svn.softwarepublico.gov.br/svn/cacic/cacic/trunk/gerente@185 fecfc0c7-e812-0410-ae72-849f08638ee7
Showing
18 changed files
with
218 additions
and
102 deletions
Show diff stats
admin/gerencia_licencas/arquivo/aquisicoes.php
| ... | ... | @@ -47,7 +47,7 @@ function valida_form_cadastro_aquisicao() { |
| 47 | 47 | </tr> |
| 48 | 48 | <tr> |
| 49 | 49 | <td width="33%" height="1" nowrap> <br> |
| 50 | - <input name="date_aquisicao" type="text" size="7" disabled class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);" > | |
| 50 | + <input name="date_aquisicao" type="text" size="7" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);" > | |
| 51 | 51 | <script type="text/javascript" language="JavaScript"> |
| 52 | 52 | <!-- |
| 53 | 53 | function calendar1Callback(date, month, year) { | ... | ... |
admin/gerencia_licencas/consulta/lista_aquisicoes.php
| ... | ... | @@ -81,7 +81,8 @@ echo '<td nowrap align="center"><b><font size="1" face="Verdana, Arial">Aquisi&c |
| 81 | 81 | echo '</tr>'; |
| 82 | 82 | |
| 83 | 83 | |
| 84 | -while ($row = mysql_fetch_row($result)) { //Table body | |
| 84 | +while ($row = mysql_fetch_row($result)) | |
| 85 | + { //Table body | |
| 85 | 86 | echo '<tr '; |
| 86 | 87 | if ($cor) { echo 'bgcolor="#E1E1E1"'; } |
| 87 | 88 | echo '>'; |
| ... | ... | @@ -91,7 +92,15 @@ while ($row = mysql_fetch_row($result)) { //Table body |
| 91 | 92 | $cor=!$cor; |
| 92 | 93 | $num_registro++; |
| 93 | 94 | echo '</tr>'; |
| 94 | -} | |
| 95 | + } | |
| 96 | +if ($num_registro == 1) | |
| 97 | + { | |
| 98 | + echo '<tr>'; | |
| 99 | + echo '<td nowrap align="right"> </td>'; | |
| 100 | + echo '<td nowrap align="center"><font size="2" face="Verdana, Arial" color="red"><b>Não Há Registro de Aquisição de Softwares</b></td>'; | |
| 101 | + echo '<td nowrap align="center"> </td>'; | |
| 102 | + echo '</tr>'; | |
| 103 | + } | |
| 95 | 104 | echo '</table>'; |
| 96 | 105 | echo '<br><br>'; |
| 97 | 106 | ... | ... |
admin/gerencia_licencas/consulta/lista_processos.php
| ... | ... | @@ -77,7 +77,8 @@ echo '<td nowrap align="center"><b><font size="1" face="Verdana, Arial">Aquisi&c |
| 77 | 77 | echo '</tr>'; |
| 78 | 78 | |
| 79 | 79 | |
| 80 | -while ($row = mysql_fetch_row($result)) { //Table body | |
| 80 | +while ($row = mysql_fetch_row($result)) | |
| 81 | + { //Table body | |
| 81 | 82 | echo '<tr '; |
| 82 | 83 | if ($cor) { echo 'bgcolor="#E1E1E1"'; } |
| 83 | 84 | echo '>'; |
| ... | ... | @@ -87,7 +88,16 @@ while ($row = mysql_fetch_row($result)) { //Table body |
| 87 | 88 | $cor=!$cor; |
| 88 | 89 | $num_registro++; |
| 89 | 90 | echo '</tr>'; |
| 90 | -} | |
| 91 | + } | |
| 92 | +if ($num_registro == 1) | |
| 93 | + { | |
| 94 | + echo '<tr>'; | |
| 95 | + echo '<td nowrap align="right"> </td>'; | |
| 96 | + echo '<td nowrap align="center"><font size="2" face="Verdana, Arial" color="red"><b>Não Há Registro de Aquisição de Softwares</b></td>'; | |
| 97 | + echo '<td nowrap align="center"> </td>'; | |
| 98 | + echo '</tr>'; | |
| 99 | + } | |
| 100 | + | |
| 91 | 101 | echo '</table>'; |
| 92 | 102 | echo '<br><br>'; |
| 93 | 103 | ... | ... |
admin/locais/detalhes_local.php
| ... | ... | @@ -256,7 +256,7 @@ function valida_form() |
| 256 | 256 | <td width="2%" align="center" nowrap class="opcao_tabela"><a href="../usuarios/detalhes_usuario.php?id_usuario=<? echo $row['id_usuario'];?>&id_local=<? echo $row['id_local'];?>&nm_chamador=Locais"><? echo $seq; ?></a></td> |
| 257 | 257 | <td width="1%" align="left" nowrap class="opcao_tabela"> </td> |
| 258 | 258 | <td width="3%" align="left" nowrap class="opcao_tabela"><a href="../usuarios/detalhes_usuario.php?id_usuario=<? echo $row['id_usuario'];?>&id_local=<? echo $row['id_local'];?>&nm_chamador=Locais"><? echo $row['nm_usuario_completo']; |
| 259 | - if ($row['te_locais_secundarios']<>'') | |
| 259 | + if ($row['te_locais_secundarios']<>'' && $row['id_local'] <> $_GET['id_local']) | |
| 260 | 260 | { |
| 261 | 261 | echo ' ('.$v_arr_locais[array_search($row['id_local'],$v_arr_locais)+1] . ')'; |
| 262 | 262 | } | ... | ... |
admin/patrimonio/config_tela_patrimonio_bot.php
| ... | ... | @@ -21,16 +21,5 @@ |
| 21 | 21 | --> |
| 22 | 22 | |
| 23 | 23 | <body background="../../imgs/linha_v.gif"> |
| 24 | -<table width="90%" border="0" align="center"> | |
| 25 | - <tr> | |
| 26 | - <td class="cabecalho">Tela de Coleta de Informações de Patrimônio</td> | |
| 27 | - </tr> | |
| 28 | - <tr> | |
| 29 | - <td class="descricao">Para configurar | |
| 30 | - a interface da tela de coleta de informações de Patrimônio | |
| 31 | - que será exibida aos usuários, clique sobre sobre os itens | |
| 32 | - da tela acima e informe os valores desejados.</td> | |
| 33 | - </tr> | |
| 34 | -</table> | |
| 35 | 24 | </body> |
| 36 | 25 | </html> | ... | ... |
admin/patrimonio/config_tela_patrimonio_top.php
| 1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 | 2 | <html> |
| 3 | 3 | <head> |
| 4 | +<link rel="stylesheet" type="text/css" href="../../include/cacic.css"> | |
| 4 | 5 | <title>Configuração da Tela de Patrimônio</title> |
| 5 | 6 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 6 | 7 | </head> |
| ... | ... | @@ -20,6 +21,18 @@ |
| 20 | 21 | --> |
| 21 | 22 | |
| 22 | 23 | <body bgcolor="#FFFFFF" background="../../imgs/linha_v.gif" text="#000000" topmargin="4"> |
| 24 | +<table width="90%" border="0" align="center"> | |
| 25 | + <tr> | |
| 26 | + <td class="cabecalho">Tela de Coleta de Informações de Patrimônio</td> | |
| 27 | + </tr> | |
| 28 | + <tr> | |
| 29 | + <td class="descricao">Para configurar | |
| 30 | + a interface da tela de coleta de informações de Patrimônio | |
| 31 | + que será exibida aos usuários, clique sobre sobre os itens | |
| 32 | + da tela acima e informe os valores desejados.</td> | |
| 33 | + </tr> | |
| 34 | +</table> | |
| 35 | +<br> | |
| 23 | 36 | <div align="center"><img src="../../imgs/tela_patrimon.gif" border="0" usemap="#Map"> |
| 24 | 37 | <map name="Map"> |
| 25 | 38 | <area shape="rect" coords="13,91,160,130" href="etiqueta1.php" target="botFrame"> | ... | ... |
admin/updates_subredes/updates_subredes.php
| ... | ... | @@ -163,7 +163,10 @@ require_once('../../include/library.php'); |
| 163 | 163 | $_SESSION['v_conta_objetos_nao_atualizados'] + |
| 164 | 164 | $_SESSION['v_conta_objetos_enviados'] + |
| 165 | 165 | $_SESSION['v_conta_objetos_nao_enviados'])==0) |
| 166 | - echo '<b>Verificação Efetuada!</b>'; | |
| 166 | + { | |
| 167 | + echo '<b>Verificação Efetuada!</b>'; | |
| 168 | + flush(); // POG: Se tirar esse comentário não funciona mais! :))))) | |
| 169 | + } | |
| 167 | 170 | } |
| 168 | 171 | else if($_SESSION['v_status_conexao'] == 'NC') |
| 169 | 172 | { |
| ... | ... | @@ -171,7 +174,7 @@ require_once('../../include/library.php'); |
| 171 | 174 | } |
| 172 | 175 | else if($_SESSION['v_status_conexao'] == 'OFF') |
| 173 | 176 | { |
| 174 | - echo '<a href="../redes/detalhes_rede.php?id_ip_rede='. $row['id_ip_rede'] .'&id_local='.$row['id_local'].'" style="color: red"><strong>Sem Serviço FTP! </strong><font color="black" size=1>('.$row['te_serv_updates'].')</font></a>'; | |
| 177 | + echo '<a href="../redes/detalhes_rede.php?id_ip_rede='. $row['id_ip_rede'] .'&id_local='.$row['id_local'].'" style="color: red"><strong>Conexão Impossível ao Serviço FTP!</strong><font color="black" size=1>('.$row['te_serv_updates'].')</font></a>'; | |
| 175 | 178 | } |
| 176 | 179 | else |
| 177 | 180 | { | ... | ... |
estatisticas/aplicativos/aplicativos.php
| ... | ... | @@ -16,18 +16,20 @@ |
| 16 | 16 | |
| 17 | 17 | session_start(); |
| 18 | 18 | |
| 19 | -if($_POST['submit']) { | |
| 19 | +if($_POST['submit']) | |
| 20 | + { | |
| 20 | 21 | $_SESSION["list2"] = $_POST['list2']; //Redes selecionadas |
| 21 | 22 | $_SESSION["list4"] = $_POST['list4']; //SO selecionados |
| 22 | 23 | $_SESSION["list6"] = $_POST['list9']; //Aplicativos selecionados |
| 23 | 24 | $_SESSION["list8"] = $_POST['list8']; |
| 24 | 25 | $_SESSION["list12"] = $_POST['list12']; //Locais Selecionados (No caso de Nível Administrativo) |
| 25 | 26 | $_SESSION["cs_situacao"] = $_POST["cs_situacao"]; |
| 26 | -} | |
| 27 | + } | |
| 27 | 28 | |
| 28 | 29 | require_once('../../include/library.php'); |
| 29 | 30 | anti_spy(); |
| 30 | 31 | conecta_bd_cacic(); |
| 32 | + | |
| 31 | 33 | $linha = '<tr bgcolor="#e7e7e7"> |
| 32 | 34 | <td height="1" colspan="'.($_SESSION['cs_nivel_administracao']<>1 && $_SESSION['cs_nivel_administracao']<>2?'4':'5').'"></td> |
| 33 | 35 | </tr>'; |
| ... | ... | @@ -79,17 +81,15 @@ $_SESSION['redes_selecionadas'] = ''; |
| 79 | 81 | $_SESSION['query_redes'] = ' AND computadores.id_ip_rede = redes.id_ip_rede AND '; |
| 80 | 82 | if ($_SESSION['cs_nivel_administracao']<>1 && $_SESSION['cs_nivel_administracao']<>2) |
| 81 | 83 | { |
| 82 | - if($_SESSION["cs_situacao"] == 'S') | |
| 84 | + // Aqui pego todas as redes selecionadas e faço uma query p/ condição de redes | |
| 85 | + $_SESSION['redes_selecionadas'] = ''; | |
| 86 | + for( $i = 0; $i < count($_SESSION["list2"] ); $i++ ) | |
| 83 | 87 | { |
| 84 | - // Aqui pego todas as redes selecionadas e faço uma query p/ condição de redes | |
| 85 | - $_SESSION['redes_selecionadas'] = ''; | |
| 86 | - for( $i = 0; $i < count($_SESSION["list2"] ); $i++ ) | |
| 87 | - { | |
| 88 | - if ($_SESSION['redes_selecionadas']) | |
| 89 | - $_SESSION['redes_selecionadas'] .= ','; | |
| 90 | - $_SESSION['redes_selecionadas'] .= "'".$_SESSION["list2"][$i]."'"; | |
| 91 | - } | |
| 92 | - } | |
| 88 | + if ($_SESSION['redes_selecionadas']) | |
| 89 | + $_SESSION['redes_selecionadas'] .= ','; | |
| 90 | + $_SESSION['redes_selecionadas'] .= "'".$_SESSION["list2"][$i]."'"; | |
| 91 | + } | |
| 92 | + | |
| 93 | 93 | $_SESSION['query_redes'] .= 'redes.id_ip_rede IN ('. $_SESSION['redes_selecionadas'] .')'; |
| 94 | 94 | } |
| 95 | 95 | else |
| ... | ... | @@ -110,7 +110,7 @@ else |
| 110 | 110 | $_SESSION['select'] = ' ,sg_local as SgLocal '; |
| 111 | 111 | $_SESSION['from'] = ' ,locais '; |
| 112 | 112 | } |
| 113 | - | |
| 113 | + | |
| 114 | 114 | $_SESSION['from'] .= ',redes '; |
| 115 | 115 | |
| 116 | 116 | // Aqui pego todos os SO selecionados |
| ... | ... | @@ -241,33 +241,37 @@ while($reg_selecao = @mysql_fetch_row($result_query_selecao)) |
| 241 | 241 | { |
| 242 | 242 | while($reg_versoes = mysql_fetch_array($result_query_versoes)) |
| 243 | 243 | { |
| 244 | - if (($reg_versoes[4] . $reg_versoes[5]) <> '') | |
| 244 | + if ($reg_versoes[0] <> '?') | |
| 245 | 245 | { |
| 246 | - $in_se_instalado = ($reg_versoes[0]==''?true:false); | |
| 247 | - $te_car_inst = ($reg_versoes[7] <> ''?$reg_versoes[7]:$reg_versoes[8]); | |
| 246 | + if (($reg_versoes[4] . $reg_versoes[5]) <> '') | |
| 247 | + { | |
| 248 | + $in_se_instalado = ($reg_versoes[0]==''?true:false); | |
| 249 | + $te_car_inst = ($reg_versoes[7] <> ''?$reg_versoes[7]:$reg_versoes[8]); | |
| 250 | + } | |
| 251 | + $total_maquinas += $reg_versoes[1]; | |
| 248 | 252 | } |
| 249 | - | |
| 250 | - $total_maquinas += $reg_versoes[1]; | |
| 251 | 253 | } //Fim do while |
| 252 | - | |
| 253 | - ?> | |
| 254 | - <table width="50%" border="0" align="center"> | |
| 255 | - <tr valign="top" bgcolor="#E1E1E1"> | |
| 256 | - <td class="cabecalho_tabela"><div align="left">Seq.</div></td> | |
| 257 | - <td class="cabecalho_tabela"><div align="left"><? echo $label;?></div></td> | |
| 258 | - <td class="cabecalho_tabela"><div align="right">Máquinas</div></td> | |
| 259 | - <td class="cabecalho_tabela"><div align="right">%</div></td> | |
| 260 | - </tr> | |
| 261 | - <? | |
| 254 | + if ($total_maquinas > 0 && !$in_se_instalado) | |
| 255 | + { | |
| 256 | + ?> | |
| 257 | + <table width="50%" border="0" align="center"> | |
| 258 | + <tr valign="top" bgcolor="#E1E1E1"> | |
| 259 | + <td class="cabecalho_tabela"><div align="left">Seq.</div></td> | |
| 260 | + <td class="cabecalho_tabela"><div align="left"><? echo $label;?></div></td> | |
| 261 | + <td class="cabecalho_tabela"><div align="right">Máquinas</div></td> | |
| 262 | + <td class="cabecalho_tabela"><div align="right">%</div></td> | |
| 263 | + </tr> | |
| 264 | + <? | |
| 265 | + } | |
| 262 | 266 | mysql_data_seek($result_query_versoes,0); |
| 263 | 267 | while($reg_versoes = mysql_fetch_row($result_query_versoes)) |
| 264 | 268 | { |
| 265 | - if ($reg_versoes[0] <> '?') | |
| 269 | + if ($reg_versoes[0] <> '?' && !$in_se_instalado) | |
| 266 | 270 | { |
| 267 | 271 | ?> |
| 268 | 272 | <tr> |
| 269 | 273 | <td nowrap class="opcao_tabela"><div align="left"><? echo $sequencial; ?></a></div></td> |
| 270 | - <td nowrap class="opcao_tabela"><div align="left"><a href="../../estatisticas/aplicativos/est_maquinas_aplicativos.php?teversao=<? echo $reg_versoes[0]?>&idaplicativo=<? echo $reg_versoes[2]?>&nmversao=<? echo $reg_versoes[3]?>&cs_car_inst=<? echo $reg_versoes[4].$reg_versoes[5];?>" target="_blank"><? echo ($in_se_instalado?$te_car_inst:$reg_versoes[0]) ?></a></div></td> | |
| 274 | + <td nowrap class="opcao_tabela"><div align="left"><a href="../../estatisticas/aplicativos/est_maquinas_aplicativos.php?teversao=<? echo $reg_versoes[0]?>&idaplicativo=<? echo $reg_versoes[2]?>&nmversao=<? echo $reg_versoes[3]?>&cs_car_inst=<? echo $reg_versoes[4].$reg_versoes[5];?>" target="_blank"><? echo ($in_se_instalado?$te_car_inst:$reg_versoes[0]) ?></a></div></td> | |
| 271 | 275 | <td nowrap class="opcao_tabela"><div align="right"><? echo $reg_versoes[1]; ?></div></td> |
| 272 | 276 | <td nowrap class="ajuda"><div align="right"> <? echo sprintf("%01.2f", $reg_versoes[1] * 100 / $total_maquinas); ?></div></td> |
| 273 | 277 | </tr> |
| ... | ... | @@ -276,14 +280,17 @@ while($reg_selecao = @mysql_fetch_row($result_query_selecao)) |
| 276 | 280 | echo $linha; |
| 277 | 281 | } |
| 278 | 282 | } //Fim do while |
| 279 | - ?> | |
| 280 | - <tr valign="top" bgcolor="#E1E1E1"> | |
| 281 | - <td colspan="2" class="cabecalho_tabela"><div align="left">Total de Máquinas</div></td> | |
| 282 | - <td bgcolor="#E1E1E1" class="cabecalho_tabela"><div align="right"><? echo $total_maquinas; ?></div></td> | |
| 283 | - <td bgcolor="#E1E1E1" class="opcao_tabela"><div align="right"> 100.00</div></td> | |
| 284 | - </tr> | |
| 285 | - </table> | |
| 286 | - <? | |
| 283 | + if ($total_maquinas > 0 && !$in_se_instalado) | |
| 284 | + { | |
| 285 | + ?> | |
| 286 | + <tr valign="top" bgcolor="#E1E1E1"> | |
| 287 | + <td colspan="2" class="cabecalho_tabela"><div align="left">Total de Máquinas</div></td> | |
| 288 | + <td bgcolor="#E1E1E1" class="cabecalho_tabela"><div align="right"><? echo $total_maquinas; ?></div></td> | |
| 289 | + <td bgcolor="#E1E1E1" class="opcao_tabela"><div align="right"> 100.00</div></td> | |
| 290 | + </tr> | |
| 291 | + </table> | |
| 292 | + <? | |
| 293 | + } | |
| 287 | 294 | } //Fim do if das versões |
| 288 | 295 | // Exibir informações sobre a quantidade de máquinas e licenças |
| 289 | 296 | $query_aplicativo_licencas = "SELECT a.te_licenca, | ... | ... |
estatisticas/aplicativos/index.php
| ... | ... | @@ -182,7 +182,7 @@ function open_window(theURL,winName,features) { |
| 182 | 182 | <? |
| 183 | 183 | //<input name="submit" type="submit" value=" Gerar Relatório " onClick="SelectAll(this.form.elements['list2[]']), SelectAll(this.form.elements['list4[]']), SelectAll(this.form.elements['list9[]']), SelectAll(this.form.elements['list8[]'])"> |
| 184 | 184 | ?> |
| 185 | - <input name="submit" type="submit" value=" Gerar Relatório " onClick="<? echo ($_SESSION['cs_nivel_administracao']<>1 && $_SESSION['cs_nivel_administracao']<>2?"SelectAll(this.form.elements['list2[]'])":"SelectAll(this.form.elements['list12[]'])")?>, SelectAll(this.form.elements['list4[]']), SelectAll(this.form.elements['list9[]'])"> | |
| 185 | + <input name="submit" type="submit" value=" Gerar Relatório " onClick="<? echo ($_SESSION['cs_nivel_administracao']<>1 && $_SESSION['cs_nivel_administracao']<>2?"SelectAll(this.form.elements['list2[]'])":"SelectAll(this.form.elements['list12[]'])")?>, SelectAll(this.form.elements['list4[]']), SelectAll(this.form.elements['list9[]']),ChecaTodasAsRedes()"> | |
| 186 | 186 | </div></td> |
| 187 | 187 | </tr> |
| 188 | 188 | <tr> | ... | ... |
include/cacic.css
| ... | ... | @@ -8,24 +8,38 @@ TD |
| 8 | 8 | font-family : Verdana,Arial; font-size : 8pt; vertical-align: middle; |
| 9 | 9 | } |
| 10 | 10 | |
| 11 | +#layerAguarde | |
| 12 | + { | |
| 13 | + border:groove #FF0000; | |
| 14 | + display:none; | |
| 15 | + position:absolute; | |
| 16 | + width:275px; | |
| 17 | + height:25px; | |
| 18 | + z-index:1; | |
| 19 | + left: 280px; | |
| 20 | + top: 80px; | |
| 21 | + background-color: #FFFFCC; | |
| 22 | + } | |
| 23 | +.style1 {font-family: Verdana, Arial, Helvetica, sans-serif} | |
| 24 | + | |
| 11 | 25 | input.digitacao {background-color: #CCCCCC; font-weight: bold; font-size: 9px; color: black; border: solid #000099;} |
| 12 | -input.normal {background-color: #FFFFFF; font-weight: normal; font-size: 9px; color: black;} | |
| 26 | +input.normal {background-color: #FFFFFF; font-weight: normal; font-size: 9px; color: black; z-index:2} | |
| 13 | 27 | input.texto_ajuda {background-color: #FFFFFF; font-weight: normal; font-style: verdana; font-size: 9px; color: black; border: 0px} |
| 14 | 28 | input.texto_pesquisa {background-color: #EBEBEB; font-weight: normal; font-style: verdana; font-size: 9px; color: blue; border: 0px; size: 30;} |
| 15 | 29 | input.destaque{background-color: #ffFF66; font-weight: bold; font-size: 10px; color: black;} |
| 16 | 30 | input.dado_peq_sem_fundo {background-color: #CCCCCC; font-weight: bold; font-size: 9px; color: black; } |
| 17 | -textarea.normal {background-color: #FFFFFF; font-weight: normal; font-size: 10px; color: black; font-family: Verdana;} | |
| 31 | +textarea.normal {background-color: #FFFFFF; font-weight: normal; font-size: 10px; color: black; font-family: Verdana; z-index:2} | |
| 18 | 32 | textarea.digitacao {background-color: #CCCCCC; font-weight: bold; font-size: 11px; color: black; border:1px solid #000099;font-family: Verdana;} |
| 19 | 33 | select.multipequeno {background-color: #FFFFFF; font-weight: normal; font-size: 9px; color: black; size: 1;} |
| 20 | -select.normal {background-color: #FFFFFF; font-weight: normal; font-size: 9px; color: black;} | |
| 34 | +select.normal {background-color: #FFFFFF; font-weight: normal; font-size: 9px; color: black; z-index:2} | |
| 21 | 35 | select.digitacao {background-color: #CCCCCC; font-weight: bold; font-size: 9px; color: black; border:1px solid #000099;} |
| 22 | -option.normal {background-color: #FFFFFF; font-weight: normal; font-size: 9px; color: black;} | |
| 36 | +option.normal {background-color: #FFFFFF; font-weight: normal; font-size: 9px; color: black; z-index:2} | |
| 23 | 37 | option.digitacao {background-color: #CCCCCC; font-weight: normal; font-size: 9px; color: black; border:1px solid #000099;} |
| 24 | -checkbox.normal {background-color: #FFFFFF; font-weight: normal; font-size: 9px; color: black; vertical-align: baseline;} | |
| 38 | +checkbox.normal {background-color: #FFFFFF; font-weight: normal; font-size: 9px; color: black; vertical-align: baseline; z-index:2} | |
| 25 | 39 | checkbox.digitacao {background-color: #CCCCCC; font-weight: normal; font-size: 9px; color: black; border:1px solid #000099;} |
| 26 | -tr.normal {text-align: center;} | |
| 40 | +tr.normal {text-align: center; z-index:2} | |
| 27 | 41 | td.layerUpdates{background-color: #FFFFFF; text-align: center; font-weight: normal; font-size: 9px; color: black; font-family: Verdana, Arial, sans; border:1px solid #FFFFFF;} |
| 28 | -td.normal {background-color: #FFFFFF; font-weight: normal; font-size: 9px; color: black; font-family: Verdana, Arial, sans;} | |
| 42 | +td.normal {background-color: #FFFFFF; font-weight: normal; font-size: 9px; color: black; font-family: Verdana, Arial, sans; z-index:2} | |
| 29 | 43 | td.cabecalho {background-color: #FFFFFF; font-weight: bold; font-size: 17px; color: red; font-family: Verdana, Arial, sans;} |
| 30 | 44 | td.cabecalho_rel {background-color: #FFFFFF; font-weight: bold; font-size: 17px; color: black; font-family: Verdana, Arial, sans;} |
| 31 | 45 | td.cabecalho_tabela {font-weight: bold; font-size: 9px; color: black; font-family: Verdana, Arial, sans;} |
| ... | ... | @@ -58,14 +72,17 @@ a |
| 58 | 72 | font-style: normal; |
| 59 | 73 | color: #000000; |
| 60 | 74 | text-decoration: none; |
| 75 | + z-index:2; | |
| 61 | 76 | } |
| 62 | 77 | a:link |
| 63 | 78 | { |
| 64 | 79 | font-style: bold; |
| 80 | + z-index:2; | |
| 65 | 81 | } |
| 66 | 82 | a:hover |
| 67 | 83 | { |
| 68 | 84 | color: #FF9900; |
| 85 | + z-index:2; | |
| 69 | 86 | } |
| 70 | 87 | |
| 71 | 88 | scrollbar-arrow-color: #003366; | ... | ... |
include/cacic.js
| 1 | + | |
| 2 | +var ie4 = (document.all) ? true : false; | |
| 3 | +var ns4 = (document.layers) ? true : false; | |
| 4 | +var ns6 = (document.getElementById && !document.all) ? true : false; | |
| 5 | + | |
| 1 | 6 | function SetaClassDigitacao(obj) |
| 2 | 7 | { |
| 3 | 8 | obj.style.backgroundColor='#CCCCCC'; |
| ... | ... | @@ -48,4 +53,81 @@ function Confirma(p_pergunta) |
| 48 | 53 | return true; |
| 49 | 54 | } |
| 50 | 55 | return false; |
| 51 | - } | |
| 52 | 56 | \ No newline at end of file |
| 57 | + } | |
| 58 | + | |
| 59 | +function MostraLayer(strLayerName) | |
| 60 | + { | |
| 61 | + if (ie4) | |
| 62 | + document.all[strLayerName].style.visibility = "visible"; | |
| 63 | + else if (ns4) | |
| 64 | + document.layers[strLayerName].visibility = "show"; | |
| 65 | + else if (ns6) | |
| 66 | + document.getElementById([strLayerName]).style.display = "block"; | |
| 67 | + } | |
| 68 | + | |
| 69 | +function EscondeLayer(strLayerName) | |
| 70 | + { | |
| 71 | + if (ie4) | |
| 72 | + { | |
| 73 | + document.all[strLayerName].style.visibility = "hidden"; | |
| 74 | + } | |
| 75 | + else if (ns4) | |
| 76 | + { | |
| 77 | + document.layers[strLayerName].visibility = "hide"; | |
| 78 | + } | |
| 79 | + else if (ns6) | |
| 80 | + { | |
| 81 | + document.getElementById([strLayerName]).style.display = "none"; | |
| 82 | + } | |
| 83 | + } | |
| 84 | + | |
| 85 | +function EscreveNaLayer(strLayerName,strText) | |
| 86 | + { | |
| 87 | + if (ie4) | |
| 88 | + { | |
| 89 | + document.all[strLayerName].innerHTML = strText; | |
| 90 | + } | |
| 91 | + else if (ns4) | |
| 92 | + { | |
| 93 | + document[strLayerName].document.write(strText); | |
| 94 | + document[strLayerName].document.close(); | |
| 95 | + } | |
| 96 | + else if (ns6) | |
| 97 | + { | |
| 98 | + over = document.getElementById([strLayerName]); | |
| 99 | + range = document.createRange(); | |
| 100 | + range.setStartBefore(over); | |
| 101 | + domfrag = range.createContextualFragment(strText); | |
| 102 | + while (over.hasChildNodes()) | |
| 103 | + { | |
| 104 | + over.removeChild(over.lastChild); | |
| 105 | + } | |
| 106 | + over.appendChild(domfrag); | |
| 107 | + } | |
| 108 | + } | |
| 109 | + | |
| 110 | +function Trim(Dado) | |
| 111 | + { | |
| 112 | + var sDado, Result, i, f; | |
| 113 | + | |
| 114 | + Result = ""; | |
| 115 | + sDado = Dado.toString(); | |
| 116 | + if (sDado.length > 0) | |
| 117 | + { | |
| 118 | + for (i=0; i < sDado.length; i++) | |
| 119 | + { | |
| 120 | + if (sDado.charAt(i) != " ") | |
| 121 | + break; | |
| 122 | + } | |
| 123 | + if (i < sDado.length) | |
| 124 | + { | |
| 125 | + for (f=sDado.length-1; f >= 0; f --) | |
| 126 | + { | |
| 127 | + if (sDado.charAt(f) != " ") | |
| 128 | + break; | |
| 129 | + } | |
| 130 | + Result = sDado.substring(i, f+1); | |
| 131 | + } | |
| 132 | + } | |
| 133 | + return Result; | |
| 134 | + } | ... | ... |
include/inicio_relatorios_inc.php
| ... | ... | @@ -22,6 +22,7 @@ conecta_bd_cacic(); |
| 22 | 22 | |
| 23 | 23 | <link rel="stylesheet" type="text/css" href="../../include/cacic.css"> |
| 24 | 24 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 25 | + | |
| 25 | 26 | <? |
| 26 | 27 | // JavaScripts para fazer a selecao entre os listbox, movendo itens entre eles. |
| 27 | 28 | require_once('../../include/selecao_listbox.js'); |
| ... | ... | @@ -45,4 +46,4 @@ else |
| 45 | 46 | |
| 46 | 47 | $cs_situacao = (mysql_num_rows($result) > 0?mysql_result($result, 0, 'cs_situacao'):$cs_situacao); |
| 47 | 48 | } |
| 48 | -?> | |
| 49 | 49 | \ No newline at end of file |
| 50 | +?> | ... | ... |
include/selecao_listbox.js
| ... | ... | @@ -110,6 +110,7 @@ function exclui(fbox,tbox) { |
| 110 | 110 | |
| 111 | 111 | function move(fbox,tbox) |
| 112 | 112 | { |
| 113 | + //MostraLayer('layerAguarde'); | |
| 113 | 114 | for(var i=0; i<fbox.options.length; i++) |
| 114 | 115 | { |
| 115 | 116 | if(fbox.options[i].selected && fbox.options[i].value != "") |
| ... | ... | @@ -120,10 +121,12 @@ function move(fbox,tbox) |
| 120 | 121 | tbox.options[tbox.options.length] = no; |
| 121 | 122 | fbox.options[i].value = ""; |
| 122 | 123 | fbox.options[i].text = ""; |
| 124 | + //EscreveNaLayer('layerAguarde','Movendo "'+no.text+'"'); | |
| 123 | 125 | } |
| 124 | 126 | } |
| 125 | 127 | BumpUp(fbox); |
| 126 | - ordena(tbox); | |
| 128 | + ordena(tbox); | |
| 129 | + //EscondeLayer('layerAguarde'); | |
| 127 | 130 | } |
| 128 | 131 | |
| 129 | 132 | ... | ... |
include/selecao_redes_inc.php
| ... | ... | @@ -69,7 +69,7 @@ |
| 69 | 69 | <td class="descricao"><p> |
| 70 | 70 | <input type="radio" name="cs_situacao" id="cs_situacao" value="T" onclick="verifica_status();SetaClassDigitacao(this.form.elements['list1[]']);" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);" > |
| 71 | 71 | <strong>Todas</strong> as redes<br> |
| 72 | - <input type="radio" name="cs_situacao" id="cs_situacao" value="S" onclick="verifica_status();;SetaClassNormal(this.form.elements['list1[]']);" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);" checked> | |
| 72 | + <input type="radio" name="cs_situacao" id="cs_situacao" value="S" onclick="verifica_status();SetaClassNormal(this.form.elements['list1[]']);" class="normal" onFocus="SetaClassDigitacao(this);" onBlur="SetaClassNormal(this);" checked> | |
| 73 | 73 | Apenas redes <strong>selecionadas<br> |
| 74 | 74 | <? echo $msg?></p></td> |
| 75 | 75 | </tr> | ... | ... |
menus/menu_sup.txt
| ... | ... | @@ -5,17 +5,10 @@ |
| 5 | 5 | ..Log de Acessos|admin/log_acessos.php|mainFrame||Visualização do Log de Acessos ocorridos no Sistema |
| 6 | 6 | ..Log de Atividades|admin/log_atividades.php|mainFrame||Visualização do Log de Atividades(INS/UPD/DEL) do Sistema |
| 7 | 7 | ..Módulos|admin/modulos.php|mainFrame||Configurações dos vários módulos disponíveis do CACIC |
| 8 | -..<b>Importar Dados</b>||mainFrame|imgs/config_gerais.gif | |
| 9 | -...Aquisições|admin/gerencia_licencas/importacao/aquisicoes.php|mainFrame|| | |
| 10 | -...Aquisições-Item|admin/gerencia_licencas/importacao/aquisicoes_item.php|mainFrame|| | |
| 11 | -...Softwares|admin/gerencia_licencas/importacao/software.php|mainFrame|| | |
| 12 | 8 | ..<b>Cadastros</b>||mainFrame|imgs/config_gerais.gif |
| 13 | -...Aquisições|admin/gerencia_licencas/arquivo/aquisicoes.php|mainFrame|| | |
| 14 | 9 | ...Locais|admin/locais/index.php|mainFrame||Cadastro de Locais para Controle Centralizado |
| 15 | 10 | ...SubRedes|admin/redes/index.php|mainFrame||Cadastro de SubRedes |
| 16 | 11 | ...Usuários|admin/usuarios/index.php|mainFrame||Cadastro de Perfis de Aplicativos Monitorados |
| 17 | -...Softwares|admin/softwares/index.php|mainFrame|| | |
| 18 | -...Softwares por Estação|admin/gerencia_licencas/arquivo/cadastros/frmSoftwaresEstacao.php|mainFrame|| | |
| 19 | 12 | ..<b>Patrimônio</b>||mainFrame|imgs/config_gerais.gif |
| 20 | 13 | ...Interface|admin/patrimonio/config_tela_patrimonio.php|mainFrame||Configuração da Tela de Coleta de Informações de Patrimônio |
| 21 | 14 | ...U. O. Nível 2|admin/patrimonio/nivel2/index.php|mainFrame||Cadastro de Unidades Organizacionais de Nível 2 |
| ... | ... | @@ -31,17 +24,6 @@ |
| 31 | 24 | ...Antivírus OfficeScan|relatorios/antivirus/index.php|mainFrame|| |
| 32 | 25 | ...Softwares Básicos|relatorios/software/index.php|mainFrame|| |
| 33 | 26 | ...Inventariados|relatorios/inventario_softwares/index.php|mainFrame|| |
| 34 | -...Licenciados|relatorios/software/licenciados.php|mainFrame|| | |
| 35 | -...Permitidos por Órgão|relatorios/software/softwares_orgao.php|mainFrame|| | |
| 36 | -...Aquisições|admin/gerencia_licencas/consulta/lista_aquisicoes.php|mainFrame|| | |
| 37 | -...Adquiridos|admin/gerencia_licencas/consulta/lista_softwares.php|mainFrame|| | |
| 38 | -...Processos de Compra|admin/gerencia_licencas/consulta/lista_processos.php|mainFrame|| | |
| 39 | -...Tipos|relatorios/software/tipos_software.php|mainFrame|| | |
| 40 | -...Últimos Identificados|relatorios/software/ultimos_identificados.php|mainFrame|| | |
| 41 | -...Suspeitos e Jogos Identificados|relatorios/software/ultimos_outros_softwares.php|mainFrame|| | |
| 42 | -...Histórico por Estação|relatorios/software/historico_estacao.php|mainFrame|| | |
| 43 | -...Não vinculados|relatorios/software/nao_vinculados.php|mainFrame|| | |
| 44 | -...Genéricos|relatorios/software/softwares_generico.php|mainFrame|| | |
| 45 | 27 | ..<b>Hardwares</b>||mainFrame|imgs/config_gerais.gif |
| 46 | 28 | ...Configurações|relatorios/hardware/index.php|mainFrame|| |
| 47 | 29 | ...Compartilhamentos|relatorios/compartilhamentos/index.php|mainFrame|| |
| ... | ... | @@ -52,11 +34,6 @@ |
| 52 | 34 | ...IPs Repetidos|relatorios/computador/ips_repetidos.php|mainFrame||Relatorio de Maquinas com IPs repetidos |
| 53 | 35 | ...Inventários em Branco|relatorios/computador/inventario_em_branco.php|mainFrame|| |
| 54 | 36 | ...Últimos Alterados|relatorios/computador/ultimos_alterados.php|mainFrame|| |
| 55 | -..<b>Licenças</b>||mainFrame|imgs/config_gerais.gif | |
| 56 | -...Resumo|admin/gerencia_licencas/consulta/resumo_licencas.php|mainFrame|| | |
| 57 | -...Autorizadas por estação|admin/gerencia_licencas/consulta/autorizados_por_estacao.php|mainFrame|| | |
| 58 | -...Particulares|admin/gerencia_licencas/consulta/software_particular.php|mainFrame|| | |
| 59 | -..Autorizações|admin/autorizacoes.php|mainFrame|| | |
| 60 | 37 | ..TCP/IP|relatorios/tcpip/index.php|mainFrame|| |
| 61 | 38 | ..Variáveis de Ambiente|relatorios/variaveis_ambiente/index.php|mainFrame|| |
| 62 | 39 | ..Patrimônio|relatorios/patrimonio/index.php|mainFrame|| | ... | ... |
relatorios/inventario_softwares/index.php
| ... | ... | @@ -30,10 +30,10 @@ require_once('../../include/inicio_relatorios_inc.php'); |
| 30 | 30 | redes.</td> |
| 31 | 31 | </tr> |
| 32 | 32 | <tr> |
| 33 | - <td> | |
| 34 | - </td> | |
| 33 | + <td> </td> | |
| 35 | 34 | </tr> |
| 36 | 35 | </table> |
| 36 | +<? require_once('../../include/aguarde.php'); ?> | |
| 37 | 37 | <form action="../inventario_softwares/softwares.php" target="_blank" method="post" ENCTYPE="multipart/form-data" name="forma" onsubmit="return valida_form()"> |
| 38 | 38 | <table width="90%" border="0" align="center"> |
| 39 | 39 | <tr> |
| ... | ... | @@ -181,17 +181,14 @@ require_once('../../include/inicio_relatorios_inc.php'); |
| 181 | 181 | <td valign="top"> |
| 182 | 182 | <? $v_require = '../../include/' .($_SESSION['cs_nivel_administracao']<>1 && $_SESSION['cs_nivel_administracao']<>2?'selecao_redes_inc.php':'selecao_locais_inc.php'); |
| 183 | 183 | require_once($v_require); |
| 184 | - ?> | |
| 185 | - | |
| 186 | - </td> | |
| 184 | + ?> </td> | |
| 187 | 185 | </tr> |
| 188 | 186 | <tr> |
| 189 | 187 | <td valign="top"> </td> |
| 190 | 188 | </tr> |
| 191 | 189 | <tr> |
| 192 | 190 | <td valign="top"> |
| 193 | - <? require_once('../../include/selecao_so_inc.php'); ?> | |
| 194 | - </td> | |
| 191 | + <? require_once('../../include/selecao_so_inc.php'); ?> </td> | |
| 195 | 192 | </tr> |
| 196 | 193 | <tr> |
| 197 | 194 | <td valign="top"> </td> |
| ... | ... | @@ -205,7 +202,8 @@ require_once('../../include/inicio_relatorios_inc.php'); |
| 205 | 202 | <td> </td> |
| 206 | 203 | </tr> |
| 207 | 204 | <tr> |
| 208 | - <td> <div align="center"> | |
| 205 | + <td> | |
| 206 | + <div align="center"> | |
| 209 | 207 | <input name="submit" type="submit" value=" Gerar Relatório " onClick="ChecaTodasAsRedes(),<? echo ($_SESSION['cs_nivel_administracao']<>1 && $_SESSION['cs_nivel_administracao']<>2?"SelectAll(this.form.elements['list2[]'])":"SelectAll(this.form.elements['list12[]'])")?>, |
| 210 | 208 | SelectAll(this.form.elements['list4[]']), |
| 211 | 209 | SelectAll(this.form.elements['list6[]'])"> |
| ... | ... | @@ -217,6 +215,7 @@ require_once('../../include/inicio_relatorios_inc.php'); |
| 217 | 215 | </table></td> |
| 218 | 216 | </tr> |
| 219 | 217 | </table> |
| 218 | + | |
| 220 | 219 | </form> |
| 221 | 220 | </body> |
| 222 | 221 | </html> | ... | ... |
relatorios/software/nao_vinculados.php
| ... | ... | @@ -104,7 +104,7 @@ $linha = '<tr bgcolor="#e7e7e7"> |
| 104 | 104 | </tr> |
| 105 | 105 | <tr> |
| 106 | 106 | <td height="10"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Clique |
| 107 | - sobre o nome da máquina para ver os detalhes</font> </td> | |
| 107 | + sobre o nome do software para ver os detalhes</font> </td> | |
| 108 | 108 | </tr> |
| 109 | 109 | </table> |
| 110 | 110 | <p align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Relatório | ... | ... |
top.php
| ... | ... | @@ -14,8 +14,14 @@ |
| 14 | 14 | Livre(FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 15 | 15 | */ |
| 16 | 16 | session_start(); |
| 17 | -$v_versao = '2.2.3-RC4'; | |
| 17 | +$v_versao = '2.2.3-RC5'; | |
| 18 | 18 | /* |
| 19 | +2.2.3-RC5 (Anderson Peterle - Dataprev/ES - Outubro/2007) | |
| 20 | + + Implementado o destaque para os computadores com mais de 5 dias sem acesso ao gerente WEB; (Computadores/Navegação) | |
| 21 | + + Implementada a seleção de Locais para as opções de Log de Acessos e Log de Atividades; (Administração/Log de Acessos e Administração/Log de Atividades) | |
| 22 | + + Implementada a seleção de Redes para aplicação dos Perfis de Sistemas Monitorados; (Administração/Cadastros/Perfis Sistemas) | |
| 23 | + * Efetuadas diversas pequenas correções. (Administração/Cadastros/Locais, Relatórios, Estatísticas, etc.) | |
| 24 | + | |
| 19 | 25 | 2.2.3-RC4 (Anderson Peterle - Dataprev/ES - Julho a Setembro/2007) |
| 20 | 26 | + Implementado o destaque de ações dos usuários: INS->Verde UPD->Amarelo DEL->Vermelho |
| 21 | 27 | + Implementado o detalhamento dos dados constantes dos detalhes das estatísticas da página inicial | ... | ... |