git-svn-id: https://svn.coded.pt/svn/SIPRP@2027 bb69d46d-e84e-40c8-a05a-06db0d633741

0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Frederico Palma 11 years ago
parent 076d99a56d
commit 277c6b6c85

@ -0,0 +1,64 @@
function showhide( id )
{
if( document.getElementById )
{
obj = document.getElementById( id );
if ( obj.style.display == "none" )
{
obj.style.display = "";
document.getElementById( 'span_' + id ).style.color = "#C13F45";
}
else
{
obj.style.display = "none";
document.getElementById( 'span_' + id ).style.color = "#497895";
}
}
}
function isValidDate( year, month, day )
{
return day > 0 && ( day <= [, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][ month ] ||
day == 29 && month == 2 && year % 4 == 0 && ( year % 100 > 0 || year % 400 == 0 ) );
}
function isValid( element, type )
{
switch( type )
{
// date
case 0:
if( element.value.search( /^\d\d?\/\d\d?\/\d{1,4}$/ ) != 0 )
{
alert( "Formato da data incorrecto." );
window.setTimeout( "document.getElementById( '" + element.name + "').focus()", 1 );
return false;
}
date_value = element.value.split( "/" );
if( ! isValidDate( date_value[ 2 ], date_value[ 1 ], date_value[ 0 ] ) )
{
alert( "Data inválida." );
window.setTimeout( "document.getElementById( '" + element.name + "').focus()", 1 );
return false;
}
break;
// integer
case 1:
if( element.value.search( /^\d\d:\d\d$/ ) != 0 )
{
alert( "Formato da hora incorrecto." );
window.setTimeout( "document.getElementById( '" + element.name + "' ).focus()", 1 );
return false;
}
time_value = element.value.split( ":" );
if( time_value[ 0 ] > 23 || time_value[ 1 ] > 59 )
{
alert( "Hora inválida." );
window.setTimeout( "document.getElementById( '" + element.name + "').focus()", 1 );
return false;
}
break;
}
return true;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 817 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 960 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 598 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 682 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 899 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 888 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 636 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 901 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 B

@ -0,0 +1,80 @@
/*
* CSS - SIPRP.pt (print area)
*
* Made by Ana Fragateiro
*
* evolute.pt
*
*/
body{
background: #fff;
margin:0;
width:100%;
font-size: 13px;
font-family:century gothic,verdana,arial,sans-serif;
}
.title{
font-weight: bold;
font-size: 13px;
color: #678995;
font-family:century gothic,verdana,arial,sans-serif;
border-bottom:2px solid #678995;
padding:10px 8px;
}
.info{
font-size: 12px;
color:#444444;
margin-top: 5px;
margin-bottom: 5px;
}
table{
margin: 10px;
border-collapse:collapse;
font-size: 13px;
}
table .tableheader {
font-size: 13px;
background: #678995;
padding: 5px;
color: #fff;
}
table .tableheader td{
padding:10px 8px;
}
table .elements td{
border-bottom: 1px solid #cccccc;
border-collapse:collapse;
padding:6px 8px;
font-size: 13px;
}
.normal_text b{
font-weight: bold;
color:#BF1B2E;
}
.space{
margin-bottom: 25px;
}
a{
color: #bf1b2e;
text-decoration: none;
font-size: 13px;
}
#cont{
width: 800px;
margin-left:auto;
margin-right:auto;
}

@ -0,0 +1,129 @@
body
{
color: #497895;
font-family: verdana;
margin-top: 0px;
}
.text
{
color: #497895;
font-family: verdana;
font-size: 10pt;
text-align: justify;
}
.noticias
{
color: #497895;
font-family: verdana;
font-size: 9pt;
text-align: left;
}
td.asd
{
border-width: 1px 1px 1px 1px;
border-style: solid;
}
td.title
{
color: #ffffff;
font-family: verdana;
font-size: 10pt;
font-weight: bold;
}
td.noticias
{
font-size: 9pt;
}
td.footer
{
color: #ffffff;
font-family: verdana;
font-size: 8pt;
text-align: right;
}
a:link,
a:visited,
a:active
{
color: #497895;
font-family: verdana;
font-size: 10pt;
font-weight: bold;
text-decoration: none;
}
a:hover
{
color: #C13F45;
font-family: verdana;
font-size: 10pt;
font-weight: bold;
text-decoration: none;
}
a.menu:link,
a.menu:visited,
a.menu:active
{
color: #FFFFFF;
font-family: verdana;
font-size: 10pt;
font-weight: bold;
text-decoration: none;
}
a.menu:hover
{
color: #C13F45;
font-family: verdana;
font-size: 10pt;
font-weight: bold;
text-decoration: none;
}
a.big:link,
a.big:visited,
a.big:active
{
color: #497895;
font-family: verdana;
font-size: 12pt;
font-weight: bold;
text-decoration: none;
}
a.big:hover
{
color: #C13F45;
font-family: verdana;
font-size: 12pt;
font-weight: bold;
text-decoration: none;
}
a.copy:link,
a.copy:visited,
a.copy:active
{
color: #FFFFFF;
font-family: verdana;
font-size: 8pt;
font-weight: normal;
text-decoration: underline;
}
select,
option,
input
{
color: #497895;
font-family: verdana;
margin-top: 0px;
}

@ -0,0 +1,534 @@
/*
* CSS - SIPRP.pt (backoffice area)
*
* Made by Ana Fragateiro
*
* evolute.pt
*
*/
body{
background: #fff url(imgs/bg.png) repeat-x;
margin:0;
width:100%;
font-size: 13px;
font-family:century gothic,verdana,arial,sans-serif;
}
body #popup{
background: #fff url(imgs/none.png) repeat!important;
margin:0;
width:100%;
font-size: 13px;
font-family:century gothic,verdana,arial,sans-serif;
}
#bg_header{
background: #f5f5f4;
height:100px;
position:absolute;
right:0;
width:50%;
margin-top: 2px;
}
.wrapper{
width:1024px;
margin-left:auto;
margin-right:auto;
}
.wrapper2{
width:957px;
margin-left:auto;
margin-right:auto;
}
hr{
background: url(imgs/hr.png) repeat-x;
width:95%;
opacity:0.4;
filter:alpha(opacity=40);
}
#cont_banner h1{
margin-left:26px;
background: url(imgs/h1.png) no-repeat center left;
padding-left: 27px;
color:white;
font-size: 25px;
}
#cont_banner ul.menu{
float:right;
list-style: none;
margin-right:30px;
}
#cont_banner ul.menu li{
float:left;
margin-left:35px;
color: white;
}
#cont_banner ul.menu li a{
text-decoration:none;
color: white;
font-size: 14px;
}
#header{
background: url(imgs/header.png) no-repeat;
margin-top: 8px;
width: 1020px;
height: 114px;
}
#logo{
background: url(imgs/logo.png) no-repeat;
margin-top: 12px;
width: 452px;
height: 80px;
float: left;
margin-left: 46px;
}
#lang{
float:right;
margin-right:30px;
position:relative;
}
#menu{
height:36px;
margin-left:18px;
}
#menu ul{
float:left;
list-style-type:none;
padding:0;
}
#menu ul li{
background:url(imgs/hover_l.png) no-repeat scroll 0 0 transparent;
display:block;
float:left;
height:27px;
margin-left:-18px;
position:relative;
width:500px;
}
#cima{
background: url(imgs/cima.png) no-repeat;
width: 957px;
height: 7px;
margin-left:auto;
}
#cont_banner{
background: #678995;
width: 957px;
min-height: 100px;
display: inline-block;
}
#cont_banner .button_back{
color: #fff;
float: right;
margin-top: 10px;
margin-right: 35px;
font-size: 17px;
}
#baixo{
background: url(imgs/baixo.png) no-repeat;
width: 957px;
height: 8px;
margin-left:auto;
margin-right:auto;
}
#menu_footer{
float: right;
font-size:11px;
margin-right:25px;
margin-top:-115px;
vertical-align:top;
color: #3e4d52;
}
#menu_footer li{
background: url(imgs/it.png) no-repeat center left transparent;
padding-left: 10px;
list-style-type:none;
float:left;
}
#menu_footer li a{
color:#3E4D52;
float:left;
padding-left:5px;
padding-right:10px;
text-decoration:none;
}
#menu_footer li#current a, #menu_footer li a:hover{
text-decoration: underline;
}
#cont{
width: 957px;
min-height: 100px;
margin-left:auto;
margin-right:auto;
margin-top:40px;
min-height:200px;
}
.contentheading{
font-size: 17px;
color: #bf1b2e;
margin-bottom: 6px;
}
a{
color: #bf1b2e;
text-decoration: none;
}
#footer{
background: url(imgs/footer.png) repeat-x;
min-height: 60px;
display: inline-block;
position: absolute;
z-index: -2;
width: 100%;
}
.wrapperFooter{
background:transparent url(imgs/footer_bg.png) no-repeat scroll 0 0;
height: 394px;
position: relative;
z-index: -1;
margin-top: -254px;
}
.chronoform a{
display: none;
}
.cf_label{
font-size: 90%;
}
#copy{
color:gray;
display:inline-block;
font-size:11px;
margin-left:25px;
margin-top:-100px;
vertical-align:top;
float:left;
}
.contact{
background:url(imgs/login_form.png) no-repeat scroll 0 0 transparent;
height:325px;
padding-right:25px;
width:357px;
margin-left: auto;
margin-right: auto;
}
.contact form{
padding-top: 70px;
margin-left:30px;
}
.contact .login{
margin:0 auto;
padding-bottom:18px;
width:456px;
}
.contact input{
background:url(imgs/textinputbg.gif) repeat-x scroll 0 0 #FFFFFF;
border:1px solid #D3D3D3;
color:#000000;
font-size:15px;
margin-bottom:10px;
padding:7px 0;
text-indent:7px;
width:63%;
}
.contact input:focus {
border:1px solid #678995;
}
.contact label{
color:#444444;
display:block;
font-size:15px;
margin-bottom:3px;
}
/*
**backoffice css
*/
.title{
font-weight: bold;
font-size: 13px;
color: #678995;
font-family:century gothic,verdana,arial,sans-serif;
border-bottom:2px solid #678995;
padding:10px 8px;
}
.title a{
font-weight: normal;
margin-left:15px;
margin-right:15px;
}
a:hover{
text-decoration:underline;
}
a.button_back:hover{
text-decoration: none!important;
}
.info{
font-size: 12px;
color:#444444;
margin-top: 5px;
margin-bottom: 5px;
}
table{
margin: 10px;
border-collapse:collapse;
}
table .tableheader {
font-size: 13px;
background: #678995;
padding: 5px;
color: #fff;
}
table .tableheader td{
padding:10px 8px;
}
table .elements td{
border-bottom: 1px solid #cccccc;
border-collapse:collapse;
padding:6px 8px;
}
table tr.elements:hover{
color: #000099;
background: #fff;
}
table .box5{
text-align: left;
}
table .box6{
text-align: center;
}
table .box6 a{
font-weight: bold;
}
.icons_info{
padding: 6px;
}
.icons_info img{
vertical-align: middle;
margin-left: 5px;
}
.ind{
padding: 5px;
}
.normal_text span a{
font-weight: bold;
}
.space{
margin-bottom: 25px;
}
fieldset{
border:1px solid #678995;
float:left;
width:auto;
margin:10px;
padding:10px;
}
legend{
background:none repeat scroll 0 0;
border:medium none;
color:#678995;
padding:2px 6px;
font-size: 17px;
font-weight:bold;
}
#marcacao_tipo label{
display:block;
float:left;
font-weight:bold;
line-height:22px;
padding:0 10px 0 0;
vertical-align:middle;
width:100px;
}
#pedido label{
display:block;
float:left;
font-weight:bold;
line-height:22px;
padding:0 10px 0 0;
vertical-align:middle;
width:130px;
}
#marcacao_tipo input, #pedido input{
float:left;
background:url(imgs/textinputbg.gif) repeat-x scroll 0 0 #FFFFFF;
border:1px solid #D3D3D3;
font-size:12px;
margin:2px 0 20px 10px;
padding:4px 2px;
width:145px;
}
#marcacao_tipo input:focus, #pedido input:focus {
border:1px solid #678995;
}
.form_elemnt {
float:left;
margin-left:30px;
width:85%;
}
.nota{
color: #444444;
font-size: 11px;
margin: 6px;
width:85%;
float: left;
}
.name{
margin-left:10px;
margin-bottom: 6px;
}
.button_marcar{
background:url(imgs/button_marcar.png) no-repeat!important;
width:100px!important;
height: 30px!important;
float:right!important;
border:0px solid!important;
margin:0px!important;
padding:0px!important;
}
.button_marcar:focus{
border:none none;
}
.button_marcar:hover{
background:url(imgs/button_marcar_hover.png) no-repeat!important;
}
.button_marcar:active{
background:url(imgs/button_marcar_active.png) no-repeat!important;
}
.texto{
margin-left: 30px;
}
.button_pedido{
background:url(imgs/button_pedido.png) no-repeat!important;
width:145px!important;
height: 30px!important;
float:right!important;
border:0px solid!important;
margin:0px!important;
padding:0px!important;
}
.button_pedido:focus{
border:none none;
}
.button_pedido:hover{
background:url(imgs/button_pedido_hover.png) no-repeat!important;
}
.button_pedido:active{
background:url(imgs/button_pedido_active.png) no-repeat!important;
}
.button_login{
background:url(imgs/button_login.png) no-repeat!important;
width:114px!important;
height:37px;
float: right!important;
border:0px solid #D3D3D3!important;
color:#000000;
font-size:15px;
margin-bottom:10px;
padding:0px!important;
text-indent:7px;
margin-right: 36px;
}
.button_login:hover{
background:url(imgs/button_login_hover.png) no-repeat!important;
}
.button_login:active{
background:url(imgs/button_login_active.png) no-repeat!important;
}

@ -0,0 +1,88 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<title>SIPRP</title>
<link rel="stylesheet" type="text/css" href="html/css/template.css">
<link href="images/favicon.ico" rel="shortcut icon">
<script type="text/javascript" src="html/js/cufon.js"></script>
<script type="text/javascript" src="html/js/Antipasto_400.font.js"></script>
<script type="text/javascript">
Cufon.replace('#menu', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('h1', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('#menu_s', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('.contentheading', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('.one', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('.resizer', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('.button_back', { fontFamily: 'Antipasto', hover:true } );
if( !document.all )
{
window.captureEvents(Event.KEYUP);
}
else
{
document.onkeypress = s;
}
function s( e )
{
if( document.all ) // IE
{
var e = window.event.keyCode;
}
else
{
e = e.which;
}
if( e == 13 )
{
document.loginForm.submit();
}
}
</script>
</head>
<body>
<div id="bg_header"></div>
<div class="wrapper">
<div id="header">
<div id="logo"></div>
<div id="lang"></div>
<div id="resizer">
<ul class="resizer">
</ul>
</div>
</div>
<div class="wrapper2">
<div id="menu">
</div>
<div id="cima"></div>
<div id="cont_banner">
<h1>Erro</h1>
<hr>
</div>
<div id="baixo"></div>
</div>
<div id="cont">
<div class="contentheading">$msg</div>
</div>
</div>
<div id="footer">
<div class="wrapper"><div class="wrapperFooter"></div>
<div id="copy"></div>
</div>
</div>
</body>
</html>

@ -0,0 +1,60 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0028)http://www.evolute.pt/siprp/ -->
<HTML><HEAD><TITLE>Siprp</TITLE>
<META http-equiv=content-type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<TABLE style="WIDTH: 1132px; HEIGHT: 288px; TEXT-ALIGN: left" cellSpacing=2
cellPadding=2 border=0>
<TBODY>
<TR>
<TD style="VERTICAL-ALIGN: top; HEIGHT: 50px"><BR></TD>
<TD style="VERTICAL-ALIGN: top; WIDTH: 500px; HEIGHT: 50px"><BR></TD>
<TD style="VERTICAL-ALIGN: top; HEIGHT: 50px"><BR></TD></TR>
<TR>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD style="VERTICAL-ALIGN: top; WIDTH: 500px; TEXT-ALIGN: left"><IMG
style="WIDTH: 449px; HEIGHT: 101px" alt=""
src="Siprp_ficheiros/logo_siprp.jpg"></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD></TR>
<TR>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD></TR>
<TR>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD style="VERTICAL-ALIGN: top; WIDTH: 500px"><SMALL><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(0,51,102); FONT-FAMILY: verdana">em
construção</SPAN></SMALL><BR></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD></TR>
<TR>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD></TR>
<TR>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD
style="VERTICAL-ALIGN: top; WIDTH: 500px; FONT-FAMILY: verdana"><SMALL></SMALL>
<DIV align=justify><SMALL><STRONG>SIPRP - Sociedade Ibérica de Prevenção
de Riscos Profissionais</STRONG></SMALL></DIV><SMALL></SMALL>
<DIV align=justify><SMALL>ATRIUM SALDANHA</SMALL></DIV><SMALL></SMALL>
<DIV align=justify><SMALL>Praça Duque de Saldanha, 1 - 9º
C</SMALL></DIV><SMALL></SMALL>
<DIV align=justify><SMALL>1050-094 Lisboa</SMALL></DIV><SMALL></SMALL>
<DIV align=justify><SMALL>Telefone:&nbsp; (+351) 213 504
540</SMALL></DIV><SMALL></SMALL>
<DIV align=justify><SMALL>Fax: (+351) 213 504
549</SMALL></DIV><SMALL></SMALL>
<DIV align=justify><SMALL>E-mail: <A
href="mailto:geral@siprp.pt">geral@siprp.pt</A></SMALL></DIV><SMALL></SMALL></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD></TR>
<TR>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD></TR>
<TR>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD
style="VERTICAL-ALIGN: top; FONT-FAMILY: verdana"><SMALL>Desenvolvimento
por: Evolute - Consultoria Informática, Lda</SMALL></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD></TR></TBODY></TABLE><BR></BODY></HTML>

@ -0,0 +1,18 @@
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|06 Sep 2004 16:01:35 -0000
vti_extenderversion:SR|5.0.2.2623
vti_cacheddtm:TX|06 Sep 2004 16:01:35 -0000
vti_filesize:IR|2907
vti_cachedtitle:SR|Siprp
vti_cachedbodystyle:SR|<BODY>
vti_cachedlinkinfo:VX|S|Siprp_ficheiros/logo_siprp.jpg H|mailto:geral@siprp.pt
vti_cachedsvcrellinks:VX|NSUS|images/Siprp_ficheiros/logo_siprp.jpg NHUS|mailto:geral@siprp.pt
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_metatags:VR|HTTP-EQUIV=content-type text/html;\\ charset=ISO-8859-1 GENERATOR MSHTML\\ 6.00.2800.1458
vti_charset:SR|windows-1252
vti_generator:SR|MSHTML 6.00.2800.1458
vti_title:SR|Siprp
vti_backlinkinfo:VX|

@ -0,0 +1,11 @@
vti_encoding:SR|utf8-nl
vti_author:SR|op233351b
vti_modifiedby:SR|op233351b
vti_timelastmodified:TR|06 Sep 2004 17:07:36 -0000
vti_timecreated:TR|06 Sep 2004 17:07:36 -0000
vti_cacheddtm:TX|06 Sep 2004 17:07:36 -0000
vti_filesize:IR|6174
vti_extenderversion:SR|5.0.2.2623
vti_lastwidth:IX|449
vti_lastheight:IX|101
vti_backlinkinfo:VX|index.html

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 723 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 507 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 636 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 755 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 829 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 783 B

@ -0,0 +1,106 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<title>SIPRP</title>
<link rel="stylesheet" type="text/css" href="html/css/template.css">
<link href="images/favicon.ico" rel="shortcut icon">
<script type="text/javascript" src="html/js/cufon.js"></script>
<script type="text/javascript" src="html/js/Antipasto_400.font.js"></script>
<script type="text/javascript">
Cufon.replace('#menu', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('h1', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('#menu_s', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('.contentheading', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('.one', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('.resizer', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('.button_back', { fontFamily: 'Antipasto', hover:true } );
if( !document.all )
{
window.captureEvents(Event.KEYUP);
}
else
{
document.onkeypress = s;
}
function s( e )
{
if( document.all ) // IE
{
var e = window.event.keyCode;
}
else
{
e = e.which;
}
if( e == 13 )
{
document.loginForm.submit();
}
}
</script>
</head>
<body>
<div id="bg_header"></div>
<div class="wrapper">
<div id="header">
<div id="logo"></div>
<div id="lang"></div>
<div id="resizer">
<ul class="resizer">
</ul>
</div>
</div>
<div class="wrapper2">
<div id="menu">
</div>
<div id="cima"></div>
<div id="cont_banner">
<h1>&Aacute;rea de Clientes</h1>
<hr>
<a class="button_back" href="http://www.siprp.pt">&laquo; Voltar</a>
</div>
<div id="baixo"></div>
</div>
<div id="cont">
<div class="contentheading">
#if ( $msg )
$msg
#end
</div>
<div class="contact">
<form method="post" name="loginForm">
<input name="form" value="Entrar" type="hidden">
<div class="login">
<label>User</label>
<input size="15" name="user" type="text" >
</div>
<div class="login">
<label>Password</label>
<input size="15" name="password" type="password" >
</div>
<input type="submit" value="" class="button_login">
</form></div>
</div>
</div>
<div id="footer">
<div class="wrapper"><div class="wrapperFooter"></div>
<div id="copy"></div>
</div>
</div>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -0,0 +1,23 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<title>SIPRP :: Marca&ccedil;&atilde;o Consulta/Exame</title>
<link rel="stylesheet" type="text/css" href="html/css/template.css">
<script language="javascript" src="/siprpWeb/html/css/funcs.js"></script>
</head>
<body id="popup">
<div id="text">
Empresa: $empresa<br>
Estabelecimento: $estabelecimento<br>
Funcionário: $funcionario<br>
<br>
Pedido de marca&ccedil;&atilde;o de $marcacao_tipo
data(s): $data#if( $marcacao_tipo == 'Consulta' )
Hor&aacute;rio: $hora#end.<br>
</div>
</body>
</html>

@ -0,0 +1,58 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<title>SIPRP :: Marca&ccedil;&atilde;o Consulta</title>
<link rel="stylesheet" type="text/css" href="html/css/template.css">
<script language="javascript" src="/siprpWeb/html/css/funcs.js"></script>
<script type="text/javascript">
function validateForm()
{
return true;
//return isValid( document.f.data, 0 ) && isValid( document.f.hora, 1 );
}
</script>
</head>
<body id="popup">
<div id="marcacao_tipo">
<form method='post' action='/siprpWeb/schedule' name='f'>
<input type="hidden" name="marcacao_tipo" id="marcacao_tipo" value="Consulta">
<fieldset>
<legend>Marca&ccedil;&atilde;o de Consulta para:</legend>
<div class="name">
$funcionario
</div>
<script language="JavaScript">
var cal = new CalendarPopup();
</script>
<div class="form_elemnt">
<label>Data(s)*:</label>
<input type='text' id='data' name='data'>
</div>
<div class="form_elemnt">
<label>Hor&aacute;rio:</label>
<input type='text' id='hora' name='hora'>
</div>
<div class='nota'>
Nota: a marca&ccedil;&atilde;o est&aacute; sujeita a confirma&ccedil;&atilde;o via email.<br>
* - campo de preenchimento obrigat&oacute;rio
</div>
<input type='submit' value='' class="button_marcar" onclick='return validateForm()'>
</fieldset>
</form></div>
</body>
</html>

@ -0,0 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<title>SIPRP :: Marca&ccedil;&atilde;o Consulta/Exame</title>
<link rel="stylesheet" type="text/css" href="html/css/template.css">
<script language="javascript" src="/siprpWeb/html/css/funcs.js"></script>
</head>
<body id="popup">
<div id="text">
O pedido de marca&ccedil;&atilde;o foi enviado com sucesso.
</div>
</body>
</html>

@ -0,0 +1,53 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<title>SIPRP :: Marca&ccedil;&atilde;o Exames</title>
<link rel="stylesheet" type="text/css" href="html/css/template.css">
<script language="javascript" src="/siprpWeb/html/css/funcs.js"></script>
<script type="text/javascript">
function validateForm()
{
return true;
//return isValid( document.f.data, 0 );
}
</script>
</head>
<body id="popup">
<div id="marcacao_tipo">
<form method='post' action='/siprpWeb/schedule' name='f'>
<input type="hidden" name="marcacao_tipo" id="marcacao_tipo" value="Exame">
<fieldset>
<legend>Marca&ccedil;&atilde;o de Exames para:</legend>
<div class="name">$funcionario</div>
<script language="JavaScript">
var cal = new CalendarPopup();
</script>
<div class="form_elemnt">
<label>Data(s)*:</label>
<input type='text' id='data' name='data'>
</div>
<div class='nota'>
Nota: a marca&ccedil;&atilde;o est&aacute; sujeita a confirma&ccedil;&atilde;o via email.<br>
* - campo de preenchimento obrigat&oacute;rio
</div>
<input type='submit' value='' class="button_marcar" onclick='return validateForm()'>
</fieldset>
</form></div>
</body>
</html>

@ -0,0 +1,62 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Marca&ccedil;&atilde;o de consulta / exame</title>
<link rel="stylesheet" href="/siprpWeb/html/css/style.css" type="text/css">
</head>
<script language="javascript" src="/siprpWeb/html/css/funcs.js"></script>
<script>
function validateForm()
{
checked = -1;
for( i = 0; i < document.f.marcacao_tipo.length; i++ )
{
if( document.f.marcacao_tipo[ i ].checked )
{
checked = i;
}
}
if( checked == -1 )
{
alert( "Tem que escolher o tipo de marcação." );
return false;
}
return isValid( document.f.data, 0 ) && ( checked == 1 || isValid( document.f.hora, 1 ) );
}
</script>
<body>
<form method='post' action='/siprpWeb/schedule' name='f'>
<table class='text'>
<tr>
<td colspan='2'>
Marca&ccedil;&atilde;o para:<br>
$funcionario
</td>
</tr>
<tr>
<td colspan='2'>
<input type='radio' id='marcacao_tipo' name='marcacao_tipo' value='Consulta' onclick='document.getElementById( "hora" ).disabled = false;'>Consulta
<input type='radio' id='marcacao_tipo' name='marcacao_tipo' value='Exame' onclick='document.getElementById( "hora" ).disabled = true;'>Exame
</td>
</tr>
<tr>
<td>Data:</td><td><input type='text' id='data' name='data'>dd/mm/aaaa</td>
</tr>
<tr>
<td>Hora:</td><td><input type='text' id='hora' name='hora'>hh:mm</td>
</tr>
<tr>
<td colspan='2'>
Nota: a marca&ccedil;&atilde;o est&aacute; sujeita a confirma&ccedil;&atilde;o via email.
</td>
</tr>
<tr>
<td colspan='2'>
<input type='submit' value='Marcar' onclick='return validateForm()'>
</td>
</tr>
</table>
</form>
</body>
</html>

@ -0,0 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>SIPRP :: Erro na Marca&ccedil;&atilde;o</title>
<link rel="stylesheet" type="text/css" href="html/css/template.css">
<script language="javascript" src="/siprpWeb/html/css/funcs.js"></script>
</head>
<body id="popup">
<div id="texto">
Ocorreu um erro a enviar o pedido de marca&ccedil;&atilde;o.
</div>
</body>
</html>

@ -0,0 +1,17 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<title>SIPRP :: Marca&ccedil;&atilde;o Consulta/Exame</title>
<link rel="stylesheet" type="text/css" href="html/css/template.css">
<script language="javascript" src="/siprpWeb/html/css/funcs.js"></script>
</head>
<body id="popup">
<div id="text">
A sua sess&atilde;o expirou. Para efectuar uma marca&ccedil;&atilde;o, autentique-se novamente.
</div>
</body>
</html>

@ -0,0 +1,19 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<title>SIPRP :: Pedido do Relat&oacute;rio</title>
<link rel="stylesheet" type="text/css" href="html/css/template.css">
<script language="javascript" src="/siprpWeb/html/css/funcs.js"></script>
</head>
<body id="popup">
<div id="text">
Empresa: $empresa<br>
<br>
Pedido de envio de relat&oacute;rio do ano: $ano<br>
</div>
</body>
</html>

@ -0,0 +1,17 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<title>SIPRP :: Marcação Consulta/Exame</title>
<link rel="stylesheet" type="text/css" href="html/css/template.css">
<script language="javascript" src="/siprpWeb/html/css/funcs.js"></script>
</head>
<body id="popup">
<div id="texto">
O pedido foi enviado com sucesso.
</div>
</body>
</html>

@ -0,0 +1,17 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<title>SIPRP :: Erro no Pedido</title>
<link rel="stylesheet" type="text/css" href="html/css/template.css">
<script language="javascript" src="/siprpWeb/html/css/funcs.js"></script>
</head>
<body id="popup">
<div id="text">
Ocorreu um erro a enviar o pedido.
</div>
</body>
</html>

@ -0,0 +1,40 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<title>SIPRP :: Pedido do Relat&oacute;rio</title>
<link rel="stylesheet" type="text/css" href="html/css/template.css">
<script language="javascript" src="/siprpWeb/html/css/funcs.js"></script>
<script type="text/javascript">
function validateForm()
{
return true;
//return isValid( document.f.data, 0 );
}
</script>
</head>
<body id="popup">
<div id="pedido">
<form method='post' action='/siprpWeb/relatorio' name='f'>
<fieldset>
<legend>Pedido de dados do relat&oacute;rio anual</legend>
<div class="form_elemnt">
<label>Ano pretendido:</label>
<input type='text' id='ano' name='ano'>
</div>
<input type='submit' value='' class="button_pedido" onclick='return validateForm()'>
</fieldset>
</form></div>
</body>
</html>

@ -0,0 +1,17 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<title>SIPRP :: sess&atilde;o expirou</title>
<link rel="stylesheet" type="text/css" href="html/css/template.css">
<script language="javascript" src="/siprpWeb/html/css/funcs.js"></script>
</head>
<body id="popup">
<div id="text">
A sua sess&atilde;o expirou. Para efectuar o pedido, autentique-se novamente.
</div>
</body>
</html>

@ -0,0 +1,272 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<title>SIPRP</title>
<link rel="stylesheet" type="text/css" href="html/css/template.css">
<link href="images/favicon.ico" rel="shortcut icon">
<script type="text/javascript" src="html/js/cufon.js"></script>
<script type="text/javascript" src="html/js/Antipasto_400.font.js"></script>
<script type="text/javascript">
Cufon.replace('#menu', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('h1', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('#menu_s', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('.contentheading', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('.one', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('.resizer', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('.button_back', { fontFamily: 'Antipasto', hover:true } );
function marcacaoWindow()
{
m_wnd = window.open( "schedule?" + Math.random(), "marcacao_window", "menubar=0, resizeable=0, width=400, height=250, top=100, left=450" );
m_wnd.focus();
}
function marcacaoConsultaWindow()
{
m_wnd = window.open( "schedule?consulta", "marcacao_window", "menubar=0, resizeable=0, width=400, height=250, top=100, left=450" );
m_wnd.focus();
}
function marcacaoExamesWindow()
{
m_wnd = window.open( "schedule?exames", "marcacao_window", "menubar=0, resizeable=0, width=400, height=250, top=100, left=450" );
m_wnd.focus();
}
function pedidoRelatorioWindow()
{
m_wnd = window.open( "relatorio?" + Math.random(), "pedido_window", "menubar=0, resizeable=0, width=400, height=250, top=100, left=450" );
m_wnd.focus();
}
</script>
</head>
<body>
<div id="bg_header"></div>
<div class="wrapper">
<div id="header">
<div id="logo"></div>
<div id="lang"></div>
<div id="resizer">
<ul class="resizer">
</ul>
</div>
</div>
<div class="wrapper2">
<div id="menu"> </div>
<div id="cima"></div>
<div id="cont_banner">
<h1>$userName</h1>
<hr>
<a class="button_back" href="http://www.siprp.pt">logout &raquo;</a>
#if( $userRole != "manager" )
<a class="button_back" href="javascript:pedidoRelatorioWindow();">pedido de relat&oacute;rio anual...</a>
#end
</div>
<div id="baixo"></div>
</div>
<div id="cont">
<div class="contentheading">Acesso Restrito</div>
<div class="normal_text">
#if( $userRole == "manager" && $empresa_nome )
<span><a class='text' href="/siprpWeb/?empresas">Empresa:</a></span> $!empresa_nome
#else
<span>Empresa:</span> $!empresa_nome
#end
</div>
<!--td class='text' style='text-align: right; background: url(/siprpWeb/html/images/logout.gif) no-repeat;' width='140' height='45' rowspan='3'>
$userName<br>
<a href="/siprpWeb/">Logout &raquo;</a><br>
</td-->
<div class="normal_text">
#if( $estabelecimento_id )
<span><a class='text' href="/siprpWeb/?$empresa_id">Estabelecimento:</a></span> $!estabelecimento_nome
#else
<span>Estabelecimento: </span>
#end
</div>
<div class="normal_text">
#if( $query == "trabalhador" )
<span><a class='text' href='/siprpWeb/?$empresa_id/$estabelecimento_id/func'>Funcion&aacute;rio:</a></span> $!funcionario.nome -Data de Nascimento: $!funcionario.data_nascimento
#else
<span>Funcion&aacute;rio:</span>
#end
#if( $query == "trabalhador" )
#end
</div>
<div class="space"></div>
#if( $query == "empresas" )
#set( $listaTitle = "Empresas" )
#elseif( $query == "estabelecimentos" )
#set( $listaTitle = "Estabelecimentos" )
#elseif( $query == "opcoes" )
#set( $listaTitle = "Op&ccedil;&otilde;es" )
#elseif ( $query == "ficheiros" )
#set( $listaTitle = "Ficheiros" )
#elseif( $query == "trabalhadores" || $query == "trabalhadores_tudo" || $query == "trabalhadores_pendentes" )
#set( $listaTitle = "Funcion&aacute;rios:" )
#set( $lista_funcionarios = 1 )
#else ##( $query == "trabalhador" )
#set( $listaTitle = "Funcion&aacute;rio" )
#end
<!-- LISTA -->
#if( $lista_funcionarios )
<!-- titulo -->
<div class='title'>Funcion&aacute;rios:
<a href="/siprpWeb/?$empresa_id/$estabelecimento_id/func">todos</a></td>
<a href="/siprpWeb/?$empresa_id/$estabelecimento_id/func/trabalhadores_tudo">com ficha de aptid&atilde;o</a>
<a href="/siprpWeb/?$empresa_id/$estabelecimento_id/func/trabalhadores_pendentes">com pend&ecirc;ncias</a>
<a href='/siprpWeb/?$empresa_id/$estabelecimento_id/func/${query}_print' target="_blank">imprimir</a>
</div>
#else
<div class='title'>$listaTitle</div>
#end
#if ($query == "ficheiros")
<table width='98%'>
<tr class='tableheader'>
<td width='20%'>Nome</td>
<td width='10%'>Data</td>
<td width='60%'>Coment&aacute;rios</td>
<td width='10%'>Tipo</td>
</tr>
#foreach( $ficheiro in $v2 )
<tr class='elements'>
<td class='box5'><a class='text' href='$ficheiro.Link'>$ficheiro.Nome</a></td>
<td class='box5'>$ficheiro.Data</td>
<td class='box5'>$ficheiro.Comentario</td>
#if( $ficheiro.Tipo == "pdf" )
<td class='box5'><img src="/siprpWeb/html/images/pdf.jpg" height="20" width="20"></td>
#elseif ( $ficheiro.Tipo == "word" )
<td class='box5'><img src="/siprpWeb/html/images/word.png" height="20" width="20"></td>
#elseif ( $ficheiro.Tipo == "excel" )
<td class='box5'><img src="/siprpWeb/html/images/excel.png" height="20" width="20"></td>
#end
</tr>
#end
</table>
<div class='info'>
<img src="/siprpWeb/html/images/pdf.jpg" height="20" width="20"> Documento pdf<br />
<img src="/siprpWeb/html/images/word.png" height="20" width="20"> Documento word<br />
<img src="/siprpWeb/html/images/excel.png" height="20" width="20"> Documento excel
</div>
#elseif ($query == "trabalhador")
<div class='info'>(*)ECD - Exames Complementares de Diagn&oacute;stico</div>
<table width='98%'>
<tr class="tableheader">
<td width='14%'>&Uacute;ltimo ECD(*)</td>
<td class='box6' width='14%'>Realizado</td>
<td class='box6' width='14%'>&Uacute;ltima Consulta</td>
<td class='box6' width='14%'>Realizada</td>
<td class='box6' width='14%'>Resultado</td>
<td class='box6' width='14%'><a href='javascript:marcacaoExamesWindow();'>Pr&oacute;ximo ECD(*)</a></td>
<td class='box6' width='16%'><a href='javascript:marcacaoConsultaWindow();'>Pr&oacute;xima Consulta</a></td>
</tr>
<tr class="elements">
<td class='box5'>$!funcionario.ultimo_exame</td>
<td class='box6'>$!funcionario.realizado</td>
<td class='box6'>$!funcionario.ultima_consulta</td>
<td class='box6'>$!funcionario.realizada</td>
<td class='box6'>$!funcionario.resultado</td>
<td class='box6'>$!funcionario.proximo_exame</td>
<td class='box6'>$!funcionario.proxima_consulta</td>
</tr>
</table>
#elseif( $query == "trabalhadores" )
<div class='info'>(*)ECD - Exames Complementares de Diagn&oacute;stico</div>
<table width='98%'>
<tr class="tableheader">
<td width='55%'>Nome</td>
<td class='box6' width='15%'>&Uacute;ltimo ECD(*)</td>
<td class='box6' width='15%'>&Uacute;ltima consulta</td>
<td class='box6' width='15%'>Pr&oacute;xima consulta</td>
</tr>
#foreach( $element in $v1 )
#set ( $counter = $velocityCount - 1 )
#set ( $dados_trabalhador = $v2.get($counter) )
<tr class='elements'>
<td class='box5'><a class='text' href="$v1.get($counter)">$dados_trabalhador.Nome</a></td>
<td class='box6'>$dados_trabalhador.ultimo_exame</td>
<td class='box6'>$dados_trabalhador.ultima_consulta</td>
<td class='box6'>$dados_trabalhador.proxima_consulta</td>
</tr>
#end
</table>
#elseif( $query == "trabalhadores_tudo" )
<table width='100%' cellspacing='0' cellpadding='0' border="0">
<tr class='tableheader'>
<td width='75%'>Nome</td>
<td class='box6' width='25%'>Data da Ficha de Aptid&atilde;o</td>
</tr>
#foreach ( $trabalhador in $v1 )
<tr class='elements'>
<td class='box5'><a class='text' href="$trabalhador.trabalhador_link">$trabalhador.trabalhador_nome</a></td>
<td class='box6'>$trabalhador.ficha_aptidao_data</td>
</tr>
#end
</table>
#elseif( $query == "trabalhadores_pendentes" )
<div class="icons_info">
<span><img SRC="/siprpWeb/html/images/red.png"> - Por Agendar</span>
<span><img SRC="/siprpWeb/html/images/yellow.png"> - Por Realizar</span>
</div>
<table width='98%' cellspacing='0' cellpadding='0' border="0">
<tr class="tableheader">
<td width='75%'>Nome</td>
<td class='box6' width='12%'>Consulta</td>
<td class='box6' width='12%'>Tipo de Consulta</td>
</tr>
#foreach ( $trabalhador in $v1 )
<tr class="elements">
<td class="box5"><a href="$trabalhador.link_trabalhador" class="text">$trabalhador.nome_trabalhador</a></td>
<td class="box6">
#if ( $trabalhador.estado_consulta )
<img src="/siprpWeb/html/images/${trabalhador.estado_consulta}.png">
#else
-
#end
</td>
<td class="box6">$trabalhador.motivo_consulta</td>
</tr>
#end
</table>
#elseif( $query == "estabelecimentos" )
#foreach( $element in $v1 )
#set ( $counter = $velocityCount - 1 )
<div class="ind"><a class='text' href="$v1.get($counter)">$v2.get($counter)</a></div>
#end
<div class='title'>Ficheiros</div>
<div class="ind"><a class='text' href="$ficheirosUrl">Ficheiros</a></div>
#else
#foreach( $element in $v1 )
#set ( $counter = $velocityCount - 1 )
<div class="ind"><a class='text' href="$v1.get($counter)">$v2.get($counter)</a></div>
#end
#end
</div>
</div>
<div id="footer">
<div class="wrapper"><div class="wrapperFooter"></div>
<div id="copy"></div>
</div>
</div>
</body>
</html>

@ -0,0 +1,83 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>SIPRP</title>
<link rel='icon' href='/html/images/siprp_simple_logo.gif'>
<link rel="stylesheet" type="text/css" href="html/css/print.css">
</head>
<body onload="javascript:print();">
<div id="cont"><div class="space"></div>
<div><img src="/siprpWeb/html/images/logo.png" align="center"></div>
<div class="space"></div><div class="space"></div>
<div class="normal_text"><b>Empresa:</b> $!empresa_nome</div>
<div class="normal_text"><b>Estabelecimento:</b> $!estabelecimento_nome</div>
<div class="space"></div>
#if( $query == "trabalhadores" )
#set( $listaTitle = "Todos os Funcion&aacute;rios" )
#elseif( $query == "trabalhadores_tudo" )
#set( $listaTitle = "Funcion&aacute;rios com Tudo Resolvido" )
#elseif( $query == "trabalhadores_pendentes" )
#set( $listaTitle = "Funcion&aacute;rios com Pend&ecirc;ncias" )
#end
<div class="title">$listaTitle</div>
#if( $query == "trabalhadores" )
<div class="info">(*)ECD - Exames Complementares de Diagn&oacute;stico</div>
<table width='100%' >
<tr class="tableheader">
<td width='55%' align='left' >&nbsp;&nbsp;Nome</td>
<td width='15%' align='center' >&Uacute;ltimo ECD(*)</td>
<td width='15%' align='center' >&Uacute;ltima consulta</td>
<td width='15%' align='center' >Pr&oacute;xima consulta</td>
</tr>
#foreach( $element in $v1 )
#set ( $counter = $velocityCount - 1 )
#set ( $dados_trabalhador = $v2.get($counter) )
<tr class='elements'>
<td align='left'><a class='text' href="$v1.get($counter)">$dados_trabalhador.Nome</a>&nbsp;</td>
<td align='center'>$dados_trabalhador.ultimo_exame&nbsp;</td>
<td align='center'>$dados_trabalhador.ultima_consulta&nbsp;</td>
<td align='center'>$dados_trabalhador.proxima_consulta&nbsp;</td>
</tr>
#end
</table>
#elseif( $query == "trabalhadores_tudo" )
<table width='100%' cellspacing='0' cellpadding='0' border="0">
<tr class='tableheader'>
<td width='75%' align='left'>Nome</td>
<td class='box6' width='25%' align='center'>Data da Ficha de Aptid&atilde;o</td>
</tr>
#foreach ( $trabalhador in $v1 )
<tr class='elements'>
<td align='left'><a class='text' href="$trabalhador.trabalhador_link">$trabalhador.trabalhador_nome</a></td>
<td align='center'>$trabalhador.ficha_aptidao_data</td>
</tr>
#end
</table>
#elseif( $query == "trabalhadores_pendentes" )
<table width='100%' cellspacing='0' cellpadding='0' border="0">
<tr class="tableheader">
<td width='75%'>Nome</td>
<td class='box6' width='12%'>Consulta</td>
<td class='box6' width='12%'>Tipo de Consulta</td>
</tr>
#foreach ( $trabalhador in $v1 )
<tr class="elements">
<td class="box5" align="left"><a href="$trabalhador.link_trabalhador" class="text">$trabalhador.nome_trabalhador</a></td>
<td class="box6" align="center">$trabalhador.estado_consulta_print</td>
<td class="box6" align="center">$trabalhador.motivo_consulta_print</td>
</tr>
#end
</table>
#end
</div>
</body>
</html>
Loading…
Cancel
Save