Commit e3f271fa by Eirene Hutasoit

mengedit

parent dc8241c6
......@@ -56,7 +56,7 @@
</form>
<ul class="nav menu">
<li><a href="home.php"><svg class="glyph stroked dashboard-dial"><use xlink:href="#stroked-dashboard-dial"></use></svg> Dashboard</a></li>
<li class="active"><a href="home.php"><svg class="glyph stroked dashboard-dial"><use xlink:href="#stroked-dashboard-dial"></use></svg> Dashboard</a></li>
<li><a href="isikeluhan.php"><svg class="glyph stroked calendar"><use xlink:href="#stroked-calendar"></use></svg> DAFTAR KELUHAN</a></li>
<li><a href="Daftar_pesanan.php"><svg class="glyph stroked table"><use xlink:href="#stroked-table"></use></svg> PESANAN</a></li>
<li><a href="pengunjung.php"><svg class="glyph stroked table"><use xlink:href="#stroked-table"></use></svg> Daftar Pengunjung</a></li>
......
......@@ -352,7 +352,7 @@ hr{
}
.hero{
background: #fff url(../img/bg-k10.png);
width: 500px;
width: 550px;
border-left: 4px solid brown;
padding: 13px 13px 13px 15px;
font-style: italic;
......
......@@ -34,7 +34,7 @@ a.hiddenanchor{
}
/** The wrapper that will contain our two forms **/
#wrapper{
width: 60%;
width: 70%;
right: 0px;
min-height: 560px;
margin: 0px auto;
......@@ -111,7 +111,7 @@ input {
/* all the input except submit and checkbox */
#wrapper input:not([type="checkbox"]){
width: 92%;
width: 100%;
margin-top: 4px;
padding: 10px 5px 10px 32px;
border: 1px solid rgb(178, 178, 178);
......@@ -380,4 +380,4 @@ p.change_link{
position: absolute;
height: 90px;
background: transparent;
}
\ No newline at end of file
}
......@@ -28,15 +28,14 @@ require_once(dirname(__FILE__).'/header.php');
{
echo'<div class="col-md-3 thumbnail"style="margin-left:90px; margin-top:100px">
<img src="'.$data['gambar'].'" style="width: 100%; height: 400px;"><br><hr>
<center><div><a href="detailkamar.php?id='.$data['id'].'" class="btn btn-default">Detail</a></div></div>';
<center><div><a href="detailkamar.php?id='.$data['id'].'" class="btn btn-default">Detail</a>
<a href="memesan.php?id='. $data['id'].'" class="btn btn-default" style="background:; color:red">Pesan Kamar</a></div></div>';
}
?>
<div class="pesan"style="padding-top:70px; margin-right:50px; padding-left:90px">
<center><a href="memesan.php?id='. $data['id'].'" class="btn btn-default" style="width:300px; background:; color:red">Pesan Kamar</a>
</div>
<footer class="footer" style="margin-top:30px">
<footer class="footer" style="margin-top:600px">
<div class="icon">
<a href="https://facebook.com" target="_blank"><i class="fa fa-facebook" style="font-size: 20px;"></i></a>
<a href="https://instagram.com" target="_blank"><i class="fa fa-instagram" style="font-size: 20px;"></i></a>
......
......@@ -32,7 +32,7 @@ if(isset($_GET['out'])){
<a href="rumahretret.php">Rumah retreat</a>
<ul class="dropdown-menu">
<<a href="daftarkamar.php">Daftar Kamar</a>
<a href="daftarkamar.php">Daftar Kamar</a>
<a href="konfirmasipemesanan.php">Konfirmasi Pemesanan</a>
</ul>
</li>
<li><a href="rumahdoa.php">Rumah Doa</a>
......@@ -44,6 +44,7 @@ if(isset($_GET['out'])){
<li><a href="aboutus.php">FEEDBACK</a></li>
<li><a href="daftarkamar.php">DAFTAR KAMAR</a></li>
<li><a href="contactus.php">Contact Us</a></li>
</ul>
</li>
</ul>
......@@ -67,24 +68,33 @@ if(isset($_GET['out'])){
</li>
</ul>
</li>
<li><a href="rumahdoa.php">Rumah Doa</a></li>
</ul>
</li>
<li><a href="aboutus.php">Feedback</a></li>
<li><a href="daftarkamar.php">Daftar Kamar</a></li>
<li><a href="contactus.php">Contact Us</a></li>
<?php
if(!isset($_SESSION['is_logged_in']))
{
echo '<li><a href="login.php">Login</a></li>';
}
else{
echo '<li><a href="index.php?out">LOGOUT (' . $_SESSION['username'] .')</a></li>';
}?>
<li><a href="aboutus.php">Feedback</a></li>
<li><a href="daftarkamar.php">Daftar Kamar</a></li>
<li><a href="contactus.php">Contact Us</a></li>
echo '
<li class="dropdown"><a href="index.php?out" class="dropdown-toggle" data-toggle="dropdown" >USER (' . $_SESSION['username'] .')</a>
<ul class="dropdown-menu">
<li><a href="index.php?out">Logout</a></li>
<li><a href="changepassword.php">Change Password</a></li>
</ul>
</li>';
}?>
</ul>
</div>
</div>
......
......@@ -13,9 +13,9 @@ move_uploaded_file($_FILES['gambar']['tmp_name'], 'gambar/' .$bukti);
$action = mysqli_query($conn, "INSERT INTO pembayaran VALUES('', '$id_pemesanan', '$total', '$bukti', '')");
if(!$action){
echo mysqli_error();
echo "<script>alert('Konfirmasi Anda Gagal Dikirim');window.location.href='konfirmasipemesanan.php';</script>";
}
else{
echo "<script>alert('berhasil');window.location.href='konfirmasipemesanan.php';</script>";
echo "<script>alert('Konfirmasi Anda Telah Berhasil Dikirim');window.location.href='konfirmasipemesanan.php';</script>";
}
?>
\ No newline at end of file
......@@ -21,6 +21,7 @@ if($check>=0){
$_SESSION['email'] = $r['email'];
if($r['role']=='admin'){
header('LOCATION: home.php');
$_SESSION['admin'] = TRUE;
......
......@@ -24,10 +24,28 @@
<link href="css/animate.css" rel="stylesheet">
<link href="css/myStyle.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/default.css">
<script src="js/jquery-3.1.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/stylee.css" />
<script src="js/jquery.min.js"></script>
<script src="js/zebra_datepicker.js"></script>
<script src="js/bootstrap.min.js"></script>
<script>
$(document).ready(function(){
$('#datepicker-example7-start').Zebra_DatePicker({
direction: true,
pair: $('#datepicker-example7-end')
});
$('#datepicker-example7-end').Zebra_DatePicker({
direction: 1
});
});
</script>
</head>
<body background="images/eirene.jpg">
<?php
include_once('header.php');
......@@ -53,7 +71,7 @@
<table>
<tr>
<td width="200px">Nama Pengunjung</td>
<td width="150px">:</td>
<td width="10px">:</td>
<td><input type="text" name="nama" id="nama" value='<?php echo $nama ?>' readonly </td>
</tr>
......@@ -79,12 +97,12 @@
<tr>
<td>Tanggal Mulai</td>
<td>:</td>
<td width="300px"><input type="date" name="waktumulai" id="nama" required></td>
<td width="300px"><input type="date" name="waktumulai" id="datepicker-example7-start" required></td>
</tr>
<tr>
<td>Tanggal Selesai</td>
<td>:</td>
<td><input type="date" name="waktuselesai" id="nama" required></td>
<td><input type="date" name="waktuselesai" id="datepicker-example7-end" required></td>
</tr>
</table>
</p>
......
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