forked from Coded/SIPRP
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							267 lines
						
					
					
						
							6.5 KiB
						
					
					
				
			
		
		
	
	
							267 lines
						
					
					
						
							6.5 KiB
						
					
					
				<!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'>
 | 
						|
</head>
 | 
						|
<style>
 | 
						|
body
 | 
						|
{
 | 
						|
	color: #497895;
 | 
						|
	font-family: verdana;
 | 
						|
	margin-top: 0px;
 | 
						|
}
 | 
						|
 | 
						|
.text
 | 
						|
{
 | 
						|
	color: #497895;
 | 
						|
	font-family: verdana;
 | 
						|
	font-size: 10pt;
 | 
						|
	text-align: justify;
 | 
						|
}
 | 
						|
 | 
						|
.bold
 | 
						|
{
 | 
						|
	color: #497895;
 | 
						|
	font-family: verdana;
 | 
						|
	font-size: 10pt;
 | 
						|
	font-weight: bold;
 | 
						|
	text-decoration: none;
 | 
						|
	cursor: pointer;
 | 
						|
}
 | 
						|
 | 
						|
td
 | 
						|
{
 | 
						|
	font-size: 10pt;
 | 
						|
}
 | 
						|
 | 
						|
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.text
 | 
						|
{
 | 
						|
	color: #ffffff;
 | 
						|
	font-family: verdana;
 | 
						|
	font-size: 10pt;
 | 
						|
	font-weight: normal;
 | 
						|
}
 | 
						|
 | 
						|
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: #FFFFFF;
 | 
						|
	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.text:link,
 | 
						|
a.text:visited,
 | 
						|
a.text:active
 | 
						|
{
 | 
						|
	color: #497895;
 | 
						|
	font-family: verdana;
 | 
						|
	font-size: 10pt;
 | 
						|
	font-weight: bold;
 | 
						|
	text-decoration: none;
 | 
						|
	cursor: pointer;
 | 
						|
}
 | 
						|
 | 
						|
a.text:hover
 | 
						|
{
 | 
						|
	color: #C13F45;
 | 
						|
	font-family: verdana;
 | 
						|
	font-size: 10pt;
 | 
						|
	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;
 | 
						|
}
 | 
						|
 | 
						|
td.box5
 | 
						|
{
 | 
						|
	border-style: solid;
 | 
						|
	border-width: 0px 1px 1px 1px;
 | 
						|
}
 | 
						|
 | 
						|
td.box6
 | 
						|
{
 | 
						|
	border-style: solid;
 | 
						|
	border-width: 0px 1px 1px 0px;
 | 
						|
}
 | 
						|
</style>
 | 
						|
<body onload="javascript:print();">
 | 
						|
	<table style="width: 760px; height: 623px;" align='center' border='0' >
 | 
						|
	<tbody>
 | 
						|
		<tr>
 | 
						|
			<td style="height: 623px; width: 20px;"><br></td>
 | 
						|
			<td style="vertical-align: top; width: 760px; height: 623px;">
 | 
						|
				<table style="text-align: center; width: 740px; height: 100px;" border="0" cellpadding="0" cellspacing="0">
 | 
						|
					<tbody>
 | 
						|
					<tr>
 | 
						|
						<td style="height: 100px; vertical-align: top;" colspan="7">
 | 
						|
							<img src="/siprpWeb/html/images/siprp_logo.jpg" align="center">
 | 
						|
						</td>
 | 
						|
					</tr>
 | 
						|
					</tbody>
 | 
						|
				</table>
 | 
						|
				<table style="text-align: left; width: 740px; height: 367px;" border="0" cellpadding="0" cellspacing="0">
 | 
						|
					<tbody>
 | 
						|
					<tr style='vertical-align: top;'>
 | 
						|
						<td>
 | 
						|
							<table cellspacing='0' cellpadding='0' border='0'>
 | 
						|
								<tr>
 | 
						|
									<!-- titulo -->
 | 
						|
									<td colspan='5' class='title' style="width: 740px; height: 29px; vertical-align: top;">   </td>
 | 
						|
								</tr>
 | 
						|
								<tr>
 | 
						|
									<td style="width: 3px;"></td>
 | 
						|
									<td style="width: 4px;"></td>
 | 
						|
									<!-- escolher empresa -->
 | 
						|
									<td style='width: 728; vertical-align: top;'>
 | 
						|
										<table width='100%' cellspacing='0' cellpadding='0'>
 | 
						|
											<tr>
 | 
						|
												<td>
 | 
						|
												<B>Empresa:</b> $!empresa_nome
 | 
						|
												</td>
 | 
						|
											</tr>
 | 
						|
											<tr>
 | 
						|
												<td>
 | 
						|
												<b>Estabelecimento:</b> $!estabelecimento_nome
 | 
						|
												</td>
 | 
						|
											</tr>
 | 
						|
											<tr>
 | 
						|
												<td>
 | 
						|
 | 
						|
												</td>
 | 
						|
											</tr>
 | 
						|
										</table>
 | 
						|
									</td>
 | 
						|
									<td style="width: 4px;"></td>
 | 
						|
									<td style="width: 3px;"></td>
 | 
						|
								</tr>
 | 
						|
								<tr>
 | 
						|
									<!-- base -->
 | 
						|
									<td colspan='5' class='title' style="width: 740px; height: 13px; vertical-align: top;"></td>
 | 
						|
								</tr>
 | 
						|
 | 
						|
								#if( $query == "trabalhadores" )
 | 
						|
									#set( $listaTitle = "Todos os Funcionários" )
 | 
						|
								#elseif( $query == "trabalhadores_tudo" )
 | 
						|
									#set( $listaTitle = "Funcionários com Tudo Resolvido" )
 | 
						|
								#elseif( $query == "trabalhadores_pendentes" )
 | 
						|
									#set( $listaTitle = "Funcionários com Pendências" )
 | 
						|
								#end
 | 
						|
								<!-- LISTA -->
 | 
						|
								<tr >
 | 
						|
									 <td colspan='5' style="width: 740px; height: 29px; vertical-align: top;">   <B>$listaTitle</B></td>
 | 
						|
								</tr>
 | 
						|
								<tr>
 | 
						|
									<td style="width: 2px;"></td>
 | 
						|
									<td style="width: 4px;"></td>
 | 
						|
									<td>
 | 
						|
									#if( $query == "trabalhadores" )
 | 
						|
										#foreach( $element in $v1 )
 | 
						|
											#set ( $counter = $velocityCount - 1 )
 | 
						|
											#set ( $dados_trabalhador = $v2.get($counter) )
 | 
						|
											$dados_trabalhador.Nome<br>
 | 
						|
										#end
 | 
						|
									#elseif( $query == "trabalhadores_tudo" )
 | 
						|
									    <table width='100%' cellspacing='0' cellpadding='0' border="0">
 | 
						|
										    <tr>
 | 
						|
											    <td width='75%' align='left' >  Nome</td>
 | 
						|
											    <td width='25%' align='center' >Data da Ficha de Aptidão</td>
 | 
						|
										    </tr>
 | 
						|
										#foreach( $element in $v1 )
 | 
						|
											#set ( $counter = $velocityCount - 1 )
 | 
						|
											#set ( $dados_trabalhador = $v2.get($counter) )
 | 
						|
											<tr>
 | 
						|
											    <td align='left' >  $dados_trabalhador.Nome</td>
 | 
						|
											    <td align='center' >$dados_trabalhador.Data  </td>
 | 
						|
											</tr>
 | 
						|
										#end
 | 
						|
									    </table>
 | 
						|
									#elseif( $query == "trabalhadores_pendentes" )
 | 
						|
									    <IMG SRC="/siprpWeb/html/images/red.gif"> - pendente   
 | 
						|
									    <IMG SRC="/siprpWeb/html/images/yellow.gif"> - marcado   
 | 
						|
									    <IMG SRC="/siprpWeb/html/images/green.gif"> - tratado <br>
 | 
						|
									    (*)ECD - Exames Complementares de Diagnóstico<br><br>
 | 
						|
									    <table width='100%' cellspacing='0' cellpadding='0' border="0">
 | 
						|
										    <tr>
 | 
						|
											    <td width='75%' align='left' >  Nome</td>
 | 
						|
											    <td width='12%' align='center' >ECD(*)</td>
 | 
						|
											    <td width='12%' align='center'>Consulta</td>
 | 
						|
										    </tr>
 | 
						|
										#foreach( $element in $v1 )
 | 
						|
											#set ( $counter = $velocityCount - 1 )
 | 
						|
											#set ( $dados_trabalhador = $v2.get($counter) )
 | 
						|
											<tr>
 | 
						|
											    <td align='left' ><a class='text' href="$v1.get($counter)">  $dados_trabalhador.Nome</a></td>
 | 
						|
											    <td align='center' ><IMG SRC="/siprpWeb/html/images/${dados_trabalhador.Exame}.gif"></td>
 | 
						|
											    <td align='center' ><IMG SRC="/siprpWeb/html/images/${dados_trabalhador.Consulta}.gif"></td>
 | 
						|
											</tr>
 | 
						|
										#end
 | 
						|
									    </table>
 | 
						|
									#end
 | 
						|
									</td>
 | 
						|
									<td style="width: 4px;"></td>
 | 
						|
									<td style="width: 3px;"></td>
 | 
						|
								</tr>
 | 
						|
								<!-- !LISTA -->
 | 
						|
							</table>
 | 
						|
						</td>
 | 
						|
					</tr>
 | 
						|
					</tbody>
 | 
						|
					</table>
 | 
						|
			</td>
 | 
						|
		</tr>
 | 
						|
	</tbody>
 | 
						|
	</table>
 | 
						|
</body>
 | 
						|
</html>
 |