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


PHP xtable::td方法代码示例

本文整理汇总了PHP中xtable::td方法的典型用法代码示例。如果您正苦于以下问题:PHP xtable::td方法的具体用法?PHP xtable::td怎么用?PHP xtable::td使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在xtable的用法示例。


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

示例1: hiddenval

        $PSBar->end();
        hiddenval('kriteria', $krit);
        kriteria_warn(0, 'float:left');
        $PSBar->pass = false;
    }
}
$PSBar->end();
if ($PSBar->pass) {
    $t = mysql_query("SELECT psb_calonsiswa.*,aka_kelas.replid as idkelas, aka_kelas.kelas as nkelas,aka_tingkat.replid as idtingkat FROM psb_calonsiswa LEFT JOIN aka_kelas ON aka_kelas.replid=psb_calonsiswa.kelas LEFT JOIN aka_tingkat ON aka_tingkat.replid=aka_kelas.tingkat WHERE psb_calonsiswa.status='1' " . ($pros == 0 ? "" : " AND psb_calonsiswa.proses='{$pros}' ") . ($kel == 0 ? "" : " AND psb_calonsiswa.kelompok='{$kel}'") . ($krit == 0 ? "" : " AND psb_calonsiswa.kriteria='{$krit}' ") . " ORDER BY nama");
    $xtable->ndata = mysql_num_rows($t);
    if ($xtable->ndata > 0) {
        $xtable->optw = '40px';
        $xtable->head('No Pendaftaran', 'Nama', 'Kelas~C');
        while ($r = mysql_fetch_array($t)) {
            $xtable->row_begin();
            $xtable->td($r['nopendaftaran'], 100);
            $xtable->td($r['nama']);
            $k = $r['idkelas'] != 0 ? '<a class="linkb" href="javascript:void(0)" onclick="penempatan_kelas_get(' . $r['idkelas'] . ',' . $r['idtingkat'] . ')" title="Tampilkan kelas ' . $r['nkelas'] . '">' . $r['nkelas'] . '</a>' : '';
            $xtable->td($k, 100, 'c');
            if (admin_isoperator() && $r['idsiswa'] == 0) {
                $s = '<button class="btn" title="Tempatkan siswa" onclick="penempatan_form(\'af\',<id>)"><div class="bi_arrow2b">&nbsp;</div></button>';
            } else {
                $s = '<div style="height:23px;width:20px"></div>';
            }
            $xtable->opt($r['replid'], $s);
            $xtable->row_end();
        }
        $xtable->foot();
    } else {
        $xtable->nodata_cust('Belum ada calon siswa yang diterima pada kelompok penerimaan ini.');
    }
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:penempatan_calon_get.php

示例2: xtable

<?php

require_once MODDIR . 'xtable/xtable.php';
$fmod = 'pendataan_saudara';
$xtable = new xtable($fmod);
$xtable->row_strip = false;
// Query
$sql = "SELECT * FROM psb_tmp_saudara WHERE sesid='" . session_id() . "' ORDER BY replid";
$t = mysql_query($sql);
$xtable->ndata = mysql_num_rows($t);
if ($xtable->ndata > 0) {
    $xtable->begin();
    while ($r = mysql_fetch_array($t)) {
        $xtable->row_begin();
        $s = '<div class="psf12200">Nama: <b>' . $r['nama'] . '</b></div>';
        if ($r['tgllahir'] != '0000-00-00') {
            $s .= '<div class="psf12200">Tanggal lahir: ' . fftgl($r['tgllahir']) . '</div>';
        }
        if ($r['sekolah'] != '') {
            $s .= '<div class="psf12200">Sekolah: ' . $r['sekolah'] . '</div>';
        }
        $xtable->td($s);
        $xtable->opt_ud($r['replid']);
        $xtable->row_end();
    }
    $xtable->foot();
} else {
}
开发者ID:epiii,项目名称:siadu-epiii,代码行数:28,代码来源:pendataan_saudara_get.php

示例3: while

$db->where("pus_peminjaman.member='{$cid}' AND pus_peminjaman.mtipe='{$mtipe}'");
$db->order("pus_peminjaman.status DESC");
//echo $db->getsql();
$t = $db->query();
$xtable->ndata = mysql_num_rows($t);
//$xtable->btnbar_begin();
//	echo '<button class="btn" title="Tambah item" onclick="'.$fmod.'_form(\'af\')"><div class="bi_add">Item</div></button>';
//$xtable->btnbar_end();
echo '<div style="float:none !important">';
if ($xtable->ndata > 0) {
    // Table head
    $xtable->head('barkode', 'Callnumber', 'Judul', 'status', 'Dikembalikan Tgl');
    while ($r = mysql_fetch_array($t)) {
        $xtable->row_begin();
        //$xtable->td('<button class="btn" onclick="peminjaman_baliktabelpinjam('.$r['barang'].')" title="Hapus dari daftar barang yang dipinjam."><div class="bi_canb">&nbsp</div></button>',30,'c');
        $xtable->td($r['barkode'], 100);
        $xtable->td($r['callnumber'], 120);
        $xtable->td(buku_judul($r['judul']));
        $xtable->td($r['status'] == 1 ? 'Belum dikembalikan' : 'Dikembalikan', 120);
        $xtable->td(fftgl($r['tanggal3']), 120);
        if ($r['status'] == 1) {
            $s = '<button class="btn" onclick="pengembalian_buku_form(\'uf\',' . $r['replid'] . ')" title="Kembaliakan item ini."><div class="bi_inb">&nbsp;</div></button>~30';
        } else {
            $s = '&nbsp;';
        }
        $xtable->opt($r['replid'], $s);
        $xtable->row_end();
    }
    $xtable->foot();
} else {
    $xtable->nodata_cust('<span style="color:' . CLGREY . '"><i>Tidak ada data peminjaman.</i></span>');
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:pengembalian_buku_tabel.php

示例4: while

if (count($departemen) > 0) {
    // Query
    $sql = "SELECT * FROM aka_ruang WHERE departemen='{$dept}'";
    $t = mysql_query($sql);
    $xtable->ndata = mysql_num_rows($t);
    $t = mysql_query($sql . $xtable->pageorder_sql('kode', 'nama'));
    // Page Selection Bar
    $PSBar = new PSBar_2();
    $PSBar->begin();
    $PSBar->selection_departemen($fmod, $dept);
    $PSBar->end();
    $xtable->btnbar_f('add');
    if ($xtable->ndata > 0) {
        // Table head
        $xtable->head('@Kode Ruang', '@Nama Ruang', 'Keterangan');
        $nom = 1;
        while ($r = mysql_fetch_array($t)) {
            $xtable->row_begin();
            $xtable->td($r['kode'], 100);
            $xtable->td($r['nama'], 200);
            $xtable->td(nl2br($r['keterangan']));
            $xtable->opt_ud($r['replid']);
            $xtable->row_end();
        }
        $xtable->foot();
    } else {
        $xtable->nodata();
    }
} else {
    departemen_warn();
}
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:ruang.php

示例5: while

 $xtable->search_info();
 if ($xtable->ndata > 0) {
     // Table head
     $xtable->head('@Barkode Item', '@Judul Item', '@Peminjam', '@Tgl peminjaman', '@Tgl pengembalian', '@Tgl dikembalikan', '@Terlambat{R}', 'Keterangan');
     while ($r = mysql_fetch_array($t)) {
         $xtable->row_begin();
         if ($r['mtipe'] == 1) {
             $member = $r['nsiswa'] . '<br/>NIS: ' . $r['nis'];
         } else {
             if ($r['mtipe'] == 2) {
                 $member = $r['npegawai'] . '<br/>NIP: ' . $r['nip'];
             } else {
                 $member = "N/a";
             }
         }
         $xtable->td($r['barkode'], 120, '', 'item');
         $xtable->td(buku_judul($r['judul']), 250, '', 'item');
         $xtable->td($member, 200, '', 'member');
         $xtable->td(fftgl($r['tanggal1']), 120);
         if ($r['telat'] > 0) {
             $s = '<span style="color:red">' . fftgl($r['tanggal3']) . '</span>';
         } else {
             $s = fftgl($r['tanggal3']);
         }
         $xtable->td(fftgl($r['tanggal2']), 120);
         $xtable->td($s, 120);
         $xtable->td($r['telat'] > 0 ? $r['telat'] . ' hari' : '-', 80, 'r');
         $xtable->td($r['keterangan'] == '' ? '&nbsp' : nl2br($r['keterangan']));
         $xtable->row_end();
     }
     $xtable->foot();
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:pengembalian.php

示例6:

echo '<div class="infobox">Item yang sudah di cek : <b>'.$ncek_y.'</b> dari <b>'.$ncek.'</b> item.</div>';
} else {
echo '<div class="infobox">Semua item sebanyak <b>'.$ncek.'</b> item sudah dicek.</div>';
}

$xtable->search_box('cari barkode');

if($xtable->ndata>0){
	// Table head
	$xtable->head('@barkode','@judul','@Cek~C','@Waktu cek');
	while($r=mysql_fetch_array($t)){$xtable->row_begin();
		$t1=mysql_query("SELECT pus_buku.barkode,pus_katalog.judul FROM pus_buku LEFT JOIN pus_katalog ON pus_katalog.replid=pus_buku.katalog WHERE pus_buku.replid='".$r['buku']."'");
		//echo 
		$r1=mysql_fetch_array($t1);
		
		$xtable->td($r['barkode'],120);
		$xtable->td(buku_judul($r['judul']));
		$s='<span style="color:'.($r['cek']=='Y'?'':'#ff0000').'"><b>'.$r['cek'].'</b></span>';
		$xtable->td($s,40,'c');
		$d=explode(" ",$r['ts']);
		if($r['cek']=='Y') $xtable->td(fftgl($d[0])." - ".$d[1],160);
		else  $xtable->td('-',160);
		
	$xtable->row_end();}$xtable->foot();
}else{$xtable->nodata();}

echo '</div></td></tr>';

$fform->foot(1,0);

 ?>
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:stocktake_daftar.php

示例7: notifbox

    $xtable->btnbar_help();
    ?>
	</div>
	<?php 
    notifbox();
    if ($xtable->ndata > 0) {
        // Table head
        $xtable->head('&nbsp;', 'Kelompok', 'tanggal pendaftaran~C', 'Biaya pendaftaran{R}', 'Calon Siswa~C', 'Siswa Diterima~C', 'Keterangan');
        $k = 0;
        while ($r = mysql_fetch_array($t)) {
            $xtable->row_begin();
            $q = mysql_query("SELECT replid FROM psb_calonsiswa WHERE kelompok='" . $r['replid'] . "'");
            $n = mysql_num_rows($q);
            $q = mysql_query("SELECT replid FROM psb_calonsiswa WHERE kelompok='" . $r['replid'] . "' AND status<>0");
            $n1 = mysql_num_rows($q);
            $xtable->td('<div style="margin:auto;width:14px;height:14px;background:' . $bcolor[$k++] . '"></div>', 20, 'c');
            $xtable->td($r['kelompok'], 300);
            $xtable->td(fftgl($r['tglmulai']) . (fftgl($r['tglselesai']) != '-' ? '<br/>s/d ' . fftgl($r['tglselesai']) : ''), 180, 'c');
            $xtable->td(fRp($r['biaya']), 120, 'r');
            $xtable->td($n, 100, 'c');
            $xtable->td($n1, 100, 'c');
            $xtable->td(nl2br($r['keterangan']));
            $xtable->opt_ud($r['replid']);
            $xtable->row_end();
        }
        $xtable->foot();
    } else {
        $xtable->nodata();
    }
} else {
    departemen_warn(1);
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:kelompok.php

示例8: array

 $xtable->btnbar_end();
 $absensi = array('0' => '', 'h' => 'Hadir', 'a' => 'Abstain', 'i' => 'Ijin', 's' => 'sakit');
 if ($xtable->ndata > 0) {
     // Table head
     $heads = array('@nama');
     for ($i = 1; $i <= $dim; $i++) {
         $s = '!<div class="presensi_tgl_btn" title="Edit presensi guru tanggal ' . $i . '" onclick="inputdateSetDate(\'tanggal\',\'' . $tgl_cm . $i . '\');presensiguru_form(\'af\',0)">' . $i . '</div>';
         array_push($heads, $s . '{C,24px}');
     }
     array_push($heads, '%{C}');
     array_push($heads, '{30px,C}');
     $xtable->head($heads);
     while ($r = mysql_fetch_array($t)) {
         $xtable->row_begin($r['replid']);
         //$xtable->td($r['nis'],60);
         $xtable->td($r['npegawai']);
         $nabsen = 0;
         $nhadir = 0;
         for ($i = 1; $i <= $dim; $i++) {
             $t1 = mysql_query("SELECT absen,keterangan FROM aka_absen_guru WHERE guru='" . $r['replid'] . "' AND tanggal='" . $tgl_cm . $i . "'");
             if (mysql_num_rows($t1) > 0) {
                 $r1 = mysql_fetch_array($t1);
                 $absen = $r1['absen'];
                 $info = $r1['keterangan'];
                 if ($absen != '') {
                     $nabsen++;
                     if ($absen == 'H') {
                         $nhadir++;
                     }
                 }
             } else {
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:presensiguru.php

示例9: gpost

$lok = gpost('lokasi');
$lokasi = lokasi_r($lok);
$PSBar = new PSBar_2();
// Page selection bar
$PSBar->begin();
if (count($lokasi) > 0) {
    $PSBar->selection('lokasi', iSelect('lokasi', $lokasi, $lok, $PSBar->selws, $fmod . "_get()"));
} else {
    $PSBar->end();
    hiddenval('lokasi', $lok);
    lokasi_warn();
    exit;
}
$PSBar->end();
$t = mysql_query("SELECT * FROM sar_tempat WHERE lokasi='{$lok}' ORDER BY nama");
$xtable->ndata = mysql_num_rows($t);
$xtable->btnbar_f('add');
if ($xtable->ndata > 0) {
    // Table head
    $xtable->head('Nama Tempat', 'Keterangan');
    while ($r = mysql_fetch_array($t)) {
        $xtable->row_begin();
        $xtable->td($r['nama'], 250);
        $xtable->td(nl2br($r['keterangan']));
        $xtable->opt_ud($r['replid']);
        $xtable->row_end();
    }
    $xtable->foot();
} else {
    $xtable->nodata();
}
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:tempat.php

示例10: AND

}
$PSBar->end();
if ($PSBar->pass) {
    $xtable->btnbar_begin();
    //echo iTextSrc('pskeyword',$keyw,'float:left~width:250px','NIS atau nama siswa...',"peminjaman_member_get_siswa(1)");
    $xtable->search_box();
    $xtable->btnbar_end();
    $t = mysql_query("SELECT * FROM aka_siswa WHERE kelas='{$kls}' " . ($keyw == "" ? "" : " AND (nama LIKE '%{$keyw}%' OR nis='{$keyw}') ") . " ORDER BY nama");
    $xtable->ndata = mysql_num_rows($t);
    //$xtable->search_info($keyw,'Hasil pencarian data siswa dengan NIS atau nama "<b>'.$keyw.'</b>".',"E('pskeyword').value='';peminjaman_member_get_siswa(1)");
    $xtable->search_info();
    if ($xtable->ndata > 0) {
        //$xtable->optw='50px';
        $xtable->head('!NIS', 'Nama');
        while ($r = mysql_fetch_array($t)) {
            $xtable->row_begin();
            $xtable->td(srcrep($keyw, $r['nis']), 100);
            $xtable->td(srcrep($keyw, $r['nama']));
            if (admin_isoperator()) {
                $s = '<button class="btn" title="Lihat detil" onclick="peminjaman_member_siswa_view(\'' . $r['replid'] . '\')"><div class="bi_srcb">&nbsp;</div></button>&nbsp;<button class="btn" onclick="pengembalian_member_pilih(' . $r['replid'] . ',1,\'' . $r['nama'] . '\')">Pilih</button>~75px';
            } else {
                $s = '<div style="height:23px;width:40px"></div>';
            }
            $xtable->opt($r['replid'], $s);
            $xtable->row_end();
        }
        $xtable->foot();
    } else {
        $xtable->nodata_cust('Tidak data siswa dengan NIS atau nama <b>' . $keyw . '</b> di kelas ini.');
    }
}
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:pengembalian_member_get_siswa.php

示例11: if

$xtable->search_info();

if($xtable->ndata>0){
// Table head
	$xtable->head('@Tgl peminjaman','@Peminjam','@Barkode Item','@Judul Item','@Tgl pengembalian','@Status','@Tgl dikembalikan','Terlambat{60px}','Keterangan','{44px}');
	while($r=mysql_fetch_array($t)){$xtable->row_begin();
		if($r['mtipe']==1){
			$member=$r['nsiswa'].'<br/>NIS: '.$r['nis'];
		} else if($r['mtipe']==2){
			$member=$r['npegawai'].'<br/>NIP: '.$r['nip'];
		} else {
			$member=$r['nmember'].'<br/>No. ID: '.$r['nid'];
		}
		
		$xtable->td(fftgl($r['tanggal1']),110);
		$xtable->td($member,150);
		$xtable->td($r['barkode'],120,'','item');
		$xtable->td(buku_judul($r['judul']),250);
		//Tgl Pengembalian
		$s=fftgl($r['tanggal2']); //$telat='-';
		
		if($r['status']!=0){
			$lewat=diffDay($r['tanggal2']);
			if($lewat<0 && $r['status']!=0){
				$s='<span style="color:red">'.$s.'</span>';
			}
		} else {
			$telat=diffDay($r['tanggal3'],$r['tanggal2']);
			//if($telat>0)$telat='<br/><span style="color:#ff9000">Terlambat: '.$telat.' hari</span>';
			//else $telat="";
开发者ID:nickohappy7,项目名称:sister,代码行数:30,代码来源:sirkulasi.php

示例12: while

             if ($r['jenis'] == JT_CALONSISWA) {
                 $cl = '#00c804';
             } else {
                 if ($r['jenis'] == JT_OUTCOME) {
                     $cl = '#ff1b1b';
                 } else {
                     if ($r['jenis'] == JT_UMUM) {
                         $cl = '#008aff';
                     } else {
                         $cl = '';
                     }
                 }
             }
         }
     }
     $xtable->td(fftgl($r['tanggal']) . '<br/><b><span style="color:' . $cl . '">' . $r['nomer'] . '</span></b>', 110);
     $xtable->td(nl2br($r['uraian']), 250);
     $t1 = mysql_query("SELECT keu_jurnal.debet,keu_jurnal.kredit,keu_rekening.kode as koderek,keu_rekening.nama as nrek FROM keu_jurnal LEFT JOIN keu_rekening ON keu_rekening.replid=keu_jurnal.rek WHERE keu_jurnal.transaksi='" . $r['replid'] . "' ORDER BY keu_jurnal.replid");
     if (mysql_num_rows($t1) > 0) {
         $s = '<div style="background:#fff"><table class="xtable_norm" cellspacing="0" cellpadding="4px" width="100%">';
         while ($r1 = mysql_fetch_array($t1)) {
             $s .= '<tr><td>' . $r1['nrek'] . '</td><td width="40px" align="center">' . $r1['koderek'] . '</td><td width="100px" align="right">' . fRp($r1['debet']) . '</td><td width="100px" align="right">' . fRp($r1['kredit']) . '</td></tr>';
         }
         $s .= '</table></div>';
     } else {
         $s = '';
     }
     $xtable->td($s);
     $xtable->opt_ud($r['replid']);
 }
 $xtable->foot();
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:penerimaan_transaksi_get.php

示例13: while

$db->join("rek", "keu_rekening");
$db->where_and("keu_transaksi.tahunbuku='{$tahunbuku}'");
$db->where_and("keu_rekening.kategorirek='1'");
$db->order("keu_transaksi.tanggal,keu_transaksi.nomer");
$t = $db->query();
$xtable->ndata = mysql_num_rows($t);
echo '<div class="sfont" style="font-size:13px;float:left;width:1000px;text-align:left;margin-top:20px;margin-bottom:20px;text-align:center">Tahun Buku: ' . $bukutahun['nama'] . '</div>';
if ($xtable->ndata > 0) {
    // echo '<div class="sfont" style="font-size:13px;float:left;width:800px;text-align:left;margin-bottom:4px">['.$jd['koderek'].'] '.$jd['nrek'].'</div>';
    // Table head
    $xtable->head('Tanggal', 'Kode Rekening{C,70px}', 'Nama Perkiraan', 'Nomor Transaksi{70px}', 'Uraian', 'Debet{R,100px}', 'Kredit{R,100px}');
    $debet = 0;
    $kredit = 0;
    while ($r = mysql_fetch_array($t)) {
        $xtable->row_begin();
        $xtable->td(fhtgl($r['tanggal']), 80);
        $xtable->td($r['koderek'], 70, 'c');
        $xtable->td($r['nrek'], 120);
        $xtable->td($r['nomer'], 120);
        $xtable->td($r['uraian']);
        $xtable->td(fRp($r['debet'], 0), 100, 'r');
        $debet += $r['debet'];
        $xtable->td(fRp($r['kredit'], 0), 100, 'r');
        $kredit += $r['kredit'];
        $xtable->row_end();
    }
    $xtable->row_begin();
    $s = 'style="border-top:2px solid #88d9ff"';
    $xtable->td('', '', '', $s);
    $xtable->td('', '', '', $s);
    $xtable->td('', '', '', $s);
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:transaksi_bukutambahan.php

示例14: xdb

// Query
$db=new xdb("pus_tpjm");
$db->field('pus_tpjm:replid','pus_peminjaman:tanggal1,tanggal2','pus_buku:barkode,idbuku','pus_katalog:judul');
$db->join('peminjaman','pus_peminjaman');
$db->joinother('pus_peminjaman','buku','pus_buku');
$db->joinother('pus_buku','katalog','pus_katalog','replid');
$db->where("ssid='$ssid'");
$t=$db->query();
$xtable->ndata=mysql_num_rows($t);

echo '<div style="float:none !important">';
if($xtable->ndata>0){
	// Table head
	$xtable->head('Barkode','Judul','Tgl pengembalian','Terlambat','{44px}');
	while($r=mysql_fetch_array($t)){$xtable->row_begin();
				
		//$xtable->td('<button class="btn" onclick="pengembalian_baliktabelpinjam('.$r['barang'].')" title="Hapus dari daftar barang yang dipinjam."><div class="bi_canb">&nbsp</div></button>',30,'c');
		$xtable->td($r['barkode'],100);
		$xtable->td(buku_judul($r['judul']));
		$xtable->td(fftgl($r['tanggal2']),110);
		$telat=diffDay($r['tanggal2']);
		$xtable->td(($telat<0?(-$telat).' hari':'-'),80);
		$s='<button class="btn" onclick="'.$fmod.'_form(\'d\','.$r['replid'].')" title="Keluarkan dari daftar"><div class="bi_canb">&nbsp;</div></button>~40';
		$xtable->opt($r['replid'],$s);
		
	$xtable->row_end();}$xtable->foot();
}else{
	$xtable->nodata_cust('<span style="color:'.CLGREY.'"><i>Belum ada item yang dipilih.</i></span>');
}
echo '</div>';
?>
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:sirkulasi_pengembalian_form_buku_get.php

示例15: xtable

<?php

$fmod = 'angsuran';
$xtable = new xtable($fmod);
$xtable->btnbar_f('add');
// Query
$sql = "SELECT * FROM psb_angsuran";
$t = mysql_query($sql);
$xtable->ndata = mysql_num_rows($t);
//echo "gpost('page_number')";
$t = mysql_query($sql . $xtable->pageorder_sql('cicilan', 'keterangan'));
if ($xtable->ndata > 0) {
    // Table head
    $xtable->head('@Jumlah angusran (bulan)~C', 'Keterangan');
    while ($r = mysql_fetch_array($t)) {
        $xtable->row_begin();
        $xtable->td($r['cicilan'], 200, 'c');
        $xtable->td($r['keterangan']);
        $xtable->opt_ud($r['replid']);
        $xtable->row_end();
    }
    $xtable->foot();
} else {
    $xtable->nodata();
}
开发者ID:epiii,项目名称:siadu-epiii,代码行数:25,代码来源:angsuran.php


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