@ -134,35 +134,42 @@ td.box6
 
			
		
	
		
		
			
				
					
						border-width: 0px 1px 1px 0px;
	border-width: 0px 1px 1px 0px;
 
			
		
	
		
		
			
				
					
					}
}
 
			
		
	
		
		
			
				
					
					< / style > < / style >  
			
		
	
		
		
			
				
					
					< body > < body  onload = "javascript:print();"  >  
			
				
				
			
		
	
		
		
			
				
					
						< table  style = "width: 760px; height: 623px;"  align = 'center'  > 
	< table  style = "width: 760px; height: 623px;"  align = 'center'  border = '0'  > 
 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
						< 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: 100px; background-image: url(/siprpWeb/html/images/siprp_logo.jpg); background-repeat: no-repeat;"  border = "0"  cellpadding = "0"  cellspacing = "0" > 
 
			
		
	
		
		
			
				
					
										< tbody > 
 
			
		
	
		
		
			
				
					
										< tr > 
 
			
		
	
		
		
			
				
					
											< td  style = "height: 100px; vertical-align: top;"  colspan = "7" > < / td > 
 
			
		
	
		
		
			
				
					
										< / tr > 
 
			
		
	
		
		
			
				
					
										< / tbody > 
 
			
		
	
		
		
			
				
					
									< / 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'  border = '0'  > 
 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
													< tr > 
								< tr > 
 
			
		
	
		
		
			
				
					
														<!--  titulo  --> 
									<!--  titulo  --> 
 
			
		
	
		
		
			
				
					
														< td  colspan = '5'  class = 'title'  style = " background: url(/siprpWeb/html/images/topo_740.gif);  width: 740px; height: 29px; vertical-align: top;">       acesso restrito < / td > 
									< td  colspan = '5'  class = 'title'  style = " width: 740px; height: 29px; vertical-align: top;">       < / td > 
 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
													< / tr > 
								< / tr > 
 
			
		
	
		
		
			
				
					
													< tr > 
								< tr > 
 
			
		
	
		
		
			
				
					
														< td  style = "width: 3px;  background-color: #789BB5; "> < / td > 
									< td  style = "width: 3px; "> < / td > 
 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
														< td  style = "width: 4px;" > < / td > 
									< td  style = "width: 4px;" > < / td > 
 
			
		
	
		
		
			
				
					
														<!--  escolher empresa  --> 
									<!--  escolher empresa  --> 
 
			
		
	
		
		
			
				
					
														< td  style = 'width: 728; vertical-align: top;' > 
									< td  style = 'width: 728; vertical-align: top;' > 
 
			
		
	
		
		
			
				
					
															< table  width = '100%'  cellspacing = '0'  cellpadding = '0' > 
										< table  width = '100%'  cellspacing = '0'  cellpadding = '0' > 
 
			
		
	
		
		
			
				
					
																< tr > 
											< tr > 
 
			
		
	
		
		
			
				
					
																	< td > 
												< td > 
 
			
		
	
		
		
			
				
					
																	Empresa: $!empresa_nome
												< B > < / b > 
 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
																	< / td > 
												< / td > 
 
			
		
	
		
		
			
				
					
																< / tr > 
											< / tr > 
 
			
		
	
		
		
			
				
					
																< tr > 
											< tr > 
 
			
		
	
		
		
			
				
					
																	< td > 
												< td > 
 
			
		
	
		
		
			
				
					
																	Estabelecimento: $!estabelecimento_nome
												< b > < / b > 
 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
																	< / td > 
												< / td > 
 
			
		
	
		
		
			
				
					
																< / tr > 
											< / tr > 
 
			
		
	
		
		
			
				
					
																< tr > 
											< tr > 
 
			
		
	
	
		
		
			
				
					
						
						
						
							
								 
						
					 
					@ -173,11 +180,11 @@ td.box6
 
			
		
	
		
		
			
				
					
															< / 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; "> < / td > 
 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
													< / tr > 
								< / tr > 
 
			
		
	
		
		
			
				
					
													< tr > 
								< tr > 
 
			
		
	
		
		
			
				
					
														<!--  base  --> 
									<!--  base  --> 
 
			
		
	
		
		
			
				
					
														< td  colspan = '5'  class = 'title'  style = " background: url(/siprpWeb/html/images/base_740.gif) repeat;  width: 740px; height: 13px; vertical-align: top;"> < / td > 
									< td  colspan = '5'  class = 'title'  style = " width: 740px; height: 13px; vertical-align: top;"> < / td > 
 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
													< / tr > 
								< / tr > 
 
			
		
	
		
		
			
				
					
					
 
			
		
	
		
		
			
				
					
													#if( $query == "trabalhadores" )
								#if( $query == "trabalhadores" )
 
			
		
	
	
		
		
			
				
					
						
						
						
							
								 
						
					 
					@ -189,21 +196,21 @@ td.box6
 
			
		
	
		
		
			
				
					
													#end
								#end
 
			
		
	
		
		
			
				
					
													<!--  LISTA  --> 
								<!--  LISTA  --> 
 
			
		
	
		
		
			
				
					
													< tr  > 
								< tr  > 
 
			
		
	
		
		
			
				
					
														 < td  colspan = '5'  class= 'title'   style= " background: url(/siprpWeb/html/images/topo_740.gif);  width: 740px; height: 29px; vertical-align: top;">       $listaTitle< / td > 
									 < td  colspan = '5'  = " width: 740px; height: 29px; vertical-align: top;">       < B > < / B > < / td > 
 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
													< / tr > 
								< / tr > 
 
			
		
	
		
		
			
				
					
													< tr > 
								< tr > 
 
			
		
	
		
		
			
				
					
														< td  style = "width: 2px;  background-color: #789BB5; "> < / td > 
									< td  style = "width: 2px; "> < / td > 
 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
														< td  style = "width: 4px;" > < / td > 
									< td  style = "width: 4px;" > < / td > 
 
			
		
	
		
		
			
				
					
														< td > 
									< td > 
 
			
		
	
		
		
			
				
					
														#if( $query == "trabalhadores" )
									#if( $query == "trabalhadores" )
 
			
		
	
		
		
			
				
					
															#foreach( $element in $v1 )
										#foreach( $element in $v1 )
 
			
		
	
		
		
			
				
					
																#set ( $counter = $velocityCount - 1 )
											#set ( $counter = $velocityCount - 1 )
 
			
		
	
		
		
			
				
					
																#set ( $dados_trabalhador = $v2.get($counter) )
											#set ( $dados_trabalhador = $v2.get($counter) )
 
			
		
	
		
		
			
				
					
																< a  class = 'text'  href = "$v1.get($counter)" > < / a > < br > 
											$dados_trabalhador.Nome< br > 
 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
															#end
										#end
 
			
		
	
		
		
			
				
					
														#elseif( $query == "trabalhadores_tudo" )
									#elseif( $query == "trabalhadores_tudo" )
 
			
		
	
		
		
			
				
					
														    < table  width = '100%'  cellspacing = '0'  cellpadding = '0'  border = "0" > 
									    < table  width = '100%'  cellspacing = '0'  cellpadding = '0'  border = "0" > 
 
			
		
	
		
		
			
				
					
															    < tr  style = 'background-color: #789BB5; color: #ffffff;'  > 
										    < tr > 
 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
																    < td  width = '75%'  align = 'left'  >     Nome< / td > 
											    < td  width = '75%'  align = 'left'  >     Nome< / td > 
 
			
		
	
		
		
			
				
					
																    < td  width = '25%'  align = 'center'  > Data da Ficha de Aptidã o< / td > 
											    < td  width = '25%'  align = 'center'  > Data da Ficha de Aptidã o< / td > 
 
			
		
	
		
		
			
				
					
															    < / tr > 
										    < / tr > 
 
			
		
	
	
		
		
			
				
					
						
						
						
							
								 
						
					 
					@ -211,8 +218,8 @@ td.box6
 
			
		
	
		
		
			
				
					
																#set ( $counter = $velocityCount - 1 )
											#set ( $counter = $velocityCount - 1 )
 
			
		
	
		
		
			
				
					
																#set ( $dados_trabalhador = $v2.get($counter) )
											#set ( $dados_trabalhador = $v2.get($counter) )
 
			
		
	
		
		
			
				
					
																< tr > 
											< tr > 
 
			
		
	
		
		
			
				
					
																    < td  class= 'box5'   align= 'left'  > < a  class = 'text'  href = "$v1.get($counter)" >     $dados_trabalhador.Nome< / a > < / td > 
											    < td  = 'left'  >     $dados_trabalhador.Nome< / td > 
 
			
				
				
			
		
	
		
		
			
				
					
																    < td  class= 'box6'   align= 'center'  > $dados_trabalhador.Data   < / td > 
											    < td  = 'center'  > $dados_trabalhador.Data   < / td > 
 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
																< / tr > 
											< / tr > 
 
			
		
	
		
		
			
				
					
															#end
										#end
 
			
		
	
		
		
			
				
					
														    < / table > 
									    < / table > 
 
			
		
	
	
		
		
			
				
					
						
						
						
							
								 
						
					 
					@ -221,7 +228,7 @@ td.box6
 
			
		
	
		
		
			
				
					
														    < IMG  SRC = "/siprpWeb/html/images/yellow.gif" >  - marcado     
									    < IMG  SRC = "/siprpWeb/html/images/yellow.gif" >  - marcado     
 
			
		
	
		
		
			
				
					
														    < IMG  SRC = "/siprpWeb/html/images/green.gif" >  - tratado < br > < br > 
									    < IMG  SRC = "/siprpWeb/html/images/green.gif" >  - tratado < br > < br > 
 
			
		
	
		
		
			
				
					
														    < table  width = '100%'  cellspacing = '0'  cellpadding = '0'  border = "0" > 
									    < table  width = '100%'  cellspacing = '0'  cellpadding = '0'  border = "0" > 
 
			
		
	
		
		
			
				
					
															    < tr  style = 'background-color: #789BB5; color: #ffffff;'  > 
										    < tr > 
 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
																    < td  width = '75%'  align = 'left'  >     Nome< / td > 
											    < td  width = '75%'  align = 'left'  >     Nome< / td > 
 
			
		
	
		
		
			
				
					
																    < td  width = '12%'  align = 'center'  > Exame< / td > 
											    < td  width = '12%'  align = 'center'  > Exame< / td > 
 
			
		
	
		
		
			
				
					
																    < td  width = '12%'  align = 'center' > Consulta< / td > 
											    < td  width = '12%'  align = 'center' > Consulta< / td > 
 
			
		
	
	
		
		
			
				
					
						
						
						
							
								 
						
					 
					@ -239,20 +246,12 @@ td.box6
 
			
		
	
		
		
			
				
					
														#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; "> < / td > 
 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
													< / tr > 
								< / tr > 
 
			
		
	
		
		
			
				
					
													<!--  !LISTA  --> 
								<!--  !LISTA  --> 
 
			
		
	
		
		
			
				
					
					
 
			
		
	
		
		
			
				
					
													< tr > 
 
			
		
	
		
		
			
				
					
														<!--  base  --> 
 
			
		
	
		
		
			
				
					
														< td  colspan = '5'  class = 'title'  style = "background: url(/siprpWeb/html/images/base_740.gif) repeat; width: 740px; height: 13px; vertical-align: top;" > < / td > 
 
			
		
	
		
		
			
				
					
													< / tr > 
 
			
		
	
		
		
			
				
					
												< / table > 
							< / table > 
 
			
		
	
		
		
			
				
					
											< / td > 
						< / td > 
 
			
		
	
		
		
			
				
					
										< / tr > 
					< / tr > 
 
			
		
	
		
		
			
				
					
										< tr > 
 
			
		
	
		
		
			
				
					
											< td  class = 'footer'  style = "width: 740px; height: 33px; background-image:url(/siprpWeb/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 > 
 
			
		
	
		
		
			
				
					
										< / tr > 
 
			
		
	
		
		
			
				
					
										< / tbody > 
					< / tbody > 
 
			
		
	
		
		
			
				
					
										< / table > 
					< / table > 
 
			
		
	
		
		
			
				
					
								< / td > 
			< / td >