Commit 9008fdca by Rachel Gultom
parents 7e323a11 88e84542
# Simple-CRUD-PHP-MySQLi
<!-- <img width="200" src="https://static.cdn-cdpl.com/700x350/998b78e349061b4971c0a2b0e8d6be41/php_logo-image700x350-crop-image700x350-crop-image(700x350-crop)-image(700x350-crop).png">
&nbsp;
<img width="200" src="https://i1.wp.com/www.elearningworld.org/wp-content/uploads/2019/04/MySQL.svg.png?fit=600%2C400&ssl=1"> -->
<p align="center">
<a href="https://www.php.net/">
<img
alt="PHP"
src="https://static.cdn-cdpl.com/700x350/998b78e349061b4971c0a2b0e8d6be41/php_logo-image700x350-crop-image700x350-crop-image(700x350-crop)-image(700x350-crop).png"
width="200"
/>
<img
alt="MySQL"
src="https://i1.wp.com/www.elearningworld.org/wp-content/uploads/2019/04/MySQL.svg.png?fit=600%2C400&ssl=1"
width="200"
/>
</a>
</p>
<!-- ![Untitled](https://static.cdn-cdpl.com/700x350/998b78e349061b4971c0a2b0e8d6be41/php_logo-image700x350-crop-image700x350-crop-image(700x350-crop)-image(700x350-crop).png) -->
<!-- ![Untitled](https://i1.wp.com/www.elearningworld.org/wp-content/uploads/2019/04/MySQL.svg.png?fit=600%2C400&ssl=1) -->
## Table Of Contents
- [Table Of Content](#table-of-content)
- [Features](#features)
- [Build Setup](#build-setup)
- [Installation](#installation)
- [Stacks](#stacks)
- [Environment Recomended](#environment-recomended)
## Features
1. Input Data
2. Delete Data
3. Update Data
4. Display Data
## Build Setup
- Clone Repository `https://github.com/arul29/Simple-CRUD-PHP-MySQLi.git`
- Import database `crud_simple.sql` to phpMyAdmin
## Installation
- Upload/move data to your php server
- Open your server url, example: `http://localhost/simplecrudphp`
## Stacks
HTML, PHP & MySQLi.
## Environment Recomended
- Webserver Apache
- PHP 7.x
- MySQL / MariaDB
---
Copyright © 2019 by Andi Mashdarul Khair
<a href="index.php">Show Data</a>
<br><br>
<form method="post">
<table>
<tr>
<td>NIDN</td>
<td><input type="text" name="nidn" placeholder="Masukkan NIDN" required></td>
</tr>
<tr>
<td>Nama</td>
<td><input type="text" name="nama" placeholder="Masukkan Nama" required></td>
</tr>
<tr>
<td>Jabatan</td>
<td><input type="text" name="jabatan" placeholder="Masukkan Jabatan" required></td>
</tr>
<tr>
<td>Program Studi</td>
<td>
<select name="program_studi" >
<option value="D3 Teknologi Informasi">D3 Teknologi Informasi</option>
<option value="D3 Teknologi Komputer">D3 Teknologi Komputer</option>
<option value="D4 Teknologi Rekayasa Perangkat Lunak">D4 Teknologi Rekayasa Perangkat Lunak</option>
<option value="S1 Informatika">S1 Informatika</option>
<option value="S1 Sistem Informasi">S1 Sistem Informasi</option>
<option value="S1 Teknik Elektro">S1 Teknik Elektro</option>
</select>
</td>
</tr>
<tr>
<td>Golongan</td>
<td><input type="text" name="golongan" placeholder="Masukkan golongan" required></td>
</tr>
<tr>
<td>Pendidikan</td>
<td><input type="text" name="pendidikan" placeholder="Masukkan Pendidikan" required></td>
</tr>
<tr>
<td>Tahun Mulai S1</td>
<td><input type="date" name="mulai_s1"></td>
</tr>
<tr>
<td>Tahun Lulus S1</td>
<td><input type="date" name="lulus_s1"></td>
</tr>
<tr>
<td>Tahun Mulai S2</td>
<td><input type="date" name="mulai_s2"></td>
</tr>
<tr>
<td>Tahun Lulus S2</td>
<td><input type="date" name="lulus_s2"></td>
</tr>
<tr>
<td>Username</td>
<td><input type="username" name="username" placeholder="Masukkan Username" required></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" name="password" placeholder="Masukkan Password" required></td>
</tr>
<tr>
<td>Email</td>
<td><input type="email" name="email" placeholder="Masukkan email" required></td>
</tr>
<tr>
<td><input type="submit" name="add" value="Add"></td>
<td><input type="reset" name="reset" value="Cancel"></td>
</tr>
</table>
</form>
<?php
if(isset($_POST['add']))
{
include 'config.php';
$nidn = $_POST['nidn'];
$nama = $_POST['nama'];
$jabatan = $_POST['jabatan'];
$program_studi = $_POST['program_studi'];
$golongan = $_POST['golongan'];
$pendidikan = $_POST['pendidikan'];
$mulai_s1 = $_POST['mulai_s1'];
$lulus_s1 = $_POST['lulus_s1'];
$mulai_s2 = $_POST['mulai_s2'];
$lulus_s2 = $_POST['lulus_s2'];
$username = $_POST['username'];
$password = $_POST['password'];
$email = $_POST['email'];
$sql="INSERT INTO dosen (nidn, nama, jabatan, program_studi, golongan, pendidikan, mulai_s1, lulus_s1, mulai_s2, lulus_s2, username, password, email) VALUES ('$nidn','$nama','$jabatan','$program_studi','$golongan', '$pendidikan', '$mulai_s1', '$lulus_s1', '$mulai_s2', '$lulus_s2', '$username', '$password', '$email')";
if($conn->query($sql) === false)
{
trigger_error('Wrong SQL Command: ' . $sql . ' Error: ' . $conn->error, E_USER_ERROR);
}
else
{
echo "<script>alert('Add Success!')</script>";
echo "<meta http-equiv=refresh content=\"0; url=index.php\">";
}
}
?>
\ No newline at end of file
<?php
$dbhost = 'localhost';
$dbuser = 'root';
$dbpass = '';
$dbname = 'pa2';
$conn = new mysqli($dbhost,$dbuser,$dbpass,$dbname);
if($conn->connect_error)
{
die('Failed Connect ! '.$conn->connect_error);
}
?>
\ No newline at end of file
-- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 06, 2020 at 06:51 PM
-- Server version: 10.1.26-MariaDB
-- PHP Version: 7.1.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `crud_simple`
--
-- --------------------------------------------------------
--
-- Table structure for table `college_student`
--
CREATE TABLE `college_student` (
`student_id` varchar(10) NOT NULL,
`name` varchar(50) NOT NULL,
`majors` varchar(40) NOT NULL,
`gender` varchar(12) NOT NULL,
`address` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `college_student`
--
INSERT INTO `college_student` (`student_id`, `name`, `majors`, `gender`, `address`) VALUES
('1111', 'Kenzo', 'Civil', 'Male', 'Yogyakarta'),
('2222', 'Iyan', 'Architect', 'Male', 'Yogyakarta'),
('3333', 'Andi', 'Informatics', 'Male', 'Yogyakarta');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `college_student`
--
ALTER TABLE `college_student`
ADD PRIMARY KEY (`student_id`);
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
<a href="add.php">Add</a>
<br><br>
<table border="">
<tbody>
<tr>
<th>NIDN</th>
<th>Nama</th>
<th>Jabatan</th>
<th>Program Studi</th>
<th>Golongan</th>
<th>Pendidikan</th>
<th>Tahun Mulai S1</th>
<th>Tahun Lulus S1</th>
<th>Tahun Mulai S2</th>
<th>Tahun Lulus S2</th>
<th>Username</th>
<th>Password</th>
<th>Email</th>
</tr>
<?php
include 'config.php';
$a=mysqli_query($conn,"SELECT * FROM dosen");
foreach ($a as $b)
{
?>
<tr>
<td><?= $b['nidn']; ?></td>
<td><?= $b['nama']; ?></td>
<td><?= $b['jabatan']; ?></td>
<td><?= $b['program_studi']; ?></td>
<td><?= $b['golongan']; ?></td>
<td><?= $b['pendidikan']; ?></td>
<td><?= $b['mulai_s1']; ?></td>
<td><?= $b['lulus_s1']; ?></td>
<td><?= $b['mulai_s2']; ?></td>
<td><?= $b['lulus_s2']; ?></td>
<td><?= $b['username']; ?></td>
<td><?= $b['password']; ?></td>
<td><?= $b['email']; ?></td>
<td>
<a href="update.php?nidn=<?= $b['nidn']; ?>"><b><i>Edit</i></b></a> |
<a href="index.php?nidn=<?= $b['nidn']; ?>" onclick="return confirm('Are you sure?')"><b><i>Delete</i></b></a>
</td>
</tr>
<?php } ?>
</tbody>
</table>
<?php
if(isset($_GET['nidn']))
{
$nidn=$_GET['nidn'];
$sql="DELETE FROM dosen WHERE nidn='$nidn'";
if($conn->query($sql) === false)
{ // Jika gagal meng-insert data tampilkan pesan dibawah 'Perintah SQL Salah'
trigger_error('Wrong SQL Command: ' . $sql . ' Error: ' . $conn->error, E_USER_ERROR);
}
else
{ // Jika berhasil alihkan ke halaman tampil.php
echo "<script>alert('Delete Success!')</script>";
echo "<meta http-equiv=refresh content=\"0; url=index.php\">";
}
}
?>
\ No newline at end of file
<a href="index.php">Show Data</a>
<br><br>
<?php
include 'config.php';
$a=mysqli_query($conn,"SELECT * FROM dosen WHERE nidn='$_GET[nidn]'");
$b=mysqli_fetch_array($a,MYSQLI_ASSOC)
?>
<form method="post">
<table>
<tr>
<td>NIDN</td>
<td><input type="text" name="nidn" placeholder="Masukkan NIDN" value="<?= $b['nidn'] ?>"></td>
</tr>
<tr>
<td>Nama</td>
<td><input type="text" name="nama" placeholder="Masukkan Nama" value="<?= $b['nama']; ?>"></td>
</tr>
<tr>
<td>Jabatan</td>
<td><input type="text" name="jabatan" placeholder="Masukkan Jabatan" value="<?= $b['jabatan']; ?>"></td>
</tr>
<tr>
<td>Program Studi</td>
<td>
<select name="program_studi" >
<option value="D3 Teknologi Informasi" <?php if($b['program_studi'] == "D3 Teknologi Informasi") echo "selected"; ?>>D3 Teknologi Informasi</option>
<option value="D3 Teknologi Komputer" <?php if($b['program_studi'] == "D3 Teknologi Komputer") echo "selected"; ?>>D3 Teknologi Komputer</option>
<option value="D4 Teknologi Rekayasa Perangkat Lunak" <?php if($b['program_studi'] == "D4 Teknologi Rekayasa Perangkat Lunak") echo "selected"; ?>>D4 Teknologi Rekayasa Perangkat Lunak</option>
<option value="S1 Informatika"<?php if($b['program_studi'] == "S1 Informatika") echo "selected"; ?>>S1 Informatika</option>
<option value="S1 Sistem Informasi" <?php if($b['program_studi'] == "S1 Sistem Informasi") echo "selected"; ?>>S1 Sistem Informasi</option>
<option value="S1 Teknik Elektro" <?php if($b['program_studi'] == "S1 Teknik Elektro") echo "selected"; ?>>S1 Teknik Elektro</option>
</select>
</td>
</tr>
<tr>
<td>Golongan</td>
<td><input type="text" name="golongan" placeholder="Masukkan golongan" value="<?= $b['golongan']; ?>"></td>
</tr>
<tr>
<td>Pendidikan</td>
<td><input type="text" name="pendidikan" placeholder="Masukkan Pendidikan" value="<?= $b['pendidikan']; ?>"></td>
</tr>
<tr>
<td>Tahun Mulai S1</td>
<td><input type="date" name="mulai_s1" value="<?= $b['mulai_s1']; ?>"></td>
</tr>
<tr>
<td>Tahun Lulus S1</td>
<td><input type="date" name="lulus_s1" value="<?= $b['lulus_s1']; ?>"></td>
</tr>
<tr>
<td>Tahun Mulai S2</td>
<td><input type="date" name="mulai_s2" value="<?= $b['mulai_s2']; ?>"></td>
</tr>
<tr>
<td>Tahun Lulus S2</td>
<td><input type="date" name="lulus_s2" value="<?= $b['lulus_s2']; ?>"></td>
</tr>
<tr>
<td>Username</td>
<td><input type="username" name="username" placeholder="Masukkan Username" value="<?= $b['username']; ?>"></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" name="password" placeholder="Masukkan Password" value="<?= $b['password']; ?>"></td>
</tr>
<tr>
<td>Email</td>
<td><input type="email" name="email" placeholder="Masukkan email" value="<?= $b['email']; ?>"></td>
</tr>
<tr>
<td><input type="submit" name="update" value="Update"></td>
<td><input type="reset" name="reset" value="Cancel"></td>
</tr>
</table>
</form>
<?php
if(isset($_POST['update']))
{
include 'config.php';
$nidn = $_POST['nidn'];
$nama = $_POST['nama'];
$jabatan = $_POST['jabatan'];
$program_studi = $_POST['program_studi'];
$golongan = $_POST['golongan'];
$pendidikan = $_POST['pendidikan'];
$mulai_s1 = $_POST['mulai_s1'];
$lulus_s1 = $_POST['lulus_s1'];
$mulai_s2 = $_POST['mulai_s2'];
$lulus_s2 = $_POST['lulus_s2'];
$username = $_POST['username'];
$password = $_POST['password'];
$email = $_POST['email'];
$sql="UPDATE dosen SET nidn='$nidn', nama='$nama', jabatan='$jabatan', program_studi='$program_studi', golongan='$golongan', pendidikan='$pendidikan', mulai_s1='$mulai_s1', lulus_s1='$lulus_s1', mulai_s2='$mulai_s2', lulus_s2='$lulus_s2', username='$username', password='$password', email='$email' WHERE nidn='$_GET[nidn]'";
if($conn->query($sql) === false)
{ // Jika gagal meng-insert data tampilkan pesan dibawah 'Perintah SQL Salah'
trigger_error('Wrong SQL Command: ' . $sql . ' Error: ' . $conn->error, E_USER_ERROR);
}
else
{ // Jika berhasil alihkan ke halaman tampil.php
echo "<script>alert('Update Success!')</script>";
echo "<meta http-equiv=refresh content=\"0; url=index.php\">";
}
}
?>
\ No newline at end of file
<footer class="footer text-center" style="background-color:#195CDE; border: 1px solid #000000; border-radius: 4px;">
<span class="glyphicon glyphicon-copyright-mark"></span>
Team-07 Institut Teknologi Del
<?php
date_default_timezone_set('Asia/Jakarta'); // untuk format indonesia
echo date('Y'); // day tanggal M month bulan Y Year
// H = Hours jam // i = menit // s = second detik
?>
</footer>
\ No newline at end of file
<!-- header -->
<!DOCTYPE html>
<html>
<head>
<title>Dashboard</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/mystyle.css">
<script type="text/javascript" src="js/jquery-3.2.1.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
</head>
<body style="background-color:#ffffff;">
<div class="container-fluid">
<div class="row">
<div class="col-xs-3 col-sm-3 col-md-1">
<a href="Dashboard.php"><img src="img/silabus.png" style="width:100px;padding:10px;"></a>
</div>
<div class="col-xs-9 col-sm-9 col-md-11" style="margin-top:20px;">
<h4><b>Sistem Review RPS,Soal dan Berita Acara</b><br>
INSTITUT TEKNOLOGI DEL<img src="img/LogoDel.jpg" style="width:40px; height:40px; margin-left:10px;"></h4>
</div>
</div>
</div>
<nav class="navbar navbar-inverse" data-spy="affix" data-offset-top="105" style="background-color:#195CDE;">
<div class="container-fluid">
<div class="navbar-header">
<button aria-expanded="false" class="navbar-toggle collapsed" data-target="#bs-example-navbar-collapse-1" data-toggle="collapse" type="button">
<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="#" style="font-family:tinymce; color:#ffffff;">Fakultas Informatika dan Teknik Elektro</a>
</div><!-- navbar header end -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="dashboard.php" style="color:#ffffff;">Beranda<span class="sr-only">(current)</span></a></li>
<li><a href="undangdosen.php" style="color:#ffffff;">Undang Dosen<span class="sr-only" style="color:#ffffff;">(current)</span></a></li>
<!-- Dropdown 1-->
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" style="color:#ffffff;">Upload <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="uploadRPS.php">Upload File RPS</a></li>
<li><a href="uploadSoal.php">Upload File Soal</a></li>
<li><a href="uploadPostEvaluation.php">Upload File Post Evaluation</a></li>
</ul>
</li>
<!-- Dropdown 2-->
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" style="color:#ffffff;">Review <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="reviewRPS.php">Review File RPS</a></li>
<li><a href="reviewSoal.php">Review File Soal</a></li>
<li><a href="reviewPostEvaluation.php">Review File Post Evaluation</a></li>
</ul>
</li>
<!-- Dropdown3 -->
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" style="color:#ffffff;">Generate <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="generateRPS.php">Generate File RPS</a></li>
<li><a href="generateSoal.php">Generate File Soal</a></li>
<li><a href="generatePostEvaluation.php">Generate File Post Evaluation</a></li>
</ul>
</li>
<li>
<a href="#" style="color:#ffffff;">Logout</a>
</li>
</ul>
</div>
</div>
</nav><!--header end-->
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
/* navbar */
.navbar-inverse , .footer
{
background-color:#44749d;
}
.footer
{
padding:18px;
margin:30px 0px 0px 0px;
border-radius:5px;
color:white;
}
.navbar-inverse .navbar-brand
{
color:white;
}
.affix
{
top: 0;
width: 100%;
z-index: 9999 !important;
}
.affix + .container-fluid
{
padding-top: 70px;
}
/* carousel */
.carousel-inner > .item > img,
.carousel-inner > .item > a > img
{
width:850px;
height: 390px;
}
/*caret*/
.caret
{
color:white;
}
body
{
background-color: #e6e2dd;
}
/* Login CSS */
.outter-form-login
{
padding: 35px;
background: #EEEEEE;
position: relative;
margin-top:12%;
border-radius: 5px;
}
.logo-login
{
position: absolute;
font-size: 40px;
background: #44749d;
color: #e6e2dd;
padding: 10px 18px;
top: -40px;
border-radius: 50%;
left: 40%;
}
.inner-login .form-control
{
background: #D3D3D3;
}
h4.title-login
{
font-size: 20px;
margin-bottom: 20px;
}
.forget
{
margin-top: 20px;
color: #ADADAD;
}
.btn-custom-blue
{
background: #44749d;
color: #fff;
}
/* Tag Select */
.form-control:hover
{
box-shadow:0 0 7px 5px lightblue;
}
.navbar-default
{
background-color:red;
}
.footer-berita
{
margin-top:100px;
}
.form-submit
{
background:skyblue;
box-shadow:0 0 7px;
}
<?php
require_once('layout/header.php');
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<div class="col-md-12">
<center><h3><b> <img src="img/rps.png" style="width:25px; height:25px;">Daftar File RPS</b></h3></center>
&nbsp;
</div>
<button type="submit" name="Submit" class="btn btn-primary" style="background-color:#548FF6; border: 1px solid #000000; border-radius: 4px; font-size:12px;"><img src="img/rps.png" style="width:20px; height:20px;">&nbsp; Hasil Review RPS</button>
<div class="col-md-2 col-md-offset-9">
<input class="form-control" type="search" placeholder="Cari Dokumen...">
<br>
</div>
<table class="table table-stripped">
<thead>
<tr>
<th class="text-center">Nama File</th>
<th class="text-center">Dosen Pengampu</th>
<th class="text-center">Program Studi</th>
<th class="text-center">File</th>
<th colspan=2><center>Aksi</center></th>
</tr>
<tr>
<td class="text-center">Pemograman Teknologi .NET</td>
<td class="text-center">Lit Malem Ginting M.T</td>
<td class="text-center">S1 Informatika</td>
<td class="text-center"><a href="#">Pemograman Teknologi .NET.docx</td>
<td align=right width=70px><a href="editRPS.php" class="btn btn-block" style="height:28px; font-size:11px; border-radius : 5px; background-color:#AB2FEC; color:#ffffff;">Update</a></td>
<td align=right width=70px><a href=""class="btn btn-block" style="height:28px; background-color:#EE2222; border-radius : 5px; font-size:11px; color:#ffffff;">Hapus</a></td>
</tr>
<tr>
<td class="text-center">Pengujian Perangkat Lunak</td>
<td class="text-center">Dr. Arnaldo Marulitua Sinaga, <br>ST., M.InfoTech.</td>
<td class="text-center">D3 Teknologi Informasi</td>
<td class="text-center"><a href="#">Pengujian Perangkat Lunak.docx</td>
<td align=right width=70px><a href="#" class="btn btn-block" style="height:28px; font-size:11px; border-radius : 5px; background-color:#AB2FEC; color:#ffffff;">Update</a></td>
<td align=right width=70px><a href=""class="btn btn-block" style="height:28px; background-color:#EE2222; border-radius : 5px; font-size:11px; color:#ffffff;">Hapus</a></td>
</tr>
<tr>
<td class="text-center">Praktikum Rangkaian Elektrik</td>
<td class="text-center">I Gde Eka Dirgayussa, <br>S.Pd,M.Si</td>
<td class="text-center">S1 Teknik Elektro</td>
<td class="text-center"><a href="#">Praktikum Rangkaian Elektrik.docx</td>
<td align=right width=70px><a href="#" class="btn btn-block" style="height:28px; font-size:11px; border-radius : 5px; background-color:#AB2FEC; color:#ffffff;">Update</a></td>
<td align=right width=70px><a href=""class="btn btn-block" style="height:28px; background-color:#EE2222; border-radius : 5px; font-size:11px; color:#ffffff;">Hapus</a></td>
</tr>
</thead>
</table>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
?>
<?php
require_once('layout/header.php');
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<div class="col-md-12">
<center><h3><b> <img src="img/rps.png" style="width:25px; height:25px;">Daftar File Soal</b></h3></center>
&nbsp;
</div>
<button type="submit" name="Submit" class="btn btn-primary" style="background-color:#548FF6; border: 1px solid #000000; border-radius: 4px; font-size:12px;"><img src="img/rps.png" style="width:20px; height:20px;">&nbsp; Hasil Review Soal</button>
<div class="col-md-2 col-md-offset-9">
<input class="form-control" type="search" placeholder="Cari Dokumen...">
<br>
</div>
<table class="table table-stripped">
<thead>
<tr>
<th class="text-center">Judul Soal</th>
<th class="text-center">Asal Soal</th>
<th class="text-center">Halaman Soal</th>
<th class="text-center">File</th>
<th colspan=2><center>Aksi</center></th>
</tr>
<tr>
<td class="text-center">Jenis jenis Matriks</td>
<td class="text-center">Ike Fitriyaningsih, S.Si., M.Si</td>
<td class="text-center">100 Halaman</td>
<td class="text-center"><a href="#">Matriks.docx</td>
<td align=right width=70px><a href="editSoal.php" class="btn btn-block" style="height:28px; font-size:11px; border-radius : 5px; background-color:#AB2FEC; color:#ffffff;">Update</a></td>
<td align=right width=70px><a href="#"class="btn btn-block" style="height:28px; background-color:#EE2222; border-radius : 5px; font-size:11px; color:#ffffff;">Hapus</a></td>
</tr>
<tr>
<td class="text-center">Polymorphism</td>
<td class="text-center">Inte Christinawati Bu'ulolo, ST., M.T.I</td>
<td class="text-center">120 Halaman</td>
<td class="text-center"><a href="#">Polymorphism.docx</td>
<td align=right width=70px><a href="#" class="btn btn-block" style="height:28px; font-size:11px; background-color:#AB2FEC; color:#ffffff;">Update</a></td>
<td align=right width=70px><a href=""class="btn btn-block" style="height:28px; background-color:#EE2222; border-radius : 5px; font-size:11px; color:#ffffff;">Hapus</a></td>
</tr>
<tr>
<td class="text-center">Database Connectivity</td>
<td class="text-center">Togu Novriansyah Turnip, S.S.T., M.IM</td>
<td class="text-center">150 Halaman</td>
<td class="text-center"><a href="#">Database Connectivity.docx</td>
<td align=right width=70px><a href="#" class="btn btn-block" style="height:28px; font-size:11px; border-radius : 5px; background-color:#AB2FEC; color:#ffffff;">Update</a></td>
<td align=right width=70px><a href=""class="btn btn-block" style="height:28px; background-color:#EE2222; border-radius : 5px; font-size:11px; color:#ffffff;">Hapus</a></td>
</tr>
</thead>
</table>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
?>
<?php
require_once('layout/header.php');
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<div class="col-md-12">
<center><h3><b><img src="img/dosen.png" style="width:25px; height:25px;">&nbsp; Daftar Dosen</b></h3></center>
&nbsp;
</div>
<table class="table table-hover text-center">
<thead>
<th class="text-center">Nama</th>
<th class="text-center">Program Studi</th>
<th class="text-center">Data Diri</th>
<th class="text-center">Status</th>
</thead>
<tbody class="table-hover">
<tr>
<td>Litmalem Ginting</td>
<td>S1 Informatika</td>
<td><a href="#">Buka</td>
<td style="color:#3FDF6A;">Telah Diundang</td>
</tr>
<tr>
<td>Ike Fitriansyah</td>
<td>D3 Teknologi Informasi</td>
<td><a href="#">Buka</td>
<td style="color:#3FDF6A;">Telah Diundang</td>
</tr>
<tr>
<td>Indra Tambunan</td>
<td>S1 Teknik Elektro</td>
<td><a href="#">Buka</td>
<td style="color:#EE2222;">Belum Diundang</td>
</tr>
</tbody>
</table>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
?>
<?php
require_once('Layout/header.php');
?>
<!-- Dashboard -->
<div class="container-fluid" id="content">
<div class="row">
<div class="col-sm-6 col-md-8">
<!-- Carousel -->
<a href="https://del.ac.id">
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
</ol>
<!-- Slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="img/Slide4.jpg" alt="...">
<div class="carousel-caption">
Slide 1
</div>
</div>
<div class="item">
<img src="img/Slide3.jpg" alt="...">
<div class="carousel-caption">
Slide 2
</div>
</div>
<div class="item">
<img src="img/Slide8.jpg" alt="...">
<div class="carousel-caption">
Slide 3
</div>
</div>
<div class="item">
<img src="img/Slide7.jpg" alt="...">
<div class="carousel-caption">
Slide 4
</div>
</div>
<div class="item">
<img src="img/Slide9.jpg" alt="...">
<div class="carousel-caption">
Slide 5
</div>
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</a>
</div>
</div>
<div class="col-sm-6 col-md-4">
<center>
<h4>Jam dan Tanggal<br>
<h5><b>
<?php
date_default_timezone_set('Asia/Jakarta'); // untuk format indonesia
echo date('d M Y H:i:s'); // day tanggal M month bulan Y Year
// H = Hours jam // i = menit // s = second detik
?></b>
</h5>
</h4>
</center>
<div style="width: 390px; height: 0px; border: 1px #000 solid;"></div> <!-- membuat garis horixontal-->
<h4>
<span class="glyphicon glyphicon-bell"></span>
<b>Notifikasi</b>
</h4>
</div>
</div>
</div>
<!-- Dashboard End-->
<?php
require_once('Layout/footer.php');
?>
<?php
require_once('layout/header.php');
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<center><h3><b> <img src="img/rps.png" style="width:25px; height:25px;">Edit File RPS</b></h3></center>
<br>
</div>
<form action="#.php" method="post" name="form1">
<table width="100%" border="0">
<tr>
<td><h4><b>Nama File </b></h4></td>
<td><input type="text" name="judul_soal" placeholder="Pemograman Teknologi .NET" size="45" required></td>
</tr>
<tr>
<td><h4><b>Dosen Pengampu </b></h4></td>
<td><input type="text" name="asal_soal" placeholder="Lit Malem Ginting, S.Si, MT" size="45" required></td>
</tr>
<tr>
<td><h4><b>Program Studi </b></h4></td>
<td><input type="text" name="halaman_soal" size="45" placeholder="S1 Informatika" required></td>
</tr>
<tr>
<td><h4><b>Upload File </b></h4></td>
<td><form action="#" method="post" enctype="multipart/form-data" class="btn btn-block">
<input type="file" name="file">
</form></td>
</tr>
<br>
<br>
<tr>
<td></td>
<td><input type="submit" name="Submit" value="Update" class="btn btn-success"></td>
</tr>
</table>
</form>
</div>
</div>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
?>
<?php
require_once('layout/header.php');
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<center><h3><b> <img src="img/rps.png" style="width:25px; height:25px;">Edit File Soal</b></h3></center>
<br>
</div>
<form action="tambah.php" method="post" name="form1">
<table width="100%" border="0">
<tr>
<td><h4><b>Judul Soal </b></h4></td>
<td><input type="text" name="judul_soal" placeholder="Jenis Jenis Matriks" size="45" required></td>
</tr>
<tr>
<td><h4><b>Asal Soal </b></h4></td>
<td><input type="text" name="asal_soal" placeholder="Ike Fitriyaningsih, S.Si., M.Si" size="45" required></td>
</tr>
<tr>
<td><h4><b>Halaman Soal </b></h4></td>
<td><input type="text" name="halaman_soal" size="45" placeholder="100 Halaman" required></td>
</tr>
<tr>
<td><h4><b>Upload File </b></h4></td>
<td><form action="#" method="post" enctype="multipart/form-data" class="btn btn-block">
<input type="file" name="file">
</form></td>
</tr>
<br>
<br>
<tr>
<td></td>
<td><input type="submit" name="Submit" value="Update" class="btn btn-success" style="background-color:#3FDF6A;"></td>
</tr>
</table>
</form>
</div>
</div>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
?>
This source diff could not be displayed because it is too large. You can view the blob instead.
<?php
require_once('layout/header.php');
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<center><h3><b><img src="img/rps.png" style="width:25px; height:25px;">Generate File Post Evaluation</b></h3></center>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
?>
\ No newline at end of file
<?php
require_once('layout/header.php');
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<center><h3><b><img src="img/rps.png" style="width:25px; height:25px;">Generate File RPS</b></h3></center>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
?>
\ No newline at end of file
<?php
require_once('layout/header.php');
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<center><h3><b> <img src="img/rps.png" style="width:25px; height:25px;">Generate File Soal</b></h3></center>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
?>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
require('../../js/transition.js')
require('../../js/alert.js')
require('../../js/button.js')
require('../../js/carousel.js')
require('../../js/collapse.js')
require('../../js/dropdown.js')
require('../../js/modal.js')
require('../../js/tooltip.js')
require('../../js/popover.js')
require('../../js/scrollspy.js')
require('../../js/tab.js')
require('../../js/affix.js')
\ No newline at end of file
<html>
<head>
<title>
Login - Sistem RPS IT-DEL
</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/mystyle.css">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
</head>
<body style="background-color:#ffffff;">
<div class="container-fluid">
<div class="row">
<div class="col-xs-3 col-sm-3 col-md-1">
<a href="Login.php"><img src="img/silabus.png" style="width:100px;padding:10px;"></a>
</div>
<div class="col-xs-9 col-sm-9 col-md-11" style="margin-top:20px;">
<h4><b> Sistem Review RPS,Soal dan Berita Acara</b><br>
INSTITUT TEKNOLOGI DEL
</h4>
</div>
</div>
</div>
<!-- Form Login -->
<div class="row">
<div class="col-md-4 col-md-offset-4">
<div class="outter-form-login"style="background:#e6e6fe; border-radius:7px; border: 1px solid #1543DE; filter:contrast(99%);">
<h4 class="text-center title-login"><b>Login</b></h4>
<!-- FORM -->
<form action="Dashboard.php" class="inner-login">
<div class="row">
<div class="col-md-4">
<center><img src="img/LogoDel.jpg" style="width:100px;" alt=""></center>
</div>
<div class="col-md-offset-1 col-md-7" >
<div class="form-group">
<b>Username</b>
<input type="text" class="form-control" name="username" style="border: 2px solid #808080; border-radius: 7px;" placeholder="Username">
</div>
<div class="form-group">
<b>Password</b>
<input type="password" class="form-control" name="password" style="border: 2px solid #808080;border-radius: 7px; " placeholder="Password">
</div>
<input type="submit" class="btn btn-block" style=" border-radius: 7px; background-color:#195CDE; color:#ffffff; font-size:15px;" value="Masuk" />
</div>
</div>
</form>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
<?php
require_once('layout/header.php');
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<center><h3><b><img src="img/rps.png" style="width:25px; height:25px;">Review Post Evaluation</b></h3></center>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
?>
\ No newline at end of file
<?php
require_once('layout/header.php');
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<div class="col-md-12">
<center><h3><b> <img src="img/rps.png" style="width:25px; height:25px;">Review File RPS</b></h3></center>
&nbsp;
</div>
<div class="col-md-2 col-md-offset-9">
<input class="form-control" type="search" placeholder="Cari Dokumen...">
<br>
</div>
<table class="table table-hover text-center">
<thead>
<th class="text-center">Nama File</th>
<th class="text-center">Dosen Pengampu</th>
<th class="text-center">Program Studi</th>
<th class="text-center">File</th>
</thead>
<tbody class="table-hover">
<tr>
<td>Pemograman Teknologi .NET</td>
<td>Lit Malem Ginting</td>
<td>S1 Informatika</td>
<td><a href="#">Pemograman Teknologi .NET.docx</td>
</tr>
<tr>
<td>Pengujian Perangkat Lunak</td>
<td>Dr. Arnaldo Marulitua Sinaga, <br>ST., M.InfoTech.</td>
<td>D3 Teknologi Informasi</td>
<td><a href="#">Pengujian Perangkat Lunak.docx</td>
</tr>
<tr>
<td>Praktikum Rangkaian Elektrik</td>
<td>I Gde Eka Dirgayussa, <br>S.Pd,M.Si</td>
<td>S1 Teknik Elektro</td>
<td><a href="#">Praktikum Rangkaian Elektrik.docx</td>
</tr>
</tbody>
</table>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
?>
<?php
require_once('layout/header.php');
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<center><h3><b> <img src="img/rps.png" style="width:25px; height:25px;">Review File Soal</b></h3></center>
&nbsp;
</div>
</div>
</div>
<div class="col-md-2 col-md-offset-9">
<input class="form-control" type="search" placeholder="Cari Dokumen...">
<br>
</div>
<table class="table table-hover text-center">
<thead>
<th class="text-center">Judul Soal</th>
<th class="text-center">Asal Soal</th>
<th class="text-center">Jumlah Halaman</th>
<th class="text-center">File</th>
</thead>
<tbody class="table-hover">
<tr>
<td>Jenis jenis Matriks</td>
<td>Ike Fitriyaningsih, S.Si., M.Si</td>
<td>100 Halaman</td>
<td><a href="#">Matriks.docx</td>
</tr>
<tr>
<td>Polymorphism</td>
<td>Inte Christinawati Bu'ulolo, ST., M.T.I</td>
<td>120 Halaman</td>
<td><a href="#">Polymorphism.docx</td>
</tr>
<tr>
<td>Database Connectivity</td>
<td>Togu Novriansyah Turnip, S.S.T., M.IM</td>
<td>150 Halaman</td>
<td><a href="#">Database Connectivity.docx</td>
</tr>
</tbody>
</table>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
?>
<?php
require_once('layout/header.php');
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<center><h3><b><img src="img/undang.png" style="width:25px; height:25px;">Undang Dosen</b></h3></center>
<div class="container-fluid">
<div class="row">
<div class="col-md-10">
<div class="col-md-2">
<a href="daftarDosen.php"><button type='button' class='btn btn-primary center-block' style="margin-bottom:20px; border: 1px solid #000000; border-radius: 4px; font-size:12px; background-color:#548FF6;"><img src="img/dosen.png" style="width:18px; height:18px;">&nbsp; Daftar Dosen</button></a>
</div>
&nbsp;
<br>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="col-md-10">
<form action="#.php" method="post" name="form1">
<table width="50%" border="0">
<td><h4><b>Dosen </b></h4></td>
<td>
<select class="form-control" name="dosen" aria-required="true">
<option value="#">-- Pilih Dosen --</option>
<option value="dosen1">Lit Malem Ginting</option>
<option value="dosen2">Ike Fitriansyah</option>
<option value="dosen3">Togu Turnip</option>
</select>
<br>
</td>
</tr>
<tr>
<td><h4><b>Program Studi </b></h4></td>
<td>
<select class="form-control" name="prodi" aria-required="true">
<option value="#">-- Pilih Program Studi --</option>
<option value="prodi1">D3 Teknologi Informasi</option>
<option value="prodi2">D3 Teknik Komputer</option>
<option value="prodi3">DIV Teknologi Rekayasa Perangkat Lunak
<option value="prodi3">S1 Informatika</option>
<option value="prodi3">S1 Teknik Elektro</option>
<option value="prodi3">S1 Sistem Informasi</option>
</select>
<br>
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</form>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="col-md-2">
<a href="daftardosen.php">
<img src="img/gmailku.png" style="width:18px; height:18px; ">&nbsp;Undang via Gmail</button>
</div>
</div>
</div>
</div>
<button type='button' class='btn btn-success center-block' style="margin-bottom:20px;">Undang</button>
</div>
</div>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
?>
<?php
require_once('layout/header.php');
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<center><h3><b> <img src="img/rps.png" style="width:25px; height:25px;">Upload File Post Evaluation</b></h3></center>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
?>
\ No newline at end of file
<?php
require_once('layout/header.php');
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<center><h3><b> <img src="img/rps.png" style="width:25px; height:25px;">Upload File RPS</b></h3></center>
<div class="col-md-2">
<br>
<a href="daftarRPS.php"><button type='button' class='btn btn-primary center-block' style="margin-bottom:20px; border: 1px solid #000000; border-radius: 4px; font-size:12px; background-color:#548FF6;"><img src="img/rps.png" style="width:18px; height:18px;">&nbsp; Daftar File RPS</button></a>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="col-md-10">
<form action="tambah.php" method="post" name="form1">
<table width="100%" border="0">
<tr>
<td><h4><b>Nama File </b></h4></td>
<td><input type="text" name="nama_file" placeholder="Pemograman Teknologi .NET" size="45" required></td>
</tr>
<tr>
<td><h4><b>Dosen Pengampu </b></h4></td>
<td><input type="text" name="dosen_pengampu" placeholder="Lit Malem Ginting M.T" size="45" required></td>
</tr>
<tr>
<td><h4><b>Program Studi </b></h4></td>
<td><input type="text" name="program_studi" size="45" placeholder="S1 Informatika" required></td>
</tr>
<tr>
<td><h4><b>Upload File </b></h4></td>
<td><form action="#" method="post" enctype="multipart/form-data" class="btn btn-block">
<input type="file" name="file">
</form></td>
</tr>
<br>
<br>
</table>
</form>
<br>
</div>
</div>
</div>
</div>
<button type='button' class='btn btn-success center-block' style="margin-bottom:20px;">Upload</button>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
?>
<?php
require_once('layout/header.php');
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<center><h3><b> <img src="img/rps.png" style="width:25px; height:25px;">Upload File Soal</b></h3></center>
<div class="col-md-2">
<br>
<a href="daftarSoal.php"><button type='button' class='btn btn-primary center-block' style="margin-bottom:20px; border: 1px solid #000000; border-radius: 4px; font-size:12px; background-color:#548FF6;"><img src="img/rps.png" style="width:18px; height:18px;">&nbsp; Daftar File Soal</button></a>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="col-md-10">
<form action="#.php" method="post" name="form1">
<table width="100%" border="0">
<tr>
<td><h4><b>Judul Soal </b></h4></td>
<td><input type="text" name="nama_file" placeholder="Jenis Jenis Matriks" size="45" required></td>
</tr>
<tr>
<td><h4><b>Asal Soal </b></h4></td>
<td><input type="text" name="dosen_pengampu" placeholder="Ike Fitriyaningsih, S.Si., M.Si" size="45" required></td>
</tr>
<tr>
<td><h4><b>Halaman Soal </b></h4></td>
<td><input type="text" name="program_studi" size="45" placeholder="100 Halaman" required></td>
</tr>
<tr>
<td><h4><b>Upload File </b></h4></td>
<td>
<form action="#" method="post" enctype="multipart/form-data" class="btn btn-block">
<input type="file" name="file">
</form>
</td>
</tr>
<br>
<br>
</table>
</form>
</div>
</div>
</div>
</div>
<br>
<button type='button' class='btn btn-success center-block' style="margin-bottom:20px;">Upload</button>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
?>
<footer class="footer text-center" style="background-color:#195CDE; border: 1px solid #000000; border-radius: 4px;">
<span class="glyphicon glyphicon-copyright-mark"></span>
Team-07 Institut Teknologi Del
<?php
date_default_timezone_set('Asia/Jakarta'); // untuk format indonesia
echo date('Y'); // day tanggal M month bulan Y Year
// H = Hours jam // i = menit // s = second detik
?>
</footer>
\ No newline at end of file
<!-- header -->
<!DOCTYPE html>
<html>
<head>
<title>Dashboard</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/mystyle.css">
<script type="text/javascript" src="js/jquery-3.2.1.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
</head>
<body style="background-color:#ffffff;">
<div class="container-fluid">
<div class="row">
<div class="col-xs-3 col-sm-3 col-md-1">
<a href="Dashboard.php"><img src="img/silabus.png" style="width:100px;padding:10px;"></a>
</div>
<div class="col-xs-9 col-sm-9 col-md-11" style="margin-top:20px;">
<h4><b>Sistem Review RPS,Soal dan Berita Acara</b><br>
INSTITUT TEKNOLOGI DEL<img src="img/LogoDel.jpg" style="width:40px; height:40px; margin-left:10px;"></h4>
</div>
</div>
</div>
<nav class="navbar navbar-inverse" data-spy="affix" data-offset-top="105" style="background-color:#195CDE;">
<div class="container-fluid">
<div class="navbar-header">
<button aria-expanded="false" class="navbar-toggle collapsed" data-target="#bs-example-navbar-collapse-1" data-toggle="collapse" type="button">
<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="#" style="font-family:tinymce; color:#ffffff;">Fakultas Informatika dan Teknik Elektro</a>
</div><!-- navbar header end -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="dashboard.php" style="color:#ffffff;">Beranda<span class="sr-only">(current)</span></a></li>
<li><a href="undangdosen.php" style="color:#ffffff;">Undang Dosen<span class="sr-only" style="color:#ffffff;">(current)</span></a></li>
<li><a href="uploadFile.php" style="color:#ffffff;">Upload File<span class="sr-only" style="color:#ffffff;">(current)</span></a></li>
<li><a href="reviewFile.php" style="color:#ffffff;">Review File<span class="sr-only" style="color:#ffffff;">(current)</span></a></li>
<li><a href="generateFile.php" style="color:#ffffff;">Generate File<span class="sr-only" style="color:#ffffff;">(current)</span></a></li>
<li>
<a href="logout.php" style="color:#ffffff;">Logout</a>
</li>
</ul>
</div>
</div>
</nav><!--header end-->
\ No newline at end of file
<?php
$username = $_POST['username'];
$pass = md5($_POST['password']);
include 'koneksi.php';
$user = mysqli_query($connect,"select * from users where USERNAME='$username' and PASSWORD='$pass'");
$chek = mysqli_num_rows($user);
if($chek>0)
{
header("location:dashboard.php");
}else
{
header("location:login.php");
}
?>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
/* navbar */
.navbar-inverse , .footer
{
background-color:#44749d;
}
.footer
{
padding:18px;
margin:30px 0px 0px 0px;
border-radius:5px;
color:white;
}
.navbar-inverse .navbar-brand
{
color:white;
}
.affix
{
top: 0;
width: 100%;
z-index: 9999 !important;
}
.affix + .container-fluid
{
padding-top: 70px;
}
/* carousel */
.carousel-inner > .item > img,
.carousel-inner > .item > a > img
{
width:850px;
height: 390px;
}
/*caret*/
.caret
{
color:white;
}
body
{
background-color: #e6e2dd;
}
/* Login CSS */
.outter-form-login
{
padding: 35px;
background: #EEEEEE;
position: relative;
margin-top:12%;
border-radius: 5px;
}
.logo-login
{
position: absolute;
font-size: 40px;
background: #44749d;
color: #e6e2dd;
padding: 10px 18px;
top: -40px;
border-radius: 50%;
left: 40%;
}
.inner-login .form-control
{
background: #D3D3D3;
}
h4.title-login
{
font-size: 20px;
margin-bottom: 20px;
}
.forget
{
margin-top: 20px;
color: #ADADAD;
}
.btn-custom-blue
{
background: #44749d;
color: #fff;
}
/* Tag Select */
.form-control:hover
{
box-shadow:0 0 7px 5px lightblue;
}
.navbar-default
{
background-color:red;
}
.footer-berita
{
margin-top:100px;
}
.form-submit
{
background:skyblue;
box-shadow:0 0 7px;
}
<?php
require_once('Layout/header.php');
session_start();
if(!isset($_SESSION['login'])) {
include("login.php");
}
else {
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<div class="col-md-12">
<center><h3><b> <img src="img/rps.png" style="width:25px; height:25px;">Daftar File</b></h3></center>
&nbsp;
</div>
<div class="col-md-1">
<button type="submit" name="Submit" class="btn btn-primary" style="background-color:#548FF6; border: 1px solid #000000; border-radius: 4px; font-size:12px;"><img src="img/rps.png" style="width:20px; height:20px;">&nbsp; Hasil Review File</button>
</div>
<div class="col-md-2 col-md-offset-10">
<input class="form-control" type="search" placeholder="Cari Dokumen...">
<br>
</div>
<table class="table table-stripped">
<thead>
<tr>
<th class="text-center">Nama File</th>
<th class="text-center">Dosen Pengampu</th>
<th class="text-center">Jenis File
<th class="text-center">Program Studi</th>
<th class="text-center">File</th>
<th class="text-center">Deskripsi</th>
<th colspan=2><center>Opsi</center></th>
</tr>
<tr>
<td class="text-center">Pemograman Teknologi .NET</td>
<td class="text-center">Lit Malem Ginting M.T</td>
<td class="text-center">File RPS</td>
<td class="text-center">S1 Informatika</td>
<td class="text-center"><a href="#">Pemograman Teknologi .NET.docx</td>
<td class="text-center">Ini adalah file RPS</td>
<td align=right width=70px><a href="editFile.php" class="btn btn-block" style="height:28px; font-size:11px; border-radius : 5px; background-color:#AB2FEC; color:#ffffff;">Update</a></td>
<td align=right width=70px><a href=""class="btn btn-block" style="height:28px; background-color:#EE2222; border-radius : 5px; font-size:11px; color:#ffffff;">Hapus</a></td>
</tr>
<tr>
<td class="text-center">Pengujian Perangkat Lunak</td>
<td class="text-center">Dr. Arnaldo Marulitua Sinaga, <br>ST., M.InfoTech.</td>
<td class="text-center">File Soal</td>
<td class="text-center">D3 Teknologi Informasi</td>
<td class="text-center"><a href="#">Pengujian Perangkat Lunak.docx</td>
<td class="text-center">Ini adalah file Soal</td>
<td align=right width=70px><a href="#" class="btn btn-block" style="height:28px; font-size:11px; border-radius : 5px; background-color:#AB2FEC; color:#ffffff;">Update</a></td>
<td align=right width=70px><a href=""class="btn btn-block" style="height:28px; background-color:#EE2222; border-radius : 5px; font-size:11px; color:#ffffff;">Hapus</a></td>
</tr>
<tr>
<td class="text-center">Praktikum Rangkaian Elektrik</td>
<td class="text-center">I Gde Eka Dirgayussa, <br>S.Pd,M.Si</td>
<td class="text-center">File Post Evaluation </td>
<td class="text-center">S1 Teknik Elektro</td>
<td class="text-center"><a href="#">Praktikum Rangkaian Elektrik.docx</td>
<td class="text-center">Ini adalah file post evaluation</td>
<td align=right width=70px><a href="#" class="btn btn-block" style="height:28px; font-size:11px; border-radius : 5px; background-color:#AB2FEC; color:#ffffff;">Update</a></td>
<td align=right width=70px><a href=""class="btn btn-block" style="height:28px; background-color:#EE2222; border-radius : 5px; font-size:11px; color:#ffffff;">Hapus</a></td>
</tr>
</thead>
</table>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
}
?>
<?php
require_once('Layout/header.php');
session_start();
if(!isset($_SESSION['login'])) {
include("login.php");
}
else {
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<div class="col-md-12">
<center><h3><b><img src="img/dosen.png" style="width:25px; height:25px;">&nbsp; Daftar Dosen</b></h3></center>
&nbsp;
</div>
<table class="table table-hover text-center">
<thead>
<th class="text-center">Nama</th>
<th class="text-center">Program Studi</th>
<th class="text-center">Data Diri</th>
<th class="text-center">Status</th>
</thead>
<tbody class="table-hover">
<tr>
<td>Litmalem Ginting</td>
<td>S1 Informatika</td>
<td><a href="#">Buka</td>
<td style="color:#3FDF6A;">Telah Diundang</td>
</tr>
<tr>
<td>Ike Fitriansyah</td>
<td>D3 Teknologi Informasi</td>
<td><a href="#">Buka</td>
<td style="color:#3FDF6A;">Telah Diundang</td>
</tr>
<tr>
<td>Indra Tambunan</td>
<td>S1 Teknik Elektro</td>
<td><a href="#">Buka</td>
<td style="color:#EE2222;">Belum Diundang</td>
</tr>
</tbody>
</table>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
}
?>
<?php
require_once('Layout/header.php');
session_start();
if(!isset($_SESSION['login'])) {
include("login.php");
}
else {
?>
<!-- Dashboard -->
<div class="container-fluid" id="content">
<div class="row">
<div class="col-sm-6 col-md-8">
<!-- Carousel -->
<a href="https://del.ac.id">
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
</ol>
<!-- Slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="img/Slide4.jpg" alt="...">
<div class="carousel-caption">
Slide 1
</div>
</div>
<div class="item">
<img src="img/Slide3.jpg" alt="...">
<div class="carousel-caption">
Slide 2
</div>
</div>
<div class="item">
<img src="img/Slide8.jpg" alt="...">
<div class="carousel-caption">
Slide 3
</div>
</div>
<div class="item">
<img src="img/Slide7.jpg" alt="...">
<div class="carousel-caption">
Slide 4
</div>
</div>
<div class="item">
<img src="img/Slide9.jpg" alt="...">
<div class="carousel-caption">
Slide 5
</div>
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</a>
</div>
</div>
<div class="col-sm-6 col-md-4">
<center>
<h4>Tanggal dan Jam<br>
<h5><b>
<?php
date_default_timezone_set('Asia/Jakarta'); // untuk format indonesia
echo date('d M Y H:i:s'); // day tanggal M month bulan Y Year
// H = Hours jam // i = menit // s = second detik
?></b>
</h5>
</h4>
</center>
<div style="width: 390px; height: 0px; border: 1px #000 solid;"></div> <!-- membuat garis horixontal-->
<h4>
<span class="glyphicon glyphicon-bell"></span>
<b>Notifikasi</b>
</h4>
</div>
</div>
</div>
<!-- Dashboard End-->
<?php
require_once('Layout/footer.php');
}
?>
<?php
require_once('Layout/header.php');
session_start();
if(!isset($_SESSION['login'])) {
include("login.php");
}
else {
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<center><h3><b> <img src="img/rps.png" style="width:25px; height:25px;">Edit File</b></h3></center>
<div class="col-md-2">
<br>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="col-md-10">
<form action="tambah.php" method="post" name="form1">
<table width="100%" border="0">
<tr>
<td><h4><b>Nama File </b></h4></td>
<td><input type="text" name="nama_file" placeholder="Pemograman Teknologi .NET" size="45" required></td>
</tr>
<tr>
<td><h4><b>Dosen Pengampu </b></h4></td>
<td><input type="text" name="dosen_pengampu" placeholder="Lit Malem Ginting M.T" size="45" required></td>
</tr>
<tr>
<td><h4><b>Jenis File </b></h4></td>
<td><select class="form-control" name="file" aria-required="true" style="width:200px;">
<option value="#">-- Jenis File --</option>
<option value="fileRPS">File RPS</option>
<option value="fileSoal">File Soal</option>
<option value="filePost">File Post Evaluation</option>
</select>
</td>
</tr>
<tr>
<td><h4><b>Program Studi </b></h4></td>
<td><select class="form-control" name="prodi" aria-required="true" style="width:200px;">
<option value="#">-- Program Studi --</option>
<option value="D3TI">DIII Teknologi Informasi</option>
<option value="D3TK">DIII Teknik Komputer</option>
<option value="D4TRPL">DIV Teknologi Rekayasa Perangkat Lunak</option>
<option value="S1IF">S1 Informatika</option>
<option value="S1SI">S1 Sistem Informasi</option>
<option value="S1TE">S1 Teknik Elektro</option>
</td>
</tr>
<tr>
<td><h4><b>Upload File </b></h4></td>
<td><form action="#" method="post" enctype="multipart/form-data" class="btn btn-block">
<input type="file" name="file">
</form></td>
</tr>
<tr>
<td><h4><b>Deskripsi </b></h4></td>
<td><form action="#" method="post">
<textarea rows="5" cols="60" name="deskripsi"></textarea><br/>
</td>
</tr>
<br>
<br>
</table>
</form>
<br>
</div>
</div>
</div>
</div>
<button type='button' class='btn btn-success center-block' style="margin-bottom:20px;">Update</button>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
}
?>
This source diff could not be displayed because it is too large. You can view the blob instead.
<?php
require_once('Layout/header.php');
session_start();
if(!isset($_SESSION['login'])) {
include("login.php");
}
else {
?>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan header -->
<center><h3><b><img src="img/rps.png" style="width:25px; height:25px;">Generate File</b></h3></center>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
}
?>
\ No newline at end of file
<html>
<head>
<title>Home</title>
</head>
<body>
<h1>Selamat datang di halaman home admin</h1>
<a href="logout.php">Keluar dari home admin</a>
</body>
</html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed. Click to expand it.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment