130
Tabel 4.33 lanjutan 2 Script Transaksi Belanja Barang
barang order by KODE_BARANG; hasil2=mysql_queryquery,koneksi;
while r=mysql_fetch_arrayhasil2 {
echo option value=.r[NAMA_BARANG]..r[MERK]..r[HARGA]..r[KODE_BARANG
]..r[KODE_REFF]..r[KODE_BARANG].option ; ECHO font color=yellowOPTIONr[NAMA_BARANG]OPTIONFONT;
} echo selecttdtr;
? trtdpbfont size=3TOTAL BAYARnbsp;nbsp;nbsp;nbsp; Rp b
nbsp; input font=bold type=text name=BAYAR size=30 pfontbr
trtdp centerinput type=submit value=KIRIM KE SERVER
name=submit2nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; input type=reset value=BATAL name=resetnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
a href=http:localhostvbayarbarang.phpEDIT_DATAa p p align=righta href=vbayarbarang2.phplihat hasil yang ada a P
TABLE BORDER=1 FONT SIZE=4 TD
a href=bayarbarang.phpFONT SIZE=3 iinput transaksi belanja barang a a href=rekananbarang.phppFONT SIZE=3 input data rekanan barang a
a href=inputbarang.phppFONT SIZE=3 iinput master data barang a TABLEbrbr brbr
a href=http:localhostprogramWebpengadaan_barang.php kembali ke menu Pengadaan Barang a
body html
4.5.2.5 Tampilan Menu Kuasa Pengguna Anggaran
Gambar 4.34 Menu KPA
131
Gambar 4.35 Otorisasi KPA
Tabel 4.34 Script Otorisasi KPA
doctype html public -W3CDTD HTML 4.0 EN html
head titleisi belanja barangtitle
head img align=left src=logo.jpg width=100 height=100
body background=img29.jpg ? include currency.php ?
pcenterfont size=4bPUSAT PENELITIAN DAN PENGEMBANGAN SUMBER DAYA AIR BANDUNGBR
Jl.Ir.Juanda No.193 Bandung Telp. 022 2504053 bbr br bDAFTAR BELANJA BARANGbBR
periode Anggaran ?
koneksi=mysql_connectlocalhost,admin,admin; db=mysql_select_dbPUSAIR,koneksi;
bot=select TAHUN AS THN, TAHUN+1 AS GOP FROM anggaran; qwe=mysql_querybot,koneksi;
WHILErow=mysql_fetch_arrayqwe {
ECHO row[THN] row[GOP]; TOK=row[THN];
} ?
Pfontcenter br ?
koneksi=mysql_connectlocalhost,admin,admin; db=mysql_select_dbPUSAIR,koneksi;
query=select from transaksi where TANGGAL LIKE TOK ; This watermark does not appear in the registered version -
132
Tabel 4.35 lanjutan 1 Script Otorisasi KPA
tampil=mysql_queryquery; NO=1;
echo TABLE BORDER=1 tr
td bgcolor=CC9900bfont size=3NOfontTD td bgcolor=CC9900bfont size=3NO_FAKTUR fontTD
td bgcolor=CC9900bfont size=3__TANGGAL___TD td bgcolor=CC9900bfont size=3NAMA_REKANANTD
td bgcolor=CC9900bfont size=3KODE_BARANG TD td bgcolor=CC9900bfont size=3NAMA_BARANG TD
td bgcolor=CC9900bfont size=3___MERK___ TD td bgcolor=CC9900bfont size=3HARGA TD
td bgcolor=CC9900bfont size=3BANYAK TD td bgcolor=CC9900bfont size=3DISKONTD
td bgcolor=CC9900bfont size=3TOTALTD TRbfont;
WHILErow=mysql_fetch_arraytampil {
echo tr tdfont size=2NOtdtd font size=2row[1]tdtdfont size=2row[2]td
tdfont size=2row[3]tdtdfont size=2row[4]tdtdfont row[5]td tdfont size=2row[6]tdtdfont size=2row[7]tdtdfontrow[8]td
tdfont size=2row[9]tdtdfont size=2row[10]tdtr; NO++;
} ?
? quer=mysql_queryselect SUMTOTAL as semua FROM transaksi where TANGGAL LIKE
TOK,koneksior die mysql_error; dat=quer;
while rowe=mysql_fetch_arraydat {
semuwa=rowe[semua]; semuwa=number_formatsemuwa,0,,,.;
echo trtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtd tdtdtdBTOTALBtdtdBsemuwaBtdtr;
} ?
table BR BR p align=rightbfont size=4 OTORISASI KPAfontbp
pnbsp;pp align=right nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;input
type=radio value=V1 checked name=R1 ACCnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
input type=radio name=R1 value=V2 DI TOLAKp a href=http:localhostprogramWebkpa.php kembali ke Halaman KPA a
body html
133
4.5.2.6 Tampilan Menu Bendaharawan