Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- //mencantumkan file.php yang melakukan koneksi ke server
- include "konfig.koneksi.php";
- ?>
- <!DOCTYPE html >
- <html>
- <head>
- <meta charset="utf-8" />
- <title>Sistem Informasi Dosen</title>
- <!--memanggil Bootstrap-->
- <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
- <link rel="stylesheet" type="text/css" href="css/bootstrap-theme.css" />
- <!--Memanggil custom CSS-->
- <link rel="stylesheet" type="text/css" href="css/style-sidebar.css" />
- <!-- HTML5 shim dan respond.js IE8 support HTML5 -->
- <!--Warning: Respond.js tidak bekerja didalam file -->
- <!-- [if lt IE 9]>
- <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
- <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
- <![endif]-->
- </head>
- <body>
- <!--modal header-->
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true"> × </button>
- <h4 class="modal-title">Status Informasi Dosen</h4>
- </div>
- <!--modal body-->
- <div class="modal-body">
- <?php
- $tampil=mysql_query("select tb_dosen.nip, tb_dosen.nama, tb_pendidikan.bidang_ilmu from tb_dosen, tb_pendidikan where tb_dosen.nip=tb_pendidikan.nip, tb_dosen.nip='$_GET[id]'"); --->query error
- $hasil=mysql_fetch_array($tampil) or die ("Query Gagal ".mysql_error());
- ?>
- <table class="table table-responsive">
- <tr>
- <td><label for="nip">N.I.P</label></td>
- <td><input type="text" id="nip" name="nip" class="form-control" value="<?php echo $hasil['nip']; ?>" readonly>
- </tr>
- <tr>
- <td><label for="nidn">N.I.D.N</label></td>
- <td><input type="text" id="nidn" name="nidn" class="form-control" value="<?php echo $hasil['nama']; ?>" readonly></td>
- </tr>
- <tr>
- <td><label for="nidn">ilmu</label></td>
- <td><input type="text" class="form-control" value="<?php echo $hasil['tb_penddidikan.bidang_ilmu']; ?>" readonly></td>
- </tr>
- </table>
- </div>
- <!--memanggil javascript-->
- <!--jQuery (penting untuk Bootstrap javascript plugin-->
- <script src="js/jquery.min.js"></script>
- <script src="js/bootstrap.min.js"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment