Demo entry 6632679

html

   

Submitted by anam on Jul 28, 2017 at 01:55
Language: HTML. Code size: 5.7 kB.

<?php
  include 'proses_login.php';
  if (isset($_SESSION['username'])) {
    if (strpos($_SESSION['username'], "PJ")) {
      header("location: pj.php");
    } else if (strpos($_SESSION['username'], "ASISTEN")) {
      header("location: asisten.php");
    }
  }

  $pesan = '';
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Sistem Informasi Manajemen Rekap - LABSI</title>
    <link rel="stylesheet" href="css/bootstrap.min.css" />
    <link rel="stylesheet" href="css/freelancer.min.css" />
    <link rel="stylesheet" href="css/font-awesome.min.css" />
    <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" />
    <link href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" rel="stylesheet" />
    <style>
    .navbar-header {
      float: left;
      padding: 15px;
      text-align: center;
      width: 100%;
    }
    .navbar-brand {
      float:none;
    }
    .img-responsive {
      width: 100%;
      height: 100%;
    }
    .carousel-caption {
      top: auto;
      bottom: 0;
    }
    </style>
  </head>
  <body>
    <nav class="navbar navbar-default navbar-fixed-top navbar-custom">
      <div class="container">
        <div class="navbar-header">
          <center><a class="navbar-brand" href="index.php">LABORATORIUM SISTEM INFORMASI</a></center>
        </div>
      </div>
    </nav>
    <hr/>
    <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
      <div class="carousel-inner">
        <div class="item active">
          <img class="img-responsive" src="img/slides/gundar1.jpg" alt="Slide 1">
          <div class="carousel-caption">
            <h3>Kampus H</h3>
            <p>Kelapa Dua</p>
          </div>
        </div>
        <div class="item">
          <img class="img-responsive" src="img/slides/gundar2.jpg" alt="Slide 1">
          <div class="carousel-caption">
            <h3>Kampus E</h3>
            <p>Kelapa Dua</p>
          </div>
        </div>
      </div>
      <a href="#carousel-example-generic" class="carousel-control left" data-slide="prev" role="button">
        <span class="glyphicon glyphicon-chevron-left"></span>
      </a>
      <a href="#carousel-example-generic" class="carousel-control right" data-slide="next" role="button">
        <span class="glyphicon glyphicon-chevron-right"></span>
      </a>
    </div>
    <div class="container">
      <form role="form" action="" method="POST">
        <div class="row">
          <div class="col-lg-12 text-center">
            <h2>Sign In</h2>
            <hr class="star-primary">
          </div>
        </div>
        <div class="row">
          <div class="col-lg-8 col-lg-offset-2">
            <div class="form-group">
              <label for="inputEmail3" class="col-sm-2 control-label">Username:</label>
              <div class="col-sm-10">
                <input type="id" class="form-control" id="username" name="username" placeholder="Masukkan Username"  onkeydown="uppercase(this)">
              </div>
            </div>
            <div class="col-lg-12"></div>
            <div class="form-group">
              <label for="inputPassword3" class="col-sm-2 control-label">Password:</label>
              <div class="col-sm-10">
                <input type="password" class="form-control" id="password" name="password" placeholder="Masukkan Password" >
              </div>
            </div>
            <div class="col-lg-12"></div>
            <div class="form-group">
              <div class="col-sm-offset-2 col-sm-1">
                <input type="submit" value="Sign In" class="btn btn-primary" name="login" />
              </div>
            </div>
          </div>
        </div>
      </form>
      <div class="row">&nbsp;</div>
      <hr class="star-primary">
    </div>
    <div class="row">&nbsp;</div>
    <footer class="text-center">
      <div class="footer-above">
        <div class="container">
          <div class="row">
            <div class="footer-col col-md-4">
              <a href="http://www.gunadarma.ac.id"><img src="img/Logo_Gundar.png"></a>
            </div>
            <div class="footer-col col-md-4">
              <h3>UG LABSI</h3>
              <p>Diperuntukkan untuk kemudahan asisten LABSI dalam melakukan rekap setiap periode.</p>
            </div>
            <div class="footer-col col-md-4">
              <h3>Location</h3>
              <p>Jl. Akses UI, Kelapa Dua, Cimanggis, Depok.
              <br>6°21'11"S 106°50'16"E</p>
            </div>
          </div>
        </div>
      </div>
      <div class="footer-below">
        <div class="container">
          <div class="row">
            <div class="col-lg-12">
              LABSI &copy; 2017
            </div>
          </div>
        </div>
      </div>
    </footer>
    <!-- Contact Form JavaScript -->
    <script src="js/jqBootstrapValidation.js"></script>
    <script src="js/contact_me.js"></script>

    <!-- Theme JavaScript -->
    <script type="text/javascript">
      <?php
        if ($error != 1) {
          $pesan = "";
        } else {
          $pesan = "<script>
          alert('PASSWORD SALAH');
          </script>";
        }
      ?>
    </script>
    <script type="text/javascript" src="js/freelancer.min.js"></script>
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/bootstrap.min.js"></script>
    <script type="text/javascript">
     function uppercase(a) {
       setTimeout(function() {
         a.value = a.value.toUpperCase();
       }, 1);
     }
    </script>
    <?php echo $pesan; ?>
  </body>
</html>

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).