[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
14082024
/
Data
/
htdocs
/
htdocs
/
simpeg
/
mobile
/
[
Home
]
File: report.php
<?php require_once("configure_first.php"); if(isset($_SESSION["hrd-id"])) { $hrid = $_SESSION["hrd-id"]; if($hrid == 0) { echo "<script>window.alert('Silahkan Login Lagi');location.href='index.php';</script>"; } }else{ echo "<script>window.alert('Silahkan Login Lagi');location.href='index.php';</script>"; } $ket = ""; $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 = ".$_SESSION["hrd-id"]; $rs = mysql_query($sql); $dataPgw=mysql_fetch_array($rs); ?> <!doctype html> <html lang="en"> <!-- --> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, shrink-to-fit=no, viewport-fit=cover"> <link rel="apple-touch-icon" href="img/f7-icon-square.html"> <link rel="icon" href="img/f7-icon.html"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="vendor/bootstrap-4.1.3/css/bootstrap.min.css"> <!-- Material design icons CSS --> <link rel="stylesheet" href="vendor/materializeicon/material-icons.css"> <!-- swiper carousel CSS --> <link rel="stylesheet" href="vendor/swiper/css/swiper.min.css"> <!-- app CSS --> <link id="theme" rel="stylesheet" href="css/style.css" type="text/css"> <title><?php echo $msp["title"];?></title> </head> <body class="color-theme-blue push-content-right theme-light"> <form name="loginf" method="POST" action="<?php echo $msp["dsb"];?>"> <div class="loader justify-content-center "> <div class="maxui-roller align-self-center"> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> <div></div> </div> </div> <div class="wrapper"> <!-- sidebar right start --> <div class="sidebar sidebar-right"> <header class="row m-0 fixed-header"> <div class="left"> <a href="javascript:void(0)" class="menu-left-close"><i class="material-icons">keyboard_backspace</i></a> </div> <div class="col center"> <a href="#" class="logo">Your Profile</a> </div> </header> <div class="page-content text-white"> <div class="row mx-0 mt-3"> <div class="col"> <div class="card bg-none border-0 shadow-none"> <div class="card-body userlist_large"> <div class="media"> <figure class="avatar avatar-120 rounded-circle my-2"> <img src="img/avatars/2s.png" alt="user image"> </figure> <div class="media-body"> <h4 class="mt-0 text-white"><?php echo $dataPgw["pgw_nama"];?></h4> <p class="text-white"><?php echo $dataPgw["jab_pgw_nama"];?></p> <div class="mb-0"> <b>Jam Masuk / Pulang : </b><br><?php echo $dataPgw["pgw_cin"];?> / <?php echo $dataPgw["pgw_cout"];?> </div> <br> </div> </div> </div> </div> </div> </div> </div> </div> <!-- sidebar right ends --> <!-- page main start --> <div class="page"> <form class="searchcontrol"> <div class="input-group"> <div class="input-group-prepend"> <button type="button" class="input-group-text close-search"><i class="material-icons">keyboard_backspace</i></button> </div> <input type="email" class="form-control border-0" placeholder="Search..." aria-label="Username"> </div> </form> <header class="row m-0 fixed-header"> <div class="left"> </div> <div class="col center"> <a href="#" class="logo"> <figure><img src="<?php echo $msp["logo"];?>" alt=""></figure> <?php echo $msp["client"];?></a> </div> <div class="right"> <a href="javascript:void(0)" class="menu-right"><i class="material-icons">person</i></a> </div> </header> <div class="page-content"> <div class="content-sticky-footer" style="padding-top:0px;"> <div class="col-12 mb-4"> <div class="card"> <div class="card-body"> <p class="text-uppercase font-weight-bold text-primary">Menu</p> <div class="text-center justify-content-between d-flex"> <?php include("menu.inc.php");?> </div> </div> </div> </div> <div class="w-100"> <div class="carosel"> <div class="swiper-container swiper-init swipermultiple"> <div class="swiper-pagination"></div> <div class="swiper-wrapper"> <div class="swiper-slide"> <div class="card w-100 mb-0"> <figure class="background rounded"> <img src="img/city.jpg" alt="" class="opacity-full"> </figure> <div class="card-body text-center pb-1"> <div class="row"> <div class="col pr-0 text-left"> <p class="text-uppercase font-weight-bold text-white">Pengajuan<br>Cuti</p> </div> </div> <div class="w-100"> <i class="material-icons icon-3x text-white my-2">web</i> <div class="text-white mt-3">Laporan</div> <button type="button" class="btn btn-warning rounded btn-sm my-3" onclick="location.href='<?php echo $msp["rcti"];?>';">Go</button> </div> </div> </div> </div> <div class="swiper-slide"> <div class="card w-100 mb-0"> <figure class="background rounded"> <img src="img/city2.jpg" alt="" class="opacity-full"> </figure> <div class="card-body text-center pb-1"> <div class="row"> <div class="col pr-0 text-left"> <p class="text-uppercase font-weight-bold text-white">Pengajuan<br>Lembur</p> </div> </div> <div class="w-100"> <i class="material-icons icon-3x text-white my-2">event</i> <div class="text-white mt-3">Laporan</div> <button type="button" class="btn btn-success rounded btn-sm my-3" onclick="location.href='<?php echo $msp["rlmbr"];?>';">Go</button> </div> </div> </div> </div> <div class="swiper-slide"> <div class="card w-100 mb-0"> <figure class="background rounded"> <img src="img/city.jpg" alt="" class="opacity-full"> </figure> <div class="card-body text-center pb-1"> <div class="row"> <div class="col pr-0 text-left"> <p class="text-uppercase font-weight-bold text-white">Izin Keluar<br>Kantor</p> </div> </div> <div class="w-100"> <i class="material-icons icon-3x text-white my-2">face</i> <div class="text-white mt-3">Laporan</div> <button type="button" class="btn btn-danger rounded btn-sm my-3" onclick="location.href='<?php echo $msp["rklr"];?>';">Go</button> </div> </div> </div> </div> <div class="swiper-slide"> <div class="card w-100 mb-0"> <figure class="background rounded"> <img src="img/city2.jpg" alt="" class="opacity-full"> </figure> <div class="card-body text-center pb-1"> <div class="row"> <div class="col pr-0 text-left"> <p class="text-uppercase font-weight-bold text-white">Kunjungan<br>Sales</p> </div> </div> <div class="w-100"> <i class="material-icons icon-3x text-white my-2">assignment</i> <div class="text-white mt-3">Laporan</div> <button type="button" class="btn btn-primary rounded btn-sm my-3" onclick="location.href='<?php echo $msp["rksls"];?>';">Go</button> </div> </div> </div> </div> </div> </div> </div> </div> <h2 class="block-title">Riwayat Absensi Anda</h2> <ul class="list-group mb-4 media-list "> <?php if($_POST["absen_tgl"]) $sql_select[]= "absen_tgl = '".date_db($_POST["absen_tgl"])."'"; if($_SESSION["hrd-id"]) $sql_select[]= "id_user = '".$_SESSION["hrd-id"]."'"; $sql = "select * from hrd_absen a left join hrd_user_login b on a.id_user = b.user_id left join hrd_pgw c on c.pgw_id = b.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 absen_tgl desc,absen_id desc, user_name limit 0,30"; } $QdataForm = mysql_query($sql); $urut = 0; while($dataForm=mysql_fetch_array($QdataForm)) { $tgl_absen [$urut] = $dataForm[$tbContent[0]]; ?> <li class="list-group-item"> <a href="#" class="media shadow-15"> <div class="w-auto h-100"> <figure class="avatar avatar-80"><img src="img/iconperson.png" alt=""> </figure> </div> <div class="media-body"> <h5><?php echo $dataForm["pgw_nama"];?></h5> <p class="small mb-2 text-secondary">Date: <?php echo format_date_long($dataForm["absen_tgl"]);?> | <?php echo $dataForm["absen_cin"];?> | <?php echo $dataForm["absen_cout"];?></p> <p><?php echo $dataForm["absen_ket"];?><br> <img src="img/in/<?php echo $dataForm["gambar1"];?>" alt="" width="128"><br> <img src="img/out/<?php echo $dataForm["gambar2"];?>" alt="" width="128"> </p> </div> </a> </li> <?php } ?> </ul> </div> <div class="footer-wrapper shadow-15"> <div class="footer"> <div class="row mx-0"> <div class="col"> <?php echo $msp["footer"];?> </div> <div class="col-7 text-right"> <a href="#" class="social"><img src="img/facebook.png" alt=""></a> <a href="#" class="social"><img src="img/googleplus.png" alt=""></a> </div> </div> </div> <div class="footer dark"> <div class="row mx-0"> <div class="col text-center"> Copyright @2020, <?php echo $msp["client"];?> </div> </div> </div> </div> </div> </div> <!-- page main ends --> </div> <!-- Optional JavaScript --> <!-- jQuery first, then Popper.js, then Bootstrap JS --> <script src="js/jquery-3.2.1.min.js"></script> <script src="js/popper.min.js"></script> <script src="vendor/bootstrap-4.1.3/js/bootstrap.min.js"></script> <!-- Cookie jquery file --> <script src="vendor/cookie/jquery.cookie.js"></script> <!-- sparklines chart jquery file --> <script src="vendor/sparklines/jquery.sparkline.min.js"></script> <!-- Circular progress gauge jquery file --> <script src="vendor/circle-progress/circle-progress.min.js"></script> <!-- Swiper carousel jquery file --> <script src="vendor/swiper/js/swiper.min.js"></script> <!-- Application main common jquery file --> <script src="js/main.js"></script> <!-- page specific script --> <script> $(window).on('load', function() { /* sparklines */ $(".dynamicsparkline").sparkline([5, 6, 7, 2, 0, 4, 2, 5, 6, 7, 2, 0, 4, 2, 4], { type: 'bar', height: '25', barSpacing: 2, barColor: '#a9d7fe', negBarColor: '#ef4055', zeroColor: '#ffffff' }); /* gauge chart circular progress */ $('.progress_profile1').circleProgress({ fill: '#169cf1', lineCap: 'butt' }); $('.progress_profile2').circleProgress({ fill: '#f4465e', lineCap: 'butt' }); $('.progress_profile4').circleProgress({ fill: '#ffc000', lineCap: 'butt' }); $('.progress_profile3').circleProgress({ fill: '#00c473', lineCap: 'butt' }); $('.progress_profile5').circleProgress({ fill: '#ffffff', lineCap: 'butt' }); /*Swiper carousel */ var mySwiper = new Swiper('.swiper-container', { slidesPerView: 2, spaceBetween: 0, autoplay: { delay: 1500, disableOnInteraction: false, }, pagination: { el: '.swiper-pagination', clickable: true, } }); /* tooltip */ $(function() { $('[data-toggle="tooltip"]').tooltip() }); }); </script> </form> </body> </html>