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