Commit a04de4b8 by Roy Junedi Simamora

Perbaikan pada form_login, form_comment dan content.

parent e536007c
<html>
<head>
<title>Restoran Pondok Edo</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/myStyle.css" rel="stylesheet">
<script src="js/jquery-3.1.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body>
<div class="container-fluid">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<div class="caption"> <h1 style="color: #b92c28;"> Welcome </h1> <h2 style="color: #c9302c"> to Restoran Pondok Edo </h2> </div>
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
......@@ -28,7 +19,6 @@
<span class="sr-only">Next</span>
</a>
</div>
</div>
<div class="container">
<div class="container-fluid col-md-8">
......@@ -70,8 +60,6 @@
</div>
</div>
</div>
</body>
</html>
......
......@@ -3,6 +3,7 @@ require_once(dirname(__FILE__).'/koneksi.php');
require_once(dirname(__FILE__).'/common/header.php');
?>
<br/>
<form class="well form-horizontal" action="cek_comment.php" method="post" id="contact_form">
<fieldset>
<legend>Berikan kritik dan saran anda pada kolom dibawah ini</legend>
......
......@@ -16,14 +16,15 @@ if(isset($_GET['do_login'])){
$_SESSION['login_error'] = TRUE;
}else{
$_SESSION['admin'] = TRUE;
header("location:list_menu.php");
header("location:admin_menu.php");
}
if(isset($_SESSION["login_error"])){
echo "<div style='margin-bottom:-55px' class='alert alert-danger' role='alert'><span class='glyphicon glyphicon-warning-sign'></span> Login Gagal !! Username dan Password Salah !!</div>";
echo "<script> window.alert('Login Gagal !! Username dan Password Salah !!')</script>";
}
}
?>
<br/>
<form class='well form-horizontal' action='form_login.php?do_login=1' method='post' id='contact_form'>
<fieldset>
<legend><span class='glyphicon glyphicon-log-in'></span>&nbsp;Login</legend>
......
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