本文整理汇总了PHP中PDF::PrintChapter方法的典型用法代码示例。如果您正苦于以下问题:PHP PDF::PrintChapter方法的具体用法?PHP PDF::PrintChapter怎么用?PHP PDF::PrintChapter使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PDF
的用法示例。
在下文中一共展示了PDF::PrintChapter方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: formarPdf
public function formarPdf($nombreArchivo, $seleccionar)
{
require 'PDF.php';
$archivo = $nombreArchivo;
$pdf = new PDF();
// $pdf->SetTitle($title);
$pdf->AddPage();
foreach ($seleccionar as $valor) {
$fueNombre = utf8_decode($valor['fueNombre']);
$notTitulo = utf8_decode($valor['notTitulo']);
$notContenido = utf8_decode($valor['notContenido']);
$notAutor = utf8_decode($valor['notAutor']);
$notEnlace = utf8_decode($valor['notEnlace']);
$fuenteIgual = strcmp($fueNombre, $fueNombreAnterior);
if ($fuenteIgual == 0) {
$mostrarFuente = "";
} else {
$mostrarFuente = $fueNombre;
}
$fueNombreAnterior = $fueNombre;
$Fecha = '2016-06-01';
/* $body=$body.'<br>';
$body=$body.'<div>';
$body=$body.'<h2 style="text-align: center; color:#1565c0;"> <u>'.$mostrarFuente.'</u></h2>';
$body=$body.'<h4 style="text-align: left; color:#1565c0;">'.$notTitulo.'</h4>';
$body=$body.'<p style="text-align: justify;" >'.$notContenido.'</p>';
$body=$body.'<br><p style="text-align: justify;" ><small>'.$notAutor.'</small></p>';
$body=$body.'<p style="text-align: justify;" ><small> <a href="'.$notEnlace.'">'.$notEnlace.'</a></small></p>';
$body=$body.'</div>';*/
$pdf->PrintChapter($mostrarFuente, $Fecha, $notTitulo, $notContenido);
}
/*$fuente=utf8_decode('Fuente de información');
$Fecha='2016-06-01';
$titulo=utf8_decode('Titulo de notica');
$contenido=utf8_decode('Contenido de noticia');*/
//$pdf->SetAuthor('Julio Verne');
/* $pdf->PrintChapter($fuente, $Fecha,$titulo,$contenido);
$pdf->PrintChapter($fuente, $Fecha,$titulo,$contenido);
$pdf->PrintChapter($fuente, $Fecha,$titulo,$contenido);
$pdf->PrintChapter($fuente, $Fecha,$titulo,$contenido);
$pdf->PrintChapter($fuente, $Fecha,$titulo,$contenido);
$pdf->PrintChapter($fuente, $Fecha,$titulo,$contenido);
$pdf->PrintChapter($fuente, $Fecha,$titulo,$contenido);
$pdf->PrintChapter($fuente, $Fecha,$titulo,'ultimo');*/
$pdf->Output();
// $pdf->Output($archivo,"f");
}
示例2: CAMPO
$pdf->Cell(82, $l, utf8_decode($rep02RG), 0, 0, 'L');
$pdf->SetFont('Arial', 'B', 10);
$pdf->Cell(10, $l, utf8_decode('CPF:'), 0, 0, 'L');
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(48, $l, utf8_decode($rep02CPF), 0, 1, 'L');
$pdf->SetX($x);
$pdf->Cell(180, 5, '', 'B', 1, 'C');
$pdf->Ln();
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(10, 5, '(D)', 0, 0, 'L');
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(170, 5, 'PENALIDADES', 0, 1, 'C');
$pdf->Ln();
$pdf->SetX($x);
$pdf->PrintChapter('txt/proposta_padrao_pj.txt');
$pdf->SetX($x);
$pdf->MultiCell(180, 5, utf8_decode("DECLARO ESTAR CIENTE DA PENALIDADE PREVISTA NO CAMPO (D). \n" . "TODAS AS INFORMAÇÕES PRECEDENTES SÃO FIRMADAS SOB AS PENAS DA LEI."), 'T');
$pdf->Ln();
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(180, $l, "Data: _________ / _________ / " . "{$ano}" . ".", 0, 0, 'L');
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(40, $l, '', 0, 0, 'L');
$pdf->Cell(90, $l, 'ASSINATURA', 'T', 0, 'C');
示例3: ChapterBody
$this->y0 = $this->GetY();
}
function ChapterBody($file)
{
// Read text file
$txt = file_get_contents($file);
// Font
$this->SetFont('Times', '', 12);
// Output text in a 6 cm width column
$this->MultiCell(60, 5, $txt);
$this->Ln();
// Mention
$this->SetFont('', 'I');
$this->Cell(0, 5, '(end of excerpt)');
// Go back to first column
$this->SetCol(0);
}
function PrintChapter($num, $title, $file)
{
// Add chapter
$this->AddPage();
$this->ChapterTitle($num, $title);
$this->ChapterBody($file);
}
}
$pdf = new PDF();
$title = 'COURT OF KENYA';
$pdf->SetTitle("Government Of Kenya");
$pdf->SetAuthor('Jules Verne');
$pdf->PrintChapter(1, 'A RUNAWAY REEF', '20k_c1.txt');
$pdf->Output();
示例4: CAMPO
$pdf->Cell(82, $l, utf8_decode($RG), 0, 0, 'L');
$pdf->SetFont('Arial', 'B', 10);
$pdf->Cell(10, $l, utf8_decode('CPF:'), 0, 0, 'L');
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(48, $l, utf8_decode($CPF), 0, 1, 'L');
$pdf->SetX($x);
$pdf->Cell(180, 5, '', 'B', 1, 'C');
$pdf->Ln();
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(10, 5, '(D)', 0, 0, 'L');
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(170, 5, 'PENALIDADES', 0, 1, 'C');
$pdf->Ln();
$pdf->SetX($x);
$pdf->PrintChapter('txt/proposta_artistico_pj.txt');
$pdf->SetX($x);
$pdf->MultiCell(180, 5, utf8_decode("DECLARO ESTAR CIENTE DA PENALIDADE PREVISTA NO CAMPO (D). \n" . "TODAS AS INFORMAÇÕES PRECEDENTES SÃO FIRMADAS SOB AS PENAS DA LEI."), 'T');
$pdf->Ln();
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(180, $l, "Data: _________ / _________ / " . "{$ano}" . ".", 0, 0, 'L');
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(40, $l, '', 0, 0, 'L');
$pdf->Cell(90, $l, 'ASSINATURA', 'T', 0, 'C');
示例5: ChapterBody
// Title
$this->Cell(0, 6, "Chapter {$num} : {$label}", 0, 1, 'L', true);
// Line break
$this->Ln(4);
}
function ChapterBody($file)
{
// Read text file
$txt = file_get_contents($file);
// Times 12
$this->SetFont('Times', '', 12);
// Output justified text
$this->MultiCell(0, 5, $txt);
// Line break
$this->Ln();
// Mention in italics
$this->SetFont('', 'I');
//$this->Cell(0,5,'(end of excerpt)');
}
function PrintChapter($num, $title, $file)
{
$this->AddPage();
//$this->ChapterTitle($num,$title);
$this->ChapterBody($file);
}
}
$pdf = new PDF();
$pdf->SetAuthor('CViA');
$pdf->PrintChapter(1, 'A PDF TEST', $text_file);
$pdf->Output();
unlink($text_file);
示例6: saveBid
function saveBid()
{
// Check for request forgeries
JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
$app = JFactory::getApplication();
$jbmail = JblanceHelper::get('helper.email');
// create an instance of the class EmailHelper
$projhelp = JblanceHelper::get('helper.project');
// create an instance of the class ProjectHelper
$finance = JblanceHelper::get('helper.finance');
// create an instance of the class FinanceHelper
$user = JFactory::getUser();
$post = $app->input->post->getArray();
$id = $app->input->get('id', 0, 'int');
$row = JTable::getInstance('bid', 'Table');
$message = JTable::getInstance('message', 'Table');
$project_id = $app->input->get('project_id', 0, 'int');
$proj_detail = $projhelp->getProjectDetails($project_id);
$isNew = false;
$now = JFactory::getDate();
$config = JblanceHelper::getConfig();
if ($id > 0) {
$row->load($id);
} else {
$isNew = true;
}
// if the placed bid is new, check for bids left
$lastSubscr = $finance->getLastSubscription($user->id);
if ($isNew && ($lastSubscr->bids_allowed > 0 && $lastSubscr->bids_left <= 0)) {
$msg = JText::sprintf('COM_JBLANCE_NOT_ALLOWED_TO_BID_PROJECT_LIMIT_EXCEEDED');
$link = JRoute::_('index.php?option=com_jblance&view=membership&layout=planadd', false);
$this->setRedirect($link, $msg, 'error');
return false;
}
$post['user_id'] = $user->id;
$post['outbid'] = $app->input->get('outbid', 0, 'int');
if ($isNew) {
$post['bid_date'] = $now->toSql();
// deduce `charge per bid` if amount is > 0
$plan = JblanceHelper::whichPlan($user->id);
$chargePerBid = $plan->flChargePerBid;
if ($chargePerBid > 0) {
$transDtl = JText::_('COM_JBLANCE_CHARGE_PER_BID') . ' - ' . $proj_detail->project_title;
JblanceHelper::updateTransaction($user->id, $transDtl, $chargePerBid, -1);
$msg_debit = JText::sprintf('COM_JBLANCE_YOUR_ACCOUNT_DEBITED_WITH_CURRENCY_FOR_BIDDING_PROJECT', JblanceHelper::formatCurrency($chargePerBid));
$app->enqueueMessage($msg_debit);
}
}
//if the freelancer has denied the bid and is editing, reset the status. Edit option is available if the project is reopened by buyer.
$row->status = '';
if (!$row->save($post)) {
JError::raiseError(500, $row->getError());
}
//if the project requires NDA and not signed
$is_nda_signed = $app->input->get('is_nda_signed', 0, 'int');
if ($proj_detail->is_nda && $is_nda_signed) {
jimport('joomla.filesystem.folder');
jbimport('pdflib.fpdf');
if (!JFolder::exists(JBBIDNDA_PATH)) {
if (JFolder::create(JBBIDNDA_PATH)) {
if (JFile::exists(JPATH_SITE . '/images/index.html')) {
JFile::copy(JPATH_SITE . '/images/index.html', JBBIDNDA_PATH . '/index.html');
}
}
}
$new_doc = "nda_" . $row->id . "_" . $proj_detail->id . "_" . strtotime("now") . ".pdf";
//file name format: nda_BIDID_PROJECTID_time.pdf
$dest = JBBIDNDA_PATH . '/' . $new_doc;
//replace texts in the file
$dformat = $config->dateFormat;
$ndaFile = JPATH_COMPONENT . '/images/nda.txt';
$ndaText = file_get_contents($ndaFile);
$siteURL = JURI::root();
$projectName = $proj_detail->project_title;
$startDate = JHtml::_('date', $proj_detail->start_date, $dformat . ' H:i:s', false);
$bidderName = JFactory::getUser($row->user_id)->name;
$bidDate = JHtml::_('date', $row->bid_date, $dformat . ' H:i:s', false);
$publisherName = JFactory::getUser($proj_detail->publisher_userid)->name;
$tags = array("[SITEURL]", "[PROJECTNAME]", "[STARTDATE]", "[BIDDERNAME]", "[BIDDATE]", "[PUBLISHERNAME]");
$tagsValues = array("{$siteURL}", "{$projectName}", "{$startDate}", "{$bidderName}", "{$bidDate}", "{$publisherName}");
$ndaText = str_replace($tags, $tagsValues, $ndaText);
$pdf = new PDF();
$title = JText::_('COM_JBLANCE_NON_DISCLOSURE_AGREEMENT');
$pdf->SetTitle($title);
$pdf->PrintChapter($ndaText);
$pdf->Output($dest, 'F');
$row->attachment = $title . ';' . $new_doc;
}
// save the changes after updating nda
if (!$row->store()) {
JError::raiseError(500, $row->getError());
}
$row->checkin();
//update the project posting limit in the plan subscription table
if ($isNew) {
$finance = JblanceHelper::get('helper.finance');
// create an instance of the class FinanceHelper
$finance->updateBidsLeft($user->id);
}
//save and send PM
//.........这里部分代码省略.........
示例7: ChapterBody
// Salto de l�nea
$this->Ln(4);
}
function ChapterBody($file)
{
// Leemos el fichero
$txt = file_get_contents($file);
// Times 12
$this->SetFont('Times', '', 12);
// Imprimimos el texto justificado
$this->MultiCell(0, 5, $txt);
// Salto de l�nea
$this->Ln();
// Cita en it�lica
$this->SetFont('', 'I');
$this->Cell(0, 5, '(fin del extracto)');
}
function PrintChapter($num, $title, $file)
{
$this->AddPage();
$this->ChapterTitle($num, $title);
$this->ChapterBody($file);
}
}
$pdf = new PDF();
$title = '20000 Leguas de Viaje Submarino';
$pdf->SetTitle($title);
$pdf->SetAuthor('Julio Verne');
$pdf->PrintChapter(1, 'UN RIZO DE HUIDA', '20k_c1.txt');
$pdf->PrintChapter(2, 'LOS PROS Y LOS CONTRAS', '20k_c2.txt');
$pdf->Output();
示例8: CAMPO
$pdf->Cell(80, $l, utf8_decode($rg), 0, 0, 'L');
$pdf->SetFont('Arial', 'B', 10);
$pdf->Cell(10, $l, utf8_decode('CPF:'), 0, 0, 'L');
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(50, $l, utf8_decode($cpf), 0, 1, 'L');
$pdf->SetX($x);
$pdf->Cell(180, 5, '', 'B', 1, 'C');
$pdf->Ln();
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(10, 5, '(D)', 0, 0, 'L');
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(170, 5, 'PENALIDADES', 0, 1, 'C');
$pdf->Ln();
$pdf->SetX($x);
$pdf->PrintChapter('penalidades.txt');
$pdf->SetX($x);
$pdf->Cell(180, 1, '', 'T', 1, 'C');
$pdf->Ln();
$pdf->SetX($x);
$pdf->MultiCell(180, 6, utf8_decode("DECLARO ESTAR CIENTE DA PENALIDADE PREVISTA NO CAMPO (C). \n" . "TODAS AS INFORMAÇÕES PRECEDENTES SÃO FIRMADAS SOB AS PENAS DA LEI."));
$pdf->Ln();
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(180, $l, "Data: _________ / _________ / " . "{$ano}" . ".", 0, 0, 'L');
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
示例9: PrintChapter
$this->Ln();
}
} else {
$this->SetFont('Arial', '', 11);
$this->SetTextColor(217, 83, 79);
$this->Cell(0, 6, "This course does not have lesson", 0, 1, 'L', false);
$this->Ln();
}
// Cita en itálica
$this->SetFont('', 'I');
$this->Cell(0, 5, '');
// Volver a la primera columna
//$this->SetCol(0);
}
function PrintChapter($num, $title, $file, $imgto, $aut, $count, $tp, $dt, $tot)
{
// Añadir capítulo
$this->AddPage();
$this->ChapterTitle($num, $title, $aut);
$this->ChapterBody($file, $imgto, $count, $tp, $dt, $tot);
//$this->lec($curid);
}
}
$pdf = new PDF();
$title = "Document of the course: " . $titulo . "";
$pdf->SetTitle($title);
$autor = $autornam . " " . $autorape . " - " . $autorusr;
$pdf->SetAuthor($autor);
$pdf->PrintChapter(1, $titulo, $descripcion, $img, $autor, $count, $titleto, $descto, $teoto);
//$pdf->PrintChapter(2,$titulo,$descripcion,$img);
$pdf->Output();
示例10: CAMPO
$pdf->Cell(100, $l, utf8_decode($Nome), 'T', 1, 'L');
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(100, $l, $RG, 0, 0, 'L');
// QUEBRA DE PÁGINA
$pdf->AddPage('', '');
$pdf->SetXY($x, 35);
// SetXY - DEFINE O X (largura) E O Y (altura) NA PÁGINA
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(10, 5, '(C)', 0, 0, 'L');
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(170, 5, 'PENALIDADES', 0, 1, 'C');
$pdf->Ln();
$pdf->SetX($x);
$pdf->PrintChapter('txt/proposta_oficinas_pf.txt');
$pdf->SetX($x);
$pdf->MultiCell(180, 6, utf8_decode("DECLARO ESTAR CIENTE DA PENALIDADE PREVISTA NO CAMPO (C). \n" . "TODAS AS INFORMAÇÕES PRECEDENTES SÃO FIRMADAS SOB AS PENAS DA LEI."), 'T');
$pdf->Ln();
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(180, $l, "Data: _________ / _________ / " . "{$ano}" . ".", 0, 0, 'L');
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
//RODAPÉ PERSONALIZADO
$pdf->SetXY($x, 262);
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(100, $l, utf8_decode($Nome), 'T', 1, 'L');
$pdf->SetX($x);
示例11: ChapterBody
$this->Ln(4);
}
function ChapterBody($file)
{
//Read text file
$f = fopen($file, 'r');
$txt = fread($f, filesize($file));
fclose($f);
//Times 12
$this->SetFont('Times', '', 12);
//Output justified text
$this->MultiCell(0, 5, $txt);
//Line break
$this->Ln();
//Mention in italics
$this->SetFont('', 'I');
$this->Cell(0, 5, '(end of excerpt)');
}
function PrintChapter($num, $title, $file)
{
$this->AddPage();
$this->ChapterTitle($num, $title);
$this->ChapterBody($file);
}
}
$pdf = new PDF();
$title = '20000 Leagues Under the Seas';
$pdf->SetTitle($title);
$pdf->SetAuthor('Jules Verne');
$pdf->PrintChapter(1, 'A RUNAWAY REEF', 'text.txt');
$pdf->Output('doc.pdf', 'I');
示例12: PrintChapter
//$this->Cell(0,10, 'Summary');
//Max and Min for Interest Profile
//$this->Image('http://meetuniv.com//assets/pdfImages/interest_profile.png',10,210,80);
$this->Image('http://meetuniv.com//assets/pdfImages/images1.jpg', 70, 185, 27);
/*$this->Cell(0,190, $_GET['maxtext1']);
$this->Ln();
$this->Cell(0,-180, $_GET['mintext1']);
$this->Ln(); */
//Max and Min for Motivation and Work
//$this->Image('http://meetuniv.com//assets/pdfImages/motivation_and_work.png',10,210,80);
$this->Image('http://meetuniv.com//assets/pdfImages/image2.jpg', 160, 185, 27);
/*$this->Cell(0,190, $_GET['maxtext2']);
$this->Ln();
$this->Cell(0,-180, $_GET['mintext2']); */
//$this->Ln();
}
function PrintChapter($file)
{
$this->AddPage();
//$this->ChapterTitle($num,$title);
$this->ChapterBody($file);
}
}
$pdf = new PDF();
$title = 'THE CAREER BATTERY';
$pdf->SetTitle($title);
//$pdf->SetAuthor('Jules Verne');
$pdf->PrintChapter('http://meetuniv.com//assets/pdfText.html');
//$pdf->PrintChapter(2,'THE CAREER BATTERY','http://localhost/CodeIgniter1/assets/test.html');
$pdf->Output();
示例13:
$pdf->SetFont('Arial', 'B', 9);
$pdf->Cell(10, $l, utf8_decode('CPF:'), 0, 0, 'L');
$pdf->SetFont('Arial', '', 9);
$pdf->Cell(48, $l, utf8_decode($rep02CPF), 0, 1, 'L');
$pdf->SetX($x);
$pdf->Cell(180, 2, '', 'B', 1, 'C');
//$pdf->Ln();
$l = 3.5;
//DEFINE A ALTURA DA LINHA
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 8);
$pdf->Cell(10, $l, '(D)', 0, 0, 'L');
$pdf->SetFont('Arial', 'B', 8);
$pdf->Cell(170, 5, utf8_decode('OBSERVAÇÃO'), 0, 1, 'C');
$pdf->SetX($x);
$pdf->PrintChapter('txt/proposta_reversaolonga_observacao.txt');
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 8);
$pdf->Cell(10, $l, '', 0, 0, 'L');
$pdf->SetFont('Arial', 'B', 8);
$pdf->Cell(170, 5, utf8_decode('DECLARAÇÕES'), 0, 1, 'C');
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 8);
$pdf->MultiCell(0, $l, utf8_decode($txtPenalidade), 0, 'J');
//$pdf->Ln();
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 9);
$pdf->Cell(180, $l, "Data: _________ / _________ / " . "{$ano}" . ".", 0, 0, 'L');
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
示例14: substr
$archivo_sal = $anos . $dependencia . $sec . "_1";
}
if ($gen_rad == "false") {
$rad_definitivo = $numrad;
$radsal = substr($numrad, 1, 13);
$rad_salida = $radsal;
$radsal = $radsal . EAN13_DV($radsal);
$archivo_sal = $rad_definitivo . "_1";
} else {
$rad_definitivo = $numrad;
$radsal = $numrad . EAN13_DV($radsal);
}
$pdf->AddPage();
$pdf->Image("escudo.jpg", 10, 8, 23);
$pdf->EAN13(160, 30, $radsal);
$pdf->PrintChapter(2, '2', $archivo);
//$title = "SUPERINTENDENCIA DE SERVICIOS PUBLICOS ";
//$pdf->SetTitle($title);
$title = "";
if ($radicar_documento) {
$arpdf = "rad_salida/{$fano}/{$dependencia}/{$fmes}/2{$archivo_sal}.pdf";
$pdf->Output($arpdf);
echo "<B><CENTER><a href={$arpdf}?fecha_h={$fechah}> Ver Archivo Pdf </a><br>";
if ($sec) {
$plg_codi = str_pad($numero_pla, 4, "0", STR_PAD_left);
$plg_comentarios = "";
$plt_codi = $plt_codi;
$rad_salida = "2" . $rad_salida;
$isql = "update PL_GENERADO_PLG set PLT_CODI=2,RADI_NUME_SAL={$rad_salida},\n\t\t PLG_ARCHIVO_FINAL='{$arpdf}',PLG_CREA_FECH=SYSDATE\t\t \n\t\t where PLG_CODI={$plantillaper1} and RADI_NUME_RADI={$numrad}";
ora_commiton($handle);
$cursor = ora_open($handle);
示例15: CAMPO
$pdf->Cell(82, $l, utf8_decode($rep02RG), 0, 0, 'L');
$pdf->SetFont('Arial', 'B', 10);
$pdf->Cell(10, $l, utf8_decode('CPF:'), 0, 0, 'L');
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(48, $l, utf8_decode($rep02CPF), 0, 1, 'L');
$pdf->SetX($x);
$pdf->Cell(180, 5, '', 'B', 1, 'C');
$pdf->Ln();
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(10, 5, '(D)', 0, 0, 'L');
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(170, 5, 'PENALIDADES', 0, 1, 'C');
$pdf->Ln();
$pdf->SetX($x);
$pdf->PrintChapter('txt/proposta_com001-15_pj.txt');
$pdf->SetX($x);
$pdf->MultiCell(180, 5, utf8_decode("DECLARO ESTAR CIENTE DA PENALIDADE PREVISTA NO CAMPO (D). \n" . "TODAS AS INFORMAÇÕES PRECEDENTES SÃO FIRMADAS SOB AS PENAS DA LEI."), 'T');
$pdf->Ln();
$pdf->SetX($x);
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(180, $l, "Data: _________ / _________ / " . "{$ano}" . ".", 0, 0, 'L');
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
$pdf->Ln();
//RODAPÉ PERSONALIZADO
$pdf->SetXY($x, 262);
$pdf->SetFont('Arial', '', 10);
$pdf->Cell(85, $l, utf8_decode($rep01Nome), 'T', 0, 'L');