Jump to content


mofo

Member Since 15/07/2006
Offline Last Active 30/06/2009, 02:26
-----

Topics I've Started

Campos De Retorno Com Not Exists

25/06/2009, 23:01

Select IM.codigo_imovel from Imovel IM where NOT EXISTS( Select INQ.nome, INQ.cpf, INQ.rg, INQ.telefone, INQ.telefone_celular FROM Inquilino INQ where IM.codigo_inquilino = INQ.codigo_inquilino )

Esta query, eu gostaria que me retornace IM.codigo e INQ.nome, INQ.cpf, INQ.rg, INQ.telefone, INQ.telefone_celular, mas nao sei como fazer isso, pq se eu fazer desta maneira :

Select IM.codigo_imovel, INQ.nome, INQ.cpf, INQ.rg, INQ.telefone, INQ.telefone_celular from Imovel IM where NOT EXISTS( Select * FROM Inquilino INQ where IM.codigo_inquilino = INQ.codigo_inquilino )
da erro !

Mas se eu fizer desta desta maneira
Select IM.codigo_imovel from Imovel IM where NOT EXISTS( Select INQ.nome, INQ.cpf, INQ.rg, INQ.telefone, INQ.telefone_celular FROM Inquilino INQ where IM.codigo_inquilino = INQ.codigo_inquilino )
so vai me retornar o IM.codigo_imovel.

Como faço para me retornar IM.codigo_imovel e INQ.nome, INQ.cpf, INQ.rg, INQ.telefone, INQ.telefone_celular ?

Boletophp + Pdf

23/05/2009, 19:05

<?php
// ------------------------- DADOS DINÂMICOS DO SEU CLIENTE PARA A GERAÇÃO DO BOLETO (FIXO OU VIA GET) -------------------- //
// Os valores abaixo podem ser colocados manualmente ou ajustados p/ formulário c/ POST, GET ou de BD (MySql,Postgre,etc)	//

// DADOS DO BOLETO PARA O SEU CLIENTE
$dias_de_prazo_para_pagamento = 5;
$taxa_boleto = 2.95;
$data_venc = date("d/m/Y", time() + ($dias_de_prazo_para_pagamento * 86400));  // Prazo de X dias OU informe data: "13/04/2006"; 
$valor_cobrado = "2950,00"; // Valor - REGRA: Sem pontos na milhar e tanto faz com "." ou "," ou com 1 ou 2 ou sem casa decimal
$valor_cobrado = str_replace(",", ".",$valor_cobrado);
$valor_boleto=number_format($valor_cobrado+$taxa_boleto, 2, ',', '');

$dadosboleto["nosso_numero"] = '12345678';  // Nosso numero - REGRA: Máximo de 8 caracteres!
$dadosboleto["numero_documento"] = '0123';	// Num do pedido ou nosso numero
$dadosboleto["data_vencimento"] = $data_venc; // Data de Vencimento do Boleto - REGRA: Formato DD/MM/AAAA
$dadosboleto["data_documento"] = date("d/m/Y"); // Data de emissão do Boleto
$dadosboleto["data_processamento"] = date("d/m/Y"); // Data de processamento do boleto (opcional)
$dadosboleto["valor_boleto"] = $valor_boleto; 	// Valor do Boleto - REGRA: Com vírgula e sempre com duas casas depois da virgula

// DADOS DO SEU CLIENTE
$dadosboleto["sacado"] = "Nome do seu Cliente";
$dadosboleto["endereco1"] = "Endereço do seu Cliente";
$dadosboleto["endereco2"] = "Cidade - Estado -  CEP: 00000-000";

// INFORMACOES PARA O CLIENTE
$dadosboleto["demonstrativo1"] = "Pagamento de Compra na Loja Nonononono";
$dadosboleto["demonstrativo2"] = "Mensalidade referente a nonon nonooon nononon<br>Taxa bancária - R$ ".number_format($taxa_boleto, 2, ',', '');
$dadosboleto["demonstrativo3"] = "BoletoPhp - http://www.boletophp.com.br";
$dadosboleto["instrucoes1"] = "- Sr. Caixa, cobrar multa de 2% após o vencimento";
$dadosboleto["instrucoes2"] = "- Receber até 10 dias após o vencimento";
$dadosboleto["instrucoes3"] = "- Em caso de dúvidas entre em contato conosco: xxxx@xxxx.com.br";
$dadosboleto["instrucoes4"] = "&nbsp; Emitido pelo sistema Projeto BoletoPhp - www.boletophp.com.br";

// DADOS OPCIONAIS DE ACORDO COM O BANCO OU CLIENTE
$dadosboleto["quantidade"] = "";
$dadosboleto["valor_unitario"] = "";
$dadosboleto["aceite"] = "";		
$dadosboleto["especie"] = "R$";
$dadosboleto["especie_doc"] = "";


// ---------------------- DADOS FIXOS DE CONFIGURAÇÃO DO SEU BOLETO --------------- //


// DADOS DA SUA CONTA - ITAÚ
$dadosboleto["agencia"] = "1565"; // Num da agencia, sem digito
$dadosboleto["conta"] = "13877";	// Num da conta, sem digito
$dadosboleto["conta_dv"] = "4"; 	// Digito do Num da conta

// DADOS PERSONALIZADOS - ITAÚ
$dadosboleto["carteira"] = "175";  // Código da Carteira: pode ser 175, 174, 104, 109, 178, ou 157

// SEUS DADOS
$dadosboleto["identificacao"] = "BoletoPhp - Código Aberto de Sistema de Boletos";
$dadosboleto["cpf_cnpj"] = "";
$dadosboleto["endereco"] = "Coloque o endereço da sua empresa aqui";
$dadosboleto["cidade_uf"] = "Cidade / Estado";
$dadosboleto["cedente"] = "Coloque a Razão Social da sua empresa aqui";

// NÃO ALTERAR!
include("include/funcoes_itau.php"); 
//include("include/layout_itau.php");




$boleto = '
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Boleto - BBBoleto Free</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<STYLE>BODY {
	FONT: 10px Arial
}
.Titulo {
	FONT: 9px Arial Narrow; COLOR: navy
}
.Campo {
	FONT: 10px Arial; COLOR: black
}
TD.Normal {
	FONT: 12px Arial; COLOR: black
}
TD.Titulo {
	FONT: 9px Arial Narrow; COLOR: navy
}
TD.Campo {
	FONT: bold 10px Arial; COLOR: black
}
TD.CampoTitulo {
	FONT: bold 15px Arial; COLOR: navy
}
</STYLE>

<P><BR>
<P><BR>
<DIV align=center>
<TABLE cellSpacing=0 cellPadding=0 width=666 border=0>
  <TBODY>
  <TR>
	<TD class=normal>
	  <DIV align=center><B>O pagamento deste boleto também poderá ser efetuado 
	  nos terminais de Auto-Atendimento BB.</B></DIV>
	  <P><B>Instruções:</B><BR>
	  <OL>
		<LI>Imprima em impressora jato de tinta (ink jet) ou laser em qualidade 
		normal ou alta Não use modo econômico.<BR><B>Por favor, configure a 
		margens esquerda e direita para 17 mm</B><BR>
		<LI>Utilize folha A4 (210 x 297 mm) ou Carta (216 x 279 mm) e margens 
		mínimas à esquerda e à direita do formulário.<BR>
		<LI>Corte na linha indicada. Não rasure, risque, fure ou dobre a região 
		onde se encontra o código de barras. </LI></OL></TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=0 cellPadding=0 width=666 border=0>
  <TBODY>
  <TR>
	<TD class=titulo width=666>Corte na linha pontilhada</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=666 border=0>
  <TBODY>
  <TR>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD></TR></TBODY></TABLE><BR><BR>
<TABLE cellSpacing=0 cellPadding=0 width=666 border=0>
  <TBODY>
  <TR>
	<TD class=campo width=150><IMG height=22 
	  src="imagens/imgbb.gif" width=150 
	  border=0></TD>
	<TD width=3><IMG height=22 
	  src="imagens/imgbrrazu.gif" width=2 
	  border=0></TD>
	<TD class=campotitulo align=middle width=46>001-9</TD>
	<TD width=3><IMG height=22 
	  src="imagens/imgbrrazu.gif" width=2 
	  border=0></TD>
	<TD class=campotitulo align=right width=464>'.$dadosboleto["linha_digitavel"].' &nbsp;&nbsp;&nbsp; </TD></TR>
  <TR>
	<TD colSpan=5><IMG height=2 
	  src="imagens/imgpxlazu.gif" width=666 
	  border=0></TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=298 height=13>Cedente</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=126 height=13>Agência / Código do Cedente</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=34 height=13>Espécie</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=53 height=13>Quantidade</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=120 height=13>Nosso número</TD></TR>
  <TR>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top width=298 height=12>'.$dadosboleto["cedente"] .'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=right width=126 height=12>'.$dadosboleto["agencia_codigo"].' 
	&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=middle width=34 height=12>'.$dadosboleto["especie"].'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=middle width=53 height=12>'.$dadosboleto["quantidade"].'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=right width=120 
	height=12>'.$dadosboleto["nosso_numero"].'&nbsp;</TD></TR>
  <TR>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=298 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=298 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=126 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=126 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=34 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=34 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=53 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=53 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=120 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=120 
	  border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=113 height=13>Número do documento</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=72 height=13>Contrato</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=132 height=13>CPF/CEI/CNPJ</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=134 height=13>Vencimento</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=180 height=13>Valor documento</TD></TR>
  <TR>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top width=113 height=12>'.$dadosboleto["numero_documento"].'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top width=72 height=12>'.$dadosboleto["contrato"].'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top width=132 height=12>'.$dadosboleto["cpf_cnpj"].'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=middle width=134 
	height=12>'.$dadosboleto["data_vencimento"].'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=right width=180 
  height=12>'. $dadosboleto["valor_boleto"].'&nbsp;</TD></TR>
  <TR>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=113 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=113 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=72 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=72 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=132 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=132 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=134 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=134 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=180 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=180 
	  border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=113 height=13>(-) Desconto / 
	Abatimento</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=112 height=13>(-) Outras deduções</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=113 height=13>(+) Mora / Multa</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=113 height=13>(+) Outros acréscimos</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=180 bgColor=#ffffcc height=13>(=) Valor 
	  cobrado</TD></TR>
  <TR>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=right width=113 height=12>&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=right width=112 height=12>&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=right width=113 height=12>&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=right width=113 height=12>&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=right width=180 bgColor=#ffffcc 
	height=12>&nbsp;</TD></TR>
  <TR>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=113 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=113 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=112 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=112 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=113 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=113 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=113 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=113 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=180 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=180 
	  border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=659 height=13>Sacado</TD></TR>
  <TR>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top width=659 height=12>'.$dadosboleto["sacado"].' 
	&nbsp;</TD></TR>
  <TR>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=659 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=659 
	  border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
	<TD class=titulo vAlign=top width=7 height=13></TD>
	<TD class=titulo vAlign=top width=7 height=13></TD>
	<TD class=titulo vAlign=top width=88 height=13>Autenticação mecânica</TD></TR>
  <TR>
	<TD vAlign=top width=7 height=3></TD>
	<TD vAlign=top width=564 height=3></TD>
	<TD vAlign=top width=7 height=3></TD>
	<TD vAlign=top width=88 height=3></TD></TR></TBODY></TABLE><BR><BR><BR>
<TABLE cellSpacing=0 cellPadding=0 width=666 border=0>
  <TBODY>
  <TR>
	<TD class=titulo width=666>Corte na linha pontilhada</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=666 border=0>
  <TBODY>
  <TR>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD></TR></TBODY></TABLE><BR><BR>
<TABLE cellSpacing=0 cellPadding=0 width=666 border=0>
  <TBODY>
  <TR>
	<TD class=campo width=150><IMG height=22 
	  src="imagens/imgbb.gif" width=150 
	  border=0></TD>
	<TD width=3><IMG height=22 
	  src="imagens/imgbrrazu.gif" width=2 
	  border=0></TD>
	<TD class=campotitulo align=middle width=46>001-9</TD>
	<TD width=3><IMG height=22 
	  src="imagens/imgbrrazu.gif" width=2 
	  border=0></TD>
	<TD class=campotitulo align=right width=464>'.$dadosboleto["linha_digitavel"].' &nbsp;&nbsp;&nbsp; </TD></TR>
  <TR>
	<TD colSpan=5><IMG height=2 
	  src="imagens/imgpxlazu.gif" width=666 
	  border=0></TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=472 height=13>Local de pagamento</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=180 bgColor=#ffffcc 
	height=13>Vencimento</TD></TR>
  <TR>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top width=472 height=12>
	  '.$dadosboleto["local_pagamento"].'</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=right width=180 bgColor=#ffffcc 
	  height=12>'.$dadosboleto["data_vencimento"].'&nbsp;</TD></TR>
  <TR>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=472 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=472 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=180 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=180 
	  border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=472 height=13>Cedente</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=180 height=13>Agência/Código 
  cedente</TD></TR>
  <TR>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top width=472 height=12>'.$dadosboleto["cedente"].'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=right width=180 
	  height=12>'.$dadosboleto["agencia_codigo"].'&nbsp;</TD></TR>
  <TR>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=472 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=472 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=180 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=180 
	  border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=93 height=13>Data do documento</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=173 height=13>N<U>o</U> documento</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=72 height=13>Espécie doc.</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=34 height=13>Aceite</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=72 height=13>Data process.</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=180 height=13>Nosso número</TD></TR>
  <TR>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=middle width=93 
	height=12>'.$dadosboleto["data_documento"].'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top width=173 height=12>'.$dadosboleto["numero_documento"].'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=middle width=72 height=12>'.$dadosboleto["especie_doc"].'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=middle width=34 height=12>'.$dadosboleto["aceite"].'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=middle width=72 
	height=12>'.$dadosboleto["data_processamento"].'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=right width=180 
	height=12>'.$dadosboleto["nosso_numero"].'&nbsp;</TD></TR>
  <TR>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=93 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=93 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=173 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=173 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=72 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=72 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=34 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=34 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=72 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=72 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=180 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=180 
	  border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=93 bgColor=#ffffcc height=13>Uso do 
	banco</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=93 height=13>Carteira</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=53 height=13>Espécie</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=133 height=13>Quantidade</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=72 height=13>x Valor</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=180 height=13>(=) Valor documento</TD></TR>
  <TR>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top width=93 bgColor=#ffffcc height=12>&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=middle width=93 height=12>'.$dadosboleto["carteira"].''.$dadosboleto["variacao_carteira"].'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=middle width=53 height=12>'.$dadosboleto["especie"].'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=middle width=53 height=12>'.$dadosboleto["quantidade"].'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=right width=72 height=12>'.$dadosboleto["valor_unitario"].'&nbsp;</TD>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top align=right width=180 
  height=12>'. $dadosboleto["valor_boleto"].'&nbsp;</TD></TR>
  <TR>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=93 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=93 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=93 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=93 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=53 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=53 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=133 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=133 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=72 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=72 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=180 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=180 
	  border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=666 border=0>
  <TBODY>
  <TR>
	<TD width=7 rowSpan=5></TD>
	<TD vAlign=top width=447 rowSpan=5><p><FONT 
	  class=titulo>Instruções (Texto de responsabilidade do cedente)</FONT><BR>
		  <br>
		  <FONT class=campo>
		  '.$dadosboleto["instrucoes"] .'<br> 
		  '.$dadosboleto["instrucoes1"] .'<br>
		  '.$dadosboleto["instrucoes2"] .'<br>
		  '.$dadosboleto["instrucoes3"] .'<br> 
		  '.$dadosboleto["instrucoes4"] .'</FONT></p>
	  <p><FONT class=titulo>Demonstrativo:</FONT><br>
	  <FONT class=campo>
	  '.$dadosboleto["demonstrativo"] .'
	  </FONT></p></TD>
	<TD align=right width=212>
	  <TABLE cellSpacing=0 cellPadding=0 border=0>
		<TBODY>
		<TR>
		  <TD class=titulo vAlign=top width=7 height=13></TD>
		  <TD class=titulo vAlign=top width=18 height=13>27</TD>
		  <TD class=titulo vAlign=top width=7 height=13><IMG height=13 
			src="imagens/imgbrrlrj.gif" width=5 
			border=0></TD>
		  <TD class=titulo vAlign=top width=180 height=13>(-) Desconto / 
			Abatimento</TD></TR>
		<TR>
		  <TD class=campo vAlign=top width=7 height=12></TD>
		  <TD class=campo vAlign=top width=18 height=12>&nbsp;</TD>
		  <TD class=campo vAlign=top width=7 height=12><IMG height=12 
			src="imagens/imgbrrlrj.gif" width=5 
			border=0></TD>
		  <TD class=campo vAlign=top align=right width=180 
		height=12>&nbsp;</TD></TR>
		<TR>
		  <TD vAlign=top width=7 height=3></TD>
		  <TD vAlign=top width=18 height=3></TD>
		  <TD vAlign=top width=7 height=3><IMG height=1 
			src="imagens/imgpxlazu.gif" width=7 
			border=0></TD>
		  <TD vAlign=top width=180 height=3><IMG height=1 
			src="imagens/imgpxlazu.gif" 
			width=180 border=0></TD></TR></TBODY></TABLE></TD></TR>
  <TR>
	<TD align=right width=212>
	  <TABLE cellSpacing=0 cellPadding=0 border=0>
		<TBODY>
		<TR>
		  <TD class=titulo vAlign=top width=7 height=13></TD>
		  <TD class=titulo vAlign=top width=18 height=13>35</TD>
		  <TD class=titulo vAlign=top width=7 height=13><IMG height=13 
			src="imagens/imgbrrlrj.gif" width=5 
			border=0></TD>
		  <TD class=titulo vAlign=top width=180 height=13>(-) Outras 
		  deduções</TD></TR>
		<TR>
		  <TD class=campo vAlign=top width=7 height=12></TD>
		  <TD class=campo vAlign=top width=18 height=12>&nbsp;</TD>
		  <TD class=campo vAlign=top width=7 height=12><IMG height=12 
			src="imagens/imgbrrlrj.gif" width=5 
			border=0></TD>
		  <TD class=campo vAlign=top align=right width=180 
		height=12>&nbsp;</TD></TR>
		<TR>
		  <TD vAlign=top width=7 height=3></TD>
		  <TD vAlign=top width=18 height=3></TD>
		  <TD vAlign=top width=7 height=3><IMG height=1 
			src="imagens/imgpxlazu.gif" width=7 
			border=0></TD>
		  <TD vAlign=top width=180 height=3><IMG height=1 
			src="imagens/imgpxlazu.gif" 
			width=180 border=0></TD></TR></TBODY></TABLE></TD></TR>
  <TR>
	<TD align=right width=212>
	  <TABLE cellSpacing=0 cellPadding=0 border=0>
		<TBODY>
		<TR>
		  <TD class=titulo vAlign=top width=7 height=13></TD>
		  <TD class=titulo vAlign=top width=18 height=13>19</TD>
		  <TD class=titulo vAlign=top width=7 height=13><IMG height=13 
			src="imagens/imgbrrlrj.gif" width=5 
			border=0></TD>
		  <TD class=titulo vAlign=top width=180 height=13>(+) Mora / 
		Multa</TD></TR>
		<TR>
		  <TD class=campo vAlign=top width=7 height=12></TD>
		  <TD class=campo vAlign=top width=18 height=12>&nbsp;</TD>
		  <TD class=campo vAlign=top width=7 height=12><IMG height=12 
			src="imagens/imgbrrlrj.gif" width=5 
			border=0></TD>
		  <TD class=campo vAlign=top align=right width=180 
		height=12>&nbsp;</TD></TR>
		<TR>
		  <TD vAlign=top width=7 height=3></TD>
		  <TD vAlign=top width=18 height=3></TD>
		  <TD vAlign=top width=7 height=3><IMG height=1 
			src="imagens/imgpxlazu.gif" width=7 
			border=0></TD>
		  <TD vAlign=top width=180 height=3><IMG height=1 
			src="imagens/imgpxlazu.gif" 
			width=180 border=0></TD></TR></TBODY></TABLE></TD></TR>
  <TR>
	<TD align=right width=212>
	  <TABLE cellSpacing=0 cellPadding=0 border=0>
		<TBODY>
		<TR>
		  <TD class=titulo vAlign=top width=7 height=13><IMG height=13 
			src="imagens/imgbrrlrj.gif" width=5 
			border=0></TD>
		  <TD class=titulo vAlign=top width=180 height=13>(+) Outros 
		  acréscimos</TD></TR>
		<TR>
		  <TD class=campo vAlign=top width=7 height=12><IMG height=12 
			src="imagens/imgbrrlrj.gif" width=5 
			border=0></TD>
		  <TD class=campo vAlign=top align=right width=180 
		height=12>&nbsp;</TD></TR>
		<TR>
		  <TD vAlign=top width=7 height=3><IMG height=1 
			src="imagens/imgpxlazu.gif" width=7 
			border=0></TD>
		  <TD vAlign=top width=180 height=3><IMG height=1 
			src="imagens/imgpxlazu.gif" 
			width=180 border=0></TD></TR></TBODY></TABLE></TD></TR>
  <TR>
	<TD align=right width=212>
	  <TABLE cellSpacing=0 cellPadding=0 border=0>
		<TBODY>
		<TR>
		  <TD class=titulo vAlign=top width=7 height=13><IMG height=13 
			src="imagens/imgbrrlrj.gif" width=5 
			border=0></TD>
		  <TD class=titulo vAlign=top width=180 bgColor=#ffffcc height=13>(=) 
			Valor cobrado</TD></TR>
		<TR>
		  <TD class=campo vAlign=top width=7 height=12><IMG height=12 
			src="imagens/imgbrrlrj.gif" width=5 
			border=0></TD>
		  <TD class=campo vAlign=top align=right width=180 bgColor=#ffffcc 
		  height=12>&nbsp;</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=666 border=0>
  <TBODY>
  <TR>
	<TD vAlign=top width=666 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=666 
	  border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=659 height=13>Sacado</TD></TR>
  <TR>
	<TD class=campo vAlign=top width=7 height=36><IMG height=36 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top width=659 height=36>'.$dadosboleto["sacado"].'<BR>'.$dadosboleto["endereco1"].'<BR>'.$dadosboleto["endereco2"].'&nbsp;&nbsp;
	</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=659 
  height=13>Sacador/Avalista</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
	<TD class=campo vAlign=top width=7 height=12><IMG height=12 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=campo vAlign=top width=472 height=13>&nbsp;</TD>
	<TD class=titulo vAlign=top width=7 height=13><IMG height=13 
	  src="imagens/imgbrrlrj.gif" width=5 
	  border=0></TD>
	<TD class=titulo vAlign=top width=180 height=13>Cód. baixa</TD></TR>
  <TR>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=472 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=472 
	  border=0></TD>
	<TD vAlign=top width=7 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=7 
	  border=0></TD>
	<TD vAlign=top width=180 height=3><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=180 
	  border=0></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
	<TD class=titulo vAlign=top width=7 height=13></TD>
	<TD class=titulo vAlign=top width=470 height=13></TD>
	<TD class=titulo vAlign=top width=7 height=13></TD>
	<TD class=titulo vAlign=top width=182 height=13>Autenticação mecânica - 
	  Ficha de Compensação</TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=0 cellPadding=0 width=666 border=0>
  <TBODY>
  <TR>
	<TD>'. fbarcode($dadosboleto["codigo_barras"]) .'</TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=0 cellPadding=0 width=666 border=0>
  <TBODY>
  <TR>
	<TD class=titulo width=666>Corte na linha pontilhada</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=666 border=0>
  <TBODY>
  <TR>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD>
	<TD width=5><IMG height=1 
	  src="imagens/imgpxlazu.gif" width=6 
	  border=0></TD>
	<TD width=5></TD></TR></TBODY></TABLE><BR><BR></DIV></BODY></HTML>';

  include('../dompdf/dompdf.php');
  $dompdf = new DOMPDF();
  $dompdf->load_html($boleto);
  $dompdf->set_paper('a4', '');
  $dompdf->render();
  $dompdf->stream("dompdf_out.pdf");

?>

Estou quase, modifiquei o html, mas agora so apresenta 1 derro :

Fatal error: Uncaught exception 'DOMPDF_Exception' with message 'An input file is required (i.e. input_file _GET variable).' in C:\Servidor PHP\www\dompdf\dompdf.php:229 Stack trace: #0 C:\Servidor PHP\www\boleto\boleto_itau.php(1686): include() #1 {main} thrown in C:\Servidor PHP\www\dompdf\dompdf.php on line 229

Um detalhe, o código de barra apareceu !

Ajuda Com Select

01/05/2009, 00:20

Eu tenho uma tabela chamada Agenda_Tecnica, onde vai conter o cod_funcionario_cadastro ( codigo do funcionario que cadastrou no sistema ) e o cod_funcionario_visita ( codigo do funcionario que vai no cliente ) num só registro.

Exemplo:

cod_funcionario_cadastro			  cod_funcionario_visita
			10												  50
			30												  27


Eu preciso buscar o nome deles na tabela Funcionario, como eu faria isso ?

[resolvido] Between

24/04/2009, 14:19

SELECT CH.codigo_chamado, CH.status, CH.agendar_visita, CH.data_encerramento, CH.data_abertura, CH.hora_abertura
, CH.observacao, FU.nome_funcionario, CL.fantasia_nome, CL.codigo_cliente FROM Funcionario FU INNER JOIN
 Chamado CH on CH.codigo_funcionario = FU.codigo_funcionario INNER JOIN Cliente CL on CH.codigo_cliente
 = CL.codigo_cliente 
		where '2009-04-24' BETWEEN CL.data_pagamento and CL.vencimento_contrato

Eu tenho 1 registro onde :
data_pagamento = 1999-12-25
vencimento_contrato = 2009-12-25

O que está de errado no meu select ?
Sem a clausula where seleciona tudo certinho !

Importar Dados Do Arquivo.sql

11/04/2009, 14:54

echo $buffer = file_get_contents("Backup/tipo_funcionario--11-04-2009-01-29-43.sql");
	mysql_query($buffer) or die(mysql_error());

Veja que estou dando echo ali em cima, eu pego o que me retorna desse echo e inserio Manualmente no phpmyadmin e funciona mas esse mesma querry que foi inserida com sucesso no phpmyadmin não funciona quando executada no php.

CREATE TABLE tipo_funcionario ( codigo_tipo_funcionario int(11) NOT NULL auto_increment, tipo_funcionario varchar(50) NOT NULL , privilegio_funcionario int(11) NOT NULL , PRIMARY KEY (codigo_tipo_funcionario) ); INSERT INTO tipo_funcionario VALUES('1' , 'Administrador' , '1'); INSERT INTO tipo_funcionario VALUES('2' , 'Usuario' , '3');

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO tipo_funcionario VALUES('1' , 'Administrador' , '1'); INSERT INTO ti' at line 8

IPB Skin By Virteq