Ejemplo n.º 1
0
			  '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(); }
}
?>
Ejemplo n.º 2
0
}
$PSBar->end();
if ($PSBar->pass) {
    $xtable->btnbar_begin();
    if ($xtable->cari == 0) {
        echo '<div class="sfont" style="float:left;margin-right:4px;margin-top:4px"><div style="float:left;margin-right:4px;width:100px"><b>Jumlah koleksi:</b></div><div style="float:left;margin-right:4px"><b>' . $xtable->ndata . '</b> item</div></div>';
    }
    $xtable->search_box();
    //$xtable->btnbar_print();
    $xtable->btnbar_end();
    $xtable->search_info();
    if ($xtable->ndata > 0) {
        $xtable->head('@Barkode', '@Judul', '@Callnumber', '@Klasifikasi', '@Pengarang', '@Penerbit', '@Status');
        while ($r = mysql_fetch_array($t)) {
            $xtable->row_begin($r['replid']);
            $xtable->td($r['barkode'], 120);
            $xtable->td(buku_judul($r['judul']));
            $xtable->td($r['callnumber'], 80);
            $xtable->td(klasifikasi_name($r['klasifikasi']), 200);
            $xtable->td($r['n2'], 120);
            $xtable->td($r['n3'], 120);
            $xtable->td($r['status'] == 1 ? 'Tersedia' : 'Dipinjam', 80);
            if ($SOUF == 0) {
                $xtable->opt($r['replid'], 'u', 'd');
            }
        }
        $xtable->foot();
    } else {
        $xtable->nodata_cust('Tidak ada data buku' . ($jen == 0 ? '' : ' jenis ' . $jenisbuku[$jen]) . ($lok == 0 ? '' : ' pada lokasi ini') . '.');
    }
}
Ejemplo n.º 3
0
	if($rk['kota']!=''){
		if($terbitan!='')$terbitan.=', ';
		$terbitan.=$rk['kota'];
	}
	if($rk['tahunterbit']!=''){
		if($terbitan!='')$terbitan.=', ';
		$terbitan.=$rk['tahunterbit'];
	}
?>
<div class="tbltopmbar" style="float:left;margin-top:10px;margin-bottom:10px">
<table class="stable" cellspacing="0" cellpadding="0" width="100%"><tr valign="top">
<td width="400px">
	<table class="stable" cellspacing="0" cellpadding="0">
		<tr height="24px"><td colspan="2"><b>Informasi Katalog:</b></td></tr>
		<tr height="24px"><td width="140px">Judul:</td><td><?=buku_judul($rk['judul'])?></td></tr>
		<tr height="24px"><td width="140px">Klasifikasi:</td><td><?=klasifikasi_name($rk['klasifikasi'])?></td></tr>
		<tr height="24px"><td width="140px">Pengarang:</td><td><?=pengarang_name($rk['pengarang'])?></td></tr>
		<tr height="24px"><td width="140px">Callnumber:</td><td><?=$rk['callnumber']?></td></tr>
		<tr height="24px"><td width="140px">Penerjemah:</td><td><?=$rk['penerjemah']?></td></tr>
		<tr height="24px"><td width="140px">Editor:</td><td><?=$rk['editor']?></td></tr>
		<tr height="24px"><td width="140px">Terbitan:</td><td><?=$terbitan?></td></tr>
		<tr height="24px"><td width="140px">ISBN:</td><td><?=$rk['isbn']?></td></tr>
		<tr height="24px"><td width="140px">ISSN:</td><td><?=$rk['issn']?></td></tr>
		<tr height="24px"><td width="140px">Bahasa:</td><td><?=bahasa_name($rk['bahasa'])?></td></tr>
		<tr height="24px"><td width="140px">Seri:</td><td><?=$rk['seri']?></td></tr>
		<tr height="24px"><td width="140px">Volume:</td><td><?=$rk['volume']?></td></tr>
		<tr height="24px"><td width="140px">Edisi:</td><td><?=$rk['edisi']?></td></tr>
		<tr height="24px"><td width="140px">Jenis koleksi:</td><td><?=jenisbuku_name($rk['jenisbuku'])?></td></tr>
	</table>
</td>
<td align="">
Ejemplo n.º 4
0
    echo '<div class="warnbox">Perubahan katalog tidak dapat dilakukan selama proses stock opname berlangsung.</div>';
}
$xtable->btnbar_end();
hiddenval('opf', 'buk');
?>
<div class="tbltopmbar" style="float:left;margin-top:10px;margin-bottom:10px">
<table class="stable" cellspacing="0" cellpadding="0" width="100%"><tr valign="top">
<td width="400px">
	<table class="stable" cellspacing="0" cellpadding="0">
		<tr height="24px"><td colspan="2"><b>Informasi Katalog:</b></td></tr>
		<tr height="24px"><td width="140px">Judul:</td><td><?php 
echo buku_judul($rk['judul']);
?>
</td></tr>
		<tr height="24px"><td width="140px">Klasifikasi:</td><td><?php 
echo klasifikasi_name($rk['klasifikasi']);
?>
</td></tr>
		<tr height="24px"><td width="140px">Pengarang:</td><td><?php 
echo pengarang_name($rk['pengarang']);
?>
</td></tr>
		<tr height="24px"><td width="140px">Penerjemah:</td><td><?php 
echo $rk['penerjemah'];
?>
</td></tr>
		<tr height="24px"><td width="140px">Editor:</td><td><?php 
echo $rk['editor'];
?>
</td></tr>
		<tr height="24px"><td width="140px">Terbitan:</td><td><?php