forked from Coded/SIPRP
				
			no message
	
		
	
				
					
				
			git-svn-id: https://svn.coded.pt/svn/SIPRP@436 bb69d46d-e84e-40c8-a05a-06db0d633741lxbfYeaa
							parent
							
								
									94035c056d
								
							
						
					
					
						commit
						aafd0aca65
					
				| @ -0,0 +1,21 @@ | |||||||
|  | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||||||
|  | 
 | ||||||
|  | <html> | ||||||
|  | <head> | ||||||
|  | 	<link rel='stylesheet' href='css/style.css' type='text/css'> | ||||||
|  | </head> | ||||||
|  | <body> | ||||||
|  | 	<table border="0" cellpadding="0" cellspacing="0"> | ||||||
|  | 	<tr> | ||||||
|  | 		<td><iframe name='frame_2' src='frame_2.html' width='588' height='247' marginwidth='0' marginheight='0' frameborder='0'></iframe></td> | ||||||
|  | 	</tr> | ||||||
|  | 	<tr> | ||||||
|  | 		<td style='font-weight: bold;'><a class='big' href='link1.html' target='frame_2'>-Higiene e Segurança</a><br> | ||||||
|  | 		<a class='big' href='link2.html' target='frame_2'>-Medicina do Trabalho</a><br> | ||||||
|  | 		<a class='big' href='link2.html' target='frame_2'>-Politica de Qualidade e Tratamento da Vertente Burocratica</a><br> | ||||||
|  | 		<a class='big' href='link2.html' target='frame_2'>-Serviços Complementares _______________________________</a> | ||||||
|  | 		</td> | ||||||
|  | 	</tr> | ||||||
|  | 	</table> | ||||||
|  | </body> | ||||||
|  | </html> | ||||||
| @ -0,0 +1,33 @@ | |||||||
|  | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||||||
|  | <html> | ||||||
|  | <head> | ||||||
|  | 	<link rel='stylesheet' href='css/style.css' type='text/css'> | ||||||
|  | </head> | ||||||
|  | <body> | ||||||
|  | <table style="width: 588px; text-align: left;" border="0" cellpadding="0" cellspacing="0"> | ||||||
|  | 	<tbody> | ||||||
|  | 	<tr> | ||||||
|  | 		<td class='title' style="background: transparent url( 'images/texto%20topo.gif' ) no-repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; width: 588px; height: 29px; vertical-align: top;">   frame_2</td> | ||||||
|  | 	</tr> | ||||||
|  | 	<tr> | ||||||
|  | 		<td style="width: 588px; vertical-align: top;"> | ||||||
|  | 			<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0"> | ||||||
|  | 				<tbody> | ||||||
|  | 				<tr> | ||||||
|  | 					<td style="width: 3px; background-color: #789BB5;"></td> | ||||||
|  | 					<td style="width: 4px;"></td> | ||||||
|  | 					<td class='text' style="vertical-align: top;"><iframe name='frame_3' src='frame_3.html' width='100%' height='200' marginwidth='0' marginheight='0' frameborder='0'></iframe></td> | ||||||
|  | 					<td style="width: 2px;"></td> | ||||||
|  | 					<td style="width: 3px; background-color: #789BB5;"></td> | ||||||
|  | 				</tr> | ||||||
|  | 				</tbody> | ||||||
|  | 			</table> | ||||||
|  | 		</td> | ||||||
|  | 	</tr> | ||||||
|  | 	<tr> | ||||||
|  | 		<td style="width: 588px; height: 13px; vertical-align: top; background-image: url( 'images/texto%20base.gif' ); background-repeat: no-repeat;"><br></td> | ||||||
|  | 	</tr> | ||||||
|  | 	</tbody> | ||||||
|  | </table> | ||||||
|  | </body> | ||||||
|  | </html> | ||||||
| @ -0,0 +1,10 @@ | |||||||
|  | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||||||
|  | 
 | ||||||
|  | <html> | ||||||
|  |   <head> | ||||||
|  | 	<link rel='stylesheet' href='css/style.css' type='text/css'> | ||||||
|  |   </head> | ||||||
|  |   <body class='text'> | ||||||
|  |   FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br>FRAME_3<br> | ||||||
|  |   </body> | ||||||
|  | </html> | ||||||
| @ -1,271 +1,582 @@ | |||||||
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||||||
|  | 
 | ||||||
| <html> | <html> | ||||||
|  | 
 | ||||||
| <head> | <head> | ||||||
|  | 
 | ||||||
| 	<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> | 	<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> | ||||||
|  | 
 | ||||||
| 	<title>SIPRP</title> | 	<title>SIPRP</title> | ||||||
|  | 
 | ||||||
| </head> | </head> | ||||||
|  | 
 | ||||||
| <style> | <style> | ||||||
|  | 
 | ||||||
| body | body | ||||||
|  | 
 | ||||||
| { | { | ||||||
|  | 
 | ||||||
| 	color: #497895; | 	color: #497895; | ||||||
|  | 
 | ||||||
| 	font-family: verdana; | 	font-family: verdana; | ||||||
|  | 
 | ||||||
| 	margin-top: 0px; | 	margin-top: 0px; | ||||||
|  | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| .text | .text | ||||||
|  | 
 | ||||||
| { | { | ||||||
|  | 
 | ||||||
| 	color: #497895; | 	color: #497895; | ||||||
|  | 
 | ||||||
| 	font-family: verdana; | 	font-family: verdana; | ||||||
|  | 
 | ||||||
| 	font-size: 10pt; | 	font-size: 10pt; | ||||||
|  | 
 | ||||||
| 	text-align: justify; | 	text-align: justify; | ||||||
|  | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| td | td | ||||||
|  | 
 | ||||||
| { | { | ||||||
|  | 
 | ||||||
| 	font-size: 10pt; | 	font-size: 10pt; | ||||||
|  | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| td.asd | td.asd | ||||||
|  | 
 | ||||||
| { | { | ||||||
|  | 
 | ||||||
| 	border-width: 1px 1px 1px 1px; | 	border-width: 1px 1px 1px 1px; | ||||||
|  | 
 | ||||||
| 	border-style: solid; | 	border-style: solid; | ||||||
|  | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| td.title | td.title | ||||||
|  | 
 | ||||||
| { | { | ||||||
|  | 
 | ||||||
| 	color: #ffffff; | 	color: #ffffff; | ||||||
|  | 
 | ||||||
| 	font-family: verdana; | 	font-family: verdana; | ||||||
|  | 
 | ||||||
| 	font-size: 10pt; | 	font-size: 10pt; | ||||||
|  | 
 | ||||||
| 	font-weight: bold; | 	font-weight: bold; | ||||||
|  | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| td.text | td.text | ||||||
|  | 
 | ||||||
| { | { | ||||||
|  | 
 | ||||||
| 	color: #ffffff; | 	color: #ffffff; | ||||||
|  | 
 | ||||||
| 	font-family: verdana; | 	font-family: verdana; | ||||||
|  | 
 | ||||||
| 	font-size: 10pt; | 	font-size: 10pt; | ||||||
|  | 
 | ||||||
| 	font-weight: normal; | 	font-weight: normal; | ||||||
|  | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| td.noticias | td.noticias | ||||||
|  | 
 | ||||||
| { | { | ||||||
|  | 
 | ||||||
| 	font-size: 9pt; | 	font-size: 9pt; | ||||||
|  | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| td.footer | td.footer | ||||||
|  | 
 | ||||||
| { | { | ||||||
|  | 
 | ||||||
| 	color: #ffffff; | 	color: #ffffff; | ||||||
|  | 
 | ||||||
| 	font-family: verdana; | 	font-family: verdana; | ||||||
|  | 
 | ||||||
| 	font-size: 8pt; | 	font-size: 8pt; | ||||||
|  | 
 | ||||||
| 	text-align: right; | 	text-align: right; | ||||||
|  | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| a:link, | a:link, | ||||||
|  | 
 | ||||||
| a:visited, | a:visited, | ||||||
|  | 
 | ||||||
| a:active | a:active | ||||||
|  | 
 | ||||||
| { | { | ||||||
|  | 
 | ||||||
| 	color: #FFFFFF; | 	color: #FFFFFF; | ||||||
|  | 
 | ||||||
| 	font-family: verdana; | 	font-family: verdana; | ||||||
|  | 
 | ||||||
| 	font-size: 10pt; | 	font-size: 10pt; | ||||||
|  | 
 | ||||||
| 	font-weight: bold; | 	font-weight: bold; | ||||||
|  | 
 | ||||||
| 	text-decoration: none; | 	text-decoration: none; | ||||||
|  | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| a:hover | a:hover | ||||||
|  | 
 | ||||||
| { | { | ||||||
|  | 
 | ||||||
| 	color: #C13F45; | 	color: #C13F45; | ||||||
|  | 
 | ||||||
| 	font-family: verdana; | 	font-family: verdana; | ||||||
|  | 
 | ||||||
| 	font-size: 10pt; | 	font-size: 10pt; | ||||||
|  | 
 | ||||||
| 	font-weight: bold; | 	font-weight: bold; | ||||||
|  | 
 | ||||||
| 	text-decoration: none; | 	text-decoration: none; | ||||||
|  | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| a.text:link, | a.text:link, | ||||||
|  | 
 | ||||||
| a.text:visited, | a.text:visited, | ||||||
|  | 
 | ||||||
| a.text:active | a.text:active | ||||||
|  | 
 | ||||||
| { | { | ||||||
|  | 
 | ||||||
| 	color: #497895; | 	color: #497895; | ||||||
|  | 
 | ||||||
| 	font-family: verdana; | 	font-family: verdana; | ||||||
|  | 
 | ||||||
| 	font-size: 10pt; | 	font-size: 10pt; | ||||||
|  | 
 | ||||||
| 	font-weight: bold; | 	font-weight: bold; | ||||||
|  | 
 | ||||||
| 	text-decoration: none; | 	text-decoration: none; | ||||||
|  | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| a.text:hover | a.text:hover | ||||||
|  | 
 | ||||||
| { | { | ||||||
|  | 
 | ||||||
| 	color: #C13F45; | 	color: #C13F45; | ||||||
|  | 
 | ||||||
| 	font-family: verdana; | 	font-family: verdana; | ||||||
|  | 
 | ||||||
| 	font-size: 10pt; | 	font-size: 10pt; | ||||||
|  | 
 | ||||||
| 	font-weight: bold; | 	font-weight: bold; | ||||||
|  | 
 | ||||||
| 	text-decoration: none; | 	text-decoration: none; | ||||||
|  | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| a.copy:link, | a.copy:link, | ||||||
|  | 
 | ||||||
| a.copy:visited, | a.copy:visited, | ||||||
|  | 
 | ||||||
| a.copy:active | a.copy:active | ||||||
|  | 
 | ||||||
| { | { | ||||||
|  | 
 | ||||||
| 	color: #FFFFFF; | 	color: #FFFFFF; | ||||||
|  | 
 | ||||||
| 	font-family: verdana; | 	font-family: verdana; | ||||||
|  | 
 | ||||||
| 	font-size: 8pt; | 	font-size: 8pt; | ||||||
|  | 
 | ||||||
| 	font-weight: normal; | 	font-weight: normal; | ||||||
|  | 
 | ||||||
| 	text-decoration: underline; | 	text-decoration: underline; | ||||||
|  | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| td.box5 | td.box5 | ||||||
|  | 
 | ||||||
| { | { | ||||||
|  | 
 | ||||||
| 	border-style: solid; | 	border-style: solid; | ||||||
|  | 
 | ||||||
| 	border-width: 1px 1px 1px 1px; | 	border-width: 1px 1px 1px 1px; | ||||||
|  | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| td.box6 | td.box6 | ||||||
|  | 
 | ||||||
| { | { | ||||||
|  | 
 | ||||||
| 	border-style: solid; | 	border-style: solid; | ||||||
|  | 
 | ||||||
| 	border-width: 1px 1px 1px 0px; | 	border-width: 1px 1px 1px 0px; | ||||||
|  | 
 | ||||||
| } | } | ||||||
|  | 
 | ||||||
| </style> | </style> | ||||||
|  | 
 | ||||||
| <body> | <body> | ||||||
|  | 
 | ||||||
| 	<table style="width: 760px; height: 623px; background-image: url( 'html/images/fundo.jpg' ); background-repeat: no-repeat;" align='center' > | 	<table style="width: 760px; height: 623px; background-image: url( 'html/images/fundo.jpg' ); background-repeat: no-repeat;" align='center' > | ||||||
|  | 
 | ||||||
| 	<tbody> | 	<tbody> | ||||||
|  | 
 | ||||||
| 		<tr> | 		<tr> | ||||||
|  | 
 | ||||||
| 			<td style="height: 623px; width: 20px;"><br></td> | 			<td style="height: 623px; width: 20px;"><br></td> | ||||||
|  | 
 | ||||||
| 			<td style="vertical-align: top; width: 760px; height: 623px;"> | 			<td style="vertical-align: top; width: 760px; height: 623px;"> | ||||||
|  | 
 | ||||||
| 				<table style="text-align: center; width: 740px; height: 230px;" border="0" cellpadding="0" cellspacing="0"> | 				<table style="text-align: center; width: 740px; height: 230px;" border="0" cellpadding="0" cellspacing="0"> | ||||||
|  | 
 | ||||||
| 					<tbody> | 					<tbody> | ||||||
|  | 
 | ||||||
| 					<tr> | 					<tr> | ||||||
|  | 
 | ||||||
| 						<td style="height: 200px; vertical-align: top;" colspan="7"></td> | 						<td style="height: 200px; vertical-align: top;" colspan="7"></td> | ||||||
|  | 
 | ||||||
| 					</tr> | 					</tr> | ||||||
|  | 
 | ||||||
| 					<tr> | 					<tr> | ||||||
|  | 
 | ||||||
| 						<td style="width: 45px; vertical-align: top;"></td> | 						<td style="width: 45px; vertical-align: top;"></td> | ||||||
|  | 
 | ||||||
| 						<td style="width: 120px; vertical-align: top;"><a href="">a SIPRP</a></td> | 						<td style="width: 120px; vertical-align: top;"><a href="">a SIPRP</a></td> | ||||||
|  | 
 | ||||||
| 						<td style="width: 120px; vertical-align: top;"><a href="">serviços</a></td> | 						<td style="width: 120px; vertical-align: top;"><a href="">serviços</a></td> | ||||||
|  | 
 | ||||||
| 						<td style="width: 120px; vertical-align: top;"><a href="">clientes</a></td> | 						<td style="width: 120px; vertical-align: top;"><a href="">clientes</a></td> | ||||||
|  | 
 | ||||||
| 						<td style="width: 120px; vertical-align: top;"><a href="">contactos</a></td> | 						<td style="width: 120px; vertical-align: top;"><a href="">contactos</a></td> | ||||||
|  | 
 | ||||||
| 						<td style="width: 120px; vertical-align: top;"><a href="">links</a></td> | 						<td style="width: 120px; vertical-align: top;"><a href="">links</a></td> | ||||||
|  | 
 | ||||||
| 						<td> </td> | 						<td> </td> | ||||||
|  | 
 | ||||||
| 					</tr> | 					</tr> | ||||||
|  | 
 | ||||||
| 					</tbody> | 					</tbody> | ||||||
|  | 
 | ||||||
| 				</table> | 				</table> | ||||||
|  | 
 | ||||||
| 				<table style="text-align: left; width: 740px; height: 367px;" border="0" cellpadding="0" cellspacing="0"> | 				<table style="text-align: left; width: 740px; height: 367px;" border="0" cellpadding="0" cellspacing="0"> | ||||||
|  | 
 | ||||||
| 					<tbody> | 					<tbody> | ||||||
|  | 
 | ||||||
| 					<tr style='vertical-align: top;'> | 					<tr style='vertical-align: top;'> | ||||||
|  | 
 | ||||||
| 						<td> | 						<td> | ||||||
|  | 
 | ||||||
| 							<table cellspacing='0' cellpadding='0'> | 							<table cellspacing='0' cellpadding='0'> | ||||||
|  | 
 | ||||||
| 								<tr> | 								<tr> | ||||||
|  | 
 | ||||||
| 									<!-- titulo --> | 									<!-- titulo --> | ||||||
|  | 
 | ||||||
| 									<td colspan='5' class='title' style="background: url( 'html/images/topo_740.gif' ); width: 740px; height: 29px; vertical-align: top;">   acesso restrito</td> | 									<td colspan='5' class='title' style="background: url( 'html/images/topo_740.gif' ); width: 740px; height: 29px; vertical-align: top;">   acesso restrito</td> | ||||||
|  | 
 | ||||||
| 								</tr> | 								</tr> | ||||||
|  | 
 | ||||||
| 								<tr> | 								<tr> | ||||||
|  | 
 | ||||||
| 									<td style="width: 3px; background-color: #789BB5;"></td> | 									<td style="width: 3px; background-color: #789BB5;"></td> | ||||||
|  | 
 | ||||||
| 									<td style="width: 4px;"></td> | 									<td style="width: 4px;"></td> | ||||||
|  | 
 | ||||||
| 									<!-- escolher empresa --> | 									<!-- escolher empresa --> | ||||||
|  | 
 | ||||||
| 									<td style='vertical-align: top;'> | 									<td style='vertical-align: top;'> | ||||||
|  | 
 | ||||||
| 										<table width='100%' cellspacing='0' cellpadding='0'> | 										<table width='100%' cellspacing='0' cellpadding='0'> | ||||||
|  | 
 | ||||||
| 											<tr> | 											<tr> | ||||||
|  | 
 | ||||||
| 												<td> | 												<td> | ||||||
|  | 
 | ||||||
| 												#if( $userRole == "manager" ) | 												#if( $userRole == "manager" ) | ||||||
|  | 
 | ||||||
| 												<a class='text' href="/siprpServlet/?empresas">Empresa:</a> $!empresa_nome | 												<a class='text' href="/siprpServlet/?empresas">Empresa:</a> $!empresa_nome | ||||||
|  | 
 | ||||||
| 												#else | 												#else | ||||||
|  | 
 | ||||||
| 												Empresa: $empresa_nome | 												Empresa: $empresa_nome | ||||||
|  | 
 | ||||||
| 												#end | 												#end | ||||||
|  | 
 | ||||||
| 												</td> | 												</td> | ||||||
|  | 
 | ||||||
| 												<td class='text' style='text-align: right; background: url( "html/images/logout.gif" ) no-repeat;' width='140' height='45' rowspan='3'> | 												<td class='text' style='text-align: right; background: url( "html/images/logout.gif" ) no-repeat;' width='140' height='45' rowspan='3'> | ||||||
|  | 
 | ||||||
| 													$userName   <br> | 													$userName   <br> | ||||||
|  | 
 | ||||||
| 													<a href="/siprpServlet/">Logout »   </a><br> | 													<a href="/siprpServlet/">Logout »   </a><br> | ||||||
|  | 
 | ||||||
| 												</td> | 												</td> | ||||||
|  | 
 | ||||||
| 											</tr> | 											</tr> | ||||||
|  | 
 | ||||||
| 											<tr> | 											<tr> | ||||||
|  | 
 | ||||||
| 												<td> | 												<td> | ||||||
|  | 
 | ||||||
| 												#if( $estabelecimento_id ) | 												#if( $estabelecimento_id ) | ||||||
|  | 
 | ||||||
| 												<a class='text' href="/siprpServlet/?$empresa_id">Estabelecimento</a>: $!estabelecimento_nome | 												<a class='text' href="/siprpServlet/?$empresa_id">Estabelecimento</a>: $!estabelecimento_nome | ||||||
|  | 
 | ||||||
| 												#else | 												#else | ||||||
|  | 
 | ||||||
| 												Estabelecimento:  | 												Estabelecimento:  | ||||||
|  | 
 | ||||||
| 												#end | 												#end | ||||||
|  | 
 | ||||||
| 												</td> | 												</td> | ||||||
|  | 
 | ||||||
| 											</tr> | 											</tr> | ||||||
|  | 
 | ||||||
| 											<tr> | 											<tr> | ||||||
|  | 
 | ||||||
| 												<td> | 												<td> | ||||||
|  | 
 | ||||||
| 												#if( $query == "trabalhador" ) | 												#if( $query == "trabalhador" ) | ||||||
| 												<a class='text' href='/siprpServlet/?$empresa_id/$estabelecimento_id'>Funcionário</a>: $v2.get( 0 ) Nº: $v2.get( 1 ) | 
 | ||||||
|  | 												<a class='text' href='/siprpServlet/?$empresa_id/$estabelecimento_id'>Funcionário</a>: $funcionario.nome <!--$v2.get( 0 ) Nº: $v2.get( 1 )--> | ||||||
|  | 
 | ||||||
| 												#else | 												#else | ||||||
|  | 
 | ||||||
| 												Funcionário: | 												Funcionário: | ||||||
|  | 
 | ||||||
| 												#end | 												#end | ||||||
| 
 | 
 | ||||||
|  | 												 | ||||||
|  | 
 | ||||||
| 												#if( $query == "trabalhador" ) | 												#if( $query == "trabalhador" ) | ||||||
| 
 | 
 | ||||||
|  | 												 | ||||||
|  | 
 | ||||||
| 												#end | 												#end | ||||||
|  | 
 | ||||||
| 												</td> | 												</td> | ||||||
|  | 
 | ||||||
| 											</tr> | 											</tr> | ||||||
|  | 
 | ||||||
| 											<tr> | 											<tr> | ||||||
|  | 
 | ||||||
| 												<td> | 												<td> | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| 												</td> | 												</td> | ||||||
|  | 
 | ||||||
| 											</tr> | 											</tr> | ||||||
|  | 
 | ||||||
| 										</table> | 										</table> | ||||||
|  | 
 | ||||||
| 									</td> | 									</td> | ||||||
|  | 
 | ||||||
| 									<td style="width: 4px;"></td> | 									<td style="width: 4px;"></td> | ||||||
|  | 
 | ||||||
| 									<td style="width: 3px; background-color: #789BB5;"></td> | 									<td style="width: 3px; background-color: #789BB5;"></td> | ||||||
|  | 
 | ||||||
| 								</tr> | 								</tr> | ||||||
|  | 
 | ||||||
| 								<tr> | 								<tr> | ||||||
|  | 
 | ||||||
| 									<!-- base --> | 									<!-- base --> | ||||||
|  | 
 | ||||||
| 									<td colspan='5' class='title' style="background: url( 'html/images/base_740.gif' ) repeat; width: 740px; height: 13px; vertical-align: top;"></td> | 									<td colspan='5' class='title' style="background: url( 'html/images/base_740.gif' ) repeat; width: 740px; height: 13px; vertical-align: top;"></td> | ||||||
|  | 
 | ||||||
| 								</tr> | 								</tr> | ||||||
| 
 | 
 | ||||||
| 								#if( $query == "estabelecimentos" ) |                                                                 #if( $query == "empresas" ) | ||||||
| 								#set( $listaTitle = "Estabelecimentos" ) | 
 | ||||||
|  | 								#set( $listaTitle = "empresas" )     | ||||||
|  | 
 | ||||||
|  | 								#elseif( $query == "estabelecimentos" ) | ||||||
|  | 
 | ||||||
|  | 								#set( $listaTitle = "estabelecimentos" ) | ||||||
|  | 
 | ||||||
| 								#elseif( $query == "trabalhadores" ) | 								#elseif( $query == "trabalhadores" ) | ||||||
| 								#set( $listaTitle = "Funcionários" ) | 
 | ||||||
|  | 								#set( $listaTitle = "funcionários" ) | ||||||
|  | 
 | ||||||
|  | 								#elseif( $query == "trabalhador" ) | ||||||
|  | 
 | ||||||
|  |                                                                 #set( $listaTitle = "dados do funcionário" )     | ||||||
|  | 
 | ||||||
| 								#else ##( $query == "trabalhador" ) | 								#else ##( $query == "trabalhador" ) | ||||||
|  | 
 | ||||||
| 								#set( $listaTitle = "" ) | 								#set( $listaTitle = "" ) | ||||||
|  | 
 | ||||||
| 								#end | 								#end | ||||||
|  | 
 | ||||||
| 								<!-- LISTA --> | 								<!-- LISTA --> | ||||||
|  | 
 | ||||||
| 								<tr> | 								<tr> | ||||||
|  | 
 | ||||||
| 									<!-- titulo --> | 									<!-- titulo --> | ||||||
|  | 
 | ||||||
| 									<td colspan='5' class='title' style="background: url( 'html/images/topo_740.gif' ); width: 740px; height: 29px; vertical-align: top;">   $listaTitle</td> | 									<td colspan='5' class='title' style="background: url( 'html/images/topo_740.gif' ); width: 740px; height: 29px; vertical-align: top;">   $listaTitle</td> | ||||||
|  | 
 | ||||||
| 								</tr> | 								</tr> | ||||||
|  | 
 | ||||||
| 								<tr> | 								<tr> | ||||||
|  | 
 | ||||||
| 									<td style="width: 3px; background-color: #789BB5;"></td> | 									<td style="width: 3px; background-color: #789BB5;"></td> | ||||||
|  | 
 | ||||||
| 									<td style="width: 4px;"></td> | 									<td style="width: 4px;"></td> | ||||||
|  | 
 | ||||||
| 									<td> | 									<td> | ||||||
|  | 
 | ||||||
|  | 									 | ||||||
|  | 
 | ||||||
| 									#if ($query == "trabalhador") | 									#if ($query == "trabalhador") | ||||||
|  | 
 | ||||||
|  | 									 | ||||||
|  | 
 | ||||||
|  | 									Número Mecanográfico: $funcionario.numero <br> | ||||||
|  | 
 | ||||||
|  | 									Data de Nascimento: $funcionario.data_nascimento <br> | ||||||
|  | 
 | ||||||
|  | 									Categoria: $funcionario.categoria <br> | ||||||
|  | 
 | ||||||
|  | 									Sexo: $funcionario.sexo <br><br> | ||||||
|  | 
 | ||||||
|  | 									 | ||||||
|  | 
 | ||||||
| 									<table width='100%' cellspacing='0' cellpadding='0'> | 									<table width='100%' cellspacing='0' cellpadding='0'> | ||||||
|  | 
 | ||||||
| 										<tr align='center' style='background-color: #789BB5; color: #ffffff;'> | 										<tr align='center' style='background-color: #789BB5; color: #ffffff;'> | ||||||
| 											<td width='14%'>Último Exame</td><td width='14%'>Realizado</td><td width='14%'>Próximo Exame</td><td width='14%'>Última Consulta</td><td width='14%'>Realizada</td><td width='14%'>Próxima Consulta</td><td>Marcação</td> | 
 | ||||||
|  | 											<td width='14%'>Último<br>exame</td><td width='14%'>Realizado</td><td width='14%'>Próximo<br>exame</td><td width='14%'>Última<br>consulta</td><td width='14%'>Realizada</td><td width='14%'>Próxima<br>consulta</td><td>Marcação</td> | ||||||
|  | 
 | ||||||
| 										</tr> | 										</tr> | ||||||
|  | 
 | ||||||
| 										<tr align='center'> | 										<tr align='center'> | ||||||
| 											<td class='box5'>$v2.get( 2 ) </td><td class='box6'>$v2.get( 3 ) </td><td class='box6'>$v2.get( 4 ) </td><td class='box6'>$v2.get( 5 ) </td><td class='box6'>$v2.get( 6 ) </td><td class='box6'>$v2.get( 7 ) </td><td class='box6'> </td> | 
 | ||||||
|  | 											<td class='box5'>$!funcionario.ultimo_exame </td><td class='box6'>$!funcionario.realizado </td><td class='box6'>$!funcionario.proximo_exame </td><td class='box6'>$!funcionario.ultima_consulta </td><td class='box6'>$!funcionario.realizada </td><td class='box6'>$!funcionario.proxima_consulta </td><td class='box6'> </td> | ||||||
|  | 
 | ||||||
| 										</tr> | 										</tr> | ||||||
|  | 
 | ||||||
| 									</table> | 									</table> | ||||||
|  | 
 | ||||||
| 									##<form method="post"> | 									##<form method="post"> | ||||||
|  | 
 | ||||||
| 									##    <input type="submit" name="form" value="Marcar Exame"/> | 									##    <input type="submit" name="form" value="Marcar Exame"/> | ||||||
|  | 
 | ||||||
| 									##   <input type="submit" name="form" value="Marcar Consulta"/> | 									##   <input type="submit" name="form" value="Marcar Consulta"/> | ||||||
|  | 
 | ||||||
| 									##</form> | 									##</form> | ||||||
| 									#else | 
 | ||||||
|  | 									 | ||||||
|  | 
 | ||||||
|  | 									 | ||||||
|  | 
 | ||||||
|  |                                                                         #else  <!-- Lista de Funcionarios --> | ||||||
|  | 
 | ||||||
|  |                                                                          | ||||||
|  | 
 | ||||||
| 										#foreach( $element in $v1 ) | 										#foreach( $element in $v1 ) | ||||||
|  | 
 | ||||||
| 											#set ( $counter = $velocityCount - 1 ) | 											#set ( $counter = $velocityCount - 1 ) | ||||||
| 											<a class='text' href="$v1.get($counter)">$v2.get($counter)</a><br> | 
 | ||||||
|  | 											<a class='text' href="$v1.get($counter)">$v2.get($counter)</a> | ||||||
|  | 
 | ||||||
|  |                                                                                         #if ($v3)    <!-- v3 para o descAdicional--> | ||||||
|  | 
 | ||||||
|  |                                                                                             - Nº: | ||||||
|  | 
 | ||||||
|  |                                                                                             $v3.get($counter) | ||||||
|  | 
 | ||||||
|                                                                                         #end |                                                                                         #end | ||||||
|  | 
 | ||||||
|  |                                                                                         <br> | ||||||
|  | 
 | ||||||
| 										#end | 										#end | ||||||
|  | 
 | ||||||
|  | 										 | ||||||
|  | 
 | ||||||
|  | 										 | ||||||
|  | 
 | ||||||
|  | 									#end | ||||||
|  | 
 | ||||||
| 									</td> | 									</td> | ||||||
|  | 
 | ||||||
| 									<td style="width: 4px;"></td> | 									<td style="width: 4px;"></td> | ||||||
|  | 
 | ||||||
| 									<td style="width: 3px; background-color: #789BB5;"></td> | 									<td style="width: 3px; background-color: #789BB5;"></td> | ||||||
|  | 
 | ||||||
| 								</tr> | 								</tr> | ||||||
|  | 
 | ||||||
| 								<!-- !LISTA --> | 								<!-- !LISTA --> | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| 								<tr> | 								<tr> | ||||||
|  | 
 | ||||||
| 									<!-- base --> | 									<!-- base --> | ||||||
|  | 
 | ||||||
| 									<td colspan='5' class='title' style="background: url( 'html/images/base_740.gif' ) repeat; width: 740px; height: 13px; vertical-align: top;"></td> | 									<td colspan='5' class='title' style="background: url( 'html/images/base_740.gif' ) repeat; width: 740px; height: 13px; vertical-align: top;"></td> | ||||||
|  | 
 | ||||||
| 								</tr> | 								</tr> | ||||||
|  | 
 | ||||||
| 							</table> | 							</table> | ||||||
|  | 
 | ||||||
| 						</td> | 						</td> | ||||||
|  | 
 | ||||||
| 					</tr> | 					</tr> | ||||||
|  | 
 | ||||||
| 					<tr> | 					<tr> | ||||||
| 						<td class='footer' style="width: 740px; height: 33px; background-image: url( 'html/images/rodape.jpg' ); background-position: right center; background-repeat: no-repeat;" rowspan="1" colspan="2">Site optimizado para 800x600 - Todos os direitos reservados Sociedade Ibérica de Prevenção de Riscos Profissionais  <br>Desenvolvido por <a class="copy" href="http://www.evolute.pt">Evolute - Consultoria Informática</a> e <a class="copy" href="http://www.2-3design.com/">2/3 Design</a>  </td> | 
 | ||||||
|  | 						<td class='footer' style="width: 740px; height: 33px; background-image: url( 'html/images/rodape.jpg' ); background-position: right center; background-repeat: no-repeat;" rowspan="1" colspan="2">Site optimizado para 800x600 - Todos os direitos reservados Sociedade Ibérica de Prevenção de Riscos Profissionais  <br>Desenvolvido por <a class="copy" href="http://www.evolute.pt" target="_blank">Evolute - Consultoria Informática</a> e <a class="copy" href="http://www.2-3design.com/" target="_blank">2/3 Design</a>  </td> | ||||||
|  | 
 | ||||||
| 					</tr> | 					</tr> | ||||||
|  | 
 | ||||||
| 					</tbody> | 					</tbody> | ||||||
|  | 
 | ||||||
| 					</table> | 					</table> | ||||||
|  | 
 | ||||||
| 			</td> | 			</td> | ||||||
|  | 
 | ||||||
| 		</tr> | 		</tr> | ||||||
|  | 
 | ||||||
| 	</tbody> | 	</tbody> | ||||||
|  | 
 | ||||||
| 	</table> | 	</table> | ||||||
|  | 
 | ||||||
| </body> | </body> | ||||||
|  | 
 | ||||||
| </html> | </html> | ||||||
|  | 
 | ||||||
|  | |||||||
					Loading…
					
					
				
		Reference in new issue