} } $i=0; $ny=$pdf->GetY();$my=0; $i=0;$pdf->MultiCell($twx[$i], 0, $row++, 0, $tax[$i++], 0, 0, '', '', true);if($pdf->getLastH()>$my)$my=$pdf->getLastH(); // 10. Row data: >> Edit cetak_kolom($r['barkode']); cetak_kolom(buku_judul($r['judul'])); cetak_kolom($r['callnumber']); cetak_kolom($r['isbn']); cetak_kolom($r['npengarang']); cetak_kolom($r['npenerbit']); cetak_kolom($r['cek']); cetak_kolom($r['note']); // End of Row data (10): Udah :) $tx=$dcMarginL; $gy=$ny+$my; $pdf->Line($tx,$ny,$tx,$gy); for($l=0;$l<$i;$l++){ $tx=$tx+$twx[$l]; $pdf->Line($tx,$ny,$tx,$gy); //if($fst) $pdf->MultiCell(10, 0, $twx[$twx_n-1], 1, 'C');//, 1, 0, '', '', true); } //$pdf->Line($tx+$twx[$twx_n-1],$ny,$tx+$twx[$twx_n-1],$gy);
$pdf->MultiCell($twx[$i], 0, $row++, 0, $tax[$i++], 0, 0, '', '', true); if ($pdf->getLastH() > $my) { $my = $pdf->getLastH(); } // 10. Row data: >> Edit $q = mysql_query("SELECT replid FROM psb_calonsiswa WHERE proses = '" . $r['replid'] . "'"); $n = mysql_num_rows($q); $q = mysql_query("SELECT replid FROM psb_calonsiswa WHERE proses = '" . $r['replid'] . "' AND status<>0"); $n1 = mysql_num_rows($q); cetak_kolom($r['proses']); cetak_kolom($r['kodeawalan']); cetak_kolom($r['kapasitas']); cetak_kolom($n); cetak_kolom($n1); cetak_kolom($r['aktif'] == '1' ? 'Dibuka' : 'Ditutup'); cetak_kolom($r['keterangan']); // End of Row data (10): Udah :) $tx = $dcMarginL; $pdf->Line($tx, $ny, $tx, $ny + $my); for ($l = 0; $l < $i; $l++) { $pdf->Line($tx + $twx[$l], $ny, $tx + $twx[$l], $ny + $my); $tx += $twx[$l]; } $pdf->Line($dcMarginL, $ny + $my, $tx, $ny + $my); $pdf->Ln(); $pdf->setY($ny + $my); } $pdf->setCellPaddings(0, 0, 0, 0); $pdf->Ln(); // reset pointer to the last page } else {