Commit cb4b73a68c4f5610dafa2cdfc246d9d9d2b68fd4
1 parent
312b9483
Exists in
master
Movido referências de links externos, para assets internos.
Showing
17 changed files
with
44 additions
and
43 deletions
Show diff stats
ieducar/intranet/concursos_det.php
| ... | ... | @@ -31,7 +31,7 @@ require_once ("include/clsBanco.inc.php"); |
| 31 | 31 | |
| 32 | 32 | class clsIndex extends clsBase |
| 33 | 33 | { |
| 34 | - | |
| 34 | + | |
| 35 | 35 | function Formular() |
| 36 | 36 | { |
| 37 | 37 | $this->SetTitulo( "{$this->_instituicao} Publicações!" ); |
| ... | ... | @@ -44,12 +44,12 @@ class indice extends clsDetalhe |
| 44 | 44 | function Gerar() |
| 45 | 45 | { |
| 46 | 46 | $this->titulo = "Detalhe de concurso"; |
| 47 | - $this->addBanner( "http://ieducar.dccobra.com.br/intranet/imagens/nvp_top_intranet.jpg", "http://ieducar.dccobra.com.br/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 47 | + $this->addBanner( "/intranet/imagens/nvp_top_intranet.jpg", "/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 48 | 48 | |
| 49 | 49 | $cod_portal_concurso = @$_GET['cod_portal_concurso']; |
| 50 | 50 | |
| 51 | 51 | $objPessoa = new clsPessoaFisica(); |
| 52 | - | |
| 52 | + | |
| 53 | 53 | $db = new clsBanco(); |
| 54 | 54 | $db->Consulta( "SELECT nm_concurso, descricao, data_hora, ref_ref_cod_pessoa_fj, caminho, tipo_arquivo FROM portal_concurso WHERE cod_portal_concurso = '{$cod_portal_concurso}'" ); |
| 55 | 55 | if ($db->ProximoRegistro()) |
| ... | ... | @@ -57,12 +57,12 @@ class indice extends clsDetalhe |
| 57 | 57 | list ( $nome, $descricao, $data, $pessoa, $caminho, $tipo ) = $db->Tupla(); |
| 58 | 58 | //$pessoa = $db->CampoUnico( "SELECT nm_pessoa FROM pessoa_fj WHERE cod_pessoa_fj = '$pessoa'" ); |
| 59 | 59 | list($pessoa) = $objPessoa->queryRapida($pessoa, "nome"); |
| 60 | - | |
| 60 | + | |
| 61 | 61 | $this->addDetalhe( array("Responsável", $pessoa ) ); |
| 62 | 62 | $this->addDetalhe( array("Data", date( "d/m/Y H:i", strtotime(substr( $data,0,19) ) ) ) ); |
| 63 | 63 | $this->addDetalhe( array("Nome", $nome) ); |
| 64 | 64 | $this->addDetalhe( array("Descrição", $descricao) ); |
| 65 | - $this->addDetalhe( array("Arquivo", "<a href='arquivos/$caminho''><img src='http://ieducar.dccobra.com.br/intranet/imagens/nvp_icon_{$tipo}.gif' border='0'></a>") ); | |
| 65 | + $this->addDetalhe( array("Arquivo", "<a href='arquivos/$caminho''><img src='/intranet/imagens/nvp_icon_{$tipo}.gif' border='0'></a>") ); | |
| 66 | 66 | } |
| 67 | 67 | $this->url_novo = "concursos_cad.php"; |
| 68 | 68 | $this->url_editar = "concursos_cad.php?cod_portal_concurso=$cod_portal_concurso"; | ... | ... |
ieducar/intranet/concursos_lst.php
| ... | ... | @@ -31,7 +31,7 @@ require_once ("include/clsBanco.inc.php"); |
| 31 | 31 | |
| 32 | 32 | class clsIndex extends clsBase |
| 33 | 33 | { |
| 34 | - | |
| 34 | + | |
| 35 | 35 | function Formular() |
| 36 | 36 | { |
| 37 | 37 | $this->SetTitulo( "{$this->_instituicao} Publicações!" ); |
| ... | ... | @@ -44,10 +44,10 @@ class indice extends clsListagem |
| 44 | 44 | function Gerar() |
| 45 | 45 | { |
| 46 | 46 | $this->titulo = "Concursos"; |
| 47 | - $this->addBanner( "http://ieducar.dccobra.com.br/intranet/imagens/nvp_top_intranet.jpg", "http://ieducar.dccobra.com.br/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 48 | - | |
| 47 | + $this->addBanner( "/intranet/imagens/nvp_top_intranet.jpg", "/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 48 | + | |
| 49 | 49 | $this->addCabecalhos( array( "Concurso", "Descrição" ) ); |
| 50 | - | |
| 50 | + | |
| 51 | 51 | $db = new clsBanco(); |
| 52 | 52 | $dba = new clsBanco(); |
| 53 | 53 | |
| ... | ... | @@ -55,18 +55,18 @@ class indice extends clsListagem |
| 55 | 55 | $this->limite = 10; |
| 56 | 56 | $this->offset = ( $_GET["pagina_{$this->nome}"] ) ? $_GET["pagina_{$this->nome}"]*$this->limite-$this->limite: 0; |
| 57 | 57 | |
| 58 | - | |
| 58 | + | |
| 59 | 59 | $total = $dba->UnicoCampo( "SELECT count(0) FROM portal_concurso" ); |
| 60 | - | |
| 60 | + | |
| 61 | 61 | $db->Consulta( "SELECT cod_portal_concurso, nm_concurso, descricao FROM portal_concurso ORDER BY data_hora DESC limit $this->limite offset $this->offset " ); |
| 62 | 62 | while ($db->ProximoRegistro()) |
| 63 | 63 | { |
| 64 | 64 | list ( $cod, $nm_concurso, $descricao ) = $db->Tupla(); |
| 65 | 65 | $this->addLinhas( array( "<a href='concursos_det.php?cod_portal_concurso={$cod}'><img src='imagens/noticia.jpg' border=0>$nm_concurso</a>", $descricao ) ); |
| 66 | 66 | } |
| 67 | - | |
| 67 | + | |
| 68 | 68 | $this->addPaginador2( "concursos_lst.php", $total, $_GET, $this->nome, $this->limite ); |
| 69 | - | |
| 69 | + | |
| 70 | 70 | $this->acao = "go(\"concursos_cad.php\")"; |
| 71 | 71 | $this->nome_acao = "Novo"; |
| 72 | 72 | ... | ... |
ieducar/intranet/controlesis_artigo_det.php
| ... | ... | @@ -46,33 +46,33 @@ class indice extends clsDetalhe |
| 46 | 46 | * @var int |
| 47 | 47 | */ |
| 48 | 48 | var $titulo; |
| 49 | - | |
| 49 | + | |
| 50 | 50 | var $cod_artigo; |
| 51 | 51 | var $texto; |
| 52 | 52 | var $data_cadastro; |
| 53 | 53 | var $data_exclusao; |
| 54 | 54 | var $ativo; |
| 55 | - | |
| 55 | + | |
| 56 | 56 | function Gerar() |
| 57 | 57 | { |
| 58 | 58 | @session_start(); |
| 59 | 59 | $this->pessoa_logada = $_SESSION['id_pessoa']; |
| 60 | 60 | session_write_close(); |
| 61 | - | |
| 61 | + | |
| 62 | 62 | $this->titulo = "Artigo - Detalhe"; |
| 63 | - $this->addBanner( "http://ieducar.dccobra.com.br/intranet/imagens/nvp_top_intranet.jpg", "http://ieducar.dccobra.com.br/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 63 | + $this->addBanner( "/intranet/imagens/nvp_top_intranet.jpg", "/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 64 | 64 | |
| 65 | 65 | $this->cod_artigo=$_GET["cod_artigo"]; |
| 66 | 66 | |
| 67 | 67 | $tmp_obj = new clsPmicontrolesisArtigo( $this->cod_artigo ); |
| 68 | 68 | $registro = $tmp_obj->detalhe(); |
| 69 | - | |
| 69 | + | |
| 70 | 70 | if( ! $registro ) |
| 71 | 71 | { |
| 72 | 72 | header( "location: controlesis_artigo_lst.php" ); |
| 73 | 73 | die(); |
| 74 | 74 | } |
| 75 | - | |
| 75 | + | |
| 76 | 76 | |
| 77 | 77 | // if( $registro["cod_artigo"] ) |
| 78 | 78 | // { | ... | ... |
ieducar/intranet/controlesis_artigo_lst.php
| ... | ... | @@ -85,7 +85,7 @@ class indice extends clsListagem |
| 85 | 85 | foreach( $_GET AS $var => $val ) // passa todos os valores obtidos no GET para atributos do objeto |
| 86 | 86 | $this->$var = ( $val === "" ) ? null: $val; |
| 87 | 87 | |
| 88 | - $this->addBanner( "http://ieducar.dccobra.com.br/intranet/imagens/nvp_top_intranet.jpg", "http://ieducar.dccobra.com.br/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 88 | + $this->addBanner( "/intranet/imagens/nvp_top_intranet.jpg", "/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 89 | 89 | |
| 90 | 90 | $this->addCabecalhos( array( |
| 91 | 91 | //"Artigo", | ... | ... |
ieducar/intranet/controlesis_software_alteracao_det.php
| ... | ... | @@ -66,7 +66,7 @@ class indice extends clsDetalhe |
| 66 | 66 | session_write_close(); |
| 67 | 67 | |
| 68 | 68 | $this->titulo = "Software Alteracao - Detalhe"; |
| 69 | - $this->addBanner( "http://ieducar.dccobra.com.br/intranet/imagens/nvp_top_intranet.jpg", "http://ieducar.dccobra.com.br/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 69 | + $this->addBanner( "/intranet/imagens/nvp_top_intranet.jpg", "/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 70 | 70 | |
| 71 | 71 | $this->cod_software_alteracao=$_GET["cod_software_alteracao"]; |
| 72 | 72 | ... | ... |
ieducar/intranet/controlesis_software_alteracao_lst.php
| ... | ... | @@ -90,7 +90,7 @@ class indice extends clsListagem |
| 90 | 90 | foreach( $_GET AS $var => $val ) // passa todos os valores obtidos no GET para atributos do objeto |
| 91 | 91 | $this->$var = ( $val === "" ) ? null: $val; |
| 92 | 92 | |
| 93 | - $this->addBanner( "http://ieducar.dccobra.com.br/intranet/imagens/nvp_top_intranet.jpg", "http://ieducar.dccobra.com.br/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 93 | + $this->addBanner( "/intranet/imagens/nvp_top_intranet.jpg", "/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 94 | 94 | |
| 95 | 95 | $this->addCabecalhos( array( |
| 96 | 96 | //"Software Alteracão", | ... | ... |
ieducar/intranet/controlesis_software_det.php
| 1 | + | |
| 1 | 2 | <?php |
| 2 | 3 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
| 3 | 4 | * * |
| ... | ... | @@ -62,7 +63,7 @@ class indice extends clsDetalhe |
| 62 | 63 | session_write_close(); |
| 63 | 64 | |
| 64 | 65 | $this->titulo = "Software - Detalhe"; |
| 65 | - $this->addBanner( "http://ieducar.dccobra.com.br/intranet/imagens/nvp_top_intranet.jpg", "http://ieducar.dccobra.com.br/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 66 | + $this->addBanner( "/intranet/imagens/nvp_top_intranet.jpg", "/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 66 | 67 | |
| 67 | 68 | $this->cod_software=$_GET["cod_software"]; |
| 68 | 69 | ... | ... |
ieducar/intranet/controlesis_software_lst.php
| ... | ... | @@ -87,7 +87,7 @@ class indice extends clsListagem |
| 87 | 87 | foreach( $_GET AS $var => $val ) // passa todos os valores obtidos no GET para atributos do objeto |
| 88 | 88 | $this->$var = ( $val === "" ) ? null: $val; |
| 89 | 89 | |
| 90 | - $this->addBanner( "http://ieducar.dccobra.com.br/intranet/imagens/nvp_top_intranet.jpg", "http://ieducar.dccobra.com.br/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 90 | + $this->addBanner( "/intranet/imagens/nvp_top_intranet.jpg", "/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 91 | 91 | |
| 92 | 92 | $this->addCabecalhos( array( |
| 93 | 93 | "Nome Software" | ... | ... |
ieducar/intranet/controlesis_software_patch_det.php
| ... | ... | @@ -63,7 +63,7 @@ class indice extends clsDetalhe |
| 63 | 63 | session_write_close(); |
| 64 | 64 | |
| 65 | 65 | $this->titulo = "Software Patch - Detalhe"; |
| 66 | - $this->addBanner( "http://ieducar.dccobra.com.br/intranet/imagens/nvp_top_intranet.jpg", "http://ieducar.dccobra.com.br/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 66 | + $this->addBanner( "/intranet/imagens/nvp_top_intranet.jpg", "/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 67 | 67 | |
| 68 | 68 | $this->cod_software_patch=$_GET["cod_software_patch"]; |
| 69 | 69 | ... | ... |
ieducar/intranet/controlesis_software_patch_lst.php
| ... | ... | @@ -88,7 +88,7 @@ class indice extends clsListagem |
| 88 | 88 | foreach( $_GET AS $var => $val ) // passa todos os valores obtidos no GET para atributos do objeto |
| 89 | 89 | $this->$var = ( $val === "" ) ? null: $val; |
| 90 | 90 | |
| 91 | - $this->addBanner( "http://ieducar.dccobra.com.br/intranet/imagens/nvp_top_intranet.jpg", "http://ieducar.dccobra.com.br/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 91 | + $this->addBanner( "/intranet/imagens/nvp_top_intranet.jpg", "/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 92 | 92 | |
| 93 | 93 | $this->addCabecalhos( array( |
| 94 | 94 | //"Software Patch", | ... | ... |
ieducar/intranet/templates/email_bee.tpl
| ... | ... | @@ -31,7 +31,7 @@ |
| 31 | 31 | font-weight: bold; |
| 32 | 32 | font-size: 12px; |
| 33 | 33 | color: #4c4d44; |
| 34 | - background-image: url('http://ieducar.dccobra.com.br/intranet/imagens/nvp_icon_openbee.gif'); | |
| 34 | + background-image: url('/intranet/imagens/nvp_icon_openbee.gif'); | |
| 35 | 35 | background-repeat: no-repeat; |
| 36 | 36 | background-position: 0 1; |
| 37 | 37 | margin-left: 0px; |
| ... | ... | @@ -45,17 +45,17 @@ |
| 45 | 45 | font-size:11; |
| 46 | 46 | } |
| 47 | 47 | .topo1 { |
| 48 | - background-image:url('http://ieducar.dccobra.com.br/intranet/imagens/top_01.jpg'); | |
| 48 | + background-image:url('/intranet/imagens/top_01.jpg'); | |
| 49 | 49 | width:184px; |
| 50 | 50 | height:148px; |
| 51 | 51 | } |
| 52 | 52 | .topo2 { |
| 53 | - background-image:url('http://ieducar.dccobra.com.br/intranet/imagens/top_02.jpg'); | |
| 53 | + background-image:url('/intranet/imagens/top_02.jpg'); | |
| 54 | 54 | width:439px; |
| 55 | 55 | height:148px; |
| 56 | 56 | } |
| 57 | 57 | .topo3 { |
| 58 | - background-image:url('http://ieducar.dccobra.com.br/intranet/imagens/top_03.jpg'); | |
| 58 | + background-image:url('/intranet/imagens/top_03.jpg'); | |
| 59 | 59 | width:145px; |
| 60 | 60 | height:148px; |
| 61 | 61 | } |
| ... | ... | @@ -63,7 +63,7 @@ |
| 63 | 63 | </head> |
| 64 | 64 | <body> |
| 65 | 65 | <table width="100%" border="0" cellpadding="0" style="background-color:#FFFFFF" cellspacing="0"> |
| 66 | - <tr><td><img src="http://ieducar.dccobra.com.br/intranet/imagens/nvp_top_openbee.jpg" border="0" align="right"></tr></td> | |
| 66 | + <tr><td><img src="/intranet/imagens/nvp_top_openbee.jpg" border="0" align="right"></tr></td> | |
| 67 | 67 | <!-- #&CONTEUDO&# --> |
| 68 | 68 | </table> |
| 69 | 69 | </body> | ... | ... |
ieducar/intranet/templates/email_iprotocolo.tpl
ieducar/intranet/templates/email_mailling_secom.tpl
| ... | ... | @@ -25,7 +25,7 @@ |
| 25 | 25 | <body> |
| 26 | 26 | <table cellSpacing="1" cellPadding="4" width="640" border="0" Align="Center"> |
| 27 | 27 | <tr> |
| 28 | - <td><img width="640" src='http://ieducar.dccobra.com.br/intranet/imagens/secom2.jpg'><br><br> | |
| 28 | + <td><img width="640" src='/intranet/imagens/secom2.jpg'><br><br> | |
| 29 | 29 | <!-- #&CONTEUDO&# --> |
| 30 | 30 | <br><br><br> |
| 31 | 31 | <!-- #&FOOTER&# --></td> | ... | ... |
ieducar/intranet/templates/email_mailling_topic.tpl
| ... | ... | @@ -25,7 +25,7 @@ |
| 25 | 25 | <body> |
| 26 | 26 | <table cellSpacing="1" cellPadding="4" width="640" border="0" Align="Center"> |
| 27 | 27 | <tr> |
| 28 | - <td><img width="640" src='http://ieducar.dccobra.com.br/intranet/imagens/nvp_top_opentopic.jpg'><br><br> | |
| 28 | + <td><img width="640" src='/intranet/imagens/nvp_top_opentopic.jpg'><br><br> | |
| 29 | 29 | <!-- #&CONTEUDO&# --> |
| 30 | 30 | <br><br><br> |
| 31 | 31 | <!-- #&FOOTER&# --></td> | ... | ... |
ieducar/intranet/templates/email_opencall.tpl
| ... | ... | @@ -24,13 +24,13 @@ |
| 24 | 24 | font-size: 12px; |
| 25 | 25 | color: #6688CC; |
| 26 | 26 | text-decoration: underline; |
| 27 | - } | |
| 27 | + } | |
| 28 | 28 | </style> |
| 29 | 29 | </head> |
| 30 | 30 | <body> |
| 31 | 31 | <table border="0" cellpadding="0" cellspacing="0"> |
| 32 | 32 | <tr> |
| 33 | - <td><img src="http://ieducar.dccobra.com.br/intranet/imagens/email_head_call.jpg" border="0"></td> | |
| 33 | + <td><img src="/intranet/imagens/email_head_call.jpg" border="0"></td> | |
| 34 | 34 | </tr> |
| 35 | 35 | <tr> |
| 36 | 36 | <td><!-- #&CONTEUDO&# --></td> | ... | ... |
ieducar/intranet/templates/gerador_det.tpl
| ... | ... | @@ -20,28 +20,28 @@ class indice extends clsDetalhe |
| 20 | 20 | * @var int |
| 21 | 21 | */ |
| 22 | 22 | var $titulo; |
| 23 | - | |
| 23 | + | |
| 24 | 24 | #inicia_variaveis# |
| 25 | - | |
| 25 | + | |
| 26 | 26 | function Gerar() |
| 27 | 27 | { |
| 28 | 28 | @session_start(); |
| 29 | 29 | $this->pessoa_logada = $_SESSION['id_pessoa']; |
| 30 | 30 | session_write_close(); |
| 31 | - | |
| 31 | + | |
| 32 | 32 | $this->titulo = "#nome_pagina# - Detalhe"; |
| 33 | - $this->addBanner( "http://ieducar.dccobra.com.br/intranet/imagens/nvp_top_intranet.jpg", "http://ieducar.dccobra.com.br/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 33 | + $this->addBanner( "/intranet/imagens/nvp_top_intranet.jpg", "/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 34 | 34 | |
| 35 | 35 | #get_pk_from_get# |
| 36 | 36 | $tmp_obj = new #nome_classe#( #pk_obj_params# ); |
| 37 | 37 | $registro = $tmp_obj->detalhe(); |
| 38 | - | |
| 38 | + | |
| 39 | 39 | if( ! $registro ) |
| 40 | 40 | { |
| 41 | 41 | header( "location: #nome_schema_limpo#_#nome_tabela#_lst.php" ); |
| 42 | 42 | die(); |
| 43 | 43 | } |
| 44 | - | |
| 44 | + | |
| 45 | 45 | #foreign_detalhes_det# |
| 46 | 46 | #adiciona_detalhes# |
| 47 | 47 | #verificacao_especial_det_ini# | ... | ... |
ieducar/intranet/templates/gerador_lst.tpl
| ... | ... | @@ -55,7 +55,7 @@ class indice extends clsListagem |
| 55 | 55 | foreach( $_GET AS $var => $val ) // passa todos os valores obtidos no GET para atributos do objeto |
| 56 | 56 | $this->$var = ( $val === "" ) ? null: $val; |
| 57 | 57 | |
| 58 | - $this->addBanner( "http://ieducar.dccobra.com.br/intranet/imagens/nvp_top_intranet.jpg", "http://ieducar.dccobra.com.br/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 58 | + $this->addBanner( "/intranet/imagens/nvp_top_intranet.jpg", "/intranet/imagens/nvp_vert_intranet.jpg", "Intranet" ); | |
| 59 | 59 | |
| 60 | 60 | $this->addCabecalhos( array( |
| 61 | 61 | #lst_cabecalho# | ... | ... |