<? session_start();
include("lib/config.php");
include("funcoes.inc");

if ($_SESSION[num_cancelamento]=="")
{header("Location:inicio.php");}


				   
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Comprovante</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
<!--
.style1 {
	font-family: Verdana;
	font-size: 8.5pt;
	color: black;
}
.texto {font-family: Arial, Helvetica, sans-serif;font-size: 9px;font-weight: bold;color: #333333;text-decoration: none;
}
-->
</style></head>

<SCRIPT LANGUAGE="javascript">
  window.status='SINSWeb ';

function fImprimir(){
    window.parent.dentro.focus();
    window.parent.dentro.print();
}
  

function fAltera(docform) 
{
  window.parent.open('empresas.php','dentro');
}

function fRetorna(docform) 
{
  window.parent.open('inicio.php','dentro');
}

</script>

<body>
<div class=Section1> 
  <table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%;mso-cellspacing:0cm;mso-padding-alt:0cm 0cm 0cm 0cm'>
    <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;height:12.0pt'> 
      <td style='padding:0cm 0cm 0cm 0cm;height:12.0pt'> <p class=MsoNormal><strong><span class="style1">Agendamento de Homologa&ccedil;&atilde;o Online [<? echo date('d/m/Y H:i'); ?>]</span></strong></p></td>
    </tr>
    <tr style='mso-yfti-irow:1'> 
      <td style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'> <img width=1 height=5
  src="img/image002.gif" v:shapes="_x0000_i1025"> <o:p></o:p></span></p></td>
    </tr>
    <tr style='mso-yfti-irow:2'> 
      <td style='background:#A8B7BF;padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'> <img width=1 height=1
  src="img/image003.gif" v:shapes="_x0000_i1026"> <o:p></o:p></span></p></td>
    </tr>
  </table>

  <p class=MsoNormal><span style='display:none;mso-hide:all'><o:p>&nbsp;</o:p>
  </span>					</p>
  <div align=center>
    <table width="100%" border=0 align="center" cellpadding=0 cellspacing=0 class=MsoNormalTable
 style='width:100.0%;mso-cellspacing:0cm;background:#CBD9E1;mso-padding-alt:
 0cm 0cm 0cm 0cm'>
      <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
      </tr>
      <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'> 
        <td width="19%" style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal>&nbsp;</p></td>
        <td width="71%" style='padding:0cm 0cm 0cm 0cm'> <p align="center" class=MsoNormal><span style='font-size:8.5pt;font-family:Verdana;
  color:black'>&nbsp;<o:p></o:p>
        </span><span style='font-size:12pt; font-family:Verdana; color:black'><strong>Comprovante Cancelamento N&ordm;[<? echo $_SESSION[num_cancelamento]; ?>]</strong></span></p></td>
        <td width="10%" style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal>&nbsp;</p></td>
      </tr>
      <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'><div align="center"><br>
        </div></td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
      </tr>
      <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'><table width="767" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="black">
          <tr>
            <td><table width="777" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td colspan="3"><div align="center"><span style="font-size:8.5pt;font-family:Verdana; color:black">Informa&ccedil;&otilde;es fornecidas pelo Empregador no sistema de Agendamento de Homologa&ccedil;&atilde;o Online</span></div></td>
              </tr>
              <tr>
                <td width="14">&nbsp;</td>
                <td width="129">&nbsp;</td>
                <td width="634">&nbsp;</td>
              </tr>
               <tr>
                 <td>&nbsp;</td>
                 <td><span class="MsoNormal"><span style="font-size:12pt; font-family:Verdana; color:black"><strong>Agendamento:</strong></span></span></td>
                 <td><span class="MsoNormal"><span style="font-size:12pt; font-family:Verdana; color:black"><strong> N&ordm;[<? echo $_SESSION[num_agendamento]; ?>]-[<? $dataAgendamento=$_SESSION[data_agendamento]; //$diasemana=DiaSemana(date("l",$dataAgendamento)); 
				 echo mascara(DataHoraNormal($dataAgendamento),'##/##/#### ##:##'); ?> hs] ** CANCELADO **</strong></span></span></td>
               </tr>
               <tr>
                 <td>&nbsp;</td>
                 <td>&nbsp;</td>
                 <td>&nbsp;</td>
               </tr>
               <tr>
                 <td>&nbsp;</td>
                 <td><span class="MsoNormal"><span style="font-size:12pt; font-family:Verdana; color:black"><strong>Trabalhador:</strong></span></span></td>
                 <td><span class="MsoNormal"><span style="font-size:12pt; font-family:Verdana; color:black"><strong>
                   
                   <? $cpf=$_SESSION[trabalhador_cpf]; $cpf=mascara($cpf,'###.###.###-##'); echo $cpf; ?><br> <? echo $_SESSION[trabalhador_nome] ?></strong></span></span></td>
               </tr>
               <tr>
                 <td>&nbsp;</td>
                 <td>&nbsp;</td>
                 <td>&nbsp;</td>
               </tr>
               <tr>
                 <td>&nbsp;</td>
                 <td><span class="MsoNormal"><span style="font-size:12pt; font-family:Verdana; color:black"><strong>Respons&aacute;vel:</strong></span></span></td>
                 <td><span class="MsoNormal"><span style="font-size:12pt; font-family:Verdana; color:black"><strong><? echo $_SESSION[responsavel_nome]?></strong></span></span></td>
               </tr>
               <tr>
                 <td>&nbsp;</td>
                 <td>&nbsp;</td>
                 <td>&nbsp;</td>
               </tr>
               <tr>
                 <td>&nbsp;</td>
                 <td><span class="MsoNormal"><span style="font-size:12pt; font-family:Verdana; color:black"><strong>Observa&ccedil;&atilde;o:</strong></span></span></td>
                 <td><span class="MsoNormal"><span style="font-size:12pt; font-family:Verdana; color:black"><strong><? echo $_SESSION[obs_cancelamento]?></strong></span></span></td>
               </tr>
              </table></td>
          </tr>
        </table></td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
      </tr>
      <tr style='mso-yfti-irow:2'>
        <td colspan=3 style='padding:0cm 0cm 0cm 0cm'></span></td>
      </tr>
      <tr style='mso-yfti-irow:2'>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'><p>&nbsp;</p></td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
      </tr>
      <tr style='mso-yfti-irow:2'> 
        <td style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'><o:p></o:p></span></p></td>
        <td style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal><span style='font-size:8.5pt;font-family:Verdana;
  color:black'>&nbsp;
              <o:p></o:p>
        </span><span style="font-size:8.5pt;font-family:Verdana; color:black">D&uacute;vidas poder&atilde;o ser dirimidas atrav&eacute;s do <strong><? echo $telefone_sindicato?></strong> Setor Homologa&ccedil;&atilde;o</span></p></td>
        <td style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'> </span></p></td>
      </tr>
      <tr style='mso-yfti-irow:3;mso-yfti-lastrow:yes'>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
      </tr>
      <tr style='mso-yfti-irow:3;mso-yfti-lastrow:yes'> 
        <td style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'><o:p></o:p>
        </span></p></td>
        <td style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal><span style='font-size:10.0pt'><o:p>
          <o:p>
            <o:p><span style="font-family: Verdana; font-size: 8.5pt; color: black"><strong><font color="0A1B31"><? echo $nome_sindicato?></font></strong><br>
              </span><span style="font-size:8.5pt;font-family:Verdana; color:black">Telefone: <strong><font color="0A1B31"><? echo $telefone_sindicato?></font></strong><br>
                Email: <strong><font color="0A1B31"><? echo $email_sindicato?></font></strong><br>
                Endere&ccedil;o: <strong><font color="0A1B31"><? echo $endereco_sindicato?></font></strong></span></o:p>
          </o:p>
        </o:p>
        </span></p></td>
        <td style='padding:0cm 0cm 0cm 0cm'> <p class=MsoNormal><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></p></td>
      </tr>
      <tr style='mso-yfti-irow:3;mso-yfti-lastrow:yes'>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
        <td style='padding:0cm 0cm 0cm 0cm'>&nbsp;</td>
      </tr>
    </table>
  </div>
  <p class=MsoNormal><span style='display:none;mso-hide:all'><o:p>&nbsp;</o:p></span></p>
  <div align=center>
    <table class=MsoNormalTable border=0 cellpadding=0 width="98%"
 style='width:98.0%;mso-cellspacing:1.5pt;mso-padding-alt:0cm 0cm 0cm 0cm'>
      <tr style='mso-yfti-irow:5'>
        <td style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'> <img width=1 height=5
  src="img/image002.gif" v:shapes="_x0000_i1033">
          <o:p></o:p>
        </span></p></td>
      </tr>
      <tr style='mso-yfti-irow:6'>
        <td style='background:#A8B7BF;padding:0cm 0cm 0cm 0cm'><p class=MsoNormal><span style='font-size:7.5pt;font-family:Verdana;
  color:#333333'> <img width=1 height=1
  src="img/image003.gif" v:shapes="_x0000_i1034">
          <o:p></o:p>
        </span></p></td>
      </tr>
      <tr style='mso-yfti-irow:7'>
        <td style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal align=right style='text-align:right'><span
  style='font-size:8.5pt;font-family:Verdana;color:black'> <img width=1 height=5
  src="img/image002.gif" v:shapes="_x0000_i1035">
          <o:p></o:p>
        </span></p></td>
      </tr>
      <tr style='mso-yfti-irow:8;mso-yfti-lastrow:yes'>
        <td style='padding:0cm 0cm 0cm 0cm'><div align="center">
          <input name="btnImprimir" type="button" style="font-family: Tahoma; font-size: 8 pt; color: #FF0000" onClick="fImprimir();" value="Imprimir">
          <input type="button" name="Button" value="Altera Dados" onClick="fAltera(document.gerar)" style="font-family: Tahoma; font-size: 8 pt; color: #000">
          <input name="button" type="button"  style="font-family: Tahoma; font-size: 8 pt; color: #000" onClick="fRetorna();" value="Retornar">
          </a></span><span style='color:#333333;text-decoration:
  none;text-underline:none'> </span> </div>
          <o:p></o:p>
          </span>
          </p></td>
      </tr>
    </table>
  </div>
</div>
</body>
</html>
