Halaman persetujuan.php ? Saran
td width=\27\ bgcolor=\eef4d7\ align=\right\nbsp;td td width=\73\nbsp;td
tr tr
td width=\27\ bgcolor=\eef4d7\ align=\right\ p style=\margin-right: 10px; margin-top: 2px; margin-bottom:
2px\nbsp;td td bgcolor=\eef4d7\ width=\73\
p style=\margin-left: 10px; margin-top: 5px; margin-bottom: 5px\ input type=\submit\ value=\ K I R I M \ name=\kirim\ style=\color:
000080; font-family: arial; font-weight: bold\td tr
form table;
?
div div
id=footer div
div --end of center box-- div --end of main content--
div --end of main container-- bodyhtml
6. Halaman persetujuan.php ?
includecek.php; includesambung.php;
nik=_SESSION[nik]; data1=mysql_queryselect from data_karyawan where nik=nik;
d1=mysql_fetch_arraydata1; ?
DOCTYPE HTML PUBLIC -W3CDTD XHTML 1.0 TransitionalEN http:www.w3.orgTRxhtml1DTDxhtml1- transitional.dtd
html xmlns=http:www.w3.org1999xhtmlhead meta http-equiv=Content-Type content=texthtml; charset=windows-1252
titleCuti Onlinetitle link rel=stylesheet type=textcss href=style.css
--[if IE 6] link rel=stylesheet type=textcss href=iecss.css
[endif]-- headbody
div id=main_container div
class=parrotdiv div
class=main_content div id=header
div class=logoa href=img src=imageslogo.gif alt= title= border=0adiv div
div class=top_center_boxdiv
Universitas Sumatera Utara
div class=center_box div id=menu_tab
div div class=middle_boxdiv
div
class=tengah table border=0 width=100 id=table2 cellspacing=0 cellpadding=0
tr td
p align=right a href=karyawan.php
img border=0 id=img8 src=imageskembali1.gif height=20 width=150 alt=Kembali onMouseOver=FP_swapImg1,0,idimg8,urlimageskembali.gif
onMouseOut=FP_swapImg0,0,idimg8,urlimageskembali1.gif fp-style=fp-btn: Metal Rectangle 1; fp-font- color-hover: FF0000; fp-img-press: 0; fp-transparent: 1; fp-proportional: 0 fp-title=Kembalianbsp;
a href=keluar.php img border=0 id=img5 src=imagesbuttonA.gif height=20 width=150
alt=Keluar onMouseOver=FP_swapImg1,0,idimg5,urlimagesbuttonB.gif onMouseOut=FP_swapImg0,0,idimg5,urlimagesbuttonA.gif fp-style=fp-btn: Metal Rectangle 1; fp-font-
color-hover: FF0000; fp-img-press: 0; fp-transparent: 1; fp-proportional: 0 fp-title=Keluaratd tr
table ?
echotable border=\0\ width=\100\ cellspacing=\0\ cellpadding=\0\ id=\table3\ tr
td colspan=\2\ bgcolor=\FFCC99\ p align=\center\ style=\margin-top: 5px; margin-bottom: 5px\
Halaman Persetujuan Cutitd tr
tr td width=\27\ bgcolor=\eef4d7\nbsp;td
td bgcolor=\eef4d7\ width=\73\nbsp;nbsp; Data Personaltd
tr tr
td width=\27\ bgcolor=\eef4d7\ align=\right\ p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\
Namatd td width=\73\
p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\ d1[nama]td
tr tr
td width=\27\ bgcolor=\eef4d7\ align=\right\ p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\
NIKtd td width=\73\
p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\ d1[nik]td
tr
Universitas Sumatera Utara
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\ Tingkattd
td width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
d1[tingkat]td tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\ Jabatantd
td width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
d1[jabatan]td tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\ Tempat Kerjatd
td width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
d1[posisi]td tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\ NIK Atasantd
td width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
d1[nik_atasan]td tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\ NIK Supporttd
td width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
d1[nik_support]td tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-top: 2px; margin-bottom: 2px\nbsp;td td width=\73\
p style=\margin-top: 2px; margin-bottom: 2px\nbsp;td tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\nbsp;td
td bgcolor=\eef4d7\ width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
Jumlah Cuti yang belum diambiltd tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
Universitas Sumatera Utara
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\ Cuti Besartd
td width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
d1[besar] Haritd
tr tr
td width=\27\ bgcolor=\eef4d7\ align=\right\ p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\
Tahun 2009td td width=\73\
p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\ d1[th2009]
Haritd tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\ Tahun 2010td
td width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
d1[th2010] Haritd
tr tr
td width=\27\ bgcolor=\eef4d7\ align=\right\ p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\
Tahun 2011td td width=\73\
p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\ d1[th2011]
Haritd tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\nbsp;td
td width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom:
2px\nbsp;td tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\nbsp;td
td bgcolor=\eef4d7\ width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
Persetujuan Cutitd tr;
data2=mysql_queryselect from data_cuti where nik=nik and aktivasi- order by id desc limit 1;
whiled2=mysql_fetch_arraydata2{ ifd2[status]==1{
acc=Cuti Diterima; }elseifd2[status]==2{
Universitas Sumatera Utara
acc=Cuti Ditolak; d2[lama]=-;
d2[masuk]=-; }else{
acc=Belum disetujui; }
echotrtd width=\27\ bgcolor=\eef4d7\ align=\right\ p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\
Pengajuan Cuti Andatd td width=\73\
p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\ font color=\800000\accfonttd
tr tr
td width=\27\ bgcolor=\eef4d7\ align=\right\ p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\
Mulai Cuti Tanggaltd td width=\73\
p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\ d2[mulai]td
tr tr
td width=\27\ bgcolor=\eef4d7\ align=\right\ p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\
Selesai Cuti Tanggaltd td width=\73\
p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\ d2[masuk]td
tr tr
td width=\27\ bgcolor=\eef4d7\ align=\right\ p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\
Lama Cutitd td width=\73\
p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\ d2[lama]
haritd tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\ Jenis Cuti Yang Diambiltd
td width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
nbsp;d2[jenis]td tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\ Alamat Cuti Yang Dapat Dihubungitd
td width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
d2[alamat] td tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
Universitas Sumatera Utara
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\ Alasan Mengambil Cutitd
td width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
d2[alasan]td tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\ Catatantd
td width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
d2[catatan]td tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\ nbsp;td
td width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
nbsp;td tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\ nbsp;td
td width=\73\ bgcolor=\eef4d7\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
Tampilan Cetak dan Aktivasitd tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\ Tampilan Cetaktd
td width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
Tampilan cetak digunakan untuk menampilkan data atau persetujuan pengajuan cuti, kemudian
dicetak ke dalam bentuk cetakan kertas.p style=\margin-left: 10px; margin- top: 2px; margin-bottom: 2px\
a href=\cetak.php?id=d2[id]\ img border=\0\ id=\img9\ src=\imagesbutton1B.gif\ height=\20\
width=\125\ alt=\Tampilan Cetak\ onmouseover=\FP_swapImg1,0,idimg9,urlimagesbutton1C.gif\ onmouseout=\FP_swapImg0,0,idimg9,urlimagesbutton1B.gif\ fp-style=\fp-btn: Metal Rectangle 1; fp-font-
color-hover: FF0000; fp-img-press: 0; fp-transparent: 1; fp-proportional: 0\ fp-title=\Tampilan Cetak\atd tr
tr td width=\27\ bgcolor=\eef4d7\ align=\right\
p style=\margin-right: 10px; margin-top: 2px; margin-bottom: 2px\ Aktivasitd
td width=\73\ p style=\margin-left: 10px; margin-top: 2px; margin-bottom: 2px\
Apabila Anda mulai aktif kembali atau mengakhiri cuti, Anda dapat mengaktifkan data cuti Anda
dengan meng-klik tombol aktivasi br a href=\aktivasi.php?id=d2[id]\
Universitas Sumatera Utara
img border=\0\ id=\img10\ src=\imagesbutton1D.gif\ height=\20\ width=\125\ alt=\Aktivasi\ onmouseover=\FP_swapImg1,0,idimg10,urlimagesbutton1E.gif\
onmouseout=\FP_swapImg0,0,idimg10,urlimagesbutton1D.gif\ fp-style=\fp-btn: Metal Rectangle 1; fp-font- color-hover: FF0000; fp-img-press: 0; fp-transparent: 1; fp-proportional: 0\ fp-title=\Aktivasi\atd
tr tr
td width=\27\ bgcolor=\eef4d7\ align=\right\nbsp;td td width=\73\nbsp;td
tr tr
td width=\27\ bgcolor=\eef4d7\ align=\right\ p style=\margin-right: 10px; margin-top: 2px; margin-bottom:
2px\nbsp;td td bgcolor=\eef4d7\ width=\73\
p style=\margin-left: 10px; margin-top: 5px; margin-bottom: 5px\ nbsp;td
tr; }
? table
div div
id=footer div
div --end of center box-- div --end of main content--
div --end of main container-- bodyhtml
7. Halaman detail_arsip.php ?