[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
05122024
/
htdocs
/
simpeg
/
administrator
/
[
Home
]
File: all_monitoring_v.php
<?php require_once("../lib/konek.php"); require_once("../lib/konfigurasi_semua.php"); require_once("../lib/cur.php"); require_once("../lib/function_tanggal.php"); if($_GET["user_id"]) $_POST["user_id"] = $_GET["user_id"]; if($_GET["pgw_id"]) $_POST["pgw_id"] = $_GET["pgw_id"]; if($_GET["bulan"]) $_POST["bulan"] = $_GET["bulan"]; if($_GET["tahun"]) $_POST["tahun"] = $_GET["tahun"]; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php echo $header;?></title> <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script> <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" /> </head> <body> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td align="left" valign="middle" bgcolor="#000000" height="28"> <font face="Verdana, Arial, Helvetica, sans-serif" size="4" color="white"> <?php echo $header;?></font> </td> </tr> <tr> <td align="left" bgcolor="#DEDBE7" height="20"> <?php include("menu_atas.php"); ?> </td> </tr> <tr> <td align="left"> <div id="TabbedPanels1" class="TabbedPanels"> <ul class="TabbedPanelsTabGroup"> <li class="TabbedPanelsTab" tabindex="0">Data Pribadi</li> <li class="TabbedPanelsTab" tabindex="0">Password Login</li> <li class="TabbedPanelsTab" tabindex="0">Kinerja</li> <li class="TabbedPanelsTab" tabindex="0">Absensi</li> <li class="TabbedPanelsTab" tabindex="0">Daftar Pekerjaan</li> <li class="TabbedPanelsTab" tabindex="0">SMS</li> <li class="TabbedPanelsTab" tabindex="0">Cuti</li> <li class="TabbedPanelsTab" tabindex="0">Lembur</li> <li class="TabbedPanelsTab" tabindex="0">Forum</li> <li class="TabbedPanelsTab" tabindex="0">Messenger</li> <li class="TabbedPanelsTab" tabindex="0">Gaji</li> </ul> <div class="TabbedPanelsContentGroup"> <div class="TabbedPanelsContent"> <?php $pgwId = $_POST["pgw_id"]; $sql = "select * from hrd_pgw where pgw_id = ".$pgwId; $qId = mysql_query($sql); $dataUser = mysql_fetch_array($qId); $_POST["pgw_id"] = $dataUser["pgw_id"]; $_POST["pgw_nama"] = $dataUser["pgw_nama"]; $_POST["pgw_alamat_ktp"] = $dataUser["pgw_alamat_ktp"]; $_POST["pgw_alamat_skr"] = $dataUser["pgw_alamat_skr"]; $_POST["pgw_telp_rmh"] = $dataUser["pgw_telp_rmh"]; $_POST["pgw_hp_cdma"] = $dataUser["pgw_hp_cdma"]; $_POST["pgw_hp_gsm"] = $dataUser["pgw_hp_gsm"]; $_POST["pgw_email"] = $dataUser["pgw_email"]; $_POST["pgw_tgl_lhr"] = date_db($dataUser["pgw_tgl_lhr"]); $_POST["pgw_tmp_lhr"] = $dataUser["pgw_tmp_lhr"]; $_POST["pgw_jk"] = $dataUser["pgw_jk"]; $_POST["pgw_brt_bdn"] = $dataUser["pgw_brt_bdn"]; $_POST["pgw_tnggi"] = $dataUser["pgw_tnggi"]; $_POST["pgw_sd"] = $dataUser["pgw_sd"]; $_POST["pgw_smp"] = $dataUser["pgw_smp"]; $_POST["pgw_sma"] = $dataUser["pgw_sma"]; $_POST["pgw_diploma"] = $dataUser["pgw_diploma"]; $_POST["pgw_s1"] = $dataUser["pgw_s1"]; $_POST["pgw_s2"] = $dataUser["pgw_s2"]; $_POST["pgw_s3"] = $dataUser["pgw_s3"]; $_POST["pgw_cin"] = $dataUser["pgw_cin"]; $pgw_cin = explode(":",$_POST["pgw_cin"]); $_POST["pgw_cin_jam"] = $pgw_cin[0]; $_POST["pgw_cin_mnt"] = $pgw_cin[1]; $_POST["pgw_cin_dtk"] = $pgw_cin[2]; $_POST["pgw_cout"] = $dataUser["pgw_cout"]; $pgw_cout = explode(":",$_POST["pgw_cout"]); $_POST["pgw_cout_jam"] = $pgw_cout[0]; $_POST["pgw_cout_mnt"] = $pgw_cout[1]; $_POST["pgw_cout_dtk"] = $pgw_cout[2]; $_POST["id_jab_pgw"] = $dataUser["id_jab_pgw"]; $_POST["pgw_status"] = $dataUser["pgw_status"]; $_POST["pgw_gaji_pokok"] = currency_format($dataUser["pgw_gaji_pokok"]); $_POST["pgw_stat_tasklist"] = $dataUser["pgw_stat_tasklist"]; ?> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr bgcolor="#FFF8DC"> <td align="right" width="35%"><?php echo $defFont;?>Nama Pegawai <?php echo $tFont;?></td> <td width="65%"> <input size="35" maxlength="255" type="teks" name="pgw_nama" value="<?php echo $_POST["pgw_nama"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"><?php if(!$_POST["pgw_nama"]) echo "*";?> <input type="hidden" name="pgw_id" value="<?php echo $_POST["pgw_id"];?>"> <input type="hidden" name="mode" value="<?php echo $mode;?>"> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>Alamat KTP <?php echo $tFont;?></td> <td> <input size="35" maxlength="255" type="teks" name="pgw_alamat_ktp" value="<?php echo $_POST["pgw_alamat_ktp"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"><?php if(!$_POST["pgw_alamat_ktp"]) echo "*";?> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>Alamat Sekarang <?php echo $tFont;?></td> <td> <input size="35" maxlength="255" type="teks" name="pgw_alamat_skr" value="<?php echo $_POST["pgw_alamat_skr"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"><?php if(!$_POST["pgw_alamat_skr"]) echo "*";?> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>Telp Rumah <?php echo $tFont;?></td> <td> <input size="15" maxlength="255" type="teks" name="pgw_telp_rmh" value="<?php echo $_POST["pgw_telp_rmh"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>Telp CDMA <?php echo $tFont;?></td> <td> <input size="15" maxlength="255" type="teks" name="pgw_hp_cdma" value="<?php echo $_POST["pgw_hp_cdma"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>Telp GSM <?php echo $tFont;?></td> <td> <input size="15" maxlength="255" type="teks" name="pgw_hp_gsm" value="<?php echo $_POST["pgw_hp_gsm"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>Email <?php echo $tFont;?></td> <td> <input size="35" maxlength="255" type="teks" name="pgw_email" value="<?php echo $_POST["pgw_email"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>Tanggal Lahir <?php echo $tFont;?></td> <td> <input onKeyDown="return tabOnEnter_select_with_button(this, event);" type="text" class="textField" name="pgw_tgl_lhr" id ="pgw_tgl_lhr" size="10" maxlength="10" value="<?php echo $_POST["pgw_tgl_lhr"];?>"/> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>Tempat Lahir <?php echo $tFont;?></td> <td> <input size="25" maxlength="255" type="teks" name="pgw_tmp_lhr" value="<?php echo $_POST["pgw_tmp_lhr"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"><?php if(!$_POST["pgw_tmp_lhr"]) echo "*";?> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>Jenis Kelamin <?php echo $tFont;?></td> <td> <select name="pgw_jk" class="textField"> <option value="" <?php if($_POST["pgw_jk"] == "") echo "selected";?>>-- Pilih --</option> <option value="Laki-Laki" <?php if($_POST["pgw_jk"] == "Laki-Laki") echo "selected";?>>Laki-Laki</option> <option value="Perempuan" <?php if($_POST["pgw_jk"] == "Perempuan") echo "selected";?>>Perempuan</option> </select> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>Berat Badan <?php echo $tFont;?></td> <td> <input size="3" maxlength="3" type="teks" name="pgw_brt_bdn" value="<?php echo $_POST["pgw_brt_bdn"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"> Kg. </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>Tinggi Badan <?php echo $tFont;?></td> <td> <input size="3" maxlength="3" type="teks" name="pgw_tnggi" value="<?php echo $_POST["pgw_tnggi"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"> cm. </td> </tr> <tr bgcolor="#FFF8DC"> <td align="center" colspan="2"><?php echo $defFont;?>Riwayat Pendidikan<?php echo $tFont;?></td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>SD <?php echo $tFont;?></td> <td> <input size="35" maxlength="255" type="teks" name="pgw_sd" value="<?php echo $_POST["pgw_sd"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>SMP <?php echo $tFont;?></td> <td> <input size="35" maxlength="255" type="teks" name="pgw_smp" value="<?php echo $_POST["pgw_smp"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>SMA <?php echo $tFont;?></td> <td> <input size="35" maxlength="255" type="teks" name="pgw_sma" value="<?php echo $_POST["pgw_sma"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>Diploma <?php echo $tFont;?></td> <td> <input size="35" maxlength="255" type="teks" name="pgw_diploma" value="<?php echo $_POST["pgw_diploma"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>S1 <?php echo $tFont;?></td> <td> <input size="35" maxlength="255" type="teks" name="pgw_s1" value="<?php echo $_POST["pgw_s1"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>S2 <?php echo $tFont;?></td> <td> <input size="35" maxlength="255" type="teks" name="pgw_s2" value="<?php echo $_POST["pgw_s2"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>S3 <?php echo $tFont;?></td> <td> <input size="35" maxlength="255" type="teks" name="pgw_s3" value="<?php echo $_POST["pgw_s3"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?> <?php echo $tFont;?></td> <td> </td> </tr> <tr> <td colspan="2"> <font color="yellow"> <?php if($stat_err==true || $hint) echo "Periksa lagi inputan yang bertanda (*)";?><br> <?php if($stat_err==true) echo "<i>Ada field yang belum terisi. Silahkan mengisi terlebih dahulu</i><br>";?> <?php for($start=0, $end=count($hint); $start<$end; $start++) {?> <i><?php echo $defFont;?><?php echo $hint[$start];?> <?php echo $tFont;?></i> <?php } ?> <?php echo $tFont;?> </td> </tr> </table> </div> <div class="TabbedPanelsContent"> <?php $sql = "select * from hrd_user_login where id_pgw = ".$_POST["pgw_id"]; $qId = mysql_query($sql); $dataUser = mysql_fetch_array($qId); $_POST["user_id"] = $dataUser["user_id"]; $_POST["user_name"] = $dataUser["user_name"]; $_POST["user_password"] = $dataUser["user_password"]; $_POST["id_lj"] = $dataUser["id_lj"]; ?> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr bgcolor="#FFF8DC"> <td align="right" width="35%"><?php echo $defFont;?>Username <?php echo $tFont;?></td> <td width="65%"> <input size="35" maxlength="35" type="teks" name="user_name" value="<?php echo $_POST["user_name"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"> <input type="hidden" name="user_id" value="<?php echo $_POST["user_id"];?>"> <input type="hidden" name="mode" value="<?php echo $mode;?>"> <?php if(!$_POST["user_name"]) echo "*";?> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?>Password <?php echo $tFont;?></td> <td> <input size="35" maxlength="35" type="teks" name="user_password" value="<?php echo $_POST["user_password"];?>" class="textField" onKeyDown="return tabOnEnter_select(this, event);"> </td> </tr> <tr bgcolor="#FFF8DC"> <td align="right"><?php echo $defFont;?> <?php echo $tFont;?></td> <td> </td> </tr> <tr> <td colspan="2"> <font color="yellow"> <?php if($stat_err==true || $hint) echo "Periksa lagi inputan yang bertanda (*)";?><br> <?php if($stat_err==true) echo "<i>Ada field yang belum terisi. Silahkan mengisi terlebih dahulu</i><br>";?> <?php for($start=0, $end=count($hint); $start<$end; $start++) {?> <i><?php echo $defFont;?><?php echo $hint[$start];?> <?php echo $tFont;?></i> <?php } ?> <?php echo $tFont;?> </td> </tr> </table> </div> <div class="TabbedPanelsContent"> <?php //konfigurasi tabel utama $tbHeader[0] = "Tanggal"; $tbHeaderWidth[0] = "15%"; $tbContent[0] = "kerja_tgl"; $tbContentAlign[0] = "center"; $tbHeader[1] = "Keterangan"; $tbHeaderWidth[1] = "25%"; $tbContent[1] = "kerja_ket"; $tbContentAlign[1] = "left"; $tbHeader[2] = "Dirut"; $tbHeaderWidth[2] = "5%"; $tbContent[2] = "kerja_nilai_dirut"; $tbContentAlign[2] = "center"; $tbHeader[3] = "Komen"; $tbHeaderWidth[3] = "15%"; $tbContent[3] = "kerja_komen_dirut"; $tbContentAlign[3] = "left"; $tbHeader[4] = "Direktur"; $tbHeaderWidth[4] = "5%"; $tbContent[4] = "kerja_nilai_dir"; $tbContentAlign[4] = "center"; $tbHeader[5] = "Komen"; $tbHeaderWidth[5] = "15%"; $tbContent[5] = "kerja_komen_dir"; $tbContentAlign[5] = "left"; $tbHeader[6] = "Manajer"; $tbHeaderWidth[6] = "5%"; $tbContent[6] = "kerja_nilai_man"; $tbContentAlign[6] = "center"; $tbHeader[7] = "Komen"; $tbHeaderWidth[7] = "15%"; $tbContent[7] = "kerja_komen_man"; $tbContentAlign[7] = "left"; //query ke tabel form // if($_POST["kerja_tgl"]) $sql_select[]= "kerja_tgl = '".date_db($_POST["kerja_tgl"])."'"; $sql_select[]= "id_pgw = ".$_POST["pgw_id"]; $sql = "select * from hrd_kerja_anda a left join hrd_pgw b on b.pgw_id = a.id_pgw"; if($sql_select){ $sql_select = implode(" and ",$sql_select); $sql = $sql ." where ".$sql_select; } if($_POST["order_by"]) { $sql .= " order by ".$_POST["order_by"]." ".$_POST["sort"]; }else{ $sql .= " order by kerja_tgl desc,pgw_nama"; } $QdataForm = mysql_query($sql); ?> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td colspan="2"> <table border="0" cellspacing="1" cellpadding="1" width="100%"> <tr background="<?php echo $dir_img;?>/bg_tr.png"> <?php for($start=0, $end=count($tbHeader); $start<$end; $start++) {?> <td width="<?php echo $tbHeaderWidth[$start];?>" align="center"> <?php echo $defFont;?><b><?php echo $tbHeader[$start];?></b><?php echo $tFont;?> </td> <?php } ?> </tr> <?php $urut = 0; while($dataForm=mysql_fetch_array($QdataForm)) { $tgl_absen [$urut] = $dataForm[$tbContent[0]]; ?> <tr bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#00FFFF'" onmouseout="this.style.backgroundColor='#FFFFFF'"> <td valign="top" align="<?php echo $tbContentAlign[1];?>"> <?php if($tgl_absen [$urut] != $tgl_absen [$urut-1]) { ?> <?php echo $defFont;?><?php echo format_date_long($dataForm[$tbContent[0]]);?> <?php echo $tFont;?> <?php }else echo " ";?> </td> <?php for($start=1, $end=count($tbHeader); $start<$end; $start++) {?> <td valign="top" align="<?php echo $tbContentAlign[$start];?>"> <?php echo $defFont;?><?php echo nl2br($dataForm[$tbContent[$start]]);?> <?php echo $tFont;?> </td> <?php } ?> </tr> <?php $urut = $urut+1; } ?> </table> </td> </tr> </table> </div> <div class="TabbedPanelsContent"> <?php //konfigurasi tabel utama $tbHeader2[0] = "Tanggal"; $tbHeader2Width[0] = "200"; $tbContent2[0] = "absen_tgl"; $tbContent2Align[0] = "center"; $tbHeader2[1] = "Karyawan"; $tbHeader2Width[1] = "250"; $tbContent2[1] = "user_name"; $tbContent2Align[1] = "center"; $tbHeader2[2] = "Cek In"; $tbHeader2Width[2] = "250"; $tbContent2[2] = "absen_cin"; $tbContent2Align[2] = "center"; $tbHeader2[3] = "Cek Out"; $tbHeader2Width[3] = "250"; $tbContent2[3] = "absen_cout"; $tbContent2Align[3] = "center"; $tbHeader2[4] = "Keterangan"; $tbHeader2Width[4] = "300"; $tbContent2[4] = "absen_ket"; $tbContent2Align[4] = "left"; //query ke tabel form $sql_select2[]= "id_pgw = ".$_POST["pgw_id"]; $sql = "select * from hrd_absen a left join hrd_user_login b on a.id_user = b.user_id"; if($sql_select2){ $sql_select2 = implode(" and ",$sql_select2); $sql = $sql ." where ".$sql_select2; } if($_POST["order_by"]) { $sql .= " order by ".$_POST["order_by"]." ".$_POST["sort"]; }else{ $sql .= " order by absen_tgl desc,absen_cin desc"; } $QdataForm2 = mysql_query($sql); ?> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td> <table border="0" cellspacing="1" cellpadding="1" width="100%"> <tr background="<?php echo $dir_img;?>/bg_tr.png"> <?php for($start=0, $end=count($tbHeader2); $start<$end; $start++) {?> <td width="<?php echo $tbHeader2Width[$start];?>" align="center"> <?php echo $defFont;?><b><?php echo $tbHeader2[$start];?></b><?php echo $tFont;?> </td> <?php } ?> </tr> <?php $urut = 0; while($dataForm2=mysql_fetch_array($QdataForm2)) { $tgl_absen [$urut] = $dataForm[$tbContent2[0]]; ?> <tr bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#00FFFF'" onmouseout="this.style.backgroundColor='#FFFFFF'"> <td valign="top" align="<?php echo $tbContent2Align[0];?>"> <?php echo $defFont;?><?php echo format_date_long($dataForm2[$tbContent2[0]]);?> <?php echo $tFont;?> </td> <?php for($start=1, $end=count($tbHeader2); $start<$end; $start++) {?> <td valign="top" align="<?php echo $tbContent2Align[$start];?>"> <?php echo $defFont;?><?php echo nl2br($dataForm2[$tbContent2[$start]]);?> <?php echo $tFont;?> </td> <?php } ?> </tr> <?php $urut = $urut+1; } ?> </table> </td> </tr> </table> </div> <div class="TabbedPanelsContent"> <?php $tbHeader3[0] = "Tanggal"; $tbHeader3Width[0] = "150"; $tbContent3[0] = "tl_tgl"; $tbContent3Align[0] = "center"; $tbHeader3[1] = "Pemberi"; $tbHeader3Width[1] = "200"; $tbContent3[1] = "pgw_nama"; $tbContent3Align[1] = "center"; $tbHeader3[2] = "Keterangan"; $tbHeader3Width[2] = "400"; $tbContent3[2] = "tl_ket"; $tbContent3Align[2] = "center"; $tbHeader3[3] = "Lama Pengerjaan"; $tbHeader3Width[3] = "200"; $tbContent3[3] = "tl_wkt_pengerjaan"; $tbContent3Align[3] = "center"; $tbHeader3[4] = "Progres"; $tbHeader3Width[4] = "50"; $tbContent3[4] = "tl_progres"; $tbContent3Align[4] = "center"; $sql = "select * from hrd_tasklist a left join hrd_pgw b on a.id_pgw_pemberi = b.pgw_id where id_pgw_penerima = ".$_POST["pgw_id"]; if($_POST["order_by"]) { $sql .= " order by ".$_POST["order_by"]." ".$_POST["sort"]; }else{ $sql .= " order by tl_tgl desc, tl_id"; } $QdataForm = mysql_query($sql); ?> <table border="0" cellspacing="1" cellpadding="1" width="100%"> <tr background="<?php echo $dir_img;?>/bg_tr.png"> <?php for($start=0, $end=count($tbHeader3); $start<$end; $start++) {?> <td width="<?php echo $tbHeader3Width[$start];?>" align="center"> <?php echo $defFont;?><b><?php echo $tbHeader3[$start];?></b><?php echo $tFont;?> </td> <?php } ?> </tr> <?php while($dataForm=mysql_fetch_array($QdataForm)) {?> <tr bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#00FFFF'" onmouseout="this.style.backgroundColor='#FFFFFF'"> <td valign="top" align="<?php echo $tbContent3Align[0];?>"> <?php echo $defFont;?><?php echo format_date_long($dataForm[$tbContent3[0]]);?> <?php echo $tFont;?> </td> <?php for($start=1, $end=count($tbHeader3)-1; $start<$end; $start++) {?> <td valign="top" align="<?php echo $tbContent3Align[$start];?>"> <?php echo $defFont;?><?php echo nl2br($dataForm[$tbContent3[$start]]);?> <?php echo $tFont;?> </td> <?php } ?> <td valign="top" align="<?php echo $tbContent3Align[4];?>"> <select name="tl_progres[]" class="textField"> <?php for($a=0, $b=10; $a<=$b; $a++) { ?> <option value="<?php echo ($a*10);?>" <?php if($dataForm["tl_progres"] == ($a*10)) echo "selected";?>><?php echo ($a*10);?>%</option> <?php } ?> </select> </td> </tr> <?php } ?> </table> </div> <div class="TabbedPanelsContent"> <?php //konfigurasi tabel utama $tbHeader4[0] = "Tanggal"; $tbHeader4Width[0] = "100"; $tbContent4[0] = "sms_tgl"; $tbContent4Align[0] = "center"; $tbHeader4[1] = "Pengirim"; $tbHeader4Width[1] = "150"; $tbContent4[1] = "pgw_nama"; $tbContent4Align[1] = "center"; $tbHeader4[2] = "Judul"; $tbHeader4Width[2] = "400"; $tbContent4[2] = "sms_judul"; $tbContent4Align[2] = "center"; $tbHeader4[3] = "Buka"; $tbHeader4Width[3] = "100"; $tbContent4[3] = "sms_id"; $tbContent4Align[3] = "center"; //query ke tabel form $sql = "select * from hrd_sms a left join hrd_pgw b on a.id_pgw_pemberi = b.pgw_id where id_pgw_penerima = ".$_POST["pgw_id"]; if($_POST["order_by"]) { $sql .= " order by ".$_POST["order_by"]." ".$_POST["sort"]; }else{ $sql .= " order by sms_tgl desc, sms_id desc"; } $QdataForm = mysql_query($sql); //echo $sql; ?> <table border="0" cellspacing="1" cellpadding="1" width="100%"> <tr background="<?php echo $dir_img;?>/bg_tr.png"> <?php for($start=0, $end=count($tbHeader4); $start<$end; $start++) {?> <td width="<?php echo $tbHeader4Width[$start];?>" align="center"> <?php echo $defFont;?><b><?php echo $tbHeader4[$start];?></b><?php echo $tFont;?> </td> <?php } ?> <td width="5%" align="center"> <input type="checkbox" onClick="EW_selectKey(this,'cbDelete[]');"> </td> </tr> <?php while($dataForm=mysql_fetch_array($QdataForm)) {?> <tr bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#00FFFF'" onmouseout="this.style.backgroundColor='#FFFFFF'"> <td valign="top" align="<?php echo $tbContent4Align[0];?>"> <?php echo $defFont;?><?php if($dataForm["sms_dibaca"]=="belum") {?><b><?php } ?><?php echo date_db($dataForm[$tbContent4[0]]);?> <?php echo $tFont;?> </td> <?php for($start=1, $end=count($tbHeader4)-1; $start<$end; $start++) {?> <td valign="top" align="<?php echo $tbContent4Align[$start];?>"> <?php echo $defFont;?><?php echo nl2br($dataForm[$tbContent4[$start]]);?> <?php echo $tFont;?> </td> <?php } ?> <td valign="top" align="<?php echo $tbContent4Align[0];?>"> <a href="#" onClick="window.open('../pesan_singkat_det.php?sms_id=<?php echo $dataForm["sms_id"];?>');"><img src="../images/more.gif" border="0"></a> </td> <td align="center"> <div><input type="checkbox" name="cbDelete[]" value="<?php echo $dataForm[$tbContent4[3]];?>"></div> </td> </tr> <?php } ?> </table> </div> <div class="TabbedPanelsContent"> <?php //konfigurasi tabel utama $tbHeader5[0] = "Tanggal"; $tbHeader5Width[0] = "15%"; $tbContent5[0] = "cuti_tgl"; $tbContent5Align[0] = "center"; $tbHeader5[1] = "Yang Mengajukan"; $tbHeader5Width[1] = "20%"; $tbContent5[1] = "pgw_nama"; $tbContent5Align[1] = "left"; $tbHeader5[2] = "Keterangan"; $tbHeader5Width[2] = "50%"; $tbContent5[2] = "cuti_ket"; $tbContent5Align[2] = "left"; $tbHeader5[3] = "Diterima"; $tbHeader5Width[3] = "10%"; $tbContent5[3] = "cuti_diterima"; $tbContent5Align[3] = "center"; //query ke tabel form $sql_select5[]= "pgw_id = ".$_POST["pgw_id"]; $sql5 = "select * from hrd_cuti a left join hrd_pgw b on b.pgw_id = a.id_pgw"; if($sql_select5){ $sql_select5 = implode(" and ",$sql_select5); $sql5 = $sql5." where ".$sql_select5; } if($_POST["order_by"]) { $sql5 .= " order by ".$_POST["order_by"]." ".$_POST["sort"]; }else{ $sql5 .= " order by cuti_tgl desc,pgw_nama"; } $QdataForm5 = mysql_query($sql5); ?> <table border="0" cellspacing="1" cellpadding="1" width="100%"> <tr background="<?php echo $dir_img;?>/bg_tr.png"> <?php for($start=0, $end=count($tbHeader5); $start<$end; $start++) {?> <td width="<?php echo $tbHeader5Width[$start];?>" align="center"> <?php echo $defFont;?><b><?php echo $tbHeader5[$start];?></b><?php echo $tFont;?> </td> <?php } ?> </tr> <?php $urut = 0; while($dataForm5=mysql_fetch_array($QdataForm5)) { ?> <tr bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#00FFFF'" onmouseout="this.style.backgroundColor='#FFFFFF'"> <td valign="top" align="<?php echo $tbContent5Align[0];?>"> <?php echo $defFont;?><?php echo format_date_long($dataForm5[$tbContent5[0]]);?> <?php echo $tFont;?> </td> <?php for($start=1, $end=count($tbHeader5)-1; $start<$end; $start++) {?> <td valign="top" align="<?php echo $tbContent5Align[$start];?>"> <?php echo $defFont;?><?php echo nl2br($dataForm5[$tbContent5[$start]]);?> <?php echo $tFont;?> </td> <?php } ?> <td valign="top" align="<?php echo $tbContent5Align[3];?>"> <?php if($dataForm["cuti_diterima"] == "y") {?> <img src="<?php echo $dir_img;?>/clean.png" border="0" height="16" width="16"> <?php }else{?> <img src="<?php echo $dir_img;?>/cancel_f2.png" border="0" height="16" width="16"> <?php } ?> </td> </tr> <?php } ?> </table> </div> <div class="TabbedPanelsContent"> <?php //konfigurasi tabel utama $tbHeader6[0] = "Tanggal"; $tbHeader6Width[0] = "15%"; $tbContent6[0] = "lembur_tgl"; $tbContent6Align[0] = "center"; $tbHeader6[1] = "Yang Mengajukan"; $tbHeader6Width[1] = "20%"; $tbContent6[1] = "pgw_nama"; $tbContent6Align[1] = "left"; $tbHeader6[2] = "Keterangan"; $tbHeader6Width[2] = "30%"; $tbContent6[2] = "lembur_ket"; $tbContent6Align[2] = "left"; $tbHeader6[3] = "Mulai"; $tbHeader6Width[3] = "10%"; $tbContent6[3] = "lembur_mulai"; $tbContent6Align[3] = "center"; $tbHeader6[4] = "Akhir"; $tbHeader6Width[4] = "10%"; $tbContent6[4] = "lembur_akhir"; $tbContent6Align[4] = "center"; $tbHeader6[5] = "Diterima"; $tbHeader6Width[5] = "10%"; $tbContent6[5] = "lembur_diterima"; $tbContent6Align[5] = "center"; //query ke tabel form $sql_select6[]= "pgw_id = ".$_POST["pgw_id"]; $sql6 = "select * from hrd_lembur a left join hrd_pgw b on b.pgw_id = a.id_pgw"; if($sql_select6){ $sql_select6 = implode(" and ",$sql_select6); $sql6 = $sql6." where ".$sql_select6; } if($_POST["order_by"]) { $sql6 .= " order by ".$_POST["order_by"]." ".$_POST["sort"]; }else{ $sql6 .= " order by lembur_tgl desc,pgw_nama"; } $QdataForm6 = mysql_query($sql6); ?> <table border="0" cellspacing="1" cellpadding="1" width="100%"> <tr background="<?php echo $dir_img;?>/bg_tr.png"> <?php for($start=0, $end=count($tbHeader6); $start<$end; $start++) {?> <td width="<?php echo $tbHeader6Width[$start];?>" align="center"> <?php echo $defFont;?><b><?php echo $tbHeader6[$start];?></b><?php echo $tFont;?> </td> <?php } ?> </tr> <?php $urut = 0; while($dataForm6=mysql_fetch_array($QdataForm6)) { ?> <tr bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#00FFFF'" onmouseout="this.style.backgroundColor='#FFFFFF'"> <td valign="top" align="<?php echo $tbContent6Align[0];?>"> <?php echo $defFont;?><?php echo format_date_long($dataForm6[$tbContent6[0]]);?> <?php echo $tFont;?> </td> <?php for($start=1, $end=count($tbHeader6)-1; $start<$end; $start++) {?> <td valign="top" align="<?php echo $tbContent6Align[$start];?>"> <?php echo $defFont;?><?php echo nl2br($dataForm6[$tbContent6[$start]]);?> <?php echo $tFont;?> </td> <?php } ?> <td valign="top" align="<?php echo $tbContent6Align[5];?>"> <?php if($dataForm6["lembur_diterima"] == "y") {?> <img src="<?php echo $dir_img;?>/clean.png" border="0" height="16" width="16"> <?php }else{?> <img src="<?php echo $dir_img;?>/cancel_f2.png" border="0" height="16" width="16"> <?php } ?> </td> </tr> <?php } ?> </table> </div> <div class="TabbedPanelsContent"> <?php $sql7 = "select pgw_nama,chat_wkt,chat_ket,chat_tgl from chat a left join hrd_pgw b on a.id_pgw = b.pgw_id where pgw_id = ".$_POST["pgw_id"]." order by chat_id desc"; $QdataForm7 = mysql_query($sql7); ?> <?php while($dataForm7=mysql_fetch_array($QdataForm7)) {?> <?php echo $defFont;?>[<?php echo $dataForm7["chat_tgl"];?>] <?php echo $dataForm7["chat_wkt"];?> || [<?php echo $dataForm7["pgw_nama"];?>] : <br> <?php echo $dataForm7["chat_ket"];?><br> <?php } ?> </div> <div class="TabbedPanelsContent"> <?php //cek absensi $ar_wkt = explode(":",$wkt); $detik_wkt = ($ar_wkt[0]*60*60)+($ar_wkt[1]*60)+$ar_wkt[2]; $sql = "select * from hrd_user_login a left join hrd_pgw b on a.id_pgw = b.pgw_id left join hrd_jabatan_pegawai c on b.id_jab_pgw = c.jab_pgw_id where user_id = ".$_POST["user_id"]; $rs = mysql_query($sql); $dataPgw=mysql_fetch_array($rs); $sql = "select count(absen_id) as jml from hrd_absen where id_user = ".$_POST["user_id"]." and absen_tgl = '".$skr."'"; $rs = mysql_query($sql); $statCek = mysql_fetch_array($rs); if($statCek["jml"]==0) { $act = "in"; $_POST["act"] = $act; }else{ $sql = "select absen_id from hrd_absen where absen_cout is null and id_user = ".$_POST["user_id"]." and absen_tgl = '".$skr."' order by absen_cin desc"; $rs = mysql_query($sql); $statCek2 = mysql_fetch_array($rs); if($statCek2["absen_id"]) { $act = "out"; $_POST["act"] = $act; }else{ $act = "in"; $_POST["act"] = $act; } } $absen = 0; //config bln $bln_array = explode("-",$skr); $tgl_now = $bln_array[2]; if(!$_POST["bulan"]) { $bln = $bln_array[1]; $_POST["bulan"] = $bln_array[1]; }else{ $bln = $_POST["bulan"]; } if(!$_POST["tahun"]) { $thn = $bln_array[0]; $_POST["tahun"] = $bln_array[0]; }else{ $thn = $_POST["tahun"]; } if($bln == "01") $jml_bln = "31"; if($bln == "02") { if(($bln_array[0]%4) == 0) { $jml_bln = "29"; }else{ $jml_bln = "28"; } } if($bln == "03") $jml_bln = "31"; if($bln == "04") $jml_bln = "30"; if($bln == "05") $jml_bln = "31"; if($bln == "06") $jml_bln = "30"; if($bln == "07") $jml_bln = "31"; if($bln == "08") $jml_bln = "31"; if($bln == "09") $jml_bln = "30"; if($bln == "10") $jml_bln = "31"; if($bln == "11") $jml_bln = "30"; if($bln == "12") $jml_bln = "31"; //end //kuota jam perbulan $totalBln = 0; $date_array = explode("-",$skr); $sql = "select * from hrd_absen where absen_tgl between '".$date_array[0]."-".$date_array[1]."-01' and '".$date_array[0]."-".$date_array[1]."-".$jml_bln."' and id_user = ".$_POST["user_id"]." and absen_cin is not null and absen_cout is not null"; $rs = mysql_query($sql); while($dataAbsensi=mysql_fetch_array($rs)) { $total = (strtotime($dataAbsensi["absen_cout"])-strtotime($dataAbsensi["absen_cin"])); $totalBln = $totalBln+$total; } $total_menit = round($totalBln/60); $total_jam = 0; if($total_menit>60) { $total_jam = round($totalBln/3600); $tJam = ($totalBln/3600)+0.5; if($tJam<=($total_jam+0.5)) { $total_jam = $total_jam-1; } $total_menit = round(($totalBln-($total_jam*3600))/60); } //end //kuota perhari $sql = "select * from hrd_absen where absen_tgl = '".$skr."' and id_user = ".$_POST["user_id"]." and absen_cin is not null and absen_cout is not null"; $rs = mysql_query($sql); while($dataAbsensi=mysql_fetch_array($rs)) { $total_hr_ini = (strtotime($dataAbsensi["absen_cout"])-strtotime($dataAbsensi["absen_cin"])); $totalBln_hr_ini = $totalBln_hr_ini+$total_hr_ini; } $total_menit_hr_ini = round($totalBln_hr_ini/60); $total_jam_hr_ini = 0; if($total_menit_hr_ini>60) { $total_jam_hr_ini = round($totalBln_hr_ini/3600); $tJam_hr_ini = ($totalBln_hr_ini/3600)+0.5; if($tJam_hr_ini<=($total_jam_hr_ini+0.5)) { $total_jam_hr_ini = $total_jam_hr_ini-1; } $total_menit_hr_ini = round(($totalBln_hr_ini-($total_jam_hr_ini*3600))/60); } //end //krng kuota $sql = "select Distinct absen_tgl from hrd_absen where absen_tgl between '".$date_array[0]."-".$date_array[1]."-01' and '".$date_array[0]."-".$date_array[1]."-".$jml_bln."' and id_user = ".$_POST["user_id"]." and absen_cin is not null and absen_cout is not null order by absen_tgl"; $rs2 = mysql_query($sql); // echo $sql; $tdkKuota = 0; while($dataAbsensi2=mysql_fetch_array($rs2)) { $tot = 0; $sql = "select * from hrd_absen where absen_tgl = '".$dataAbsensi2["absen_tgl"]."' and id_user = ".$_POST["user_id"]." and absen_cin is not null and absen_cout is not null"; $rs3 = mysql_query($sql); // echo $sql."<br>"; while($dataAbsensi=mysql_fetch_array($rs3)) { $sql = "select count(absen_id) as jml from hrd_absen where absen_tgl = '".$dataAbsensi2["absen_tgl"]."' and id_user = ".$_POST["user_id"]." and absen_cin is not null and absen_cout is not null"; $rs4 = mysql_query($sql); $dataCek4=mysql_fetch_array($rs4); $jml = $dataCek4["jml"]; $total_hr_ini = round((strtotime($dataAbsensi["absen_cout"])-strtotime($dataAbsensi["absen_cin"]))/60); if($jml <2 ) { $tot = $total_hr_ini; } else { $tot = $tot+$total_hr_ini; } if($tot < 480) $tdkKuota = $tdkKuota+1; $sql = "select * from hrd_absen a left join hrd_hari_libur b on a.absen_tgl = b.libur_tgl and a.absen_ket = b.libur_ket where absen_tgl = '".$dataAbsensi2["absen_tgl"]."' and libur_id is not null and id_user = ".$_POST["user_id"]." and absen_cin is not null and absen_cout is not null"; $rs5 = mysql_query($sql); $cekAbsen5 = mysql_fetch_array($rs5); if($cekAbsen5) { $tdkKuota = 0; } // echo $total_hr_ini." & ".$jml." & ".$tot." & ".$tdkKuota."<br>"; } } // //telat $totalBln = 0; $date_array = explode("-",$skr); $sql = "select count(absen_id) as jml_tlt from hrd_absen where absen_tgl between '".$date_array[0]."-".$date_array[1]."-01' and '".$date_array[0]."-".$date_array[1]."-".$jml_bln."' and id_user = ".$_POST["user_id"]." and absen_telat = 'y'"; $rs = mysql_query($sql); $dataTelat=mysql_fetch_array($rs); $telat_bln = $dataTelat["jml_tlt"]; //end // $sql = "select count(absen_id) as jml_cekout from hrd_absen where absen_tgl between '".$date_array[0]."-".$date_array[1]."-01' and '".$date_array[0]."-".$date_array[1]."-".$jml_bln."' and id_user = ".$_POST["user_id"]." and absen_cout is null"; $rs = mysql_query($sql); $dataCekOut = mysql_fetch_array($rs); $jml_cekout = $dataCekOut["jml_cekout"]; // //kehadiran for($start=0, $end=$tgl_now; $start<$end; $start++) { if(($start+1) < 10) $dt = "0".($start+1); else $dt = ($start+1); $tgl = $thn."-".$bln."-".$dt; $hari = GetDayName($tgl); if($hari!="Minggu") { $sql = "select distinct absen_id, absen_tgl from hrd_absen where id_user = ".$_POST["user_id"]." and absen_tgl = '".$tgl."'"; $rs = mysql_query($sql); $cekAbsen = mysql_fetch_array($rs); if($cekAbsen) { $hadir = $hadir+1; $jmlHrGj = $jmlHrGj+1; }else{ $hadir = $hadir+0; $absen = $absen+1; } }else{ $jmlHrGj = $jmlHrGj+1; } } //end // $hitung_kmrn = strtotime($skr)-(86400*1); $kmrn = date("Y-m-d",$hitung_kmrn); $sql = "select * from hrd_absen where absen_tgl = '".$kmrn."' and id_user = ".$_POST["user_id"]; $rs = mysql_query($sql); $cekAbsenKemarin = mysql_fetch_array($rs); if(!$cekAbsenKemarin) { $ketAbsen = "absen / tidak masuk"; }else{ $sql = "select * from hrd_absen where absen_tgl = '".$kmrn."' and id_user = ".$_POST["user_id"]." order by absen_cout desc"; $rs = mysql_query($sql); $cekAbsenKemarinCout = mysql_fetch_array($rs); if(!$cekAbsenKemarinCout["absen_cout"]) { $ketAbsen = "cek out"; } } // // $sql = "select count(sms_id) as jum from hrd_sms where sms_dibaca = 'belum' and id_pgw_penerima = ".$pgw_id; $QdataSMS = mysql_query($sql); $dataSMS=mysql_fetch_array($QdataSMS); $sql = "select count(tl_id) as jum from hrd_tasklist where tl_progres <> '100' and id_pgw_penerima = ".$pgw_id; $QdataPekerjaan = mysql_query($sql); $dataPekerjaan=mysql_fetch_array($QdataPekerjaan); $sql = "select count(counter_id) as jum_hr_ini from counter where counter_tgl = '".$skr."'"; $rs = mysql_query($sql); $DataPengunjung1 = mysql_fetch_array($rs); $hrIni = $DataPengunjung1["jum_hr_ini"]; $sql = "select * from hrd_user_login a left join hrd_pgw b on a.id_pgw = b.pgw_id left join hrd_jabatan_pegawai c on b.id_jab_pgw = c.jab_pgw_id where user_id = ".$_POST["user_id"]; $rs = mysql_query($sql); $dataPgw=mysql_fetch_array($rs); ?> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td><?php echo $defFont;?>Anda mempunyai <a href='pesan_singkat_v.php'><?php echo $dataSMS["jum"];?> sms belum terbaca</a>.</td> </tr> <tr> <td><?php echo $defFont;?>Pekerjaan yang belum terselesaikan ada <a href='tasklist_v.php'><?php echo $dataPekerjaan["jum"];?> pekerjaan</a>.</td> </tr> <tr> <td><?php echo $defFont;?>Anda kemarin belum <a href='absensi.php'><?php echo $ketAbsen;?></a>.</td> </tr> <tr> <td><br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="30%"><?php echo $defFont;?><b>Nama Karyawan</b></td> <td width="2%"><?php echo $defFont;?>:</td> <td width="68%"><?php echo $defFont;?><?php echo $dataPgw["pgw_nama"];?></td> <tr> <tr> <td width="30%"><?php echo $defFont;?><b>Jabatan</b></td> <td width="2%"><?php echo $defFont;?>:</td> <td width="68%"><?php echo $defFont;?><?php echo $dataPgw["jab_pgw_nama"];?></td> <tr> </table> </td> </tr> <tr> <td><br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="30%"><?php echo $defFont;?><b>Jam Masuk / Pulang</b></td> <td width="2%"><?php echo $defFont;?>:</td> <td width="68%"><?php echo $defFont;?><?php echo $dataPgw["pgw_cin"];?> / <?php echo $dataPgw["pgw_cout"];?></td> <tr> <tr> <td><?php echo $defFont;?><b>Jumlah Jam Kerja hari ini</b></td> <td><?php echo $defFont;?>:</td> <td><?php echo $defFont;?><?php echo $total_jam_hr_ini;?> jam, <?php echo $total_menit_hr_ini;?> menit</td> <tr> <tr> <td><?php echo $defFont;?><b>Jumlah Jam Kerja bulan ini</b></td> <td><?php echo $defFont;?>:</td> <td><?php echo $defFont;?><?php echo $total_jam;?> jam, <?php echo $total_menit;?> menit</td> <tr> </table> <hr> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="30%"><?php echo $defFont;?><b>Jumlah Telat bulan ini</b></td> <td width="2%"><?php echo $defFont;?>:</td> <td width="68%"><?php echo $defFont;?><?php echo $telat_bln;?> kali</td> <tr> <tr> <td><?php echo $defFont;?><b>Hadir / Absen</b></td> <td><?php echo $defFont;?>:</td> <td><?php echo $defFont;?><?php echo $hadir;?> / <?php echo $absen;?></td> <tr> <tr> <td><?php echo $defFont;?><b>Tidak Cek Out / Tidak Kuota</b></td> <td><?php echo $defFont;?>:</td> <td><?php echo $defFont;?><?php echo $jml_cekout;?> / <?php echo $tdkKuota;?></td> <tr> <tr> <td><?php echo $defFont;?><b>Gaji Anda Hari Ini</b></td> <td><?php echo $defFont;?>:</td> <td><?php echo $defFont;?>Rp. <?php echo currency_format(round(($dataPgw["pgw_gaji_pokok"]/$jml_bln)*$jmlHrGj));?></td> <tr> <tr> <td><?php echo $defFont;?><b>Denda telat</b></td> <td><?php echo $defFont;?>:</td> <td> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td width="30%"> </td> <td width="70%"> <?php echo $defFont;?>Rp. <?php echo currency_format($telat_bln*5000);?> </tdd> </tr> </table> </td> <tr> <tr> <td><?php echo $defFont;?><b>Denda tidak cek out</b></td> <td><?php echo $defFont;?>:</td> <td> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td width="30%"> </td> <td width="70%"> <?php echo $defFont;?>Rp. <?php echo currency_format($jml_cekout*5000);?> </tdd> </tr> </table> </td> <tr> <tr> <td><?php echo $defFont;?><b>Denda tidak kuota</b></td> <td><?php echo $defFont;?>:</td> <td> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td width="30%"> </td> <td width="70%"> <?php echo $defFont;?>Rp. <?php echo currency_format($tdkKuota*5000);?> </tdd> </tr> </table> </td> <tr> <tr> <td><?php echo $defFont;?><b>Gaji Total</b></td> <td><?php echo $defFont;?>:</td> <td><?php echo $defFont;?>Rp. <?php echo currency_format(round(($dataPgw["pgw_gaji_pokok"]/$jml_bln)*$jmlHrGj));?></td> <tr> <tr> <td><?php echo $defFont;?> </td> <td><?php echo $defFont;?> </td> <td><?php echo $defFont;?><hr width="50%" align="left"></td> <tr> <tr> <td><?php echo $defFont;?><b>Gaji Bersih</b></td> <td><?php echo $defFont;?>:</td> <td><?php echo $defFont;?>Rp. <?php echo currency_format(round(($dataPgw["pgw_gaji_pokok"]/$jml_bln)*$jmlHrGj)-(($jml_cekout*5000)+($telat_bln*5000)+($tdkKuota*5000)));?></td> <tr> </table> </td> </tr> </table> </div> </div> </div> </td> </tr> </table> <script type="text/javascript"> <!-- var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1"); //--> </script> </body> </html>