Commit 80e89431 by Palti Sinaga

data

parent 58463689
...@@ -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: 23 Mei 2017 pada 05.37 -- Generation Time: 26 Mei 2017 pada 06.32
-- Versi Server: 10.1.16-MariaDB -- Versi Server: 10.1.16-MariaDB
-- PHP Version: 7.0.9 -- PHP Version: 7.0.9
...@@ -43,9 +43,9 @@ CREATE TABLE `daftar_book` ( ...@@ -43,9 +43,9 @@ CREATE TABLE `daftar_book` (
-- --
CREATE TABLE `dinaspariwisata` ( CREATE TABLE `dinaspariwisata` (
`idPegawai` int(10) UNSIGNED NOT NULL, `id_pegawai` int(10) UNSIGNED NOT NULL,
`namaPegawai` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `nama_pegawai` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`divisiPegawai` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `divisi_pegawai` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
...@@ -54,7 +54,7 @@ CREATE TABLE `dinaspariwisata` ( ...@@ -54,7 +54,7 @@ CREATE TABLE `dinaspariwisata` (
-- Dumping data untuk tabel `dinaspariwisata` -- Dumping data untuk tabel `dinaspariwisata`
-- --
INSERT INTO `dinaspariwisata` (`idPegawai`, `namaPegawai`, `divisiPegawai`, `created_at`, `updated_at`) VALUES INSERT INTO `dinaspariwisata` (`id_pegawai`, `nama_pegawai`, `divisi_pegawai`, `created_at`, `updated_at`) VALUES
(2, 'Juliper', 'Homestay', '2017-05-03 01:19:00', '2017-05-03 01:19:02'); (2, 'Juliper', 'Homestay', '2017-05-03 01:19:00', '2017-05-03 01:19:02');
-- -------------------------------------------------------- -- --------------------------------------------------------
...@@ -65,8 +65,8 @@ INSERT INTO `dinaspariwisata` (`idPegawai`, `namaPegawai`, `divisiPegawai`, `cre ...@@ -65,8 +65,8 @@ INSERT INTO `dinaspariwisata` (`idPegawai`, `namaPegawai`, `divisiPegawai`, `cre
CREATE TABLE `feedback` ( CREATE TABLE `feedback` (
`id` int(10) UNSIGNED NOT NULL, `id` int(10) UNSIGNED NOT NULL,
`id_pemilikHomestay` int(10) UNSIGNED DEFAULT NULL, `id_pemilik_homestay` int(10) UNSIGNED DEFAULT NULL,
`idPelanggan` int(10) UNSIGNED NOT NULL, `id_pelanggan` int(10) UNSIGNED NOT NULL,
`feedback` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `feedback` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL `updated_at` timestamp NULL DEFAULT NULL
...@@ -76,7 +76,7 @@ CREATE TABLE `feedback` ( ...@@ -76,7 +76,7 @@ CREATE TABLE `feedback` (
-- Dumping data untuk tabel `feedback` -- Dumping data untuk tabel `feedback`
-- --
INSERT INTO `feedback` (`id`, `id_pemilikHomestay`, `idPelanggan`, `feedback`, `created_at`, `updated_at`) VALUES INSERT INTO `feedback` (`id`, `id_pemilik_homestay`, `id_pelanggan`, `feedback`, `created_at`, `updated_at`) VALUES
(1, 6, 2, 'Sesuatu banget ya homestay nya suka deh....', '2017-05-21 19:38:55', '2017-05-21 19:38:55'), (1, 6, 2, 'Sesuatu banget ya homestay nya suka deh....', '2017-05-21 19:38:55', '2017-05-21 19:38:55'),
(2, 6, 2, 'Sesuatu banget ya homestay nya suka deh....', '2017-05-21 19:39:11', '2017-05-21 19:39:11'), (2, 6, 2, 'Sesuatu banget ya homestay nya suka deh....', '2017-05-21 19:39:11', '2017-05-21 19:39:11'),
(3, 6, 2, 'Sesuatu banget ya homestay nya suka deh....', '2017-05-21 19:40:17', '2017-05-21 19:40:17'), (3, 6, 2, 'Sesuatu banget ya homestay nya suka deh....', '2017-05-21 19:40:17', '2017-05-21 19:40:17'),
...@@ -90,11 +90,11 @@ INSERT INTO `feedback` (`id`, `id_pemilikHomestay`, `idPelanggan`, `feedback`, ` ...@@ -90,11 +90,11 @@ INSERT INTO `feedback` (`id`, `id_pemilikHomestay`, `idPelanggan`, `feedback`, `
CREATE TABLE `homestay` ( CREATE TABLE `homestay` (
`id` int(10) UNSIGNED NOT NULL, `id` int(10) UNSIGNED NOT NULL,
`idPemilik` int(10) UNSIGNED DEFAULT NULL, `id_pemilik` int(10) UNSIGNED DEFAULT NULL,
`namaHomestay` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `nama_homestay` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`owner` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `owner` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`alamat` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `alamat` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`jumlahKamar` int(11) NOT NULL, `jumlah_kamar` int(11) NOT NULL,
`harga` double NOT NULL, `harga` double NOT NULL,
`fasilitas` text COLLATE utf8_unicode_ci, `fasilitas` text COLLATE utf8_unicode_ci,
`gambar` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `gambar` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
...@@ -107,9 +107,9 @@ CREATE TABLE `homestay` ( ...@@ -107,9 +107,9 @@ CREATE TABLE `homestay` (
-- Dumping data untuk tabel `homestay` -- Dumping data untuk tabel `homestay`
-- --
INSERT INTO `homestay` (`id`, `idPemilik`, `namaHomestay`, `owner`, `alamat`, `jumlahKamar`, `harga`, `fasilitas`, `gambar`, `status`, `created_at`, `updated_at`) VALUES INSERT INTO `homestay` (`id`, `id_pemilik`, `nama_homestay`, `owner`, `alamat`, `jumlah_kamar`, `harga`, `fasilitas`, `gambar`, `status`, `created_at`, `updated_at`) VALUES
(9, 6, 'Palti Owner', 'Palti Sinaga', 'Balige', 4, 150000, ' ', 'download.jpg', '----', '2017-05-08 02:51:28', '2017-05-22 02:39:18'), (9, 6, 'Mawar Homestay', 'Palti Sinaga', 'Balige', 4, 150000, ' ', 'slide-01.jpg', '----', '2017-05-08 02:51:28', '2017-05-24 05:36:49'),
(10, 7, 'Testing Katu', 'Test', '--', 3, 150000, NULL, NULL, '----', '2017-05-14 23:26:59', '2017-05-14 23:26:59'); (11, 13, 'Blessing Homestay', 'Op.Balata', 'Lumban Bul Bul', 3, 150000, NULL, NULL, '----', '2017-05-25 21:25:28', '2017-05-25 21:29:33');
-- -------------------------------------------------------- -- --------------------------------------------------------
...@@ -119,7 +119,7 @@ INSERT INTO `homestay` (`id`, `idPemilik`, `namaHomestay`, `owner`, `alamat`, `j ...@@ -119,7 +119,7 @@ INSERT INTO `homestay` (`id`, `idPemilik`, `namaHomestay`, `owner`, `alamat`, `j
CREATE TABLE `kamar` ( CREATE TABLE `kamar` (
`id` int(10) UNSIGNED NOT NULL, `id` int(10) UNSIGNED NOT NULL,
`idHomestay` int(10) UNSIGNED DEFAULT NULL, `id_homestay` int(10) UNSIGNED DEFAULT NULL,
`id_transaksi` int(10) UNSIGNED DEFAULT NULL, `id_transaksi` int(10) UNSIGNED DEFAULT NULL,
`nomor_kamar` int(10) UNSIGNED NOT NULL, `nomor_kamar` int(10) UNSIGNED NOT NULL,
`jumlah_bed` int(10) DEFAULT NULL, `jumlah_bed` int(10) DEFAULT NULL,
...@@ -131,14 +131,14 @@ CREATE TABLE `kamar` ( ...@@ -131,14 +131,14 @@ CREATE TABLE `kamar` (
-- Dumping data untuk tabel `kamar` -- Dumping data untuk tabel `kamar`
-- --
INSERT INTO `kamar` (`id`, `idHomestay`, `id_transaksi`, `nomor_kamar`, `jumlah_bed`, `fasilitas`, `gambar`) VALUES INSERT INTO `kamar` (`id`, `id_homestay`, `id_transaksi`, `nomor_kamar`, `jumlah_bed`, `fasilitas`, `gambar`) VALUES
(8, 9, 1, 1, 3, 'wkwkw enak deh guys', 'big251436.jpg'), (8, 9, 1, 1, 3, 'wkwkw enak deh guys', 'big251436.jpg'),
(9, 9, 1, 2, 2, 'adu adu adu', '20150901_172049.jpg'), (9, 9, 1, 2, 2, 'adu adu adu', '20150901_172049.jpg'),
(10, 9, 1, 3, 1, 'Ada Speed Boat', 'bougenville4.JPG'), (10, 9, 1, 3, 1, 'Ada Speed Boat', 'bougenville4.JPG'),
(11, 9, NULL, 4, 2, 'Ada SpringBed', 'wisma-intan-kamar-tidur.jpg'), (11, 9, NULL, 4, 2, 'Ada SpringBed', 'wisma-intan-kamar-tidur.jpg'),
(12, 10, NULL, 1, 2, NULL, NULL), (15, 11, NULL, 1, 2, NULL, NULL),
(13, 10, NULL, 2, 2, NULL, NULL), (16, 11, NULL, 2, 2, NULL, NULL),
(14, 10, NULL, 3, 2, NULL, NULL); (17, 11, NULL, 3, 2, NULL, NULL);
-- -------------------------------------------------------- -- --------------------------------------------------------
...@@ -147,15 +147,15 @@ INSERT INTO `kamar` (`id`, `idHomestay`, `id_transaksi`, `nomor_kamar`, `jumlah_ ...@@ -147,15 +147,15 @@ INSERT INTO `kamar` (`id`, `idHomestay`, `id_transaksi`, `nomor_kamar`, `jumlah_
-- --
CREATE TABLE `kategorifasilitas` ( CREATE TABLE `kategorifasilitas` (
`idFasilitas` int(10) UNSIGNED NOT NULL, `id` int(10) UNSIGNED NOT NULL,
`namaFasilitas` varchar(255) DEFAULT NULL `nama_fasilitas` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1; ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --
-- Dumping data untuk tabel `kategorifasilitas` -- Dumping data untuk tabel `kategorifasilitas`
-- --
INSERT INTO `kategorifasilitas` (`idFasilitas`, `namaFasilitas`) VALUES INSERT INTO `kategorifasilitas` (`id`, `nama_fasilitas`) VALUES
(1, 'Kamar Tidur'), (1, 'Kamar Tidur'),
(2, 'Perlatan Kamar Mandi'); (2, 'Perlatan Kamar Mandi');
...@@ -210,7 +210,7 @@ CREATE TABLE `pelanggan` ( ...@@ -210,7 +210,7 @@ CREATE TABLE `pelanggan` (
`id_Akun` int(10) UNSIGNED DEFAULT NULL, `id_Akun` int(10) UNSIGNED DEFAULT NULL,
`nama` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `nama` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`alamat` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `alamat` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`noTelepon` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `no_telepon` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`pekerjaan` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `pekerjaan` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`foto` varchar(2555) COLLATE utf8_unicode_ci DEFAULT NULL, `foto` varchar(2555) COLLATE utf8_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL,
...@@ -221,7 +221,7 @@ CREATE TABLE `pelanggan` ( ...@@ -221,7 +221,7 @@ CREATE TABLE `pelanggan` (
-- Dumping data untuk tabel `pelanggan` -- Dumping data untuk tabel `pelanggan`
-- --
INSERT INTO `pelanggan` (`id`, `id_Akun`, `nama`, `alamat`, `noTelepon`, `pekerjaan`, `foto`, `created_at`, `updated_at`) VALUES INSERT INTO `pelanggan` (`id`, `id_Akun`, `nama`, `alamat`, `no_telepon`, `pekerjaan`, `foto`, `created_at`, `updated_at`) VALUES
(2, 14, 'Lesa Lesuu ', 'Medan Bung', '082134657865', 'Panortor Profesional', NULL, '2017-05-09 02:32:54', '2017-05-09 21:46:55'), (2, 14, 'Lesa Lesuu ', 'Medan Bung', '082134657865', 'Panortor Profesional', NULL, '2017-05-09 02:32:54', '2017-05-09 21:46:55'),
(4, 15, 'Parhuta', '---', '---', '---', NULL, '2017-05-09 03:12:56', '2017-05-09 03:12:56'); (4, 15, 'Parhuta', '---', '---', '---', NULL, '2017-05-09 03:12:56', '2017-05-09 03:12:56');
...@@ -233,12 +233,12 @@ INSERT INTO `pelanggan` (`id`, `id_Akun`, `nama`, `alamat`, `noTelepon`, `pekerj ...@@ -233,12 +233,12 @@ INSERT INTO `pelanggan` (`id`, `id_Akun`, `nama`, `alamat`, `noTelepon`, `pekerj
CREATE TABLE `pemilikhomestay` ( CREATE TABLE `pemilikhomestay` (
`id` int(10) UNSIGNED NOT NULL, `id` int(10) UNSIGNED NOT NULL,
`id_Akun` int(10) UNSIGNED DEFAULT NULL, `id_akun` int(10) UNSIGNED DEFAULT NULL,
`nama` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `nama` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`alamat` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `alamat` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`pekerjaan` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `pekerjaan` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`noTelepon` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `no_telepon` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`noRekening` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `no_rekening` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`foto` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `foto` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL `updated_at` timestamp NULL DEFAULT NULL
...@@ -248,10 +248,10 @@ CREATE TABLE `pemilikhomestay` ( ...@@ -248,10 +248,10 @@ CREATE TABLE `pemilikhomestay` (
-- Dumping data untuk tabel `pemilikhomestay` -- Dumping data untuk tabel `pemilikhomestay`
-- --
INSERT INTO `pemilikhomestay` (`id`, `id_Akun`, `nama`, `alamat`, `pekerjaan`, `noTelepon`, `noRekening`, `foto`, `created_at`, `updated_at`) VALUES INSERT INTO `pemilikhomestay` (`id`, `id_akun`, `nama`, `alamat`, `pekerjaan`, `no_telepon`, `no_rekening`, `foto`, `created_at`, `updated_at`) VALUES
(6, 5, 'Palti Sinaga', 'Balige', 'Petani', '6282272194654', '12345678981', '1469993_725963404098414_1076561403_n.jpg', '2017-04-29 08:07:38', '2017-05-22 20:27:04'), (6, 5, 'Palti Sinaga', 'Balige', 'Petani', '6282272194654', '12345678981', '1493643347919.jpg', '2017-04-29 08:07:38', '2017-05-24 05:38:43'),
(7, 6, 'Test', '--', '--', '--', '--', 'gravatar.png', '2017-05-03 01:52:34', '2017-05-03 01:52:34'), (13, 22, 'Op.Balata', '--', '--', '--', '--', 'gravatar.png', '2017-05-25 21:10:39', '2017-05-25 21:10:39'),
(9, NULL, 'Testing', '--', '--', '--', '--', 'gravatar.png', '2017-05-08 19:36:39', '2017-05-08 19:36:39'); (14, 23, 'Dion Marpaung', '--', '--', '--', '--', 'gravatar.png', '2017-05-25 21:11:26', '2017-05-25 21:11:26');
-- -------------------------------------------------------- -- --------------------------------------------------------
...@@ -261,10 +261,10 @@ INSERT INTO `pemilikhomestay` (`id`, `id_Akun`, `nama`, `alamat`, `pekerjaan`, ` ...@@ -261,10 +261,10 @@ INSERT INTO `pemilikhomestay` (`id`, `id_Akun`, `nama`, `alamat`, `pekerjaan`, `
CREATE TABLE `pengajuan_homestay` ( CREATE TABLE `pengajuan_homestay` (
`id` int(10) NOT NULL, `id` int(10) NOT NULL,
`idPemilikHomestay` int(10) UNSIGNED DEFAULT NULL, `id_pemilik_homestay` int(10) UNSIGNED DEFAULT NULL,
`idPgwDinasPariwisata` int(101) UNSIGNED DEFAULT NULL, `id_pgw_dinas_pariwisata` int(101) UNSIGNED DEFAULT NULL,
`namaHomestay` varchar(255) NOT NULL, `nama_homestay` varchar(255) NOT NULL,
`jumlahKamar` int(10) NOT NULL, `jumlah_kamar` int(10) NOT NULL,
`status` int(1) DEFAULT NULL `status` int(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1; ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
...@@ -272,9 +272,9 @@ CREATE TABLE `pengajuan_homestay` ( ...@@ -272,9 +272,9 @@ CREATE TABLE `pengajuan_homestay` (
-- Dumping data untuk tabel `pengajuan_homestay` -- Dumping data untuk tabel `pengajuan_homestay`
-- --
INSERT INTO `pengajuan_homestay` (`id`, `idPemilikHomestay`, `idPgwDinasPariwisata`, `namaHomestay`, `jumlahKamar`, `status`) VALUES INSERT INTO `pengajuan_homestay` (`id`, `id_pemilik_homestay`, `id_pgw_dinas_pariwisata`, `nama_homestay`, `jumlah_kamar`, `status`) VALUES
(3, 6, NULL, 'Test2', 4, 1), (3, 6, NULL, 'Test2', 4, 1),
(4, 7, NULL, 'Testing Katu', 3, 1); (5, 13, NULL, 'Blessing Homestay', 3, 1);
-- -------------------------------------------------------- -- --------------------------------------------------------
...@@ -285,8 +285,8 @@ INSERT INTO `pengajuan_homestay` (`id`, `idPemilikHomestay`, `idPgwDinasPariwisa ...@@ -285,8 +285,8 @@ INSERT INTO `pengajuan_homestay` (`id`, `idPemilikHomestay`, `idPgwDinasPariwisa
CREATE TABLE `requestfasilitas` ( CREATE TABLE `requestfasilitas` (
`id` int(11) NOT NULL, `id` int(11) NOT NULL,
`id_pemilik_homestay` int(10) UNSIGNED DEFAULT NULL, `id_pemilik_homestay` int(10) UNSIGNED DEFAULT NULL,
`id_kategoriFasiltas` int(10) UNSIGNED DEFAULT NULL, `id_kategori_fasiltas` int(10) UNSIGNED DEFAULT NULL,
`namaRequestFasilitas` varchar(255) NOT NULL, `nama_request_fasilitas` varchar(255) NOT NULL,
`deskripsi` varchar(255) NOT NULL, `deskripsi` varchar(255) NOT NULL,
`jumlah` int(11) NOT NULL, `jumlah` int(11) NOT NULL,
`gambar` varchar(255) DEFAULT NULL, `gambar` varchar(255) DEFAULT NULL,
...@@ -297,7 +297,7 @@ CREATE TABLE `requestfasilitas` ( ...@@ -297,7 +297,7 @@ CREATE TABLE `requestfasilitas` (
-- Dumping data untuk tabel `requestfasilitas` -- Dumping data untuk tabel `requestfasilitas`
-- --
INSERT INTO `requestfasilitas` (`id`, `id_pemilik_homestay`, `id_kategoriFasiltas`, `namaRequestFasilitas`, `deskripsi`, `jumlah`, `gambar`, `status`) VALUES INSERT INTO `requestfasilitas` (`id`, `id_pemilik_homestay`, `id_kategori_fasiltas`, `nama_request_fasilitas`, `deskripsi`, `jumlah`, `gambar`, `status`) VALUES
(8, 6, 2, 'Keramik Pecah', 'Terjadi Perang saudara', 100, 'Agar-Keramik-Tidak-Meledak.jpg', 2), (8, 6, 2, 'Keramik Pecah', 'Terjadi Perang saudara', 100, 'Agar-Keramik-Tidak-Meledak.jpg', 2),
(12, 6, 2, 'Keramik Pecah', ' Tsunami dan pelanggan mati gan', 100, 'Agar-Keramik-Tidak-Meledak.jpg', 2); (12, 6, 2, 'Keramik Pecah', ' Tsunami dan pelanggan mati gan', 100, 'Agar-Keramik-Tidak-Meledak.jpg', 2);
...@@ -345,12 +345,12 @@ CREATE TABLE `users` ( ...@@ -345,12 +345,12 @@ 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', 'jMe4xrH61swuhqq65yICGZ10rJEAbabExOljq0XU2MgOWgRkkrwbMCUYCQyv', '2017-04-22 02:30:14', '2017-05-22 20:37:19'), (2, 'Juliper', 'admin', 'admin@del.ac.id', '$2y$10$nnnUgQAnb9FnDb3DNTlwaehkE5GiJ6piv8Yg/LXyXypdgaxigpHVe', 'gravatar.png', 'DinasPariwisata', 'T6Xof13PvUcNvlcRx0YLzdS2LSfvHLnVbZKeTUnBmMFbHKtQX4kTOQN8Io12', '2017-04-22 02:30:14', '2017-05-25 21:25:52'),
(5, 'Palti Sinaga', 'palti', 'palti1@gmail.com', '$2y$10$YZNp2gw4amlEQWi4hvDA9OfGixdYx1AIsl0.El8TzQoo9IPed8E..', 'gravatar.png', 'Owner', '9OBnclc2bJgTWEFa40SNojJMYs4p5tSn9zxkcVjlscqQvEHDjclWIZoHTpaS', '2017-04-29 08:07:38', '2017-05-22 20:36:50'), (5, 'Palti Sinaga', 'palti', 'palti1@gmail.com', '$2y$10$YZNp2gw4amlEQWi4hvDA9OfGixdYx1AIsl0.El8TzQoo9IPed8E..', 'gravatar.png', 'Owner', 'BHxVk84KZZ5Df0Pv5DIACId40uJv74AwRPBqU6NNtzgD9KJu9nTHR7MfTlel', '2017-04-29 08:07:38', '2017-05-25 20:22:05'),
(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'), (14, 'Lesa Lesuu ', 'lesa', 'lesa@gmail.com', '$2y$10$zudTTxc6.lENGpFKwp093u9SuvEjidfYExLHk3vsOvZISDma1HChW', 'anonymous1.jpg', 'Customer', 'o0wZR6Sbzx0EKZB6EUkgTOesPyvZesdIZm4wRZm1ojlZulALATiyEQYLJJFQ', '2017-05-09 02:41:21', '2017-05-25 20:52:31'),
(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'), (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'),
(14, 'Lesa Lesuu ', 'lesa', 'lesa@gmail.com', '$2y$10$zudTTxc6.lENGpFKwp093u9SuvEjidfYExLHk3vsOvZISDma1HChW', 'anonymous1.jpg', 'Customer', '3yJ1IwQV4QOUhEeXHyOlqql1KDkV2oUDOjF3NaQM7DPuWuMLHFb6adqUuxU0', '2017-05-09 02:41:21', '2017-05-22 20:01:35'), (22, 'Op.Balata', 'balata', 'balata@gmail.com', '$2y$10$r6Vxa2PnV2eKFaaGZ51RHOeJiloAdgF6YaMLiFFqF4p4AydQTLzAW', NULL, 'Owner', '4yzzuMhFfK3UmhVj7qChMGEKyJQpjpbTv6FEHifA8TABcxn4kWTnuA2XaXcJ', '2017-05-25 21:10:39', '2017-05-25 21:31:43'),
(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'); (23, 'Dion Marpaung', 'dionm', 'dion@gmail.com', '$2y$10$OVg25M/AMKoziQhfym4OcOYTmR8TWAMWFz8tOs6ogB7xdTnIeCG1u', NULL, 'Owner', NULL, '2017-05-25 21:11:26', '2017-05-25 21:11:26');
-- --
-- Indexes for dumped tables -- Indexes for dumped tables
...@@ -368,26 +368,26 @@ ALTER TABLE `daftar_book` ...@@ -368,26 +368,26 @@ ALTER TABLE `daftar_book`
-- Indexes for table `dinaspariwisata` -- Indexes for table `dinaspariwisata`
-- --
ALTER TABLE `dinaspariwisata` ALTER TABLE `dinaspariwisata`
ADD PRIMARY KEY (`idPegawai`); ADD PRIMARY KEY (`id_pegawai`);
-- --
-- Indexes for table `feedback` -- Indexes for table `feedback`
-- --
ALTER TABLE `feedback` ALTER TABLE `feedback`
ADD PRIMARY KEY (`id`), ADD PRIMARY KEY (`id`),
ADD KEY `idPelanggan` (`idPelanggan`), ADD KEY `idPelanggan` (`id_pelanggan`),
ADD KEY `id_pemilikHomestay` (`id_pemilikHomestay`); ADD KEY `id_pemilikHomestay` (`id_pemilik_homestay`);
-- --
-- Indexes for table `homestay` -- Indexes for table `homestay`
-- --
ALTER TABLE `homestay` ALTER TABLE `homestay`
ADD PRIMARY KEY (`id`), ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `nama` (`namaHomestay`), ADD UNIQUE KEY `nama` (`nama_homestay`),
ADD UNIQUE KEY `id_owner` (`owner`), ADD UNIQUE KEY `id_owner` (`owner`),
ADD KEY `id_owner_2` (`owner`), ADD KEY `id_owner_2` (`owner`),
ADD KEY `idPemilik` (`idPemilik`), ADD KEY `idPemilik` (`id_pemilik`),
ADD KEY `nama_2` (`namaHomestay`); ADD KEY `nama_2` (`nama_homestay`);
-- --
-- Indexes for table `kamar` -- Indexes for table `kamar`
...@@ -395,13 +395,13 @@ ALTER TABLE `homestay` ...@@ -395,13 +395,13 @@ ALTER TABLE `homestay`
ALTER TABLE `kamar` ALTER TABLE `kamar`
ADD PRIMARY KEY (`id`), ADD PRIMARY KEY (`id`),
ADD KEY `idPemesanan` (`id_transaksi`), ADD KEY `idPemesanan` (`id_transaksi`),
ADD KEY `idHomestay` (`idHomestay`); ADD KEY `idHomestay` (`id_homestay`);
-- --
-- Indexes for table `kategorifasilitas` -- Indexes for table `kategorifasilitas`
-- --
ALTER TABLE `kategorifasilitas` ALTER TABLE `kategorifasilitas`
ADD PRIMARY KEY (`idFasilitas`); ADD PRIMARY KEY (`id`);
-- --
-- Indexes for table `migrations` -- Indexes for table `migrations`
...@@ -428,22 +428,22 @@ ALTER TABLE `pelanggan` ...@@ -428,22 +428,22 @@ ALTER TABLE `pelanggan`
ALTER TABLE `pemilikhomestay` ALTER TABLE `pemilikhomestay`
ADD PRIMARY KEY (`id`), ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `nama` (`nama`), ADD UNIQUE KEY `nama` (`nama`),
ADD KEY `id_Akun` (`id_Akun`); ADD KEY `id_Akun` (`id_akun`);
-- --
-- Indexes for table `pengajuan_homestay` -- Indexes for table `pengajuan_homestay`
-- --
ALTER TABLE `pengajuan_homestay` ALTER TABLE `pengajuan_homestay`
ADD PRIMARY KEY (`id`), ADD PRIMARY KEY (`id`),
ADD KEY `idPemilikHomestay` (`idPemilikHomestay`), ADD KEY `idPemilikHomestay` (`id_pemilik_homestay`),
ADD KEY `idPgwDinasPariwisata` (`idPgwDinasPariwisata`); ADD KEY `idPgwDinasPariwisata` (`id_pgw_dinas_pariwisata`);
-- --
-- Indexes for table `requestfasilitas` -- Indexes for table `requestfasilitas`
-- --
ALTER TABLE `requestfasilitas` ALTER TABLE `requestfasilitas`
ADD PRIMARY KEY (`id`), ADD PRIMARY KEY (`id`),
ADD KEY `id_kategoriFasiltas` (`id_kategoriFasiltas`), ADD KEY `id_kategoriFasiltas` (`id_kategori_fasiltas`),
ADD KEY `id_pemilik_homestay` (`id_pemilik_homestay`); ADD KEY `id_pemilik_homestay` (`id_pemilik_homestay`);
-- --
...@@ -470,12 +470,12 @@ ALTER TABLE `users` ...@@ -470,12 +470,12 @@ 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=3; MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
-- --
-- AUTO_INCREMENT for table `dinaspariwisata` -- AUTO_INCREMENT for table `dinaspariwisata`
-- --
ALTER TABLE `dinaspariwisata` ALTER TABLE `dinaspariwisata`
MODIFY `idPegawai` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; MODIFY `id_pegawai` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
-- --
-- AUTO_INCREMENT for table `feedback` -- AUTO_INCREMENT for table `feedback`
-- --
...@@ -485,17 +485,17 @@ ALTER TABLE `feedback` ...@@ -485,17 +485,17 @@ ALTER TABLE `feedback`
-- AUTO_INCREMENT for table `homestay` -- AUTO_INCREMENT for table `homestay`
-- --
ALTER TABLE `homestay` ALTER TABLE `homestay`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
-- --
-- AUTO_INCREMENT for table `kamar` -- AUTO_INCREMENT for table `kamar`
-- --
ALTER TABLE `kamar` ALTER TABLE `kamar`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;
-- --
-- AUTO_INCREMENT for table `kategorifasilitas` -- AUTO_INCREMENT for table `kategorifasilitas`
-- --
ALTER TABLE `kategorifasilitas` ALTER TABLE `kategorifasilitas`
MODIFY `idFasilitas` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
-- --
-- AUTO_INCREMENT for table `migrations` -- AUTO_INCREMENT for table `migrations`
-- --
...@@ -510,12 +510,12 @@ ALTER TABLE `pelanggan` ...@@ -510,12 +510,12 @@ ALTER TABLE `pelanggan`
-- AUTO_INCREMENT for table `pemilikhomestay` -- AUTO_INCREMENT for table `pemilikhomestay`
-- --
ALTER TABLE `pemilikhomestay` ALTER TABLE `pemilikhomestay`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
-- --
-- AUTO_INCREMENT for table `pengajuan_homestay` -- AUTO_INCREMENT for table `pengajuan_homestay`
-- --
ALTER TABLE `pengajuan_homestay` ALTER TABLE `pengajuan_homestay`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
-- --
-- AUTO_INCREMENT for table `requestfasilitas` -- AUTO_INCREMENT for table `requestfasilitas`
-- --
...@@ -525,12 +525,12 @@ ALTER TABLE `requestfasilitas` ...@@ -525,12 +525,12 @@ ALTER TABLE `requestfasilitas`
-- 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=25; MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;
-- --
-- AUTO_INCREMENT for table `users` -- AUTO_INCREMENT for table `users`
-- --
ALTER TABLE `users` ALTER TABLE `users`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16; MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;
-- --
-- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables) -- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables)
-- --
...@@ -546,20 +546,20 @@ ALTER TABLE `daftar_book` ...@@ -546,20 +546,20 @@ ALTER TABLE `daftar_book`
-- Ketidakleluasaan untuk tabel `feedback` -- Ketidakleluasaan untuk tabel `feedback`
-- --
ALTER TABLE `feedback` ALTER TABLE `feedback`
ADD CONSTRAINT `feedback_ibfk_1` FOREIGN KEY (`idPelanggan`) REFERENCES `pelanggan` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `feedback_ibfk_1` FOREIGN KEY (`id_pelanggan`) REFERENCES `pelanggan` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `feedback_ibfk_2` FOREIGN KEY (`id_pemilikHomestay`) REFERENCES `pemilikhomestay` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; ADD CONSTRAINT `feedback_ibfk_2` FOREIGN KEY (`id_pemilik_homestay`) REFERENCES `pemilikhomestay` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
-- --
-- Ketidakleluasaan untuk tabel `homestay` -- Ketidakleluasaan untuk tabel `homestay`
-- --
ALTER TABLE `homestay` ALTER TABLE `homestay`
ADD CONSTRAINT `homestay_ibfk_1` FOREIGN KEY (`idPemilik`) REFERENCES `pemilikhomestay` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; ADD CONSTRAINT `homestay_ibfk_1` FOREIGN KEY (`id_pemilik`) REFERENCES `pemilikhomestay` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
-- --
-- Ketidakleluasaan untuk tabel `kamar` -- Ketidakleluasaan untuk tabel `kamar`
-- --
ALTER TABLE `kamar` ALTER TABLE `kamar`
ADD CONSTRAINT `kamar_ibfk_2` FOREIGN KEY (`idHomestay`) REFERENCES `homestay` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; ADD CONSTRAINT `kamar_ibfk_2` FOREIGN KEY (`id_homestay`) REFERENCES `homestay` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
-- --
-- Ketidakleluasaan untuk tabel `pemilikhomestay` -- Ketidakleluasaan untuk tabel `pemilikhomestay`
...@@ -571,15 +571,15 @@ ALTER TABLE `pemilikhomestay` ...@@ -571,15 +571,15 @@ ALTER TABLE `pemilikhomestay`
-- Ketidakleluasaan untuk tabel `pengajuan_homestay` -- Ketidakleluasaan untuk tabel `pengajuan_homestay`
-- --
ALTER TABLE `pengajuan_homestay` ALTER TABLE `pengajuan_homestay`
ADD CONSTRAINT `pengajuan_homestay_ibfk_1` FOREIGN KEY (`idPemilikHomestay`) REFERENCES `pemilikhomestay` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `pengajuan_homestay_ibfk_1` FOREIGN KEY (`id_pemilik_homestay`) REFERENCES `pemilikhomestay` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `pengajuan_homestay_ibfk_2` FOREIGN KEY (`idPgwDinasPariwisata`) REFERENCES `dinaspariwisata` (`idPegawai`) ON DELETE CASCADE ON UPDATE CASCADE; ADD CONSTRAINT `pengajuan_homestay_ibfk_2` FOREIGN KEY (`id_pgw_dinas_pariwisata`) REFERENCES `dinaspariwisata` (`id_pegawai`) ON DELETE CASCADE ON UPDATE CASCADE;
-- --
-- Ketidakleluasaan untuk tabel `requestfasilitas` -- Ketidakleluasaan untuk tabel `requestfasilitas`
-- --
ALTER TABLE `requestfasilitas` ALTER TABLE `requestfasilitas`
ADD CONSTRAINT `requestfasilitas_ibfk_1` FOREIGN KEY (`id_pemilik_homestay`) REFERENCES `pemilikhomestay` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `requestfasilitas_ibfk_1` FOREIGN KEY (`id_pemilik_homestay`) REFERENCES `pemilikhomestay` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `requestfasilitas_ibfk_2` FOREIGN KEY (`id_kategoriFasiltas`) REFERENCES `kategorifasilitas` (`idFasilitas`) ON DELETE CASCADE ON UPDATE CASCADE; ADD CONSTRAINT `requestfasilitas_ibfk_2` FOREIGN KEY (`id_kategori_fasiltas`) REFERENCES `kategorifasilitas` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
-- --
-- Ketidakleluasaan untuk tabel `transaksi` -- Ketidakleluasaan untuk tabel `transaksi`
......
...@@ -73,7 +73,7 @@ a:focus, a:hover { ...@@ -73,7 +73,7 @@ a:focus, a:hover {
/*-- //Reset-Code --*/ /*-- //Reset-Code --*/
.table thead{ .table thead{
background-color: #1dc8d9; background-color: #3498db;
} }
...@@ -2028,7 +2028,7 @@ section#tables p { ...@@ -2028,7 +2028,7 @@ section#tables p {
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td { .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
font-size: 0.9em; font-size: 0.9em;
color: #2d2d2d; color: #ffffff;
border-top: none!important; border-top: none!important;
} }
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
</div> </div>
<div class="details-grid-info agileits w3layouts"> <div class="details-grid-info agileits w3layouts">
<h3>{{$a->nama}}</h3> <h3>{{$a->nama}}</h3>
<p>Mari Menginap di Homestay kami</p> <p>{{$a->deskripsi}}</p>
</div> </div>
<a href ="{{url('detailhomestay/'.$a->id)}}" ><button class="btn btn-primary agileits w3layouts " data-toggle="modal" > LIHAT <span class="glyphicon agileits w3layouts glyphicon-arrow-right" aria-hidden="true"></span></button> </a> <a href ="{{url('detailhomestay/'.$a->id)}}" ><button class="btn btn-primary agileits w3layouts " data-toggle="modal" > LIHAT <span class="glyphicon agileits w3layouts glyphicon-arrow-right" aria-hidden="true"></span></button> </a>
<div class="clearfix"></div> <div class="clearfix"></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