Lampiran. Lampiran 1 : Database
|
|
- Edgar Griffin
- 5 years ago
- Views:
Transcription
1 78 Lampiran Lampiran 1 : Database
2 79
3 80 Lampiran 2 : Coding List a. Coding Login <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initialscale=1"> <meta name="description" content="aplikasi Penggajian Karyawan"> <meta name="author" content="putri Setyoweni"> <link rel="icon" href="../../favicon.ico"> <title>selamat Datang</title> <link href="dist/css/bootstrap.min.css" rel="stylesheet"> src="dist/js/jquery js"></script> src="dist/js/bootstrap.js"></script> <link href="signin.css" rel="stylesheet"> src="assets/js/ie-emulation-modes-warning.js"></script> src="assets/js/ie10-viewport-bugworkaround.js"></script> src=" /script> src=" ipt> </head> <body background="image/banner-bg.jpg"> <div class="container"> <form class="form-signin" action="proseslogin.php" method="post" > <h2 class="form-signin-heading"><center><span class="glyphicon glyphicon-th-large"></span> Selamat Datang </center></h2> <h5 class="baru">aplikasi Penggajian Pegawai</h5> <input name="username" id="username" type="text" class="formcontrol" placeholder="username" required autofocus> <input name="password" id="password" type="password" class="form-control" placeholder="password" required> <label class="checkbox"> <input type="checkbox" value="remember-me"> Remember me </label> <button class="btn btn-lg btn-danger btn-block" type="submit">sign in</button> </form> <div class="modal fade" id="contact" tabindex="-1" role="dialog" aria-labelledby="mymodallabel" ariahidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header">
4 81 <button type="button" class="close" data-dismiss="modal" ariahidden="true"> </button> <class="btn btn-default" datadismiss="modal">close</button> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <center><h5 class="form-signin"> 2017 <a href="#" data-toggle="modal" data-target="#contact"> Putri_setyoweni</a></h5></center> </body> </html> b. Coding Index Data Pegawai session_start(); if (empty($_session['username'])){ header('location:../login.html'); } else { include "../koneksi.php"; <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initialscale=1.0"> <meta name="description" content="aplikasi Penggajian Karyawan"> <meta name="author" content="putri Setyoweni"> <title>aplikasi Penggajian</title> <!-- Bootstrap core CSS --> <link href="css/bootstrap.css" rel="stylesheet"> <!-- Add custom CSS here --> <link href="css/sb-admin.css" rel="stylesheet"> <link rel="stylesheet" href="font-awesome/css/fontawesome.min.css"> <!-- Page Specific CSS --> <link rel="stylesheet" href=" min.css"> type="text/javascript"> // 1 detik = 1000 window.settimeout("waktu()",1000); function waktu() { var tanggal = new Date(); settimeout("waktu()",1000); document.getelementbyid("output").innerhtml= tanggal.gethours()+":"+tanggal.getminutes()+":"+tanggal.getseco nds(); }
5 </script> language="javascript"> var tanggallengkap = new String(); var namahari = ("Minggu Senin Selasa Rabu Kamis Jumat Sabtu"); namahari = namahari.split(" "); var namabulan = ("Januari Februari Maret April Mei Juni Juli Agustus September Oktober November Desember"); namabulan = namabulan.split(" "); var tgl = new Date(); var hari = tgl.getday(); var tanggal = tgl.getdate(); var bulan = tgl.getmonth(); var tahun = tgl.getfullyear(); tanggallengkap = namahari[hari] + ", " +tanggal + " " + namabulan[bulan] + " " + tahun; var popupwindow = null; function centeredpopup(url,winname,w,h,scroll){ LeftPosition = (screen.width)? (screen.width-w)/2 : 0; TopPosition = (screen.height)? (screen.height-h)/2 : 0; settings='height='+h+',width='+w+',top='+topposition+',left='+l eftposition+',scrollbars='+scroll+',resizable' popupwindow = window.open(url,winname,settings) } </script> </head> <body> <div id="wrapper"> <!-- Sidebar --> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle" datatoggle="collapse" data-target=".navbar-ex1-collapse"> <span class="sr-only">toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="index.php">aplikasi Penggajian Pegawai</a> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse navbar-ex1-collapse"> <ul class="nav navbar-nav side-nav"> <li class="active"> <a href="index.php"><i class="fa fa-dashboard"></i> Data Pegawai</a></li> <li><a href="potongan.php"><i class="fa fa-edit"> </i> Data Potongan</a></li> <li><a href="golongan.php"><i class="fa fa-table"> </i> Data Golongan</a></li> <li><a href="gaji.php"><i class="fa fa-table"></i> Proses Gaji</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-caret-square-o-down"> </i> Rekap Gaji <b class="caret"></b></a> 82
6 83 <ul class="dropdown-menu"> <li><a href="month.php"> <i class="fa fa-table"></i>month</a></li> </li> <li><a href="tambahuser.php"><i class="fa fa-edit"></i> Tambah User</a></li> <ul class="nav navbar-nav navbar-right navbar-user"> <!--<li class="dropdown messages-dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-envelope"></i> Messages <span class="badge">7</span> <b class="caret"></b></a> <ul class="dropdown-menu"> <li class="dropdown-header">7 New Messages</li> <li class="message-preview"> <a href="#"> <span class="avatar"> <img src=" <span class="name">john Smith:</span> <span class="message">hey there, I wanted to ask you something...</span> <span class="time"><i class="fa fa-clock-o"></i> 4:34 PM</span> </a> </li> <li class="divider"></li> <li class="message-preview"> <a href="#"> <span class="avatar"><img src=" <span class="name">john Smith:</span> <span class="message">hey there, I wanted to ask you something...</span> <span class="time"><i class="fa fa-clock-o"></i> 4:34 PM</span> </a> </li> <li class="divider"></li> <li class="message-preview"> <a href="#"> <span class="avatar"><img src=" <span class="name">john Smith:</span> <span class="message">hey there, I wanted to ask you something...</span> <span class="time"><i class="fa fa-clock-o"></i> 4:34 PM</span> </a> </li> <li class="divider"></li> <li><a href="#">view Inbox <span class="badge">7</span></a></li> </li>--> <!--<li class="dropdown alerts-dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-bell"></i> Alerts <span class="badge">3</span> <b class="caret"></b></a> <ul class="dropdown-menu">
7 <li><a href="#">default <span class="label label-default">default</span></a></li> <li><a href="#">primary <span class="label label-primary">primary</span></a></li> <li><a href="#">success <span class="label label-success">success</span></a></li> <li><a href="#">info <span class="label labelinfo">info</span></a></li> <li><a href="#">warning <span class="label label-warning">warning</span></a></li> <li><a href="#">danger <span class="label label-danger">danger</span></a></li> <li class="divider"></li> <li><a href="#">view All</a></li> </li>--> <li class="dropdown user-dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-user"></i> Hallo, echo $_SESSION['username']; <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#"><i class="fa fa-user"></i> Profil</a></li> <li><a href="google.com/mail"> <i class="fa fa-envelope"></i> Pesan Masuk <span class="badge">7</span></a></li> <li class="divider"></li> <li><a href="../logout.php" onclick="return confirm('apakah anda akan keluar?');"><i class="fa fa-power-off"></i> Keluar </a></li> </li> <!-- /.navbar-collapse --> </nav> } <div id="page-wrapper"> <div class="row"> <div class="col-lg-12"> <h1>home </h1> <ol class="breadcrumb"> <li class="active"><i class="fa fa-dashboard"></i> Homepage <table width="900"> <td width="250"><div class="tanggal"><h4> language="javascript">document.write(tanggallengkap);</script> </h4></td> <td align="left" width="30"> - </td> <td align="left" width="620"> <h4> <div id="output" class="jam" ></h4></td> </table></li></ol> <br /> <div class="alert alert-success alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true"> </button> 84
8 Selamat Datang Di Halaman Awal Aplikasi Penggajian Yayasan Bina Darma. Untuk Menginput Data Golongan Terbaru Silahkan Klik NIP Karyawan Yang Dipilih <!-- /.row --> <!-- <div class="row"> <div class="col-lg-12"> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title"><i class="fa fa-bar-chart-o"> </i> Traffic Statistics: October 1, October 31, 2013</h3> <div class="panel-body"> <div id="morris-chart-area"> --> <!-- /.row --> <div class="col-lg-12"> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title"><i class="fa fa-user"></i> Data Karyawan </h3> <div class="panel-body"> <div class="table-responsive"> $tampil=mysql_query("select * from t_pegawai"); <table class="table table-bordered table-hover table-striped tablesorter"> <th>no<i class="fa fa-sort"></i></th> <th>nip - Status <i class="fa fa-sort"></i></th> <th>nama Pegawai <i class="fa fa-sort"></i></th> <th>no Rek <i class="fa fa-sort"></i></th> <th>alamat <i class="fa fa-sort"></i></th> <th>no Telp <i class="fa fa-sort"></i></th> <th> <i class="fa fa-sort"></i></th> <th>masuk Kerja <i class="fa fa-sort"></i></th> <th>periode Gol <i class="fa fa-sort"></i></th> <th>periode Pot <i class="fa fa-sort"></i></th> <th>aksi <i class="fa fa-sort"></i></th> $no = 1; while($data=mysql_fetch_array($tampil)) { <td> echo $no++ ; </td> <td><a href="editgol.php?hal=edit&kd= echo $data['nip'];"> <i class="fa fa-user"></i> echo $data['nip']; - 85
9 86 echo $data['status_pegawai']; </a></td> <td> echo $data['nama_pegawai']; </td> <td> echo $data['no_rek']; </td> <td> echo $data['alamat']; </td> <td> echo $data['no_telp']; </td> <td> echo $data[' ']; </td> <td> echo $data['masuk_kerja']; </td> <td> echo $data['periode_gol']; </td> <td> echo $data['periode_pot']; </td> <td><a class="btn btn-sm btn-primary" href="edit.php?hal=edit&kd= echo $data['nip'];"> <i class="fa fa-edit"></i> Edit</a> <a class="btn btn-sm btn-danger" href="hapus.php?hal=hapus&kd= echo $data['nip'];"> <i class="fa fa-wrench"></i> Hapus</a></td> } </tbody> </table> <div class="text-right"> <a href="tambah.php" class="btn btn-sm btn-warning"> Tambah Data Pegawai <i class="fa fa-arrow-circleright"></i></a> <!-- /.row --> <!-- /#page-wrapper --> <!-- /#wrapper --> <footer> </footer> <!-- JavaScript --> src="js/jquery js"></script> src="js/bootstrap.js"></script> <!-- Page Specific Plugins --> src=" raphael-min.js"></script> src=" min.js"></script> src="js/morris/chart-data-morris.js"></script> src="js/tablesorter/jquery.tablesorter. js"></script> src="js/tablesorter/tables.js"></script> </body> </html> c. Coding Edit Periode Golongan dan Potongan session_start(); if (empty($_session['username'])){ echo ">alert('anda belum mempunyai hak akses.');
10 window.location = '../index.html'</script>"; } else { include "../koneksi.php"; <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initialscale=1.0"> <meta name="description" content="aplikasi Penggajian Karyawan"> <meta name="author" content="putri Setyoweni"> <title>edit Golongan Pegawai</title> <!-- Bootstrap core CSS --> <link href="css/bootstrap.css" rel="stylesheet"> <!-- Add custom CSS here --> <link href="css/sb-admin.css" rel="stylesheet"> <link rel="stylesheet" href="font-awesome/css/fontawesome.min.css"> <!-- Page Specific CSS --> <link rel="stylesheet" href=" min.css"> type="text/javascript"> // 1 detik = 1000 window.settimeout("waktu()",1000); function waktu() { var tanggal = new Date(); settimeout("waktu()",1000); document.getelementbyid("output").innerhtml= tanggal.gethours()+":"+tanggal.getminutes()+":"+tanggal.getseco nds(); } </script> language="javascript"> var tanggallengkap = new String(); var namahari = ("Minggu Senin Selasa Rabu Kamis Jumat Sabtu"); namahari = namahari.split(" "); var namabulan = ("Januari Februari Maret April Mei Juni Juli Agustus September Oktober November Desember"); namabulan = namabulan.split(" "); var tgl = new Date(); var hari = tgl.getday(); var tanggal = tgl.getdate(); var bulan = tgl.getmonth(); var tahun = tgl.getfullyear(); tanggallengkap = namahari[hari] + ", " +tanggal + " " + namabulan[bulan] + " " + tahun; var popupwindow = null; function centeredpopup(url,winname,w,h,scroll){ LeftPosition = (screen.width)? (screen.width-w)/2 : 0; TopPosition = (screen.height)? (screen.height-h)/2 : 0; settings='height='+h+',width='+w+',top='+topposition+',left='+l eftposition+',scrollbars='+scroll+',resizable' popupwindow = window.open(url,winname,settings) } </script> </head> 87
11 <body> <div id="wrapper"> <!-- Sidebar --> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle" datatoggle="collapse" data-target=".navbar-ex1-collapse"> <span class="sr-only">toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="index.php">aplikasi Penggajian Pegawai</a> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse navbar-ex1- collapse"> <ul class="nav navbar-nav side-nav"> <li class="active"><a href="index.php"> <i class="fa fa-dashboard"></i> Data Pegawai</a></li> <li><a href="potongan.php"><i class="fa fa-edit"> </i> Data Potongan</a></li> <li><a href="golongan.php"><i class="fa fa-table"> </i> Data Golongan</a></li> <li><a href="gaji.php"> <i class="fa fa-table"></i> Proses Gaji</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-caret-square-o-down"></i> Rekap Gaji <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="month.php"><i class="fa fatable"></i>month</a></li> </li> <li><a href="tambahuser.php"> <i class="fa fa-edit"></i> Tambah User</a></li> <ul class="nav navbar-nav navbar-right navbar-user"> <li class="dropdown user-dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-user"></i> echo $_SESSION['username']; <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#"><i class="fa fa-user"></i> Profile</a></li> <li><a href="google.com/mail"><i class="fa fa-envelope"></i> Inbox <span class="badge">7</span></a></li> <li class="divider"></li> <li><a href="../logout.php" onclick="return confirm 88
12 ('Apakah anda akan keluar?');"> <i class="fa fa-power-off"></i> Keluar</a></li> </li> <!-- /.navbar-collapse --> </nav> } <div id="page-wrapper"> <div class="row"> <div class="col-lg-12"> <h1>home</h1> <ol class="breadcrumb"> <li class="active"><i class="fa fa-dashboard"></i> Homepage</li> </ol> <table width="900"> <td width="250"><div class="tanggal"><h4> language="javascript">document.write(tanggallengkap);</script>< /div> </h4></td> <td align="left" width="30"> - </td> <td align="left" width="620"><h4> <div id="output" class="jam" ></h4></td> </table> <br /> <div class="alert alert-success alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true"> </button> Silahkan Edit Data Periode Sesuai Dengan NIP Terpilih <div class="alert alert-success alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true"> </button> Bila Tidak Ada data Periode Terbaru, Harap Input Data Periode Pada Menu Data Golongan Dan Potongan Terlebih Dahulu <!-- /.row --> <div class="col-lg-12"> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title"> <i class="fa fa-user"></i> Edit Data Karyawan </h3> <div class="panel-body"> <div class="table-responsive"> $query=mysql_query ("SELECT * FROM t_pegawai WHERE NIP='$_GET[kd]'"); $data = mysql_fetch_array($query); <form action="insertnewgol.php" method="post"> <table class="table table-condensed"> 89
13 90 <td><label for="nip">nip</label></td> <td><input name="nip" type="text" class="form-control" id="nip" value=" echo $data['nip'];" <td><label for="nama_pegawai">nama Pegawai</label></td> <td><input name="nama_pegawai" type="text" class="form-control" id="nama_pegawai" value=" echo $data['nama_pegawai'];" <td><label for="no_rek">no Rekening</label></td> <td><input name="no_rek" type="text" class="form-control" id="no_rek" value=" echo $data['no_rek'];" <td><label for="alamat">alamat</label></td> <td><input name="alamat" type="text" class="form-control" id="alamat" value=" echo $data['alamat'];" <td><label for="no_telp">no Telepon</label></td> <td><input name="no_telp" type="text" class="form-control" id="no_telp" value=" echo $data['no_telp'];" <td><label for=" "> </label></td> <td><input name=" " type="text" class="form-control" id=" " value=" echo $data[' '];" <td><label for="masuk_kerja">masuk Kerja</label></td> <td><input name="masuk_kerja" type="text" class="form-control" id="masuk_kerja" value=" echo $data['masuk_kerja'];" <td><label for="periode_gol">periode Golongan</label></td> <td><select name="periode_gol" class="form-control" required> $query = "select Periode_gol FROM t_golongan"; $hasil = mysql_query($query); while ($qtabel = mysql_fetch_assoc($hasil)) { echo'<option value="'.$qtabel['periode_gol'].'">'.$qtabel['periode_gol'].'</ option>'; } </select>
14 91 <td><label for="periode_pot">periode Potongan</label></td> <td><select name="periode_pot" class="form-control" required> $query = "select Periode_pot FROM t_potongan"; $hasil = mysql_query($query); while ($qtabel = mysql_fetch_assoc($hasil)) { echo'<option value="'.$qtabel['periode_pot'].'">'.$qtabel['periode_pot'].'</ option>'; } </select> <td><label for="status_pegawai">status Pegawai</label></td> <td><select name="status_pegawai" class="form-control" required> <option value="">--- Pilih Status Pegawai --- </option> <option value="aktif">aktif</option> <option value="nonaktif">non-aktif</option> </select> </td> <td><input type="submit" value="simpan Data" class="btn btn-sm btn-primary"/> <a href="index.php" class="btn btn-sm btnprimary">kembali</a></td> </table> </form> <div class="text-right"> <a href="index.php" data-toggle="tooltip" class="tip-bottom" data-original-title="tooltip Dibawah">View All Transactions <i class="fa fa-arrow-circle-right"></i></a> <!-- /.row --> <!-- /#page-wrapper --> <!-- /#wrapper --> <!-- JavaScript --> src="js/jquery js"></script> src="js/bootstrap.js"></script> <!-- Page Specific Plugins --> src=" raphael-min.js"></script> src=" min.js"></script> src="js/morris/chart-data-morris.js"></script>
15 92 src="js/tablesorter/jquery.tablesorter.js"></script> src="js/tablesorter/tables.js"></script> </body> </html> d. Coding Tambah Data Potongan session_start(); if (empty($_session['username'])){ echo ">alert('anda belum mempunyai hak akses.'); window.location = '../index.html'</script>"; } else { include "../koneksi.php"; <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initialscale=1.0"> <meta name="description" content="aplikasi Penggajian Karyawan"> <meta name="author" content="putri Setyoweni"> <title>tambah Data Potongan</title> <!-- Bootstrap core CSS --> <link href="css/bootstrap.css" rel="stylesheet"> <!-- Add custom CSS here --> <link href="css/sb-admin.css" rel="stylesheet"> <link rel="stylesheet" href="font-awesome/css/fontawesome.min.css"> <!-- Page Specific CSS --> <link rel="stylesheet" href=" morris min.css"> type="text/javascript"> // 1 detik = 1000 window.settimeout("waktu()",1000); function waktu() { var tanggal = new Date(); settimeout("waktu()",1000); document.getelementbyid("output").innerhtml= tanggal.gethours()+":"+tanggal.getminutes()+":"+tanggal.getseco nds(); } </script> language="javascript"> var tanggallengkap = new String(); var namahari = ("Minggu Senin Selasa Rabu Kamis Jumat Sabtu"); namahari = namahari.split(" "); var namabulan = ("Januari Februari Maret April Mei Juni Juli Agustus September Oktober November Desember"); namabulan = namabulan.split(" "); var tgl = new Date(); var hari = tgl.getday();
16 var tanggal = tgl.getdate(); var bulan = tgl.getmonth(); var tahun = tgl.getfullyear(); tanggallengkap = namahari[hari] + ", " +tanggal + " " + namabulan[bulan] + " " + tahun; var popupwindow = null; function centeredpopup(url,winname,w,h,scroll){ LeftPosition = (screen.width)? (screen.width-w)/2 : 0; TopPosition = (screen.height)? (screen.height-h)/2 : 0; settings='height='+h+',width='+w+',top='+topposition+',left= '+LeftPosition+',scrollbars='+scroll+',resizable' popupwindow = window.open(url,winname,settings) } </script> </head> <body> <div id="wrapper"> <!-- Sidebar --> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> <span class="sr-only">toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="index.php"> Aplikasi Penggajian Karyawan</a> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse navbar-ex1- collapse"> <ul class="nav navbar-nav side-nav"> <li class="active"><a href="index.php"><i class="fa fadashboard"> </i> Data Pegawai</a></li> <li><a href="potongan.php"><i class="fa fa-edit"></i> Data Potongan</a></li> <li><a href="golongan.php"><i class="fa fa-table"></i> Data Golongan</a></li> <li><a href="gaji.php"> <i class="fa fa-table"></i> Proses Gaji</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-caret-square-o-down"></i> Rekap Gaji <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="month.php"> <i class="fa fa-table"></i>month</a></li> </li> <li><a href="tambahuser.php"><i class="fa fa-edit"></i> Tambah User</a></li> 93
17 <ul class="nav navbar-nav navbar-right navbar-user"> <li class="dropdown user-dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-user"></i> echo $_SESSION['username']; <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#"><i class="fa fa-user"></i> Profile</a></li> <li><a href="google.com/mail"> <i class="fa fa-envelope"> </i> Inbox <span class="badge">7</span></a></li> <li class="divider"></li> <li><a href="../logout.php" onclick="return confirm ('Apakah anda akan keluar?');"> <i class="fa fa-power-off"></i> Keluar</a></li> </li> <!-- /.navbar-collapse --> </nav> } <div id="page-wrapper"> <div class="row"> <div class="col-lg-12"> <h1>home</h1> <ol class="breadcrumb"> <li class="active"><i class="fa fadashboard"></i> Homepage <table width="900"> <td width="250"><div class="tanggal"><h4> language="javascript">document.write(tanggallengkap);</script> </h4></td> <td align="left" width="30"> - </td> <td align="left" width="620"> <h4><div id="output" class="jam" ></h4></td> </table></li></ol> <br /> <div class="alert alert-success alert-dismissable"> <button type="button" class="close" datadismiss="alert" aria-hidden="true"> </button> <!-- /.row --> <div class="col-lg-12"> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title"><i class="fa fa-user"></i> Data Potongan Karyawan </h3> <div class="panel-body"> <div class="table-responsive"> 94
18 95 $tgl=date('y-m'); //echo $tgl; $query = mysql_query("select NIP FROM t_pegawai"); $data = mysql_fetch_array($query); <form action="insertpotongan.php" method="post"> <table class="table table-condensed"> <td><label for="periode_pot">periode Potongan</label></td> <td><select name="periode_pot" class="form-control" required> $query = "select NIP FROM t_pegawai"; $hasil = mysql_query($query); while ($qtabel = mysql_fetch_assoc($hasil)) { echo'<option value="pot-'.$qtabel['nip'].'-'.$tgl.'"> pot-'.$qtabel['nip'].'-'.$tgl.'</option>'; } </select> <td><label for="potongan_angkop"> Potongan Angsuran Koperasi</label></td> <td><input name="potongan_angkop" type="text" class="formcontrol" id="potongan_angkop" required/></td> placeholder="potongan_angkop" <td><label for="iuran_koperasi">iuran Koperasi</label></td> <td><input name="iuran_koperasi" type="text" class="formcontrol" id="iuran_koperasi" required/></td> placeholder="iuran_koperasi" <td><label for="tabungan_tour">tabungan Tour</label></td> <td><input name="tabungan_tour" type="text" class="formcontrol" id="tabungan_tour" placeholder="tabungan_tour" required/></td> <td><label for="iuran_sosial">iuran Sosial </label></td> <td><input name="iuran_sosial" type="text" class="form-control" id="iuran_sosial" placeholder="iuran_sosial" required/></td> <td><label for="tambahan_shmkop"> Tambahan Saham Koperasi</label></td>
19 96 <td><input name="tambahan_shmkop" type="text" class="formcontrol" id="tambahan_shmkop" placeholder="tambahan_shmkop" required/></td> <td><label for="arisan_tabkop">arisan Tabungan Koperasi</label></td> <td><input name="arisan_tabkop" type="text" class="formcontrol" id="arisan_tabkop" placeholder="arisan_tabkop" required/></td> <td><input type="submit" value="simpan Data" class="btn btn-sm btn-primary"/> <a href="index.php" class="btn btn-sm btnprimary">kembali</a></td> </table> </form> <div class="text-right"> <a href="potongan.php" data-toggle="tooltip" class="tip-bottom" data-original-title="tooltip Dibawah">View All Transactions <i class="fa fa-arrow-circle-right"></i></a> <!-- /.row --> <!-- /#page-wrapper --> <!-- /#wrapper --> <!-- JavaScript --> src="js/jquery js"></script> src="js/bootstrap.js"></script> <!-- Page Specific Plugins --> src=" raphael-min.js"></script> src=" min.js"></script> src="js/morris/chart-data-morris.js"></script> src="js/tablesorter/jquery.tablesorter.js"></script> src="js/tablesorter/tables.js"></script> </body> </html> e. Coding Preview Proses Gaji session_start(); if (empty($_session['username'])){ echo ">alert ('Anda belum mempunyai hak akses.');
20 window.location = '../index.html'</script>"; } else { include "../koneksi.php"; include("mpdf/mpdf.php"); <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initialscale=1.0"> <meta name="description" content="aplikasi Penggajian Karyawan"> <meta name="author" content="putri Setyoweni"> <title>gaji Pegawai</title> <!-- Bootstrap core CSS --> <link href="css/bootstrap.css" rel="stylesheet"> <!-- Add custom CSS here --> <link href="css/sb-admin.css" rel="stylesheet"> <link rel="stylesheet" href="font-awesome/css/fontawesome.min.css"> <!-- Page Specific CSS --> <link rel="stylesheet" href=" morris min.css"> type="text/javascript"> // 1 detik = 1000 window.settimeout("waktu()",1000); function waktu() { var tanggal = new Date(); settimeout("waktu()",1000); document.getelementbyid("output").innerhtml = tanggal.gethours()+":"+tanggal.getminutes()+":"+tanggal.getseco nds(); } </script> language="javascript"> var tanggallengkap = new String(); var namahari = ("Minggu Senin Selasa Rabu Kamis Jumat Sabtu"); namahari = namahari.split(" "); var namabulan = ("Januari Februari Maret April Mei Juni Juli Agustus September Oktober November Desember"); namabulan = namabulan.split(" "); var tgl = new Date(); var hari = tgl.getday(); var tanggal = tgl.getdate(); var bulan = tgl.getmonth(); var tahun = tgl.getfullyear(); tanggallengkap = namahari[hari] + ", " +tanggal + " " + namabulan[bulan] + " " + tahun; var popupwindow = null; function centeredpopup(url,winname,w,h,scroll){ LeftPosition = (screen.width)? (screen.width-w)/2 : 0; TopPosition = (screen.height)? (screen.height-h)/2 : 0; settings='height='+h+',width='+w+',top='+topposition+',left= '+LeftPosition+',scrollbars='+scroll+',resizable' popupwindow = window.open(url,winname,settings) } 97
21 98 </script> </head> <body> <div id="wrapper"> <!-- Sidebar --> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> <span class="sr-only">toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="index.php">aplikasi Penggajian Pegawai</a> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse navbar-ex1- collapse"> <ul class="nav navbar-nav side-nav"> <li class="active"><a href="index.php"> <i class="fa fa-dashboard"></i> Data Pegawai</a></li> <li><a href="potongan.php"> <i class="fa fa-edit"></i> Data Potongan</a></li> <li><a href="golongan.php"> <i class="fa fa-table"></i> Data Golongan</a></li> <li><a href="gaji.php"><i class="fa fa-table"></i> Proses Gaji</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-caret-square-o-down"></i> Rekap Gaji <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="month.php"><i class="fa fatable"></i>month</a></li> </li> <li><a href="tambahuser.php"> <i class="fa fa-edit"></i> Tambah User</a></li> <ul class="nav navbar-nav navbar-right navbar-user"> <li class="dropdown user-dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-user"></i> echo $_SESSION['username']; <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#"><i class="fa fa-user"></i> Profile</a></li> <li><a href="google.com/mail"><i class="fa fa-envelope"></i> Inbox
22 <span class="badge">7</span></a></li> <li class="divider"></li> <li><a href="../logout.php" onclick="return confirm ('Apakah anda akan keluar?');"> <i class="fa fa-power-off"></i> Keluar</a></li> </li> <!-- /.navbar-collapse --> </nav> } <div id="page-wrapper"> <div class="row"> <div class="col-lg-12"> <h1>home</h1> <ol class="breadcrumb"> <li class="active"><i class="fa fadashboard"></i> Homepage</li> </ol> <table width="900"> <td width="250"><div class="tanggal"><h4> language="javascript">document.write(tanggallengkap); </script> </h4> </td> <td align="left" width="30"> - </td> <td align="left" width="620"> <h4><div id="output" class="jam" ></h4></td> </table> <br /> <div class="alert alert-success alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true"> </button> Silahkan klik data gaji sesuai dengan NIP terpilih untuk disimpan dan cetak <!-- /.row --> <div class="col-lg-12"> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title"><i class="fa fa-user"> </i> Gaji Pegawai </h3> <div class="panel-body"> <div class="table-responsive"> $cetaknip = ""; $cetaknama = ""; $cetakgol = ""; $cetakpot = ""; $cetakgajipokok = ""; $cetaktkeluarga = ""; $cetakjmlanak = ""; $cetaktottkeluarga = ""; $cetaktrumah = ""; $cetakmasa = ""; 99
23 100 $cetakkesejahteraan = ""; $cetakinflasi = ""; $cetakfungsional = ""; $cetakpotpegawai = ""; $cetakpot1 = ""; $cetakkesehatan = ""; $cetakpot2 = ""; $cetakpensiun = ""; $cetakpot3 = ""; $cetakpph = ""; $cetakpot4 = ""; $cetakangkop = ""; $cetakiurankop = ""; $cetaktour = ""; $cetakiuransos = ""; $cetakshm = ""; $cetakarisan = ""; $cetakgk = ""; $cetaktottun = ""; $cetaktotpot = ""; $cetaktotgaji = ""; $query = mysql_query("select t_pegawai.nip,t_pegawai.nama_pegawai, t_pegawai.periode_gol, t_pegawai.periode_pot, t_golongan.gaji_pokok, t_golongan.tunjangan_keluarga,t_golongan.tunjangan_perumahan, t_golongan.tunjangan_masakerja,t_golongan.tunjangan_kesejahtera an, t_golongan.tunjangan_inflasi,t_golongan.tunjangan_fungsional, t_golongan.potongan_pegawai, t_golongan.potongan_kesehatan, t_golongan.potongan_pensiun,t_golongan.potongan_pph,t_golongan. Jumlah_anak,t_potongan.Potongan_angkop,t_potongan.Iuran_koperas i, t_potongan.tabungan_tour,t_potongan.iuran_sosial, t_potongan.tambahan_shmkop, t_potongan.arisan_tabkop FROM t_pegawai JOIN t_golongan ON t_golongan.periode_gol=t_pegawai.periode_gol JOIN t_potongan ON t_potongan.periode_pot=t_pegawai.periode_pot WHERE NIP='$_GET[kd]'"); $data = mysql_fetch_array($query); $no= 001; $cetakno = $no++; $cetaknip = $data['nip']; $cetaknama = $data['nama_pegawai']; $cetakgol = $data['periode_gol']; $cetakpot = $data['periode_pot']; $cetakgajipokok = $data['gaji_pokok']; $cetaktkeluarga = $data['tunjangan_keluarga']; $cetakjmlanak = $data['jumlah_anak']; $cetaktottkeluarga = $cetaktkeluarga * $cetakjmlanak; $cetaktrumah = $data['tunjangan_perumahan']; $cetakmasa = $data['tunjangan_masakerja']; $cetakkesejahteraan = $data['tunjangan_kesejahteraan']; $cetakinflasi = $data['tunjangan_inflasi']; $cetakfungsional = $data['tunjangan_fungsional']; $cetakpotpegawai = $data['potongan_pegawai']; $cetakpot1 = $cetakpotpegawai * $cetakgajipokok; $cetakkesehatan = $data['potongan_kesehatan']; $cetakpot2 = $cetakkesehatan * $cetakgajipokok; $cetakpensiun = $data['potongan_pensiun'];
24 101 $cetakpot3 = $cetakpensiun * $cetakgajipokok; $cetakpph = $data['potongan_pph']; $cetakpot4 = $cetakpph * $cetakgajipokok; $cetakangkop = $data['potongan_angkop']; $cetakiurankop = $data['iuran_koperasi']; $cetaktour = $data['tabungan_tour']; $cetakiuransos = $data['iuran_sosial']; $cetakshm = $data['tambahan_shmkop']; $cetakarisan = $data['arisan_tabkop']; $cetaktottun = $cetaktottkeluarga + $cetaktrumah + $cetakmasa + $cetakkesejahteraan + $cetakinflasi + $cetakfungsional; $cetakgk = $cetakgajipokok + $cetaktottun; $cetaktotpot = $cetakpot1 + $cetakpot2 + $cetakpot3 + $cetakpot4 + $cetakangkop + $cetakiurankop + $cetaktour + $cetakiuransos + $cetakshm + $cetakarisan; $cetaktotgaji = ($cetakgajipokok + $cetaktottun) - $cetaktotpot; <form action="savegaji.php" method="post"> <table class="table table-condensed"> <td><label for="nip">nip</label></td> <td><input name="nip" type="text" class="form-control" id="nip" value=" echo $cetaknip;" <td><label for="nama_pegawai">nama Pegawai</label></td> <td><input name="nama_pegawai" type="text" class="form-control" id="nama_pegawai" value=" echo $cetaknama;" <td><label for="no_gaji">no Gaji</label></td> <td><input name="no_gaji" type="text" class="form-control" id="no_gaji" value="---"/></td> <td><label for="tanggal_gaji">tanggal Gaji</label></td> <td><input name="tanggal_gaji" type="text" class="form-control" id="tanggal_gaji" value="yyyy-mm-dd"/></td> <td><label for="periode_gol">periode Golongan</label></td> <td><input name="periode_gol" type="text" class="form-control" id="periode_gol" value=" echo $cetakgol;" <td><label for="periode_pot">periode Potongan</label></td> <td><input name="periode_pot" type="text" class="form-control" id="periode_pot" value=" echo $cetakpot;" <td><label for="total_gk">gaji Kotor</label></td> <td><input name="total_gk" type="text" class="form-control"
25 102 id="total_gk" value=" echo $cetakgk;" <td><label for="total_potongan">total Potongan</label></td> <td><input name="total_potongan" type="text" class="formcontrol" id="total_potongan" value=" echo $cetaktotpot;" <td><label for="total_gaji">total Gaji</label></td> <td><input name="total_gaji" type="text" class="form-control" id="total_gaji" value=" echo $cetaktotgaji;" <td><label for="status">status Gaji</label></td> <td><select name="status" class="form-control" required> <option value="">--- Pilih Status Gaji --- </option> <option value="bayar">bayar</option> <option value="tunda">tunda</option> </select> </td> <td><input type="submit" value="simpan Data" class="btn btn-sm btn-primary"/> <a href="indexpdf.php" class="btn btn-sm btn-primary">cetak</a> <a href="prosesgaji.php" class="btn btn-sm btnprimary">kembali</a></td> </table> </form> <div class="text-right"> <a href="index.php" data-toggle="tooltip" class="tip-bottom" data-original-title="tooltip Dibawah">View All Transactions <i class="fa fa-arrow-circle-right"></i></a> <!-- /.row --> <!-- /#page-wrapper --> <!-- /#wrapper --> <!-- JavaScript --> src="js/jquery js"></script> src="js/bootstrap.js"></script> <!-- Page Specific Plugins --> src=" raphael-min.js"></script> src=" min.js"></script> src="js/morris/chart-data-morris.js"></script>
26 103 src="js/tablesorter/jquery.tablesorter.js"></script> src="js/tablesorter/tables.js"></script> </body> </html> f. Coding Index Pegawai session_start(); if (empty($_session['username'])){ header('location:../login.html'); } else { include "../koneksi.php"; <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initialscale=1.0"> <meta name="description" content="aplikasi Penggajian Karyawan"> <meta name="author" content="putri Setyoweni"> <title>aplikasi Penggajian</title> <!-- Bootstrap core CSS --> <link href="css/bootstrap.css" rel="stylesheet"> <!-- Add custom CSS here --> <link href="css/sb-admin.css" rel="stylesheet"> <link rel="stylesheet" href="font-awesome/css/fontawesome.min.css"> <!-- Page Specific CSS --> <link rel="stylesheet" href=" morris min.css"> type="text/javascript"> // 1 detik = 1000 window.settimeout("waktu()",1000); function waktu() { var tanggal = new Date(); settimeout("waktu()",1000); document.getelementbyid("output").innerhtml= tanggal.gethours()+":"+tanggal.getminutes()+":"+tanggal.getseco nds(); } </script> language="javascript"> var tanggallengkap = new String(); var namahari = ("Minggu Senin Selasa Rabu Kamis Jumat Sabtu"); namahari = namahari.split(" "); var namabulan = ("Januari Februari Maret April Mei Juni Juli Agustus September Oktober November Desember"); namabulan = namabulan.split(" "); var tgl = new Date(); var hari = tgl.getday(); var tanggal = tgl.getdate(); var bulan = tgl.getmonth();
27 104 var tahun = tgl.getfullyear(); tanggallengkap = namahari[hari] + ", " +tanggal + " " + namabulan[bulan] + " " + tahun; var popupwindow = null; function centeredpopup(url,winname,w,h,scroll){ LeftPosition = (screen.width)? (screen.width-w)/2 : 0; TopPosition = (screen.height)? (screen.height-h)/2 : 0; settings='height='+h+',width='+w+',top='+topposition+',left= '+LeftPosition+',scrollbars='+scroll+',resizable' popupwindow = window.open(url,winname,settings) } </script> </head> <body> <div id="wrapper"> <!-- Sidebar --> <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> <span class="sr-only">toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="index.php">aplikasi Penggajian Pegawai</a> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse navbar-ex1- collapse"> <ul class="nav navbar-nav side-nav"> <li class="active"><a href="index.php"><i class="fa fadashboard"> </i> Data Pegawai</a></li> <li><a href="rekap.php"><i class="fa fa-table"></i> Rekap Gaji </a></li> <li><a href="gantipass.php"> <i class="fa fa-edit"></i> Ganti Password</a></li> <ul class="nav navbar-nav navbar-right navbar-user"> <li class="dropdown user-dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="fa fa-user"></i> Hallo, echo $_SESSION['username']; <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#"><i class="fa fa-user"></i> Profil</a></li> <li><a href="google.com/mail"><i class="fa fa-envelope"></i> Pesan Masuk <span class="badge">7</span></a></li> <li class="divider"></li>
28 105 <li><a href="../logout.php" onclick="return confirm ('Apakah anda akan keluar?');"><i class="fa fa-power-off"></i> Keluar </a></li> </li> <!-- /.navbar-collapse --> </nav> } <div id="page-wrapper"> <div class="row"> <div class="col-lg-12"> <h1>home </h1> <ol class="breadcrumb"> <li class="active"><i class="fa fadashboard"></i> Homepage <table width="900"> <td width="250"> <div class="tanggal"><h4> language="javascript">document.write(tanggallengkap);</script> </h4></td> <td align="left" width="30"> - </td> <td align="left" width="620"> <h4><div id="output" class="jam" > </h4></td> </table></li></ol> <br /> <!-- /.row --> <div class="col-lg-12"> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title"><i class="fa fauser"></i> Data Karyawan </h3> <div class="panel-body"> <div class="table-responsive"> $id=$_session['username']; $tampil=mysql_query("select * from t_pegawai where NIP LIKE '$id' "); <table class="table table-bordered table-hover table-striped tablesorter"> $id1=$_session['username']; $tampil1=mysql_query("select * from t_pegawai where NIP LIKE '$id' "); $data1=mysql_fetch_array($tampil1); <td><label for="nama_pegawai">nama:</label></td>
29 106 <td><input name="nama_pegawai" type="text" class="form-control" id="nama_pegawai" value=" echo $data1['nama_pegawai'];" <td> <label for="nip">nip:</label></td> <td><input name="nip" type="text" class="form-control" id="nip" value=" echo $data1['nip'];" <td> <label for="masuk_kerja">masuk Kerja:</label></td> <td><input name="masuk_kerja" type="text" class="form-control" id="masuk_kerja" value=" echo $data1['masuk_kerja'];" <td> <label for="periode_gol">periode Golongan:</label></td> <td><input name="periode_gol" type="text" class="form-control" id="periode_gol" value=" echo $data1['periode_gol'];" <td><label for="no_rekening">no Rekening:</label></td> <td><input name="no_rekening" type="text" class="form-control" id="no_rekening" value=" echo $data1['no_rek'];" <td> <label for="alamat">alamat:</label></td> <td><input name="alamat" type="text" class="form-control" id="alamat" value=" echo $data1['alamat'];" <td> <label for="no_telp">no telp:</label></td> <td><input name="no_telp" type="text" class="form-control" id="no_telp" value=" echo $data1['no_telp'];"
30 107 <td> <label for=" "> </label></td> <td><input name=" " type="text" class="form-control" id=" " value=" echo $data1[' '];" </table> <table class="table table-bordered table-hover tablestriped tablesorter"> <th>no<i class="fa fa-sort"></i></th> <th>nip <i class="fa fa-sort"></i></th> <th>nama Pegawai <i class="fa fasort"></i></th> <th>no Rek <i class="fa fasort"></i></th> <th>alamat <i class="fa fasort"></i></th> <th>no Telp <i class="fa fasort"></i></th> <th> <i class="fa fa-sort"></i></th> <th>periode Gol <i class="fa fa-sort"></i></th> <th>periode Pot <i class="fa fa-sort"></i></th> <th>aksi <i class="fa fa-sort"></i></th> $no = 1; while($data=mysql_fetch_array($tampil)) { <td> echo $no++ ; </td> <td><i class="fa fa-user"></i> echo $data['nip']; </a></td> <td> echo $data['nama_pegawai']; </td> <td> echo $data['no_rek']; </td> <td> echo $data['alamat']; </td> <td> echo $data['no_telp']; </td> <td> echo $data[' ']; </td> <td> echo $data['periode_gol']; </td> <td> echo $data['periode_pot']; </td> <td><a class="btn btn-sm btn-primary" href="edit.php?hal=edit&kd= echo $data['nip'];"> <i class="fa fa-edit"></i> Edit</a></td> } </tbody> </table> <!-- /.row -->
31 108 <!-- /#page-wrapper --> <!-- /#wrapper --> <footer> </footer> <!-- JavaScript --> src="js/jquery js"></script> src="js/bootstrap.js"></script> <!-- Page Specific Plugins --> src=" raphael-min.js"></script> src=" min.js"></script> src="js/morris/chart-data-morris.js"></script> src="js/tablesorter/jquery.tablesorter.js"></script> src="js/tablesorter/tables.js"></script> </body> </html>
32 109
33 110
LAMPIRAN. Index.php. <?php. unset($_session["status"]); //session_destroy(); //session_destroy();
LAMPIRAN Index.php unset($_session["status"]); //session_destroy(); //session_destroy();?>
More informationBuilding beautiful websites with Bootstrap: A case study. by Michael Kennedy michaelckennedy.net
Building beautiful websites with Bootstrap: A case study by Michael Kennedy DevelopMentor @mkennedy michaelckennedy.net Objectives Learn what Bootstrap has to offer web developers Install and use Bootstrap
More informationLAMPIRAN. <meta name="description" content="creative - Bootstrap 3 Responsive Admin Template">
LAMPIRAN add_anggota.php(potongan kode untuk menambah anggota) session_start(); if (empty($_session['username'])){ header('location:login.php'); else { include "../koneksi.php";
More informationLampiran Source Code:
Lampiran Source Code: Halaman Login Siswa Sourcecode : @session_start(); $db = mysqli_connect("localhost", "root", "", "learning");
More informationLAMPIRAN-LAMPIRAN A. Source Code 1) Sample Controller pada HomeController.php
67 LAMPIRAN-LAMPIRAN A. Source Code 1) Sample Controller pada HomeController.php
More information,.., «..»
,.., 2018. 09.03.03.19 - «..».... 2018 1 : - 39, 5, 1. : -. :,, -,. -.,,. 2 ... 4 1 -. 6 1.1 -... 6 1.2 -... 9 1.3 -... 11 1.4, -... 13 2. - «..»... 16 2.1.... 16 2.2 CMS WordPress... 17 2.3 -... 22...
More informationCSS (Cascading Style Sheets)
CSS (Cascading Style Sheets) CSS (Cascading Style Sheets) is a language used to describe the appearance and formatting of your HTML. It allows designers and users to create style sheets that define how
More informationDescription: This feature will enable user to send messages from website to phone number.
Web to Phone text message Description: This feature will enable user to send messages from website to phone number. User will use this feature and can send messages from website to phone number, this will
More informationCreate First Web Page With Bootstrap
Bootstrap : Responsive Design Create First Web Page With Bootstrap 1. Add the HTML5 doctype Bootstrap uses HTML elements and CSS properties that require the HTML5 doctype. 2. Bootstrap 3 is mobile-first
More informationChapter6: Bootstrap 3. Asst.Prof.Dr. Supakit Nootyaskool Information Technology, KMITL
Chapter6: Bootstrap 3 Asst.Prof.Dr. Supakit Nootyaskool Information Technology, KMITL Objective To apply Bootstrap to a web site To know how to build various bootstrap commands to be a content Topics Bootstrap
More informationWEB/DEVICE DEVELOPMENT CLIENT SIDE MIS/CIT 310
WEB/DEVICE DEVELOPMENT CLIENT SIDE MIS/CIT 310 Project #4 Updating your class project to be more mobile friendly To gain a fuller appreciate for Responsive Design, please review Chapter 8. Another great
More informationWorking Bootstrap Contact form with PHP and AJAX
Working Bootstrap Contact form with PHP and AJAX Tutorial by Ondrej Svestka Bootstrapious.com Today I would like to show you how to easily build a working contact form using Boostrap framework and AJAX
More informationEnvironmental Sanitation Management Information System - ESMIS
Environmental Sanitation Management Information System - ESMIS System Manual Contents 1 General Information... 1 1.1 System Overview... 1 1.2 Organization of the Manual... 1 1.3 User Access Level... 2
More informationLAMPIRAN PROGRAM. <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> <!--[if IE 7 ]><html class="ie ie7" lang="en"> <!
LAMPIRAN PROGRAM 1. index.html (Halaman Awal)
More informationProject Part 2 (of 2) - Movie Poster And Actor! - Lookup
Getting Started 1. Go to http://quickdojo.com 2. Click this: Project Part 2 (of 2) - Movie Poster And Actor! - Lookup This is an extension of what you did the last time (the Movie Poster lookup from Week
More information26 $host = "localhost" ; 27 $user = "marcolg" ; 28 $password = "" ; 52 $connessione = new mysqli ($host, $user, $password );
C:\Users\Marco\Documents\eqFTP Projects\Sito\stazione\statistiche.php: 1/5 1 2 3 4 5 6
More informationMateen Eslamy 10/31/13
Mateen Eslamy 10/31/13 Tutorial In this tutorial, you ll learn how to create a webpage using Twitter Bootstrap 3. The goal of this tutorial is to create a responsive webpage, meaning that if the webpage
More informationTUTORIAL CRUD CODEIGNITER
TUTORIAL CRUD CODEIGNITER With MySQL Tutorial ini saya dedikasikan untuk yang baru terjun di framework codeigniter, dan para pemula yang ingin belajar secara otodidak. Crud merupakan kewajiban dasar yang
More informationDingle Coderdojo 6. Project Part 2 (of 2) - Movie Poster And Actor! - Lookup. Week 6
Dingle Coderdojo 6 Week 6 Project Part 2 (of 2) - Movie Poster And Actor! - Lookup This is an extension of what you did the last time (the Movie Poster lookup from Week 5). Make sure you ve finished that
More informationMobile Design for the Future That is Here Already. Rick Ells UW Information Technology University of Washington
Mobile Design for the Future That is Here Already Rick Ells UW Information Technology University of Washington Why Mobile? Why Accessible? Are UW Web sites a public accomodation under the Americans with
More informationweb-sockets-homework Directions
web-sockets-homework Directions For this homework, you are asked to use socket.io, and any other library of your choice, to make two web pages. The assignment is to create a simple box score of a football
More informationFront-End UI: Bootstrap
Responsive Web Design BootStrap Front-End UI: Bootstrap Responsive Design and Grid System Imran Ihsan Assistant Professor, Department of Computer Science Air University, Islamabad, Pakistan www.imranihsan.com
More informationLAMPIRAN. Index.php. <script type="text/javascript" src="jquery-min.js"></script> <script type="text/javascript"> Universitas Sumatera Utara
LAMPIRAN Index.php session_start(); error_reporting(0); include "timeout.php"; include "config/koneksi.php"; if($_session[login]==1){ if(!cek_login()){ $_SESSION[login] = 0; if($_session[login]==0){ header('location:logout.php');
More informationА «- - «Exellent»» 50, 18, «Exellent»., , -., -. -,, html -. - «Exellent»,.
А «- - «Exellent»» 50, 18, 21. - - «Exellent»., -. -. -. -, -., -. -,, html -. - «Exellent»,. А... 3 1 -... 5 1.1, -... 5 1.2 Э -... 8 1.3 -... 9 1.4, -... 16 1.4.1... 16 1.4.2... 18 1.4.3.... 18 2 - «Exellent»...
More informationCSS (Cascading Style Sheets): An Overview
CSS (Cascading Style Sheets): An Overview CSS (Cascading Style Sheets) is a language used to describe the appearance and formatting of your HTML. It allows designers and users to create style sheets that
More informationDjango AdminLTE 2 Documentation
Django AdminLTE 2 Documentation Release 0.1 Adam Charnock Jul 02, 2018 Contents 1 Contents 3 1.1 Quickstart................................................ 3 1.2 Templates & Blocks Reference.....................................
More informationBootstrap Carousel. jquery Image Sliders
Bootstrap Carousel jquery Image Sliders Bootstrap Carousel Carousel bootstarp css js jquery js bootstrap.js http://getbootstrap.com/javascript/#carousel item ol.carousel-indicators li
More informationEnhancing Koha s Public Reports Feature
Enhancing Koha s Public Reports Feature A presentation to the Koha-Oz User Group Melbourne Athenaeum 18 August 2016 Bob Birchall / Chris Vella Reports in Koha can be made public FROM THE Koha MANUAL: Report
More informationSession 5. Web Page Generation. Reading & Reference
Session 5 Web Page Generation 1 Reading Reading & Reference https://en.wikipedia.org/wiki/responsive_web_design https://www.w3schools.com/css/css_rwd_viewport.asp https://en.wikipedia.org/wiki/web_template_system
More informationMaking a live edit contact list with Coldbox REST & Vue.js
Tweet Making a live edit contact list with Coldbox REST & Vue.js Scott Steinbeck Mar 28, 2016 Today we will be making a contact database that you can quickly and easily manage using ColdBox and Vue.js.
More information<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <p> <a href=" </a></p> </ul> <li> </li> <ol>
11 google
More informationADVANCED JAVASCRIPT. #7
ADVANCED JAVASCRIPT. #7 7.1 Review JS 3 A simple javascript functions is alert(). It's a good way to test a script is working. It brings up a browser default popup alert window. alert(5); 4 There are 2
More informationADVANCED JAVASCRIPT #8
ADVANCED JAVASCRIPT #8 8.1 Review JS 3 A conditional statement can compare two values. Here we check if one variable we declared is greater than another. It is true so the code executes. var cups = 15;
More informationZero to Hero. CSS Frameworks. Zero to Hero. - Boris Fritscher 1 / 26. Bootstrap (
643-1-1 Projet de technologies WEB de présentation Zero to Hero Part 1: From blank page to deployed website Tools and git CSS Frameworks don't reinvent the wheel use best practices get reusable components
More informationThis project will use an API from to retrieve a list of movie posters to display on screen.
Getting Started 1. Go to http://quickdojo.com 2. Click this: Project Part 1 (of 2) - Movie Poster Lookup Time to put what you ve learned to action. This is a NEW piece of HTML, so start quickdojo with
More information-struts_annotation_bootstrap Estrutura do preojeto... LIBS: asm-3.3.jar asm-commons-3.3.jar commons-fileupload-1.3.jar commons-io-2.0.1.jar commons-lang-2.4.jar commons-lang3-3.1.jar freemarker-2.3.19.jar
More informationLISTING PROGRAM on.py import RPi.GPIO as GPIO. import time. GPIO.setmode(GPIO.BCM) GPIO.
LISTING PROGRAM -----------------1on.py----------------- import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO.setup(14,GPIO.OUT) GPIO.output(14,GPIO.HIGH) -----------------1off.py-----------------
More informationLampiran 1: Struktur Organisasi PT. Argo Manunggal Triasta
Lampiran 1: Struktur Organisasi PT. Argo Manunggal Triasta 1 Lampiran 2 A : Flowchart dalam Prosedur Kas Keil PT. Argo Manunggal Triasta Lampiran 2 A : Flowchart dalam Prosedur Laporan Kas Keil PT. Argo
More information<meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1">
CODE PROGRAM
More informationHTML, CSS, Bootstrap, Javascript and jquery
HTML, CSS, Bootstrap, Javascript and jquery Meher Krishna Patel Created on : Octorber, 2017 Last updated : May, 2018 More documents are freely available at PythonDSP Table of contents Table of contents
More informationUsing Visual Studio 2017
C H A P T E R 1 Using Visual Studio 2017 In this chapter, I explain the process for installing Visual Studio 2017 and recreate the Party Invites project from Chapter 2 of Pro ASP.NET Core MVC. As you will
More informationBootstrap 3 CSS Classes Desk Reference
Grid Text & Images Basic grid - full width is 12 columns wide
More informationNukaCode - Front End - Bootstrap Documentation
Nuka - Front End - Bootstrap Documentation Release 1.0.0 stygian July 04, 2015 Contents 1 Badges 3 1.1 Links................................................... 3 1.2 Installation................................................
More informationWeb Development and HTML. Shan-Hung Wu CS, NTHU
Web Development and HTML Shan-Hung Wu CS, NTHU Outline How does Internet Work? Web Development HTML Block vs. Inline elements Lists Links and Attributes Tables Forms 2 Outline How does Internet Work? Web
More informationDjango Part II SPARCS 11 undead. Greatly Inspired by SPARCS 10 hodduc
Django Part II 2015-05-27 SPARCS 11 undead Greatly Inspired by SPARCS 10 hodduc Previously on Django Seminar Structure of Web Environment HTTP Requests and HTTP Responses Structure of a Django Project
More informationListing Program. return false; return true; } </script> </body> </html>
Listing Program koneksi.php $mysql_user="root"; $mysql_password=""; $mysql_database="korpri"; $mysql_host="localhost"; $koneksi_db = mysql_connect($mysql_host, $mysql_user, $mysql_password); mysql_select_db($mysql_database,
More informationBootstrap Carousel Tutorial
Bootstrap Carousel Tutorial The Bootstrap carousel is a flexible, responsive way to add a slider to your site. Bootstrap carousel can be used in to show case images, display testimonials, display videos,
More information<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
About the Tutorial Materialize is a UI component library created with CSS, JavaScript, and HTML. Materialize UI components help in constructing attractive, consistent, and functional web pages and web
More informationA designers guide to creating & editing templates in EzPz
A designers guide to creating & editing templates in EzPz Introduction...2 Getting started...2 Actions...2 File Upload...3 Tokens...3 Menu...3 Head Tokens...4 CSS and JavaScript included files...4 Page
More information<td style="text-align:center;">'.$no.'</td> <a href="'.$link_update.'&id='.$h['id_diagnosa'].'&action=edit" class="btn btn-xs btn-default">edit</a>
LISTING PROGRAM Admin Index_diagnosa.php
More informationSpring Data JPA, Spring Boot, Oracle, AngulerJS 적용게시판실습 게시판리스트보기.
Spring Data JPA, Spring Boot, Oracle, AngulerJS 적용게시판실습 http://ojc.asia, http://ojcedu.com 게시판리스트보기 Spring JDBC 또는 MyBatis로만들때보다쉽고빠르게작성할수있다. 스프링컨트롤러는 RestController를적용했으며, 뷰페이지에 Bootstrap 및 AngulerJS 적용했다.
More informationPRÍLOHY PRÍLOHY. Príloha 1 Náhľady vybraných podstránok webovej stránky
PRÍLOHY Príloha 1 Náhľady vybraných podstránok webovej stránky Príloha 2 Vybrané časti zdrojového kódu V Prílohe 3 sa nachádza len niekoľko vybraných častí zdrojového kódu projektu. Kompletný zdrojový
More informationWhere s My Cat? <title>where's My Cat?</title> </head> <body> <h1 class="where">where's MY CAT?</h1>
Where s My Cat? HTML
More informationLast class we looked at HTML5.
ADVANCED HTML5. #2 2.1 Recap 2 3 Last class we looked at HTML5. headings There are 6 levels available, ranging from h1 to h6. paragraphs links
More informationFor instructions to change the logo, please refer to:
Header Logo: For instructions to change the logo, please refer to: https://support3dcartcom/knowledgebase/article/view/630/5/how-do-i-add-logos-to-mystore Menu Links and Phone Number: Menu LInks: From
More informationFor instructions to change the logo, please refer to: ore
Header Note: VapeDay Theme have 2 versions. Version 1.0 with Left bar for long list of categories and Version 2.0 with No Left bar with categories in the header. While editing the theme files from template
More informationResponsive Web Design and Bootstrap MIS Konstantin Bauman. Department of MIS Fox School of Business Temple University
Responsive Web Design and Bootstrap MIS 2402 Konstantin Bauman Department of MIS Fox School of Business Temple University Exam 3 (FINAL) Date: 12/06/18 four weeks from now! JavaScript, jquery, Bootstrap,
More information</div> </form> </div> <div class="col-xs-6 col-sm-6 col-md-6 collg-6">
LIST CODING include "template/header.php"; class="row"> class="col-md-6 co-xs-6"> buat Surat Perintah class="form-group"> nip
More informationGROUPER EVALUATION & REMEDIATION REPORT
GROUPER EVALUATION & REMEDIATION REPORT Reviewer: Howard Kramer, hkramer@colorado.edu Technology Used: NVDA (ver. 2016.1), Firefox (ver. 48.0.2) on Windows 10 PC Background This report evaluates the Grouper
More informationA WEB APPLICATION FOR ONLINE POLLING. A Thesis. Presented to the. Faculty of. San Diego State University. In Partial Fulfillment
A WEB APPLICATION FOR ONLINE POLLING A Thesis Presented to the Faculty of San Diego State University In Partial Fulfillment of the Requirements for the Degree Master of Science in Computer Science by Ashok
More informationPurpose of this doc. Most minimal. Start building your own portfolio page!
Purpose of this doc There are abundant online web editing tools, such as wordpress, squarespace, etc. This document is not meant to be a web editing tutorial. This simply just shows some minimal knowledge
More informationProduced by. Agile Software Development. Eamonn de Leastar
Agile Software Development Produced by Eamonn de Leastar (edeleastar@wit.ie) Department of Computing, Maths & Physics Waterford Institute of Technology http://www.wit.ie http://elearning.wit.ie Pacemaker
More informationdjango-intranet Documentation
django-intranet Documentation Release 0.2 Ionyse Nov 14, 2017 Contents 1 Abstract 1 2 Table of contents 3 2.1 Setup a new project............................................ 3 2.2 Create a new module...........................................
More informationChapter 7: JavaScript for Client-Side Content Behavior
Chapter 7: JavaScript for Client-Side Content Behavior Overview and Objectives Create a rotating sequence of images (a slide show ) on the home page for our website Use a JavaScript function as the value
More informationAdvantages: simple, quick to get started, perfect for simple forms, don t need to know how form model objects work
1 Forms 1.1 Introduction You cannot enter data in an application without forms. AngularJS allowed the user to create forms quickly, using the NgModel directive to bind the input element to the data in
More informationChapter 16 Mobile Web Page
Sungkyunkwan University Chapter 16 Mobile Web Page Prepared by J. Jung and H. Choo Web Programming Copyright 2000-2018 Networking 2000-2012 Networking Laboratory Laboratory 1/26 Native App vs. Mobile Web
More informationProgramming of web-based systems Introduction to HTML5
Programming of web-based systems Introduction to HTML5 Agenda 1. HTML5 as XML 2. Basic body elements 3. Text formatting and blocks 4. Tables 5. File paths 6. Head elements 7. Layout elements 8. Entities
More informationWeb Programming BootStrap Unit Exercises
Web Programming BootStrap Unit Exercises Start with the Notes packet. That packet will tell you which problems to do when. 1. Which line(s) are green? 2. Which line(s) are in italics? 3. In the space below
More informationLISTING PROGRAM. <?php include 'admin/koneksi.php';?> <!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
LISTING PROGRAM 1. Index.php
More informationLaravel 5 Cookbook. Enhance Your Amazing Applications. Nathan Wu Nathan Wu
Laravel 5 Cookbook Enhance Your Amazing Applications Nathan Wu 2015-2016 Nathan Wu Contents Book Information................................. 1 Book Description.........................................
More informationDate Picker Haim Michael
Date Picker Introduction The date picker is one of the most popular jquery widgets in use. It is highly configurable and extremely easy to implement. Introduction Simple Date Picker
More informationHyperlinks, Tables, Forms and Frameworks
Hyperlinks, Tables, Forms and Frameworks Web Authoring and Design Benjamin Kenwright Outline Review Previous Material HTML Tables, Forms and Frameworks Summary Review/Discussion Email? Did everyone get
More informationappendix Introduction to Foundation, the front-end framework
APPENDIX B appendix Introduction to Foundation, the front-end framework When prototyping responsive websites, building quickly is key. They don t call it rapid prototyping for nothing. Using a front-end
More informationAs we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.
Extra notes - Client-side Design and Development Dr Nick Hayward HTML - Basics A brief introduction to some of the basics of HTML. Contents Intro element add some metadata define a base address
More informationCodeigniter - CRUD dengan Angularjs
Codeigniter - CRUD dengan Angularjs Oleh: Achmad Maulana CRUD menggunakan angular js dan codeigniter pertama download versi codeigniter 3.1.6 karena di tutor ini saya menggunakan versi terbaru dari codeigniter
More informationsrc1-malan/ajax/ajax1.html ajax1.html Gets stock quote from quote1.php via Ajax, displaying result with alert().
src1-malan/ajax/ajaxhtml 1 1 1 1 1 2 2 2 2 2 2 2 2 30. 3 3 3 3 3 3 3 3 3 40. 4 4 4 4 4 4 4 4 ajaxhtml Gets stock quote from quotephp via Ajax, displaying result with alert(). Building Mobile Applications
More informationMobile Web Development
Mobile Web Development By Phil Huhn 2013-04-30 2013 Northern Software Group Agenda Web-site issues for mobile devices Responsive Design Media Queries Twitter Bootstrap As-is (themes) less variables.less
More informationFor instructions to change the logo, please refer to: ore
Header Logo: For instructions to change the logo, please refer to: https://support.3dcart.com/knowledgebase/article/view/630/5/how-do-i-add-logos-to-my-st ore Menu Links and Phone Number: Menu LInks: From
More informationHADOOP INTERVIEW QUESTIONS
HADOOP INTERVIEW QUESTIONS http://www.tutorialspoint.com/hadoop/hadoop_interview_questions.htm Copyright tutorialspoint.com Dear readers, these Hadoop Interview Questions have been designed specially to
More informationIntroduction to Computer Science Web Development
Introduction to Computer Science Web Development Flavio Esposito http://cs.slu.edu/~esposito/teaching/1080/ Lecture 14 Lecture outline Discuss HW Intro to Responsive Design Media Queries Responsive Layout
More informationGuide to Integrate. ADSelfService Plus with. Outlook Web App.
Guide to Integrate ADSelfService Plus with Outlook Web App Contents Document Summary 1 ADSelfService Plus Overview 1 ADSelfService Plus Integration with Outlook Web App 1 Steps Involved 2 Step 1: Locate
More information5 Snowdonia. 94 Web Applications with C#.ASP
94 Web Applications with C#.ASP 5 Snowdonia In this and the following three chapters we will explore the use of particular programming techniques, before combining these methods to create two substantial
More informationTechnical Guide Login Page Customization
Released: 2017-11-15 Doc Rev No: R2 Copyright Notification Edgecore Networks Corporation Copyright 2019 Edgecore Networks Corporation. The information contained herein is subject to change without notice.
More informationBasic Bootstrap Classes
.container Basic Bootstrap Classes sets fixed width to an element (which changes depending on a screen size to other fixed values, so it's still responsive) on all screen sizes except xs - on xs, the width
More informationPROJECT ON EMPLOYEE DATABASE AND PAYROLL MANAGEMENT SYSTEM
PROJECT ON EMPLOYEE DATABASE AND PAYROLL MANAGEMENT SYSTEM REPORT OF MAJOR PROJECT SUBMITTED FOR FULFILLMENT OF THE REQUIREMENT FOR THE DEGREE OF MASTER IN COMPUTER APPLICATION MARCUS ATISH D ROZARIO REGISTRATION
More informationZero to Hero. CSS Frameworks
643-1-1 Projet de technologies WEB de présentation Zero to Hero Part 1: From blank page to deployed website Tools and git CSS Frameworks don't reinvent the wheel use best practices get reusable components
More informationhome.php 1/1 lectures/6/src/ include.php 1/1 lectures/6/src/
home.php 1/1 3: * home.php 5: * A simple home page for these login demos. 6: * David J. Malan 8: * Computer Science E-75 9: * Harvard Extension School 10: */ 11: // enable sessions 13: session_start();
More informationDAFTAR ISI SixghaKreasi
1JAM MEMBUAT DENGAN PHP DAN MYSQL SIGIT DWI PRASETYO DAFTAR ISI Hal. 3 Pengenalan singkat PDO Hal. 3 Membuat Database Hal. 4 Membuat Layout Hal. 5 Membuat Koneksi ke Database Hal. 6 Membuat File Index
More informationChapter 7 BMIS335 Web Design & Development
Chapter 7 BMIS335 Web Design & Development Site Organization Use relative links to navigate between folders within your own site o Sometimes dividing your site into folders makes maintenance and updating
More informationゼミ Wiki の再構築について 資料編 加納さおり
Wiki [ Fukuda Semi Wiki] [ 2 wiki] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ 14 Menu1] [ 15 Menu2] [ 16 Menu3] [ 17 wiki Menu] [ 18 TOP ] [ 19 ] [ 20 ] [ 20] [ 21 ] [ 22 (
More informationWEBSI TE DESIGNING TRAINING
WEBSI TE DESIGNING TRAINING WHAT IS WEB DESIGN? We b s ite design m e a n s p l a n n i n g, c r e a t i o n and u p d a t i n g of websites. We bsite design also involves i n f o r m a t i o n a rchitecture,
More informationProject 3 CIS 408 Internet Computing
Project 3 CIS 408 Internet Computing Problem 3: Sunnie Chung Web Scrapping with Java Script, DOM and XPath Write a script in your choice of Java Script, PHP, or Python to scarp the following webpage to
More information