Commit 79527e8e by Palti Sinaga

homestay

parent bfa31925
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
-- http://www.phpmyadmin.net -- http://www.phpmyadmin.net
-- --
-- Host: 127.0.0.1 -- Host: 127.0.0.1
-- Generation Time: 17 Mei 2017 pada 05.01 -- Generation Time: 22 Mei 2017 pada 03.50
-- Versi Server: 10.1.16-MariaDB -- Versi Server: 10.1.16-MariaDB
-- PHP Version: 7.0.9 -- PHP Version: 7.0.9
...@@ -35,13 +35,6 @@ CREATE TABLE `daftar_book` ( ...@@ -35,13 +35,6 @@ CREATE TABLE `daftar_book` (
`tanggal_berakhir` date DEFAULT NULL `tanggal_berakhir` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1; ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `daftar_book`
--
INSERT INTO `daftar_book` (`id`, `homestay`, `nama_pemesan`, `jumlah_kamar`, `tanggal_mulai`, `tanggal_berakhir`) VALUES
(3, 9, 'Lesa Lesuu ', 2, '2017-05-16', '2017-05-19');
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
...@@ -127,10 +120,10 @@ CREATE TABLE `kamar` ( ...@@ -127,10 +120,10 @@ CREATE TABLE `kamar` (
-- --
INSERT INTO `kamar` (`id`, `idHomestay`, `id_transaksi`, `nomor_kamar`, `jumlah_bed`, `fasilitas`, `gambar`) VALUES INSERT INTO `kamar` (`id`, `idHomestay`, `id_transaksi`, `nomor_kamar`, `jumlah_bed`, `fasilitas`, `gambar`) VALUES
(8, 9, 1, 1, 2, 'Toloong Please menginap lah teman', 'fanta_strawbery.jpg'), (8, 9, 1, 1, 3, 'Bisi ini itu deh mbak and mas nya\r\nbisa rental tukang pijat\r\nbisa rental jutBus', '20150901_172049.jpg'),
(9, 9, 1, 2, 2, NULL, NULL), (9, 9, 1, 2, 2, 'Ada Kipas Angin', 'big251436.jpg'),
(10, 9, 1, 3, 2, NULL, NULL), (10, 9, 1, 3, 1, 'Ada Speed Boat', 'bougenville4.JPG'),
(11, 9, NULL, 4, 2, NULL, NULL), (11, 9, NULL, 4, 2, 'Ada SpringBed', 'wisma-intan-kamar-tidur.jpg'),
(12, 10, NULL, 1, 2, NULL, NULL), (12, 10, NULL, 1, 2, NULL, NULL),
(13, 10, NULL, 2, 2, NULL, NULL), (13, 10, NULL, 2, 2, NULL, NULL),
(14, 10, NULL, 3, 2, NULL, NULL); (14, 10, NULL, 3, 2, NULL, NULL);
...@@ -293,8 +286,7 @@ CREATE TABLE `requestfasilitas` ( ...@@ -293,8 +286,7 @@ CREATE TABLE `requestfasilitas` (
-- --
INSERT INTO `requestfasilitas` (`id`, `id_pemilik_homestay`, `id_kategoriFasiltas`, `namaRequestFasilitas`, `deskripsi`, `jumlah`, `gambar`, `status`) VALUES INSERT INTO `requestfasilitas` (`id`, `id_pemilik_homestay`, `id_kategoriFasiltas`, `namaRequestFasilitas`, `deskripsi`, `jumlah`, `gambar`, `status`) VALUES
(2, 6, 2, 'Perbaikan Kamar Mandi', 'Kamar mandi sering kali kekurangan air saat di gunakan dan gayung rusak semua', 5, '', 1), (8, 6, 2, 'Keramik Pecah', 'Terjadi Perang saudara', 100, 'Agar-Keramik-Tidak-Meledak.jpg', 2);
(3, 7, 1, 'Keramik Pecah', 'Terjadi Tsunami dan keramik rumah pecah beserta Homestay', 100, NULL, 1);
-- -------------------------------------------------------- -- --------------------------------------------------------
...@@ -313,7 +305,7 @@ CREATE TABLE `transaksi` ( ...@@ -313,7 +305,7 @@ CREATE TABLE `transaksi` (
`bukti_pembayaran` varchar(255) DEFAULT NULL, `bukti_pembayaran` varchar(255) DEFAULT NULL,
`total_pembayaran` int(10) DEFAULT NULL, `total_pembayaran` int(10) DEFAULT NULL,
`tanggal_konfirmasi` date DEFAULT NULL, `tanggal_konfirmasi` date DEFAULT NULL,
`status` tinyint(1) UNSIGNED ZEROFILL DEFAULT NULL `status` int(1) UNSIGNED ZEROFILL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1; ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --
...@@ -321,7 +313,7 @@ CREATE TABLE `transaksi` ( ...@@ -321,7 +313,7 @@ CREATE TABLE `transaksi` (
-- --
INSERT INTO `transaksi` (`id`, `id_pelanggan`, `id_homestay`, `tanggal_mulai`, `tanggal_berakhir`, `jumlah_kamar`, `lama_menginap`, `bukti_pembayaran`, `total_pembayaran`, `tanggal_konfirmasi`, `status`) VALUES INSERT INTO `transaksi` (`id`, `id_pelanggan`, `id_homestay`, `tanggal_mulai`, `tanggal_berakhir`, `jumlah_kamar`, `lama_menginap`, `bukti_pembayaran`, `total_pembayaran`, `tanggal_konfirmasi`, `status`) VALUES
(16, 2, 9, '2017-05-16', '2017-05-19', 2, 3, 'error1.PNG', 300000, NULL, NULL); (22, 2, 9, '2017-05-31', '2017-06-01', 2, 2, 'bukulapak.PNG', 300000, NULL, 2);
-- -------------------------------------------------------- -- --------------------------------------------------------
...@@ -347,11 +339,11 @@ CREATE TABLE `users` ( ...@@ -347,11 +339,11 @@ CREATE TABLE `users` (
-- --
INSERT INTO `users` (`id`, `name`, `username`, `email`, `password`, `foto`, `role`, `remember_token`, `created_at`, `updated_at`) VALUES INSERT INTO `users` (`id`, `name`, `username`, `email`, `password`, `foto`, `role`, `remember_token`, `created_at`, `updated_at`) VALUES
(2, 'Juliper', 'admin', 'admin@del.ac.id', '$2y$10$nnnUgQAnb9FnDb3DNTlwaehkE5GiJ6piv8Yg/LXyXypdgaxigpHVe', 'gravatar.png', 'DinasPariwisata', '8Ywt4jfBhZVCWSAfJQugeg33ed9sY41MKnk3qWBvbqyO7MWyMda3azKTDckb', '2017-04-22 02:30:14', '2017-05-14 23:27:27'), (2, 'Juliper', 'admin', 'admin@del.ac.id', '$2y$10$nnnUgQAnb9FnDb3DNTlwaehkE5GiJ6piv8Yg/LXyXypdgaxigpHVe', 'gravatar.png', 'DinasPariwisata', '9BM2CvTAuR2myvSSUQtBRX8WGv3IA7jhWoct58IzU6Ql3LFz5n0UHxJ12EQl', '2017-04-22 02:30:14', '2017-05-20 02:06:31'),
(5, 'Palti Sinaga', 'palti', 'palti1@gmail.com', '$2y$10$YZNp2gw4amlEQWi4hvDA9OfGixdYx1AIsl0.El8TzQoo9IPed8E..', 'gravatar.png', 'Owner', 'f63qT4nsEYOy3VvvasewJh0Uv5QEHO6p30kSWOjasR5d0PEmpJh41DO92PM3', '2017-04-29 08:07:38', '2017-05-16 07:35:28'), (5, 'Palti Sinaga', 'palti', 'palti1@gmail.com', '$2y$10$YZNp2gw4amlEQWi4hvDA9OfGixdYx1AIsl0.El8TzQoo9IPed8E..', 'gravatar.png', 'Owner', 'zO4PMlEptg34NQtoAFLTFsP4z5o23wUPP9UFgjCMaAfGJFtRcZ8uV1VxkZ44', '2017-04-29 08:07:38', '2017-05-21 07:22:03'),
(6, 'Test', 'test', 'test@gmail.com', '$2y$10$rkcPTvpujOZZFRs/libdZeIED53Ve67HM/3C9Zb0jQE8hqxzhsIxW', 'gravatar.png', 'Owner', 'AJIJRslmncu87OVMkJydqFkT41QjzjsSPpaMgDdPbZuRINHhkQ7WU7xf1hM8', '2017-05-03 01:52:34', '2017-05-15 01:55:41'), (6, 'Test', 'test', 'test@gmail.com', '$2y$10$rkcPTvpujOZZFRs/libdZeIED53Ve67HM/3C9Zb0jQE8hqxzhsIxW', 'gravatar.png', 'Owner', 'AJIJRslmncu87OVMkJydqFkT41QjzjsSPpaMgDdPbZuRINHhkQ7WU7xf1hM8', '2017-05-03 01:52:34', '2017-05-15 01:55:41'),
(8, 'Testing', 'testing', 'testing@gmail.com', '$2y$10$tDOBcuve8EGi.k8.v9at5eYZRMRdOyXmqaahfwG2pwyMrbWd3B1Ra', 'gravatar.png', 'Owner', NULL, '2017-05-08 19:36:39', '2017-05-08 19:36:39'), (8, 'Testing', 'testing', 'testing@gmail.com', '$2y$10$tDOBcuve8EGi.k8.v9at5eYZRMRdOyXmqaahfwG2pwyMrbWd3B1Ra', 'gravatar.png', 'Owner', NULL, '2017-05-08 19:36:39', '2017-05-08 19:36:39'),
(14, 'Lesa Lesuu ', 'lesa', 'lesa@gmail.com', '$2y$10$zudTTxc6.lENGpFKwp093u9SuvEjidfYExLHk3vsOvZISDma1HChW', 'lesa2.jpg', 'Customer', '5vTxvk9TpEMMHu0FpJLOon5AXJziYrciec7ANF9z5OU1FsqM3plDAoH1M01B', '2017-05-09 02:41:21', '2017-05-15 02:38:04'), (14, 'Lesa Lesuu ', 'lesa', 'lesa@gmail.com', '$2y$10$zudTTxc6.lENGpFKwp093u9SuvEjidfYExLHk3vsOvZISDma1HChW', 'anonymous1.jpg', 'Customer', 's7ZenNwBJI5oEWJs9QCzIghmm8sX6dLpJeZvRoSwjC1vtFF7aULC93OwtALk', '2017-05-09 02:41:21', '2017-05-20 03:17:42'),
(15, 'Parhuta', 'hutahuta', 'huta@gmail.com', '$2y$10$S/thLiTQUbpZ6/utPKPwDe7JGoScFnebDK6Vt6sm0I.7CIoQ9HrWe', 'gravatar.png', 'Customer', NULL, '2017-05-09 03:12:55', '2017-05-09 03:12:55'); (15, 'Parhuta', 'hutahuta', 'huta@gmail.com', '$2y$10$S/thLiTQUbpZ6/utPKPwDe7JGoScFnebDK6Vt6sm0I.7CIoQ9HrWe', 'gravatar.png', 'Customer', NULL, '2017-05-09 03:12:55', '2017-05-09 03:12:55');
-- --
...@@ -471,7 +463,7 @@ ALTER TABLE `users` ...@@ -471,7 +463,7 @@ ALTER TABLE `users`
-- AUTO_INCREMENT for table `daftar_book` -- AUTO_INCREMENT for table `daftar_book`
-- --
ALTER TABLE `daftar_book` ALTER TABLE `daftar_book`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
-- --
-- AUTO_INCREMENT for table `dinaspariwisata` -- AUTO_INCREMENT for table `dinaspariwisata`
-- --
...@@ -521,12 +513,12 @@ ALTER TABLE `pengajuan_homestay` ...@@ -521,12 +513,12 @@ ALTER TABLE `pengajuan_homestay`
-- AUTO_INCREMENT for table `requestfasilitas` -- AUTO_INCREMENT for table `requestfasilitas`
-- --
ALTER TABLE `requestfasilitas` ALTER TABLE `requestfasilitas`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
-- --
-- AUTO_INCREMENT for table `transaksi` -- AUTO_INCREMENT for table `transaksi`
-- --
ALTER TABLE `transaksi` ALTER TABLE `transaksi`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
-- --
-- AUTO_INCREMENT for table `users` -- AUTO_INCREMENT for table `users`
-- --
......
...@@ -2916,7 +2916,7 @@ p.contact-p { ...@@ -2916,7 +2916,7 @@ p.contact-p {
outline: none; outline: none;
background-color: #fff; background-color: #fff;
border: none; border: none;
color: #FFF; color: #3c3c3c;
font-family: 'Montserrat', sans-serif; font-family: 'Montserrat', sans-serif;
} }
......
...@@ -9,15 +9,15 @@ ...@@ -9,15 +9,15 @@
<!-- //Banner --> <!-- //Banner -->
<!-- Booking --> <!-- Booking -->
<div class="details agileits w3layouts" style="margin-top: 10px;"> <div class="details agileits w3layouts" style="margin-top: 10px; padding:0px">
<div class="container"> <div class="container">
<br><br> <br>
<div class="col-md-12 col-sm-12 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft"> <div class="col-md-12 col-sm-12 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft">
<form action="{{url('book')}}" method="post"> <form action="{{url('book')}}" method="post">
<input type="hidden" name="_token" value="{{ csrf_token() }}"> <input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" name="id" value="{{$data->id}}"> <input type="hidden" name="id" value="{{$data->id}}">
<div class="col-md-2 col-sm-2 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft"></div>
<div class="col-md-3 col-sm-3 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft"> <div class="col-md-3 col-sm-3 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft">
<input class="date agileits w3layouts" id="datepicker1" name="tanggal" type="text" value=" Tanggal Check in" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '';}" required=""> <input class="date agileits w3layouts" id="datepicker1" name="tanggal" type="text" value=" Tanggal Check in" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '';}" required="">
</div> </div>
...@@ -119,14 +119,11 @@ ...@@ -119,14 +119,11 @@
<div class="details agileits w3layouts"> <div class="details agileits w3layouts">
<div class="container"> <div class="container">
<div class="col-md-6 col-sm-6 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft"> <div class="col-md-6 col-sm-6 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft">
<h2 style="margin-bottom: 10px;"> Kritik dan Saran</h2> <h2 style="margin-bottom: 10px;">Feedback</h2>
<form action="#" method="post" style="margin-bottom: 25px;"></form> <form action="#" method="post" style="margin-bottom: 25px;"></form>
<input type="text" class="text wow agileits w3layouts slideInLeft" name="Name" placeholder="Name" required=""> <input type="text" class="text wow agileits w3layouts slideInLeft" name="Name" placeholder="Name" required="">
<input type="text" class="text wow agileits w3layouts slideInLeft" name="Email" placeholder="Email" required="">
<textarea name="Message" class="wow agileits w3layouts slideInLeft" placeholder="Message" required=""></textarea> <textarea name="Message" class="wow agileits w3layouts slideInLeft" placeholder="Message" required=""></textarea>
<input type="submit" class="more_btn wow agileits w3layouts slideInLeft" value="Send Message"> <input type="submit" class="more_btn wow agileits w3layouts slideInLeft" value="Kirim Feedback">
</button> </button>
</form> </form>
</div> </div>
......
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