Initial commit

parents
<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 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
<?php
$server = "localhost";
$user = "root";
$pass = "";
$database = "pa2";
$conect = mysqli_connect($server,$user,$pass,$database) or die("Error Connection Network, Check Your Database");
if(!$conect){
echo "Koneksi Gagal";
}
?>
\ 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 name="form-login" method="POST" action="login_proses.php">
<!-- <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>
<?php
ob_start();
session_start();
$user = $_POST['username'];
$password = $_POST['password'];
$_SESSION['username'] = $user;
$Open = mysqli_connect("localhost","root","");
if (!$Open){
die ("Koneksi ke Engine MySQL Gagal !");
}
$Koneksi = mysqli_select_db($Open,"pa2");
if (!$Koneksi){
die ("Koneksi ke Database Gagal !");
}
$sql = "SELECT * FROM dosen where username='$user'";
$qry = mysqli_query($Open,$sql);
$num = mysqli_num_rows($qry);
$row = mysqli_fetch_array($qry);
if ($num==0 OR $password!=$row['password']) {
?>
<script language="JavaScript">
alert('Username atau Password tidak sesuai !');
document.location='login.php';
</script>
<?php
}
else {
$_SESSION['login']=1;
header("Location: dashboard.php");
}
mysqli_close($Open); //Tutup koneksi engine MySQL
?>
\ No newline at end of file
<?php
session_start();
unset($_SESSION['login']);
session_destroy();
header("Location: login.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/rps.png" style="width:25px; height:25px;">Review File</b></h3></center>
&nbsp;
</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-hover text-center">
<thead>
<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>
</thead>
<tbody class="table-hover">
<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>
</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 RPS</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>
</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>
</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 {
?>
<!-- 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="#.php">
<img src="img/gmailku.png" style="width:18px; height:18px; ">&nbsp;Undang via Gmail</button>
</a>
</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');
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;">Upload File</b></h3></center>
<div class="col-md-1">
<br>
<a href="daftarFile.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 </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>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;">Upload</button>
<!-- Melakukan koneksi ke dalam folder layout untuk mendapatkan footer -->
<?php
require_once('layout/footer.php');
}
?>
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