Skip to content

Commit

Permalink
pdf'yi biraz daha sığdır, yüksekokulu atla
Browse files Browse the repository at this point in the history
  • Loading branch information
roktas committed Aug 11, 2010
1 parent c1bc932 commit d9e18cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions inc/cikti.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ function pdf($kul) {
'il' => 'İl',
'ilce' => 'İlçe',
'uni' => 'Üniversite',
'yokul' => 'Yüksek Okul',
),
'İş Bilgileri' => array(
'calismakurum' => 'Kurum',
Expand All @@ -57,11 +56,11 @@ function pdf($kul) {
$pdf->SetFont('dejavusans', 'B', 14);
$pdf->Cell(0, 5, $kesim, 0, 1, 'L');

$pdf->SetFont('dejavusans', '', 11);
$pdf->SetFont('dejavusans', '', 10);
foreach ($bilgi as $alan => $baslik) {
$deger = $kul->$alan;
$pdf->MultiCell(40, 1, $baslik . ':', 0, 'L', 0, 0, '25', '', true);
$pdf->MultiCell(100, 1, $deger, 0, 'L', 0, 0, '', '', true);
$pdf->MultiCell(30, 1, $baslik . ':', 0, 'L', 0, 0, '25', '', true);
$pdf->MultiCell(180, 1, $deger, 0, 'L', 0, 0, '', '', true);
$pdf->Ln(5);
}

Expand Down
7 changes: 3 additions & 4 deletions inc/sorgucikti.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ function pdf($kul) {
'il' => 'İl',
'ilce' => 'İlçe',
'uni' => 'Üniversite',
'yokul' => 'Yüksek Okul',
),
'İş Bilgileri' => array(
'calismakurum' => 'Kurum',
Expand All @@ -57,11 +56,11 @@ function pdf($kul) {
$pdf->SetFont('dejavusans', 'B', 14);
$pdf->Cell(0, 5, $kesim, 0, 1, 'L');

$pdf->SetFont('dejavusans', '', 11);
$pdf->SetFont('dejavusans', '', 10);
foreach ($bilgi as $alan => $baslik) {
$deger = $kul->$alan;
$pdf->MultiCell(40, 1, $baslik . ':', 0, 'L', 0, 0, '25', '', true);
$pdf->MultiCell(100, 1, $deger, 0, 'L', 0, 0, '', '', true);
$pdf->MultiCell(30, 1, $baslik . ':', 0, 'L', 0, 0, '25', '', true);
$pdf->MultiCell(180, 1, $deger, 0, 'L', 0, 0, '', '', true);
$pdf->Ln(5);
}

Expand Down

0 comments on commit d9e18cd

Please sign in to comment.