$fakulteti = $_POST['txt_edu_faculty'];
$specialoba = $_POST['txt_edu_profession'];
$xarisxi = $_POST['txt_edu_degree'];
$periodii = $_POST['txt_edu_period'];
$enebi = $_POST['txt_lang_name'];
$skills = $_POST['txt_skill_name'];
$organizacia = $_POST['txt_work_name'];
$pozicia = $_POST['txt_work_position'];
$periodi = $_POST['txt_work_period'];
$pdf->AddPage();
$pdf->SetFont('Arial', 'B', 15);
$pdf->Cell(0, 10, 'CV', 1, 1, 'C');
$pdf->Ln();
$pdf->SetFont('Arial', '', 12);
//$pdf->Cell(50,7,'Image:',1,"R");
$pdf->image($target_file, null, null, 50, 55);
$pdf->Ln();
if ($_POST['saxeli'] != '') {
    $pdf->Cell(50, 7, 'Name:', 1, "R");
    $pdf->Cell(140, 7, $_POST['saxeli'], 1);
}
$pdf->Ln();
if ($_POST['gvari'] != '') {
    $pdf->Cell(50, 7, 'Surname:', 1, "R");
    $pdf->Cell(140, 7, $_POST['gvari'], 1);
}
$pdf->Ln();
if ($_POST['dabadeba'] != '') {
    $pdf->Cell(50, 7, 'Date of birthday:', 1, "R");
    $pdf->Cell(140, 7, $_POST['dabadeba'], 1);
}
示例#2
0
<?php

require_once "lib/ebpls.utils.php";
define('FPDF_FONTPATH', 'font/');
require 'ebpls-php-lib/html2pdf_lib/fpdf.php';
include "lib/phpFunctions-inc.php";
$dbLink = get_db_connection();
$result = mysql_query("select lgumunicipality, lguprovince, lguoffice from ebpls_buss_preference") or die(mysql_error());
$resulta = mysql_fetch_row($result);
$pdf = new FPDF('L', 'mm', 'Legal');
$pdf->AddPage();
$pdf->image('peoplesmall.jpg', 10, 5, 33);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(340, 5, 'REPUBLIC OF THE PHILIPPINES', 0, 1, 'C');
$pdf->Cell(340, 5, $resulta[0], 0, 1, 'C');
$pdf->Cell(340, 5, $resulta[1], 0, 2, 'C');
$pdf->SetFont('Arial', 'B', 14);
$pdf->Cell(340, 5, $resulta[2], 0, 2, 'C');
$pdf->Cell(340, 5, '', 0, 2, 'C');
$pdf->SetFont('Arial', 'BU', 16);
$pdf->Cell(340, 5, 'REGISTRY OF MOTOR VEHICLES', 0, 1, 'C');
/*			$result=mysql_query("select a.business_permit_code, concat(c.owner_first_name, ' ', c.owner_middle_name, ' ', c.owner_last_name),
	        b.business_name, e.bus_nature, b.business_street, e.cap_inv, e.last_yr, d.total_amount_paid, d.or_no, 
	        d.or_date, b.business_category_code
					from ebpls_business_enterprise_permit a, ebpls_business_enterprise b, ebpls_owner c, ebpls_transaction_payment_or d, 
					tempbusnature e
					where a.owner_id = b.owner_id and a.owner_id = c.owner_id and b.owner_id = d.trans_id and b.business_id = e.business_id") 
					or die(mysql_error());
					
					$number_of_rows = mysql_numrows($result);
          while ($resulta=mysql_fetch_row($result))
$instrucoes7 = "                 de ISSQN e DIVIDA ATIVA.";
$desconto_abatimento = "";
$outras_deducoes = "";
$mora_multa = "";
$outros_acrecimos = "";
$valor_cobrado = "";
$sacado1 = $z01_nome;
$sacado2 = $z01_ender;
$sacado3 = $z01_munic;
$matri = array("1" => "janeiro", "2" => "Fevereiro", "3" => "Março", "4" => "Abril", "5" => "Maio", "6" => "Junho", "7" => "Julho", "8" => "Agosto", "9" => "Setembro", "10" => "Outubro", "11" => "Novembro", "12" => "Dezembro");
$mesx = $matri[$q20_mes];
$pdf = new FPDF();
$pdf->Open();
$pdf->AliasNbPages();
$pdf->AddPage();
$pdf->image('imagens/files/logo_boleto.png', 10, 2, 17);
$pdf->setfont('arial', 'B', 10);
$coluna = 30;
$pdf->text($coluna, 5, $nomeinst);
$pdf->setfont('arial', '', 8);
$pdf->text($coluna, 9, $ender);
$pdf->text($coluna, 12, $munic . ' - ' . $uf);
$pdf->text($coluna, 15, $telef);
$pdf->text($coluna, 18, $email);
$pdf->text($coluna, 21, $url);
$clquery->sql_query("cgm", "z01_nome", "", "z01_numcgm= {$q20_numcgm}");
$clquery->sql_record($clquery->sql);
db_fieldsmemory($clquery->result, 0);
$pdf->sety(25);
$pdf->setfont('arial', 'B', 10);
$pdf->multicell(0, 4, 'ISSQN COM RETENÇÃO NA FONTE', 0, "C", 0);
示例#4
0
$base = mysql_connect($host, $user, $password);
mysql_select_db($bdd) or die("Impossible de se connecter a la base de donnees {$bdd}");
$id = $_GET['id'];
$pdf = new FPDF('L', 'mm', array(90, 55));
// Creation de la page pdf
$pdf->AddPage();
$pdf->SetFillColor(100, 149, 237);
// Requete d'affichage des datas du contact
$sql = "SELECT * FROM contacts where id =" . $id;
$envoi_requete = mysql_query($sql);
$pdf->SetFont('arial', '', 9);
if ($resultats = mysql_fetch_assoc($envoi_requete)) {
    $pdf->SetAutoPageBreak(false);
    // Affichage photo
    $pdf->SetLeftMargin(10);
    $pdf->image($resultats['photo'], null, null, 20);
    // Affichage nom du contact
    $pdf->SetFont('Arial', "B");
    $pdf->SetTextColor(100, 149, 237);
    $pdf->SetLeftMargin(50);
    $pdf->SetY(-45);
    $pdf->Cell(40, 6, $resultats['nom_prenom']);
    $pdf->Ln();
    // Affichage téléphone
    $pdf->SetFont('Arial', "");
    $pdf->SetTextColor('0', '0', '0');
    $telephone = str_split($resultats['telephone'], 2);
    $num_tel = "";
    for ($x = 0; $x < count($telephone); $x++) {
        if ($x > 0 && $x < count($telephone)) {
            $num_tel .= "." . $telephone[$x];
示例#5
0
require '../ebpls-php-lib/html2pdf_lib/fpdf.php';
include "../lib/phpFunctions-inc.php";
include "../includes/variables.php";
include "../lib/multidbconnection.php";
$dbLink = Open($dbtype, $connecttype, $dbhost, $dbuser, $dbpass, $dbname);
$e = strrpos($owner_last, "-");
//$owner_last is date
$l = strlen($owner_last);
$dateprev = substr($owner_last, 0, 4);
$dateprev = $dateprev;
$datenext = $dateprev + 1;
$result = mysql_query("select lgumunicipality, lguprovince, lguoffice from ebpls_buss_preference") or die(mysql_error());
$resulta = mysql_fetch_row($result);
$pdf = new FPDF('L', 'mm', 'Legal');
$pdf->AddPage();
$pdf->image('../images/ebpls_logo.jpg', 10, 5, 33);
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(340, 5, 'REPUBLIC OF THE PHILIPPINES', 0, 1, 'C');
$pdf->Cell(340, 5, $resulta[0], 0, 1, 'C');
$pdf->Cell(340, 5, $resulta[1], 0, 2, 'C');
$pdf->SetFont('Arial', 'B', 14);
$pdf->Cell(340, 5, $resulta[2], 0, 2, 'C');
$pdf->Cell(340, 5, '', 0, 2, 'C');
$pdf->SetFont('Arial', 'BU', 16);
$pdf->Cell(340, 5, 'BUSINESS TAX COLLECTION QUARTERLY', 0, 1, 'C');
$pdf->SetLineWidth(2);
$pdf->Line(0, 45, 360, 45);
$pdf->SetLineWidth(0);
$pdf->Cell(270, 5, '', 0, 1, 'C');
$pdf->Cell(270, 5, '', 0, 1, 'C');
$Y_Label_position = 50;
示例#6
0
<?php

require 'functions/fpdf.php';
$id = $_POST['id'];
$group = stripslashes(strtoupper($_POST['group']));
$cause = stripslashes($_POST['cause']);
$pdf = new FPDF('p', 'pt', 'letter');
$pdf->SetMargins(50, 50, 50);
$pdf->AddPage();
$pdf->SetFont('Arial', 'B', 27);
$message = "{$group}\nNEEDS YOUR HELP!";
$pdf->MultiCell(0, 30, $message, 0, 'C', 0);
$im = 'images/approved/' . "{$id}" . '.jpg';
$size = getimagesize($im);
$x = (612 - $size[0]) / 2;
$y = 122;
$pdf->image($im, $x, $y);
$pdf->SetY($size[1] + 122 + 20);
$pdf->SetFont('Arial', '', 14);
$message = $cause;
$pdf->MultiCell(0, 14, $message, 0, 'J', 0);
$pdf->ln();
$message = "Go to www.benfund.com\nEnter the Benfund#: {$id} and click DONATE!\n\nFollow the on-screen instructions to complete you donation.";
$pdf->SetFont('Arial', 'B', 20);
$pdf->MultiCell(0, 21, $message, 0, 'C', 0);
$pdf->Output('benfund.pdf', 'I');