当前位置: 首页>>代码示例>>PHP>>正文


PHP HeaderLogo函数代码示例

本文整理汇总了PHP中HeaderLogo函数的典型用法代码示例。如果您正苦于以下问题:PHP HeaderLogo函数的具体用法?PHP HeaderLogo怎么用?PHP HeaderLogo使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了HeaderLogo函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: BuatHeaderKursi

function BuatHeaderKursi($jdwl, $thn, $p)
{
    $t = 6;
    $lbr = 190;
    $p->AddPage('P');
    HeaderLogo('PRESENSI UJIAN AKHIR SEMESTER', $p, 'P');
    $arr = array();
    $arr[] = array('Mata Kuliah', $jdwl['MKKode'] . '   ' . $jdwl['Nama']);
    $arr[] = array('Dosen Pengasuh', $jdwl['DSN']);
    $arr[] = array('Program Studi', $jdwl['_PRD'] . ' (' . $jdwl['_PRG'] . ')', 'Semester / SKS', $jdwl['Sesi'] . ' / ' . $jdwl['SKS']);
    $arr[] = array('Kelas / Thn Akd', $jdwl['namaKelas'] . ' / ' . $thn['Nama'], 'Hari / Tgl Ujian', $jdwl['HRUAS'] . ' / ' . $jdwl['_UASTanggal'] . ' / ' . $jdwl['_UASJamMulai'] . ' - ' . $jdwl['_UASJamSelesai']);
    // Tampilkan
    $p->SetFont('Helvetica', '', 9);
    foreach ($arr as $a) {
        $p->SetFont('Helvetica', 'I', 9);
        $p->Cell(30, $t, $a[0], 0, 0);
        $p->Cell(4, $t, ':', 0, 0, 'C');
        $p->SetFont('Helvetica', 'B', 9);
        $p->Cell(70, $t, $a[1], 0, 0);
        if (!empty($a[2])) {
            $p->SetFont('Helvetica', 'I', 9);
            $p->Cell(30, $t, $a[2], 0, 0);
            $p->Cell(4, $t, ':', 0, 0, 'C');
            $p->SetFont('Helvetica', 'B', 9);
            $p->Cell(70, $t, $a[3], 0, 0);
        }
        $p->Ln($t);
    }
    $p->Ln(2);
}
开发者ID:anggadjava,项目名称:mitra_siakad,代码行数:30,代码来源:jadwal.kursiuas.php

示例2: BuatHeadernya

function BuatHeadernya($klmn, $stt, $p)
{
    global $lbr;
    HeaderLogo("Rekapitulasi Jumlah Mahasiswa Per Angkatan", $p, 'P');
    $p->Ln($t);
    $t = 5;
    $p->SetFont('Helvetica', 'BI', 9);
    // Baris 1
    $p->Cell(15, $t, 'Tahun', 'LTR', 0, 'C');
    $p->Cell(13, $t, 'Total', 'LTR', 0, 'R');
    $p->Cell(13 * sizeof($klmn), $t, 'Gender', 1, 0, 'C');
    $p->Cell(13 * sizeof($stt), $t, 'Status Mhsw', 1, 0, 'C');
    $p->Ln($t);
    // Baris 2
    $p->Cell(15, $t, 'Angktn', 'LBR', 0, 'C');
    $p->Cell(13, $t, 'Mhsw', 'LBR', 0, 'R');
    // Kelamin
    foreach ($klmn as $k) {
        $p->Cell(13, $t, $k, 1, 0, 'R');
    }
    // Status
    foreach ($stt as $_stt) {
        $p->Cell(13, $t, $_stt, 1, 0, 'R');
    }
    $p->Ln($t);
}
开发者ID:anggadjava,项目名称:sisfor,代码行数:26,代码来源:lapakd.statusmhsw0.php

示例3: BuatHeaderKursi

function BuatHeaderKursi($jdwl, $thn, $p)
{
    $t = 6;
    $lbr = 190;
    $p->AddPage('P');
    HeaderLogo('DAFTAR HADIR UJIAN AKHIR SEMESTER', $p, 'P');
    $arr = array();
    $arr[] = array('Mata Kuliah', $jdwl['MKKode'] . '   ' . $jdwl['Nama']);
    $arr[] = array('Dosen Pengampu', $jdwl['DSN']);
    $arr[] = array('Program Studi', $jdwl['_PRD'] . ' (' . $jdwl['_PRG'] . ')', '', '');
    $arr[] = array('Thn Akd', $thn['Nama'], 'Semester / SKS', $jdwl['Sesi'] . ' / ' . $jdwl['SKS']);
    // Tampilkan
    $p->SetFont('Helvetica', '', 9);
    foreach ($arr as $a) {
        $p->SetFont('Helvetica', 'I', 9);
        $p->Cell(30, $t, $a[0], 0, 0);
        $p->Cell(4, $t, ':', 0, 0, 'C');
        $p->SetFont('Helvetica', 'B', 9);
        $p->Cell(70, $t, $a[1], 0, 0);
        if (!empty($a[2])) {
            $p->SetFont('Helvetica', 'I', 9);
            $p->Cell(30, $t, $a[2], 0, 0);
            $p->Cell(4, $t, ':', 0, 0, 'C');
            $p->SetFont('Helvetica', 'B', 9);
            $p->Cell(70, $t, $a[3], 0, 0);
        }
        $p->Ln($t);
    }
    $p->Ln(2);
}
开发者ID:anggadjava,项目名称:sisfor,代码行数:30,代码来源:jadwal.kursiuas.php

示例4: CetakHeadernya

function CetakHeadernya($MKPaketID, $p)
{
    $lbr = 190;
    $t = 6;
    if (empty($MKPaketID)) {
        $_pid = "(SEMUA)";
    } else {
        $_pid = GetaField('mkpaket', "MKPaketID='{$MKPaketID}' and KodeID", KodeID, 'Nama');
    }
    HeaderLogo("Daftar Mata Kuliah Paket: {$_pid}", $p, 'P');
}
开发者ID:anggadjava,项目名称:mitra_siakad,代码行数:11,代码来源:matakuliah.cetakpaket.php

示例5: BuatIsinya

function BuatIsinya($TahunID, $ProdiID, $p)
{
    $maxentryperpage = 45;
    $whr_prodi = empty($ProdiID) ? '' : "and h.ProdiID = '{$ProdiID}' ";
    $whr_tahun = empty($TahunID) ? '' : "and h.TahunID = '{$TahunID}' ";
    $s = "select h.*,\r\n      m.Nama as NamaMhsw,\r\n      d.Nama as NamaPA, d.Gelar\r\n    from khs h\r\n      left outer join mhsw m on m.MhswID = h.MhswID and m.KodeID = '" . KodeID . "'\r\n      left outer join dosen d on d.Login = m.PenasehatAkademik and d.KodeID = '" . KodeID . "'\r\n    where h.KodeID = '" . KodeID . "'\r\n      and h.TahunID = '{$TahunID}'\r\n      and h.SKS > 0\r\n      {$whr_prodi}\r\n\t  {$whr_tahun}\r\n    order by h.ProdiID, h.MhswID";
    $r = _query($s);
    $n = 0;
    $t = 5;
    $_prd = 'laksdjfalksdfh';
    $ttl = 0;
    while ($w = _fetch_array($r)) {
        if ($_prd != $w['ProdiID']) {
            $p->Ln($t);
            $p->SetFont('Helvetica', 'B', 12);
            $p->Cell(100, $t, 'Jumlah Mahasiswa: ' . $ttl, 0, 0);
            $p->SetFont('Helvetica', '', 10);
            $_prd = $w['ProdiID'];
            $NamaProdi = GetaField('prodi', "KodeID='" . KodeID . "' and ProdiID", $_prd, 'Nama');
            $p->AddPage();
            HeaderLogo("Daftar Mahasiswa Berdasarkan Prodi", $p);
            BuatHeader($TahunID, $NamaProdi, 1, $p);
            $ttl = 0;
        }
        // Edit: Ilham
        // Line: 69
        if ($ttl > 0 and $ttl % $maxentryperpage == 0) {
            $p->AddPage();
            //HeaderLogo("Daftar Mahasiswa Berdasarkan Agama", $p, 'P');
            HeaderLogo("Daftar Mahasiswa Berdasarkan Prodi", $p, 'P');
            BuatHeader($TahunID, $NamaProdi, ceil($ttl / $maxentryperpage) + 1, $p);
        }
        $n++;
        $NamaPA = empty($w['NamaPA']) ? '(Belum diset)' : $w['NamaPA'];
        $p->SetFont('Helvetica', '', 10);
        $p->Cell(15, $t, $n, 'LB', 0);
        $p->Cell(25, $t, $w['MhswID'], 'B', 0);
        $p->Cell(60, $t, $w['NamaMhsw'], 'B', 0);
        $p->Cell(10, $t, $w['Sesi'], 'B', 0, 'R');
        $p->Cell(10, $t, $w['SKS'], 'B', 0, 'R');
        $p->Cell(10, $t, $w['MaxSKS'], 'B', 0, 'R');
        $p->Cell(60, $t, $NamaPA, 'BR', 0);
        $p->Ln($t);
        $ttl++;
    }
    $p->Ln($t);
    $p->SetFont('Helvetica', 'B', 12);
    $p->Cell(100, $t, 'Jumlah Mahasiswa: ' . $ttl, 0, 0);
}
开发者ID:anggadjava,项目名称:sisfor,代码行数:49,代码来源:lapakd.prodimhsw.php

示例6: _CetakLaporanPerbandinganIPS

function _CetakLaporanPerbandinganIPS()
{
    session_start();
    include_once "../dwo.lib.php";
    include_once "../db.mysql.php";
    include_once "../connectdb.php";
    include_once "../parameter.php";
    include_once "../cekparam.php";
    // *** Parameters ***
    include_once "../fpdf.php";
    $pdf = new FPDF('L');
    $pdf->SetTitle("Laporan Perbandingan IPS");
    $pdf->SetAutoPageBreak(true, 5);
    $pdf->AddPage('L');
    $pdf->SetFont('Helvetica', 'B', 9);
    // Tampilkan datanya
    HeaderLogo("LAPORAN PERBANDINGAN IPS", $pdf, 'L');
    AmbilPerbandingan($_REQUEST['KelasID'], $_REQUEST['jmlsesi'] + 1, $pdf);
    $pdf->Output();
}
开发者ID:anggadjava,项目名称:sisfor,代码行数:20,代码来源:lapakd.statistikkelas.php

示例7: HeaderLogo

    $pdf->SetAutoPageBreak(true, 4);
    // Buat Header Logo
    HeaderLogo("DAFTAR PRESENSI MAHASISWA", $pdf, 'L');
    // Buat header dulu
    BuatHeader($jdwl, $Kolom, $pdf);
    // Buat rekap kehadiran dan tanda tangan
    BuatEnding($jdwl, $Kolom, $pdf);
    // Buat footer
    BuatFooter($jdwl, $i + 2, $totalpage, $pdf);
} else {
    $s1 = "select k.MhswID, m.Nama\r\n\t\tfrom krs k\r\n\t\t  left outer join mhsw m on m.MhswID = k.MhswID and m.KodeID = '" . KodeID . "'\r\n\t\twhere k.JadwalID = '{$jdwl['JadwalID']}'\r\n\t\torder by k.MhswID\r\n\t\tlimit {$start}, {$maxentryperpage}";
    $r1 = _query($s1);
    $pdf->AddPage('L');
    $pdf->SetAutoPageBreak(true, 5);
    // Buat Header Logo
    HeaderLogo("DAFTAR PRESENSI MAHASISWA", $pdf, 'L');
    // Buat header dulu
    BuatHeader($jdwl, $Kolom, $pdf);
    // Tampilkan datanya
    AmbilDetail($jdwl, $r1, $start, $Kolom, $pdf);
    // Buat rekap kehadiran dan tanda tangan
    BuatEnding($jdwl, $Kolom, $pdf);
    // Buat footer
    BuatFooter($jdwl, $i + 1, $totalpage, $pdf);
}
$pdf->Output();
// *** Functions ***
function BuatEnding($jdwl, $Kolom, $p)
{
    global $arrID;
    $lbrkolom = 12;
开发者ID:anggadjava,项目名称:sisfor,代码行数:31,代码来源:presensi.dhk.php

示例8: die

}
if (empty($ProdiID)) {
    die(ErrorMsg("Error", "Tentukan program studi-nya dulu.\r\n    <hr size=1 color=silver />\r\n    <input type=button name='Tutup' value='Tutup'\r\n      onClick='window.close()' />"));
}
// *** Main
$prds = getaField('prodi', "KodeID = '" . KodeID . "' and ProdiID", $ProdiID, 'Nama');
$jjgs = GetaField('jenjang', "JenjangID", GetaField('prodi', "KodeID = '" . KodeID . "' and ProdiID", $ProdiID, 'JenjangID'), "Nama");
$thn = NamaTahun($TahunID);
$pdf = new FPDF('P', 'mm', 'A4');
$pdf->SetTitle("Jadwal Ujian Komprehensif {$thn}");
$s1 = "select DISTINCT(r.KampusID) as _KMP, k.Tanggal as _TGL \r\n\t\t\tfrom kompredosen k \r\n\t\t\t\tleft outer join ruang r on k.RuangID=r.RuangID and r.KodeID='" . KodeID . "'\r\n\t\t\twhere k.KodeID='" . KodeID . "' \r\n\t\t\torder by _KMP, k.Tanggal";
$r1 = _query($s1);
while ($w1 = _fetch_array($r1)) {
    $pdf->AddPage('L');
    $pdf->SetAutoPageBreak(true, 5);
    HeaderLogo("JADWAL UJIAN KOMPREHENSIF - " . strtoupper($thn), $pdf, 'L', "JENJANG " . $jjgs . " PROGRAM STUDI: " . strtoupper($prds));
    BuatHeadernya($w1['_TGL'], $w1['_KMP'], $pdf);
    Isinya($w1['_TGL'], $w1['_KMP'], $pdf);
    BuatFooternya($pdf);
}
$pdf->Output();
// *** Functions ***
function BuatHeadernya($Tanggal, $KampusID, $p)
{
    $t = 6;
    $p->SetFont('Helvetica', 'B', 10);
    $p->Cell(30, $t, "Hari / Tanggal", 0, 0);
    $p->Cell(0, $t, ': ' . GetDateInWords($Tanggal), 0, 0);
    $p->Ln($t);
    $p->Cell(30, $t, "Tempat", 0, 0);
    $NamaKampus = GetaField('kampus', "KampusID='{$KampusID}' and KodeID", KodeID, "Nama");
开发者ID:anggadjava,项目名称:sisfor,代码行数:31,代码来源:komprehensif.cetakjadwalperhari.php

示例9: BuatHeaderDPNA

function BuatHeaderDPNA($jdwl, $thn, $p)
{
    $t = 4;
    $p->AddPage('L');
    HeaderLogo('Daftar Lengkap Siswa dan Nilai', $p, 'P');
    // Kop 2
    $p->SetXY(170, 10);
    $p->SetFont('Helvetica', '', 8);
    $mrg0 = 195;
    $lbr0 = 85;
    $identitas = GetFields('identitas', 'Kode', KodeID, '*');
    $p->Cell($mrg0);
    $p->Cell($lbr0, $t, '', 0, 1, 'C');
    $p->Cell($mrg0);
    $p->Cell($lbr0, $t, $identitas['Yayasan'], 0, 1, 'C');
    $p->Cell($mrg0);
    $p->SetFont('Helvetica', 'B', 9);
    $p->Cell($lbr0, 5, $identitas['Nama'], 0, 1, 'C');
    $p->Cell($mrg0);
    $p->Cell($lbr0, 0, '', 1, 1);
    $t = 5;
    $p->SetFont('Helvetica', '', 9);
    $d = array();
    $d[] = array('', '', '', '', '', '', 'Matakuliah', ':', $jdwl['Nama']);
    $d[] = array('', '', '', '', '', '', 'Dosen Pengasuh', ':', $jdwl['DSN']);
    $d[] = array('Kode Mata Kuliah', ':', $jdwl['MKKode'], 'Dosen Pengasuh', ':', $jdwl['DSN'], 'Program Studi', ':', $jdwl['_PRD']);
    $d[] = array('Mata Kuliah', ':', $jdwl['Nama'], 'Semester / SKS', ':', $jdwl['Sesi'] . ' / ' . $jdwl['SKS'], 'Kelas / Thn Akd.', ':', $jdwl['namaKelas'] . ' / ' . $thn['Nama']);
    $d[] = array('Kelas', ':', $jdwl['namaKelas'] . ' (' . $jdwl['_PRG'] . ')', 'Program Studi', ':', $jdwl['_PRD'], 'Semester / SKS', ':', $jdwl['Sesi'] . '/ ' . $jdwl['SKS']);
    $d[] = array('Tahun Akademik', ':', $thn['Nama'], 'Hari / Tanggal Ujian', ':', $jdwl['HRUAS'] . ' / ' . $jdwl['_UASTanggal'] . ' ' . $jdwl['_UASJamMulai'] . '-' . $jdwl['_UASJamSelesai'], 'Hari / Tgl Ujian', ':', $jdwl['HRUAS'] . ' / ' . $jdwl['_UASTanggal']);
    // Tampilkan
    //$p->Image("../img/DPNA.gif", 80, 47, 26);
    foreach ($d as $_d) {
        $p->Cell(26, $t, $_d[0], 0, 0);
        $p->Cell(4, $t, $_d[1], 0, 0);
        $p->Cell(70, $t, $_d[2], 0, 0);
        $p->Cell(30, $t, $_d[3], 0, 0);
        $p->Cell(4, $t, $_d[4], 0, 0);
        $p->Cell(60, $t, $_d[5], 0, 0);
        $p->Cell(26, $t, $_d[6], 0, 0);
        $p->Cell(4, $t, $_d[7], 0, 0);
        $p->Cell(60, $t, $_d[8], 0, 0);
        $p->Ln($t);
    }
    $p->Ln($t);
}
开发者ID:anggadjava,项目名称:mitra_siakad,代码行数:45,代码来源:jadwal.dpna.php

示例10: FPDF

include_once "../db.mysql.php";
include_once "../connectdb.php";
include_once "../parameter.php";
include_once "../cekparam.php";
include_once "../fpdf.php";
// *** Parameters ***
$id = $_REQUEST['id'];
$gel = $_REQUEST['gel'];
$lbr = 280;
$pdf = new FPDF();
$pdf->SetTitle("Formulir Pendaftaran");
// Buat semua halaman tanpa footer
$pdf->AddPage('P');
$pdf->SetAutoPageBreak(true, 5);
// Buat Header Logo
HeaderLogo('', $pdf, 'P');
// Buat Judul
$pdf->SetFont('Helvetica', 'B', 12);
$pmbformulir = GetFields('pmbformulir', "PMBFormulirID='{$id}' and KodeID", KodeID, "*");
$pdf->Cell(0, 10, $pmbformulir['Nama'], 0, 1, 'C');
// Tampilkan isiannya
Isinya($pmbformulir, $pdf);
//Buat halaman terakhir dengan footer
$pdf->Output();
// *** Functions ***
function Isinya($pmbformulir, $p)
{
    $t = 3.8;
    $lettersize = 8;
    //$style = array('width' => 0.5, 'cap' => 'round', 'join' => 'round', 'dash' => '0, 10', 'color' => array(0, 0, 0));
    //SetLineStyle($style, $p);
开发者ID:anggadjava,项目名称:mitra_siakad,代码行数:31,代码来源:pmbformjual.cetak.php

示例11: FPDF

include_once "../connectdb.php";
include_once "../parameter.php";
include_once "../cekparam.php";
include_once "../fpdf.php";
// *** Parameters ***
$prodi = $_REQUEST['prodi'];
$program = $_REQUEST['program'];
$srcmhswkey = $_REQUEST['srcmhswkey'];
$srcmhswval = $_REQUEST['srcmhswval'];
// *** Main
$pdf = new FPDF('P');
$pdf->SetTitle("Data Detail Mahasiswa");
$pdf->SetAutoPageBreak(true, 5);
$pdf->SetFillColor(200, 200, 200);
$pdf->AddPage('P');
HeaderLogo("Data Detail Mahasiswa", $pdf, 'P');
Isinya($prodi, $program, $srcmhswkey, $srcmhswval, $pdf);
$pdf->Output();
// *** Functions ***
function Isinya($prodi, $program, $srcmhswkey, $srcmhswval, $p)
{
    $lbr = 190;
    $t = 6;
    // BuatHeader
    $p->SetFont('Helvetica', 'B', 10);
    $p->Cell(10, $t, 'No.', 1, 0, 'R');
    $p->Cell(23, $t, 'NIM', 1, 0, 'L');
    $p->Cell(75, $t, 'Nama Mahasiswa', 1, 0, 'L');
    $p->Cell(15, $t, 'Prodi', 1, 0, 'C');
    //$p->Cell(15, $t, 'Program', 1, 0, 'C');
    $p->Cell(12, $t, 'Status', 1, 0, 'C');
开发者ID:anggadjava,项目名称:sisfor,代码行数:31,代码来源:mhsw.cetak.php

示例12: _CetakDistribusiMK

function _CetakDistribusiMK()
{
    session_start();
    include_once "../dwo.lib.php";
    include_once "../db.mysql.php";
    include_once "../connectdb.php";
    include_once "../parameter.php";
    include_once "../cekparam.php";
    // *** Parameters ***
    include_once "../fpdf.php";
    $pdf = new FPDF('L');
    $pdf->SetTitle("Distribusi MataKuliah");
    $pdf->SetAutoPageBreak(true, 5);
    $pdf->AddPage('L');
    $pdf->SetFont('Helvetica', 'B', 9);
    // Tampilkan datanya
    HeaderLogo("DISTRIBUSI MATA KULIAH MHSW. ANGK. " . $_SESSION['kelas_tahun'], $pdf, 'L');
    AmbilDistribusiMK('', $_REQUEST['KelasID'] + 0, $_REQUEST['prodimk'], $pdf);
    $pdf->Output();
}
开发者ID:anggadjava,项目名称:mitra_siakad,代码行数:20,代码来源:lapakd.statistikkelas2.php

示例13: FPDF

include_once "../db.mysql.php";
include_once "../connectdb.php";
include_once "../parameter.php";
include_once "../cekparam.php";
include_once "../fpdf.php";
// *** Parameters ***
$_DosenID = $_REQUEST['_detDosenID'];
$_Tahun = $_REQUEST['_detTahun'];
$_Bulan = $_REQUEST['_detBulan'];
$_id = $_REQUEST['_detid'];
// *** Init PDF
$pdf = new FPDF();
$pdf->SetTitle("Honor Dosen");
$pdf->SetAutoPageBreak(true, 5);
$pdf->AddPage();
HeaderLogo("Kwitansi Pembayaran Honor Dosen", $pdf, 'P', (empty($_id) ? "" : "Minggu Ke-" . substr(GetaField('honordosen', 'HonorDosenID', $_id, 'Minggu'), 1, 1)) . " Bulan " . UbahKeBulanIndonesia($_Bulan) . " {$_Tahun}");
BuatHeaderTable($_DosenID, $_Tahun, $_Bulan, $_id, $pdf);
$lbr = 190;
BuatIsinya($_DosenID, $_Tahun, $_Bulan, $_id, $pdf);
BuatPrintedOn('', $pdf);
$pdf->Output();
// *** Functions ***
function BuatIsinya($_DosenID, $_Tahun, $_Bulan, $_id, $p)
{
    $whr_id = empty($_id) ? "" : "and p.HonorDosenID = '{$_id}'";
    $s = "select h.*, m.Nama as Mgg \r\n        from honordosen h\r\n        left outer join minggu m on h.Minggu=m.MingguID\r\n        where h.DosenID = '{$_DosenID}'\r\n\t      and h.Bulan = '{$_Bulan}'\r\n        and h.Tahun = '{$_Tahun}'";
    /*
      $s = "select DISTINCT(j.MKKode), j.SKS,
      p.SKSHonor,
      j.Nama, 
    	  sum(p.TunjanganSKS) as _TunjanganSKS,
开发者ID:anggadjava,项目名称:mitra_siakad,代码行数:31,代码来源:hondok.cetak1.php

示例14: FPDF

$pdf = new FPDF();
$pdf->SetTitle("Tagihan Administrasi");
$pdf->SetAutoPageBreak(true, 5);
if (empty($MhswID)) {
    $s = "select MhswID from khs where TahunID='{$TahunID}' and KodeID='" . KodeID . "' order by MhswID";
    $r = _query($s);
    while ($w = _fetch_array($r)) {
        $pdf->AddPage();
        HeaderLogo('TAGIHAN ADMINISTRASI', $pdf, 'P');
        BuatHeader($TahunID, $w['MhswID'], $pdf);
        TampilkanDetailBiaya($TahunID, $w['MhswID'], $pdf);
        BuatFooter($TahunID, $w['MhswID'], $pdf);
    }
} else {
    $pdf->AddPage();
    HeaderLogo('TAGIHAN ADMINISTRASI', $pdf, 'P');
    BuatHeader($TahunID, $MhswID, $pdf);
    TampilkanDetailBiaya($TahunID, $MhswID, $pdf);
    BuatFooter($TahunID, $MhswID, $pdf);
}
$pdf->Output();
// *** functions ***
function BuatFooter($TahunID, $MhswID, $p)
{
    $t = 5;
    $p->Ln(2 * $t);
    $identitas = GetFields('identitas', 'Kode', KodeID, '*');
    $arr = array();
    $arr[] = array('', $identitas['Kota'] . ', ' . date('d M Y'));
    $arr[] = array('Mengetahui,', 'Mahasiswa,');
    $arr[] = array('', '');
开发者ID:anggadjava,项目名称:mitra_siakad,代码行数:31,代码来源:bayarmhsw.tagihan.php

示例15: HeaderLogo

    $pdf->SetAutoPageBreak(true, 4);
    // Buat Header Logo
    HeaderLogo("ABSENSI DAFTAR MAHASISWA", $pdf, 'L');
    // Buat header dulu
    BuatHeader($jdwl, $pdf);
    // Buat rekap kehadiran dan tanda tangan
    BuatEnding($jdwl, $pdf);
    // Buat footer
    BuatFooter($jdwl, $i + 2, $totalpage, $pdf);
} else {
    $s1 = "select k.MhswID, m.Nama\r\n\t\tfrom krs k\r\n\t\t  left outer join mhsw m on m.MhswID = k.MhswID and m.KodeID = '" . KodeID . "'\r\n\t\twhere k.JadwalID = '{$jdwl['JadwalID']}'\r\n\t\torder by k.MhswID\r\n\t\tlimit {$start}, {$maxentryperpage}";
    $r1 = _query($s1);
    $pdf->AddPage('L');
    $pdf->SetAutoPageBreak(true, 5);
    // Buat Header Logo
    HeaderLogo("ABSENSI DAFTAR MAHASISWA", $pdf, 'L');
    // Buat header dulu
    BuatHeader($jdwl, $pdf);
    // Tampilkan datanya
    AmbilDetail($jdwl, $r1, $start, $pdf);
    // Buat rekap kehadiran dan tanda tangan
    BuatEnding($jdwl, $pdf);
    // Buat footer
    BuatFooter($jdwl, $i + 1, $totalpage, $pdf);
}
$pdf->Output();
// *** Functions ***
function BuatEnding($jdwl, $p)
{
    global $arrID;
    $lbrkolom = 12;
开发者ID:anggadjava,项目名称:sisfor,代码行数:31,代码来源:nilai.kosong.php


注:本文中的HeaderLogo函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。