Commit e157fee0 by Layla Hafni Ainun Hutasuhut

Merge branch 'index' into 'master'

index See merge request !1
parents cf969e25 9836f851
<!DOCTYPE html> <?php
session_start();
//koneksi ke database
$koneksi = new mysqli("localhost","root","","himatif1");
if(!isset($_SESSION['mahasiswa']))
{
echo "<script>alert('anda harus login');</script>";
echo "<script>location='login.php';</script>";
header('location:login.php');
exit();
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Free Bootstrap Admin Template : Binary Admin</title> <title>Free Bootstrap Admin Template : Binary Admin</title>
<!-- BOOTSTRAP STYLES--> <!-- BOOTSTRAP STYLES-->
<link href="assets/css/bootstrap.css" rel="stylesheet" /> <link href="assets/css/bootstrap.css" rel="stylesheet" />
<!-- FONTAWESOME STYLES--> <!-- FONTAWESOME STYLES-->
<link href="assets/css/font-awesome.css" rel="stylesheet" /> <link href="assets/css/font-awesome.css" rel="stylesheet" />
...@@ -25,72 +40,30 @@ ...@@ -25,72 +40,30 @@
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="index.html">Binary admin</a> <a class="navbar-brand" href="index.html">H I M A T I F</a>
</div> </div>
<div style="color: white; <div style="color: white;
padding: 15px 50px 5px 50px; padding: 15px 50px 5px 50px;
float: right; float: right;
font-size: 16px;"> Last access : 30 May 2014 &nbsp; <a href="#" class="btn btn-danger square-btn-adjust">Logout</a> </div> font-size: 16px;"><?php echo $_SESSION['mahasiswa']['nama']; ?> &nbsp<a href="index.php?halaman=logout" class="btn btn-danger square-btn-adjust">Logout</a> </div>
</nav> </nav>
<!-- /. NAV TOP --> <!-- /. NAV TOP -->
<nav class="navbar-default navbar-side" role="navigation"> <nav class="navbar-default navbar-side" role="navigation">
<div class="sidebar-collapse"> <div class="sidebar-collapse">
<ul class="nav" id="main-menu"> <ul class="nav" id="main-menu">
<li class="text-center"> <li class="text-center">
<img src="assets/img/find_user.png" class="user-image img-responsive"/> <img src="assets/img/himatif.png" class="user-image img-responsive"/>
</li>
<li>
<a class="active-menu" href="index.html"><i class="fa fa-dashboard fa-3x"></i> Dashboard</a>
</li>
<li>
<a href="ui.html"><i class="fa fa-desktop fa-3x"></i> UI Elements</a>
</li>
<li>
<a href="tab-panel.html"><i class="fa fa-qrcode fa-3x"></i> Tabs & Panels</a>
</li>
<li >
<a href="chart.html"><i class="fa fa-bar-chart-o fa-3x"></i> Morris Charts</a>
</li>
<li >
<a href="table.html"><i class="fa fa-table fa-3x"></i> Table Examples</a>
</li> </li>
<li >
<a href="form.html"><i class="fa fa-edit fa-3x"></i> Forms </a>
</li> <li><a href="index.php"><i class="glyphicon glyphicon-home fa-2x"></i>Home</a></li>
<li><a href="index.php?halaman=kegiatan"><i class="fa fa-rocket fa-2x"></i> Kegiatan</a></li>
<li><a href="index.php?halaman=dash_kuisioner"><i class="glyphicon glyphicon-list-alt fa-2x"></i> Kuisioner</a></li>
<li> <li><a href="index.php?halaman=uangkas"><i class="glyphicon glyphicon-usd fa-2x"></i> Uang Kas</a></li>
<a href="#"><i class="fa fa-sitemap fa-3x"></i> Multi-Level Dropdown<span class="fa arrow"></span></a> <li><a href="index.php?halaman=pengumuman"><i class="glyphicon glyphicon-paperclip fa-2x"></i>Pengumuman</a></li>
<ul class="nav nav-second-level"> <li><a href="index.php?halaman=periode"><i class="glyphicon glyphicon-stats fa-2x"></i> Periode</a></li>
<li> <li><a href="index.php?halaman=mahasiswa"><i class="glyphicon glyphicon-user fa-2x"></i>Mahasiswa</a></li>
<a href="#">Second Level Link</a>
</li>
<li>
<a href="#">Second Level Link</a>
</li>
<li>
<a href="#">Second Level Link<span class="fa arrow"></span></a>
<ul class="nav nav-third-level">
<li>
<a href="#">Third Level Link</a>
</li>
<li>
<a href="#">Third Level Link</a>
</li>
<li>
<a href="#">Third Level Link</a>
</li>
</ul>
</li>
</ul>
</li>
<li >
<a href="blank.html"><i class="fa fa-square-o fa-3x"></i> Blank Page</a>
</li>
</ul> </ul>
</div> </div>
...@@ -99,421 +72,156 @@ font-size: 16px;"> Last access : 30 May 2014 &nbsp; <a href="#" class="btn btn-d ...@@ -99,421 +72,156 @@ font-size: 16px;"> Last access : 30 May 2014 &nbsp; <a href="#" class="btn btn-d
<!-- /. NAV SIDE --> <!-- /. NAV SIDE -->
<div id="page-wrapper" > <div id="page-wrapper" >
<div id="page-inner"> <div id="page-inner">
<div class="row"> <?php
<div class="col-md-12"> if (isset($_GET['halaman']))
<h2>Admin Dashboard</h2> {
<h5>Welcome Jhon Deo , Love to see you back. </h5> if ($_GET['halaman']=="kegiatan")
</div> {
</div> include 'kegiatan.php';
<!-- /. ROW --> }
<hr /> elseif ($_GET['halaman']=="kuisioner")
<div class="row"> {
<div class="col-md-3 col-sm-6 col-xs-6"> include 'kuisioner.php';
<div class="panel panel-back noti-box"> }
<span class="icon-box bg-color-red set-icon"> elseif ($_GET['halaman']=="uangkas")
<i class="fa fa-envelope-o"></i> {
</span> include 'uangkas.php';
<div class="text-box" > }
<p class="main-text">120 New</p> elseif ($_GET['halaman']=="tambahkegiatan")
<p class="text-muted">Messages</p> {
</div> include 'tambahkegiatan.php';
</div> }
</div> elseif ($_GET['halaman']=="pengumuman")
<div class="col-md-3 col-sm-6 col-xs-6"> {
<div class="panel panel-back noti-box"> include 'pengumuman.php';
<span class="icon-box bg-color-green set-icon"> }
<i class="fa fa-bars"></i> elseif ($_GET['halaman']=="hapuspengumuman")
</span> {
<div class="text-box" > include 'hapuspengumuman.php';
<p class="main-text">30 Tasks</p> }
<p class="text-muted">Remaining</p> elseif ($_GET['halaman']=="ubahpengumuman")
</div> {
</div> include 'ubahpengumuman.php';
</div> }
<div class="col-md-3 col-sm-6 col-xs-6"> elseif ($_GET['halaman']=="tambahpengumuman")
<div class="panel panel-back noti-box"> {
<span class="icon-box bg-color-blue set-icon"> include 'tambahpengumuman.php';
<i class="fa fa-bell-o"></i> }
</span> elseif ($_GET['halaman']=="hapuskegiatan")
<div class="text-box" > {
<p class="main-text">240 New</p> include 'hapuskegiatan.php';
<p class="text-muted">Notifications</p> }
</div> elseif ($_GET['halaman']=="ubahkegiatan")
</div> {
</div> include 'ubahkegiatan.php';
<div class="col-md-3 col-sm-6 col-xs-6"> }
<div class="panel panel-back noti-box"> elseif ($_GET['halaman']=="viewkegiatan")
<span class="icon-box bg-color-brown set-icon"> {
<i class="fa fa-rocket"></i> include 'viewkegiatan.php';
</span> }
<div class="text-box" > elseif ($_GET['halaman']=="hapuskuisioner")
<p class="main-text">3 Orders</p> {
<p class="text-muted">Pending</p> include 'hapuskuisioner.php';
</div> }
</div> elseif ($_GET['halaman']=="tambahkuisioner")
</div> {
</div> include 'tambahkuisioner.php';
<!-- /. ROW --> }
<hr /> elseif ($_GET['halaman']=="ubahkuisioner")
<div class="row"> {
<div class="col-md-6 col-sm-12 col-xs-12"> include 'ubahkuisioner.php';
<div class="panel panel-back noti-box"> }
<span class="icon-box bg-color-blue"> elseif ($_GET['halaman']=="logout")
<i class="fa fa-warning"></i> {
</span> include 'logout.php';
<div class="text-box" > }
<p class="main-text">52 Important Issues to Fix </p> elseif ($_GET['halaman']=="periode")
<p class="text-muted">Please fix these issues to work smooth</p> {
<p class="text-muted">Time Left: 30 mins</p> include 'periode.php';
<hr /> }
<p class="text-muted"> elseif ($_GET['halaman']=="mahasiswa")
<span class="text-muted color-bottom-txt"><i class="fa fa-edit"></i> {
Lorem ipsum dolor sit amet, consectetur adipiscing elit gthn. include 'mahasiswa.php';
Lorem ipsum dolor sit amet, consectetur adipiscing elit gthn. }
</span> elseif ($_GET['halaman']=="ubahperiode")
</p> {
</div> include 'ubahperiode.php';
</div> }
</div> elseif ($_GET['halaman']=="hapusperiode")
{
include 'hapusperiode.php';
<div class="col-md-3 col-sm-12 col-xs-12"> }
<div class="panel back-dash"> elseif ($_GET['halaman']=="tambahperiode")
<i class="fa fa-dashboard fa-3x"></i><strong> &nbsp; SPEED</strong> {
<p class="text-muted">Lorem ipsum dolor sit amet, consectetur adipiscing sit ametsit amet elit ftr. Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p> include 'tambahperiode.php';
</div> }
elseif ($_GET['halaman']=="tambahmahasiswa")
</div> {
<div class="col-md-3 col-sm-12 col-xs-12 "> include 'tambahmahasiswa.php';
<div class="panel "> }
<div class="main-temp-back"> elseif ($_GET['halaman']=="ubahmahasiswa")
<div class="panel-body"> {
<div class="row"> include 'ubahmahasiswa.php';
<div class="col-xs-6"> <i class="fa fa-cloud fa-3x"></i> Newyork City </div> }
<div class="col-xs-6"> elseif ($_GET['halaman']=="viewmahasiswa")
<div class="text-temp"> 10° </div> {
</div> include 'viewmahasiswa.php';
</div> }
</div> elseif ($_GET['halaman']=="hapusmahasiswa")
</div> {
include 'hapusmahasiswa.php';
</div> }
<div class="panel panel-back noti-box"> elseif ($_GET['halaman']=="detailkuisioner")
<span class="icon-box bg-color-green set-icon"> {
<i class="fa fa-desktop"></i> include 'detailkuisioner.php';
</span> }
<div class="text-box" > elseif ($_GET['halaman']=="dash_kuisioner")
<p class="main-text">Display</p> {
<p class="text-muted">Looking Good</p> include 'dash_kuisioner.php';
</div> }
</div> elseif ($_GET['halaman']=="hapusuangkas")
{
</div> include 'hapusuangkas.php';
}
</div> elseif ($_GET['halaman']=="ubahuangkas")
<!-- /. ROW --> {
<div class="row"> include 'ubahuangkas.php';
}
elseif ($_GET['halaman']=="tambahuangkas")
<div class="col-md-9 col-sm-12 col-xs-12"> {
<div class="panel panel-default"> include 'tambahuangkas.php';
<div class="panel-heading"> }
Bar Chart Example elseif ($_GET['halaman']=="pencarian")
</div> {
<div class="panel-body"> include 'pencarian.php';
<div id="morris-bar-chart"></div> }
</div> elseif ($_GET['halaman']=="detailuang")
</div> {
</div> include 'detailuang.php';
<div class="col-md-3 col-sm-12 col-xs-12"> }
<div class="panel panel-primary text-center no-boder bg-color-green"> elseif ($_GET['halaman']=="carikegiatan")
<div class="panel-body"> {
<i class="fa fa-bar-chart-o fa-5x"></i> include 'carikegiatan.php';
<h3>120 GB </h3> }
</div> elseif ($_GET['halaman']=="viewpengumuman")
<div class="panel-footer back-footer-green"> {
Disk Space Available include 'viewpengumuman.php';
}
</div> elseif ($_GET['halaman']=="viewPeriode")
</div> {
<div class="panel panel-primary text-center no-boder bg-color-red"> include 'viewPeriode.php';
<div class="panel-body"> }
<i class="fa fa-edit fa-5x"></i>
<h3>20,000 </h3>
</div>
<div class="panel-footer back-footer-red">
Articles Pending
</div>
</div>
</div>
</div>
<!-- /. ROW -->
<div class="row" >
<div class="col-md-3 col-sm-12 col-xs-12">
<div class="panel panel-primary text-center no-boder bg-color-green">
<div class="panel-body">
<i class="fa fa-comments-o fa-5x"></i>
<h4>200 New Comments </h4>
<h4>See All Comments </h4>
</div>
<div class="panel-footer back-footer-green">
<i class="fa fa-rocket fa-5x"></i>
Lorem ipsum dolor sit amet sit sit, consectetur adipiscing elitsit sit gthn ipsum dolor sit amet ipsum dolor sit amet
</div>
</div>
</div>
<div class="col-md-9 col-sm-12 col-xs-12">
<div class="panel panel-default">
<div class="panel-heading">
Responsive Table Example
</div>
<div class="panel-body">
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
<th>User No.</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
<td>100090</td>
</tr>
<tr>
<td>2</td>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
<td>100090</td>
</tr>
<tr>
<td>3</td>
<td>Larry</td>
<td>the Bird</td>
<td>@twitter</td>
<td>100090</td>
</tr>
<tr>
<td>1</td>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
<td>100090</td>
</tr>
<tr>
<td>2</td>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
<td>100090</td>
</tr>
<tr>
<td>3</td>
<td>Larry</td>
<td>the Bird</td>
<td>@twitter</td>
<td>100090</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<!-- /. ROW -->
<div class="row">
<div class="col-md-6 col-sm-12 col-xs-12">
<div class="chat-panel panel panel-default chat-boder chat-panel-head" >
<div class="panel-heading">
<i class="fa fa-comments fa-fw"></i>
Chat Box
<div class="btn-group pull-right">
<button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-chevron-down"></i>
</button>
<ul class="dropdown-menu slidedown">
<li>
<a href="#">
<i class="fa fa-refresh fa-fw"></i>Refresh
</a>
</li>
<li>
<a href="#">
<i class="fa fa-check-circle fa-fw"></i>Available
</a>
</li>
<li>
<a href="#">
<i class="fa fa-times fa-fw"></i>Busy
</a>
</li>
<li>
<a href="#">
<i class="fa fa-clock-o fa-fw"></i>Away
</a>
</li>
<li class="divider"></li>
<li>
<a href="#">
<i class="fa fa-sign-out fa-fw"></i>Sign Out
</a>
</li>
</ul>
</div>
</div>
<div class="panel-body">
<ul class="chat-box">
<li class="left clearfix">
<span class="chat-img pull-left">
<img src="assets/img/1.png" alt="User" class="img-circle" />
</span>
<div class="chat-body">
<strong >Jack Sparrow</strong>
<small class="pull-right text-muted">
<i class="fa fa-clock-o fa-fw"></i>12 mins ago
</small>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales.
</p>
</div>
</li>
<li class="right clearfix">
<span class="chat-img pull-right">
<img src="assets/img/2.png" alt="User" class="img-circle" />
</span>
<div class="chat-body clearfix">
<small class=" text-muted">
<i class="fa fa-clock-o fa-fw"></i>13 mins ago</small>
<strong class="pull-right">Jhonson Deed</strong>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales.
</p>
</div>
</li>
<li class="left clearfix">
<span class="chat-img pull-left">
<img src="assets/img/3.png" alt="User" class="img-circle" />
</span>
<div class="chat-body clearfix">
<strong >Jack Sparrow</strong>
<small class="pull-right text-muted">
<i class="fa fa-clock-o fa-fw"></i>14 mins ago</small>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales.
</p>
</div>
</li>
<li class="right clearfix">
<span class="chat-img pull-right">
<img src="assets/img/4.png" alt="User" class="img-circle" />
</span>
<div class="chat-body clearfix">
<small class=" text-muted">
<i class="fa fa-clock-o fa-fw"></i>15 mins ago</small>
<strong class="pull-right">Jhonson Deed</strong>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales.
</p>
</div>
</li>
<li class="left clearfix">
<span class="chat-img pull-left">
<img src="assets/img/1.png" alt="User" class="img-circle" />
</span>
<div class="chat-body">
<strong >Jack Sparrow</strong>
<small class="pull-right text-muted">
<i class="fa fa-clock-o fa-fw"></i>12 mins ago
</small>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales.
</p>
</div>
</li>
<li class="right clearfix">
<span class="chat-img pull-right">
<img src="assets/img/2.png" alt="User" class="img-circle" />
</span>
<div class="chat-body clearfix">
<small class=" text-muted">
<i class="fa fa-clock-o fa-fw"></i>13 mins ago</small>
<strong class="pull-right">Jhonson Deed</strong>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales.
</p>
</div>
</li>
</ul>
</div>
<div class="panel-footer">
<div class="input-group">
<input id="btn-input" type="text" class="form-control input-sm" placeholder="Type your message to send..." />
<span class="input-group-btn">
<button class="btn btn-warning btn-sm" id="btn-chat">
Send
</button>
</span>
</div>
</div>
</div> }
else
</div> {
<div class="col-md-6 col-sm-12 col-xs-12"> // include 'home.php';
<div class="panel panel-default"> }
<div class="panel-heading"> ?>
Label Examples </div>
</div>
<div class="panel-body">
<span class="label label-default">Default</span>
<span class="label label-primary">Primary</span>
<span class="label label-success">Success</span>
<span class="label label-info">Info</span>
<span class="label label-warning">Warning</span>
<span class="label label-danger">Danger</span>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
Donut Chart Example
</div>
<div class="panel-body">
<div id="morris-donut-chart"></div>
</div>
</div>
</div>
</div>
<!-- /. ROW -->
</div>
<!-- /. PAGE INNER --> <!-- /. PAGE INNER -->
</div> </div>
<!-- /. PAGE WRAPPER --> <!-- /. PAGE WRAPPER -->
......
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