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


PHP xtable::head方法代码示例

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


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

示例1: xdb

$xtable->usepaggging = false;
$xtable->cari = 0;
$db = new xdb("keu_jurnal");
$db->field("keu_jurnal:*", "keu_rekening:kode as koderek,nama as nrek", "keu_transaksi:tanggal,nomer,uraian");
$db->join("transaksi", "keu_transaksi");
$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();
    }
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:transaksi_bukutambahan.php

示例2: xtable

<?php

$fmod = 'golongan';
$xtable = new xtable($fmod);
$xtable->use_urut('psb_golongan');
// Query
$t = mysql_query("SELECT * FROM psb_golongan ORDER BY urut");
$xtable->ndata = mysql_num_rows($t);
$xtable->btnbar_f('add', 'updn');
if ($xtable->ndata > 0) {
    // Table head
    $xtable->head('Nama golongan', 'Keterangan');
    while ($r = mysql_fetch_array($t)) {
        $xtable->row_begin($r['replid']);
        $xtable->td($r['golongan'], 200);
        $xtable->td($r['keterangan']);
        $xtable->opt_ud($r['replid']);
        $xtable->row_end();
    }
    $xtable->foot();
} else {
    $xtable->nodata();
}
开发者ID:epiii,项目名称:siadu-epiii,代码行数:23,代码来源:golongan.php

示例3: xdb

$db = new xdb("pus_peminjaman");
$db->field('pus_peminjaman:*', 'pus_buku:callnumber,barkode', 'pus_katalog:judul');
$db->join('buku', 'pus_buku');
$db->joinother('pus_buku', 'katalog', 'pus_katalog', 'replid');
$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();
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:pengembalian_buku_tabel.php

示例4: xtable

$fmod='sirkulasi_peminjaman_form_buku';
$xtable = new xtable($fmod,'Item','',2);
$xtable->pageorder='pus_tpjm.replid DESC';

// Query
$db=new xdb("pus_tpjm");
$db->field('pus_tpjm:*','pus_buku:barkode,idbuku','pus_katalog:judul');
$db->join('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','{44px}');
	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(buku_judul($r['judul']));
		$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_peminjaman_form_buku_get.php

示例5: inputDate

 $t .= '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:void(0)" class="linkb" onclick="transaksi_ctgl_set(2)" >[bulan ini]</a>';
 $t .= '</div>';
 $t .= '<div style="float:left;width:100%;margin-bottom:40px">';
 $tglSearch = inputDate('tanggal1', $tanggal1);
 $tglSearch .= '<div class="sfont" style="float:left;margin-right:4px;margin-top:4px">&nbsp;sampai&nbsp;</div>';
 $tglSearch .= inputDate('tanggal2', $tanggal2);
 $tglSearch .= '<button style="float:left;margin-left:30px;margin-right:4px" class="btnz" onclick="transaksi_get()">';
 $tglSearch .= '<div class="">Tampilkan &raquo;</div>';
 $tglSearch .= '</button>';
 $t .= $tglSearch;
 $t .= '</div>';
 $xtable->btnbar_f('print', 'srcbox', $t . '<br>', $s);
 hiddenval('modul', $modid);
 hiddenval('pembayaran', 0);
 if ($xtable->ndata > 0) {
     $xtable->head('@No pendaftaran', '@Nama', 'Biaya pendaftaran{R}', 'Jumlah dibayar{R}', '@Tanggal pembayaran', '@Status');
     while ($r = mysql_fetch_array($t)) {
         $xtable->row_begin();
         $xtable->td($r['nopendaftaran'], 120);
         $xtable->td($r['nama']);
         $xtable->td(fRp($r['nominal']), 110, 'r');
         $xtable->td(fRp($r['jmlbayar']), 110, 'r');
         if ($r['lunas'] == '1') {
             $s = '<div style="padding:2px;border-radius:2px;background:#00d000;color:#fff;width:96px;margin:auto"><b>Sudah bayar</b></div>';
         } else {
             $s = '<button class="btn" title="Klik untuk transaksi pembayaran." onclick="E(\'pembayaran\').value=' . $r['replid'] . ';pembayaran_form(\'af\')" style="width:100px">Belum bayar</button>';
         }
         $xtable->td(fftgl($r['tglbayar']), 140);
         $xtable->td($s, 110, 'c');
         $xtable->row_end();
     }
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:modul_psb.php

示例6: iSelect

     if (count($pelajaran) > 1) {
         $PSBar->selection('Pelajaran', iSelect('spelajaran', $pelajaran, $pel, $PSBar->selws, $fmod . "_get()"));
     } else {
         $PSBar->end();
         hiddenval('spelajaran', $pel);
         pelajaran_warn(0, 'float:left');
         $PSBar->pass = false;
     }
 }
 $PSBar->end();
 if ($PSBar->pass) {
     $xtable->btnbar_f('add');
     if ($xtable->ndata > 0) {
         // Table head
         if ($pel == 0) {
             $xtable->head('Mata pelajaran', 'Nama Guru', 'NIP', 'Keterangan');
         } else {
             $xtable->head('Nama Guru', 'NIP', 'Keterangan');
         }
         while ($r = mysql_fetch_array($t)) {
             $xtable->row_begin();
             if ($pel == 0) {
                 $xtable->td($r['namapelajaran'], 150);
             }
             //$xtable->td($r['kode'],50);
             $xtable->td($r['nama'], 250);
             $xtable->td($r['nip'], 150);
             //$xtable->td(statusguru_name($r),150);
             $xtable->td(nl2br($r['keterangan']));
             $xtable->opt_ud($r['replid']);
             $xtable->row_end();
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:guru.php

示例7: xtable

$xtable = new xtable($fmod);
$dept = gpost('departemen');
$departemen = departemen_r($dept);
if (count($departemen) > 0) {
    // Query
    $t = mysql_query("SELECT * FROM aka_angkatan WHERE departemen='{$dept}'");
    $xtable->ndata = mysql_num_rows($t);
    // 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('Angkatan', 'Keterangan');
        $nom = 1;
        while ($r = mysql_fetch_array($t)) {
            $xtable->row_begin();
            $xtable->td($r['angkatan'], 200);
            $xtable->td(nl2br($r['keterangan']));
            $xtable->opt_ud($r['replid']);
            $xtable->row_end();
        }
        $xtable->foot();
    } else {
        $xtable->nodata();
    }
} else {
    departemen_warn();
}
开发者ID:sofiasrifin,项目名称:sistermetta,代码行数:31,代码来源:angkatan.php

示例8: 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

示例9: xtable

$xtable = new xtable($fmod);
$dept = gpost('departemen');
$departemen = departemen_r($dept);
if (count($departemen) > 0) {
    // Query
    $t = mysql_query("SELECT * FROM aka_tahunajaran WHERE departemen='{$dept}' ORDER BY tglmulai DESC,replid DESC");
    $xtable->ndata = mysql_num_rows($t);
    // 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('Tahun Ajaran', 'Tanggal Mulai', 'Tanggal Akhir', 'Keterangan', 'Status~C');
        $nom = 1;
        while ($r = mysql_fetch_array($t)) {
            $xtable->row_begin();
            $xtable->td($r['tahunajaran'], 200);
            $xtable->td(fftgl($r['tglmulai']), 120);
            $xtable->td(fftgl($r['tglakhir']), 120);
            $xtable->td($r['keterangan']);
            if ($r['aktif'] == '1') {
                $s = '<button class="btns" title="Klik untuk me-non aktifkan." style="width:85px" onclick="tahunajaran_status_form(\'uf\',' . $r['replid'] . ')">Aktif</button>';
            } else {
                $s = '<button class="btn" title="Klik untuk mengaktifkan." style="width:85px" onclick="tahunajaran_status_form(\'uf\',' . $r['replid'] . ')">Tidak Aktif</button>';
            }
            $xtable->td($s, 100, 'c');
            $xtable->opt_ud($r['replid']);
            $xtable->row_end();
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:tahunajaran.php

示例10: iSelect

    $PSBar->begin();
    $PSBar->selection_departemen($fmod, $dept);
    if (count($tahunajaran) > 0) {
        $PSBar->selection('Tahun ajaran', iSelect('tahunajaran', $tahunajaran, $tajar, $PSBar->selws, $fmod . "_get()"));
    } else {
        $PSBar->end();
        hiddenval('tahunajaran', $tajar);
        tahunajaran_warn(0, 'float:left');
        $PSBar->pass = false;
    }
    $PSBar->end();
    if ($PSBar->pass) {
        $xtable->btnbar_f('add', 'updn');
        if ($xtable->ndata > 0) {
            // Table head
            $xtable->head('Nama Penilaian', 'Keterangan');
            while ($r = mysql_fetch_array($t)) {
                $xtable->row_begin($r['replid']);
                $xtable->td($r['nama'], 200);
                $xtable->td(nl2br($r['keterangan']));
                $xtable->opt($r['replid'], 'u', 'd');
                $xtable->row_end();
            }
            $xtable->foot();
        } else {
            $xtable->nodata();
        }
    }
} else {
    departemen_warn();
}
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:tesakademik.php

示例11: array

 $xtable->btnbar_begin();
 echo '<button style="float:left;margin-right:6px" class="btnz" onclick="inputdateSetDate(\'tanggal\',\'' . $tgl_c . '\');presensiguru_form(\'af\',0)">Presensi hari ini</button>';
 echo '<div class="sfont" style="float:left;margin-top:4px">atau klik pada tanggal utuk mengedit presensi guru.</div>';
 $xtable->search_box('nama guru');
 $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') {
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:presensiguru.php

示例12: inputDate

echo '</tr></table>';
echo '</div>';
echo '<div style="float:left;width:100%;margin-bottom:30px">';
	echo inputDate('stanggal1',$stanggal1).'<div class="sfont" style="float:left;margin-right:4px;margin-top:4px">&nbsp;sampai&nbsp;</div>'.inputDate('stanggal2',$stanggal2).'<button style="float:left;margin-left:30px;margin-right:4px" class="btnz" onclick="sirkulasi_get()"><div class="">Tampilkan &raquo;</div></button>';
echo '</div>';

$xtable->btnbar_begin();
	$xtable->search_box();
	//$xtable->btnbar_print();
$xtable->btnbar_end();

$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='-';
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:sirkulasi.php

示例13: AND

        $PSBar->pass = false;
    }
}
$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

示例14: while

//$db->where_and($xtable->search_sql_get());
//$db->order("keu_transaksi.tanggal,keu_transaksi.nomer");
$t = $db->query();
$xtable->ndata = mysql_num_rows($t);
$t = $db->query($xtable->pageorder_sql());
//$t=$db->query($xtable->pageorder_sql('kode','nama'));
$s = '<button style="float:left;margin-right:4px" class="btng" onclick="E(\'jenistransaksi\').value=' . JT_INCOME . ';transaksi_form(\'af\')">
	<table cellspacing="0" cellpadding="0"><tr>
	<td><div style="width:20px;height:20px;background:url(' . IMGR . 'inco.png) center no-repeat;margin-right:6px"></div></td><td><span style="font:bold 11px Verdana,Tahoma;color:#fff;margin-right:4px"><b>Pembayaran</b></span></td>
	</tr></table>
	</button>';
$xtable->btnbar_f($pemb['lunas'] == 1 ? '<div class="infobox" style="float:left;margin-right:10px">Pembayaran sudah lunas.</div>' : 'add', 'print');
$xtable->search_info('data transaksi dengan uraian atau nomor "<b>{keyw}</b>".');
if ($xtable->ndata > 0) {
    // Table head
    $xtable->head('!Tanggal/<br/>No. Transaksi{110px}', 'Uraian', 'Detil Jurnal');
    while ($r = mysql_fetch_array($t)) {
        $xtable->row_begin();
        if ($r['jenis'] == JT_INCOME) {
            $cl = '#00c804';
        } else {
            if ($r['jenis'] == JT_SISWA) {
                $cl = '#00c804';
            } else {
                if ($r['jenis'] == JT_CALONSISWA) {
                    $cl = '#00c804';
                } else {
                    if ($r['jenis'] == JT_OUTCOME) {
                        $cl = '#ff1b1b';
                    } else {
                        if ($r['jenis'] == JT_UMUM) {
开发者ID:epiii,项目名称:siadu-epiii,代码行数:31,代码来源:penerimaan_transaksi_get.php

示例15:

			  'penerbit'=>"pus_penerbit.nama:LIKE"));

$sql="SELECT ".$f." FROM pus_katalog ".$j." ".$xtable->search_sql_get();
$t=mysql_query($sql);
$xtable->ndata=mysql_num_rows($t);
$t=mysql_query($sql.$xtable->pageorder_sql('judul','n1','n2','n3'));

$xtable->btnbar_begin();
	$xtable->btnbar_add();
	$xtable->search_box();
	//$xtable->btnbar_print();
$xtable->btnbar_end();

$xtable->search_info();

if($xtable->ndata>0){
// Table head
	$xtable->head('@Title','@Classification','@Author','@Publisher');
	while($r=mysql_fetch_array($t)){$xtable->row_begin();
				
		$xtable->td($r['judul'],0,'','judul');
		$xtable->td(klasifikasi_name($r['klasifikasi']),200,'','kode');
		$xtable->td($r['n2'],120,'','pengarang');
		$xtable->td($r['n3'],120,'','penerbit');
		$s='<button class="btn" title="Add new item" onclick="PCBCODE=201;katalog_form_view(\''.$r['replid'].'\')"><div class="bi_add">Item</div></button>~60';
		$xtable->opt($r['replid'],'v','u','d',$s);
		
	$xtable->row_end();}$xtable->foot();
} else { $xtable->nodata(); }
}
?>
开发者ID:nickohappy7,项目名称:sister,代码行数:31,代码来源:katalog.php


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