: | =$quePegawai_rows['nama'];?> |
if($kdDivisiUser!="2fae3af091b358426e150 64175a896df") { ?>
Dari | : | =lihatHari2($que_rows['dari'])?> | Sampai | : | =lihatHari2($que_rows['sampai'])?>< /td> | Jenis Cuti | : | =$que_rows['jenisCuti']?> | Alasan | : | =$que_rows['alasanCuti']?> | Pegawai Pengganti | |
$password = md5($_POST['password']); //jalankan query $q = "SELECT *FROM user WHERE username='$username' AND password='$password'"; contentloader.php $result = mysql_query($q); $count = mysql_num_rows($result); if($count==1) { gridloader.php $kdUser = $data['user_id']; //menampilkan grid $queJabatan = "select *from user_hak_akses where user_id='$kdUser'"; isset($_REQUEST['route'])?include 'grid/'.$_REQUEST['route'].".php":""; ?> $queJabatan_exe = mysql_query($queJabatan); $queJabatan_rows = mysql_num_rows($queJabatan_exe); koneksi.php if($queJabatan_rows>0) login.php { $queJabatan_array = mysql_fetch_array($queJabatan_exe); $idhakakses = $queJabatan_array['idhakakses']; $queNamaHakAkses = "select *from divisi_jabatan dj, divisi_ms dm where dm.kdDivisi=dj.kdDivisi and dj.kdDivisiJabatan='$idhakakses'"; $queNamaHakAkses_exe = mysql_query($queNamaHakAkses); $queNamaHakAkses_array = mysql_fetch_array($queNamaHakAkses_ex e); $_SESSION['kdDivisiJabatan'] = $idhakakses; $_SESSION['kdKdivisi'] = $queNamaHakAkses_array['kdDivisi']; $_SESSION['namaDivisiJabatan'] = $queNamaHakAkses_array['namaDivisiJaba tan']; $_SESSION['kdUser'] = $kdUser; $_SESSION['login'] = 1; $_SESSION['nip'] = $data['no_reg']; $_SESSION['nama'] = $data['nama']; $_SESSION['namaDivisi'] = $queNamaHakAkses_array['namaDivisi']; $_SESSION['namaDivisiJabatan'] = $queNamaHakAkses_array['namaDivisiJaba tan']; $_SESSION['jabatan'] = $queNamaHakAkses_array['namaDivisiJaba tan'].''.$queNamaHakAkses_array['namaDivisi']; header("location:index.php"); } } } ?> | |||||||||||||||||||
Dari Tanggal | : | =lihatHari2($cutidari_x)?> | |||||||||||||||||||||||||||||||
Divisi | : |
<pre>
$que_prov = "select *from user where user_id in(select user_id from user_hak_akses where idhakakses in(select kdDivisiJabatan from divisi_jabatan where kdDivisi='$kdDivisiReport'))"; $que_prov_h = mysql_query($que_prov); echo""; while($d = mysql_fetch_array($que_prov_h)){ echo ""; }}} if (!empty($_GET['q'])){ select_kota1 if ($_GET['q']) { include 'koneksi.php'; $id = urldecode($_GET['q']); $que_prov = "select *from inf_lokasi where lokasi_nama='$id'"; $que_prov_h = mysql_query($que_prov); $que_prov_h = mysql_query($que_prov); $que_prov_t = mysql_fetch_array($que_prov_h); echo""; $id_prov = $que_prov_t['lokasi_propinsi']; while($d = mysql_fetch_array($que_prov_h)){ $query = mysql_query("SELECT * FROM inf_lokasi where lokasi_propinsi='$id_prov' and lokasi_kecamatan=0 and lokasi_kelurahan=0 and lokasi_kabupatenkota!=0 order by lokasi_nama"); echo ""; }}} if (!empty($_GET['kdDivisiReport'])){ if ($_GET['kdDivisiReport']) { include 'koneksi.php'; $kdDivisiReport = urldecode($_GET['kdDivisiReport']); echo""; while($d = mysql_fetch_array($query)){ echo ""; }}} PENGAJUAN CUTI if (empty($_GET['kel'])){ if (!empty($_GET['kec']) and !empty($_GET['prop']) and !empty($_GET['kota'])) {include 'koneksi.php'; $query = mysql_query("SELECT * FROM inf_lokasi where lokasi_propinsi=$_GET[prop] and lokasi_kecamatan!=0 and lokasi_kelurahan=0 and lokasi_kabupatenkota=$_GET[kota] order by lokasi_nama"); echo""; while($d = mysql_fetch_array($query)) {echo ""; Form Pengajuan CutiSilakan Isi dengan Lengkap Data untuk Pengajuan Cuti.if(isset($_POST['submit'])) { if(pingDomain("www.google.com" )=="1") { }}} else { if (!empty($_GET['kel']) and !empty($_GET['prop']) and !empty($_GET['kota']) and !empty($_GET['keca'])) { include 'koneksi.php'; $query = mysql_query("SELECT * FROM inf_lokasi where lokasi_propinsi=$_GET[prop] and lokasi_kecamatan=$_GET[keca] and lokasi_kelurahan!=0 and lokasi_kabupatenkota=$_GET[kota] order by lokasi_nama"); echo""; $tanggalSekarang = date('d-m-Y'); $cutidari = $_POST['cutidari']; $cutidari_x = substr($_POST['cutidari'],6,4).''.substr($_POST['cutidari'],3,2).''.substr($_POST['cutidari'],0,2); $sampai = $_POST['sampai']; $sampai_x = substr($_POST['sampai'],6,4).''.substr($_POST['sampai'],3,2).''.substr($_POST['sampai'],0,2); while($d = mysql_fetch_array($query)) $alasancuti = $_POST['alasan']; {echo " header.php <script type="text/javascript" src="asset/phpgrid/lib/js/jquery.min.js"> <script type="text/javascript" src="asset/phpgrid/lib/js/jqgrid/js/i18n/grid.l ocale-en.js"> <script type="text/javascript" src="asset/phpgrid/lib/js/jqgrid/js/jquery.jqG rid.min.js"> <script type="text/javascript" src="asset/phpgrid/lib/js/themes/jqueryui.custom.min.js"> <style>body{background-color: #eeeeee} .halaman{text-align: center} .halaman2{text-align:left} .myheader{background-color: gray; color:white; padding: 20px; margin-bottom: 10px ; border:2px solid; border-bottomright-radius:2em;border-bottom-leftradius:2em} footer.php .mybox{background-color: white; padding: 5px; margin-bottom: 10px; text: arial;border-bottom-right-radius:5px;borderbottom-left-radius:5px} .myfooter{background-color: gray; color: white ;text-align: center; padding: 15px; margin-top: 10px; padding-top: 10px; border-top-right-radius:15px;border-top-leftradius:15px; border-bottom-rightradius:10px;border-bottom-left-radius:10px} .myboxhead{background-color: gray; padding: 8px; text: arial; border-top-rightradius:5px;border-top-left-radius:5px; color:white }.menukiri{list-style: none; margin-left: 5px} .pesan{color: green ; background: yellow; text-align: center } Hak Cipta @ 2015 PT. SUMMIT OTO FINANCE JL. RS Fatmawati No 201 B & C CILANDAK KOTA JAKARTA SELATAN .navbar{margin-bottom: 10px} changeMonth: true, input[type="text"] {margin-bottom: 0px} changeYear: true .judultabel{color:gray ; text-align: center; text: arial; border-top: 10px} }); .tr{text-align: justify; color: green; text: arial; font-size: 12px; text-align: center} $ ("#datepicker2").datepicker({ dateFormat:"dd-mm-yy", .tr1{text-align: justify; color: green; text : Cambria ;font-size: 15px; text-align: center} changeMonth: true, changeYear: true }); .tabelcetak{text-align: center} $ ("#kalender").datepicker({ .ui-datepicker-month{color : black !important} .ui-datepicker-year{color : black !important} .judul-berita{font-size: 18px; color : black}.accordion-inner{text-align: justify ; color : black} /*.tahunku{color: black}*/ |