-
Notifications
You must be signed in to change notification settings - Fork 11
/
db_masjid.sql
148 lines (123 loc) · 9.51 KB
/
db_masjid.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
-- phpMyAdmin SQL Dump
-- version 4.0.4.1
-- http://www.phpmyadmin.net
--
-- Inang: 127.0.0.1
-- Waktu pembuatan: 09 Jan 2016 pada 00.41
-- Versi Server: 5.5.32
-- Versi PHP: 5.4.19
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Basis data: `db_masjid`
--
CREATE DATABASE IF NOT EXISTS `db_masjid` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `db_masjid`;
-- --------------------------------------------------------
--
-- Struktur dari tabel `data_dkm`
--
CREATE TABLE IF NOT EXISTS `data_dkm` (
`id_dkm` int(11) NOT NULL AUTO_INCREMENT,
`id_users` int(11) NOT NULL,
`nama_dkm` varchar(100) NOT NULL,
`nomor_telepon_dkm` varchar(11) NOT NULL,
`alamat_dkm` text NOT NULL,
PRIMARY KEY (`id_dkm`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
--
-- Dumping data untuk tabel `data_dkm`
--
INSERT INTO `data_dkm` (`id_dkm`, `id_users`, `nama_dkm`, `nomor_telepon_dkm`, `alamat_dkm`) VALUES
(1, 1, 'Super DKM', '08978696666', 'Jl.Raya pasar kecapi'),
(2, 2, 'DKM', '08971755560', 'Jl.Raya Kendiri III'),
(3, 3, 'DKM 02', '08977564466', 'Jl.Rawa Pedes'),
(4, 4, 'Andi', '08978665544', 'Jl.Raya Ranggi I');
-- --------------------------------------------------------
--
-- Struktur dari tabel `data_jadwal`
--
CREATE TABLE IF NOT EXISTS `data_jadwal` (
`id_jadwal` int(11) NOT NULL AUTO_INCREMENT,
`id_dkm` int(11) NOT NULL,
`id_masjid` int(11) NOT NULL,
`nama_jadwal` varchar(100) NOT NULL,
`deskripsi_jadwal` text NOT NULL,
`tempat` varchar(100) NOT NULL,
`tanggal` varchar(10) NOT NULL,
`waktu` varchar(10) NOT NULL,
PRIMARY KEY (`id_jadwal`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=9 ;
--
-- Dumping data untuk tabel `data_jadwal`
--
INSERT INTO `data_jadwal` (`id_jadwal`, `id_dkm`, `id_masjid`, `nama_jadwal`, `deskripsi_jadwal`, `tempat`, `tanggal`, `waktu`) VALUES
(7, 1, 3, 'Buka Puasa Bersama', 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.', 'Lapangan Masjid', '2015-12-31', '10:10'),
(8, 3, 6, 'Halal bi halal', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum vestibulum enim id sem vulputate, non mattis leo molestie. Suspendisse luctus, enim sed maximus blandit, orci lacus accumsan diam, blandit dignissim risus purus at elit. Aenean a posuere eros. Phasellus turpis ligula, scelerisque eget nibh ac, malesuada condimentum lectus.', 'Lapangan Masjid', '2015-12-29', '22:10');
-- --------------------------------------------------------
--
-- Struktur dari tabel `data_masjid`
--
CREATE TABLE IF NOT EXISTS `data_masjid` (
`id_masjid` int(11) NOT NULL AUTO_INCREMENT,
`id_dkm` int(11) NOT NULL DEFAULT '0',
`id_users` int(11) NOT NULL,
`activated_masjid` varchar(1) NOT NULL DEFAULT '0',
`nama_masjid` varchar(100) NOT NULL,
`tahun_berdiri_masjid` varchar(10) NOT NULL,
`alamat_masjid` text NOT NULL,
`jenis_masjid` varchar(100) NOT NULL,
`status_tanah` varchar(100) NOT NULL,
`deskripsi_masjid` text NOT NULL,
`nomor_telepon_masjid` varchar(11) NOT NULL DEFAULT '-',
`image_masjid` varchar(200) NOT NULL,
PRIMARY KEY (`id_masjid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
--
-- Dumping data untuk tabel `data_masjid`
--
INSERT INTO `data_masjid` (`id_masjid`, `id_dkm`, `id_users`, `activated_masjid`, `nama_masjid`, `tahun_berdiri_masjid`, `alamat_masjid`, `jenis_masjid`, `status_tanah`, `deskripsi_masjid`, `nomor_telepon_masjid`, `image_masjid`) VALUES
(1, 1, 1, '1', 'Masjid Al-Mukmin', '1994', 'Jl.Raya Kenari III', 'Masjid JAMI', 'Wakaf', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum vestibulum enim id sem vulputate, non mattis leo molestie. Suspendisse luctus, enim sed maximus blandit, orci lacus accumsan diam, blandit dignissim risus purus at elit. Aenean a posuere eros.', '098997886', 'kWwrOefAJoO6FzW3DdzvTBKu3WeyXb7SkDIO2pV1i9NS4fO7Adw+BJNP3YYdr7bsoGsZhP085gJf0PgGZF4D9mLNBMEshoSfnREzBGbt9W5odMj1znF1OXvy05TRe1.jpg'),
(2, 2, 2, '1', 'Masjid Al-Iman', '1992', 'Jl.Mahakam Raya I', 'Masjid JAMI', 'Wakaf', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum vestibulum enim id sem vulputate, non mattis leo molestie. Suspendisse luctus, enim sed maximus blandit, orci lacus accumsan diam, blandit dignissim risus purus at elit. Aenean a posuere eros.', '0897765455', 'y6KccetlPz4F08ccUrkDRwu2zcUrT8JzMJpG7gmRZ1zipP7UbDLw9pFo3730mmFXfC2kQTYXo7eOYpKzMNSVg.jpg'),
(3, 1, 1, '1', 'Al-Makmun', '1900', 'Jl.Teratai Raya II', 'Masjid Besar', 'Wakaf', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum vestibulum enim id sem vulputate, non mattis leo molestie. Suspendisse luctus, enim sed maximus blandit, orci lacus accumsan diam, blandit dignissim risus purus at elit. Aenean a posuere eros.', '', 'cwLMLsGlPJdvMAafVZSboE+Kc8Pzu80FZ7TOT90dm5eQWtTuj83b5ATVaPC28yIZMAsh5EALmhyGOex734d7w.jpg'),
(4, 1, 1, '0', 'Al-Hikmah', '1995', 'Jl.Munir Raya I', 'Masjid di tempat Publik', 'Wakaf', 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.', '08998877661', 'gW++0rdsalP89+4pR6DcUJTByo2bpRhnXYKsPB86L1K+Mnrig6YjNFiDPQtbAiAO2RwZaNyR+wAI0C9x6CLLg.jpg'),
(5, 1, 1, '2', 'Al-Iqro', '2000', 'Jl.Suro Raya III', 'Masjid Besar', 'Wakaf', 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.', '', 'edNZH6QT2EWdoFXA8yydy1NOvX3FeBjrHdFVV8D0b33ZM1wO7r7NgzPUnUoZJnSeczNtL+phx66On4XIyg.jpg'),
(6, 3, 3, '1', 'Al-Isya', '2003', 'Jl.Kuning Raya', 'Masjid JAMI', 'SHM', 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.', '08999596565', '17O7S8jL30Nt8ZNeXdIFtzbqbjVOocyXiEQFhdk6AL0BSHrzUkxMQv5gcdKqg5X9pDd9nqLsodznOkk2actnzTtJRnDA251TZzx4k+p2wI6xT01tTsYpnaEHVZdJ4AS3.jpg');
-- --------------------------------------------------------
--
-- Struktur dari tabel `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`id_users` int(11) NOT NULL AUTO_INCREMENT,
`level` enum('1','2','3') COLLATE utf8_bin NOT NULL DEFAULT '2',
`username` varchar(50) COLLATE utf8_bin NOT NULL,
`password` varchar(255) COLLATE utf8_bin NOT NULL,
`email` varchar(100) COLLATE utf8_bin NOT NULL,
`activated` tinyint(1) NOT NULL DEFAULT '1',
`banned` tinyint(1) NOT NULL DEFAULT '0',
`ban_reason` varchar(255) COLLATE utf8_bin DEFAULT NULL,
`new_password_key` varchar(50) COLLATE utf8_bin DEFAULT NULL,
`new_password_requested` datetime DEFAULT NULL,
`new_email` varchar(100) COLLATE utf8_bin DEFAULT NULL,
`new_email_key` varchar(50) COLLATE utf8_bin DEFAULT NULL,
`last_ip` varchar(40) COLLATE utf8_bin NOT NULL,
`last_login` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id_users`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=5 ;
--
-- Dumping data untuk tabel `users`
--
INSERT INTO `users` (`id_users`, `level`, `username`, `password`, `email`, `activated`, `banned`, `ban_reason`, `new_password_key`, `new_password_requested`, `new_email`, `new_email_key`, `last_ip`, `last_login`, `created`, `modified`) VALUES
(1, '1', 'super', '$2a$08$0HpYWeibq/WOD0dZ27RuH.9PiYtdvuVppDebnQzs7xILfzjWYXLYq', '[email protected]', 1, 0, NULL, NULL, NULL, NULL, '5972350e97d85e9a3b8ec52bbea3aacc', '::1', '2015-12-30 05:33:20', '2015-12-19 05:09:41', '2015-12-30 04:33:20'),
(2, '2', 'dkm1', '$2a$08$MIjNJhJed4ojYZ/J1IpfPedl6qPQmNBwntcslRBROmcPh3U04aRyy', '[email protected]', 1, 0, NULL, NULL, NULL, NULL, 'ef3640b378bc7b8dea1e71719db89375', '::1', '2015-12-31 03:21:45', '2015-12-19 05:53:12', '2015-12-31 02:21:45'),
(3, '2', 'dkm2', '$2a$08$DcHOIBJkyUgj6lVJF6GeD.PC6FWng5KOlCJLsZp.7S5EoierkPoti', '[email protected]', 0, 0, NULL, NULL, NULL, NULL, '7e1ea5b63b5521ff72355e66454414e2', '::1', '2015-12-29 14:12:44', '2015-12-20 13:09:40', '2015-12-29 17:59:04'),
(4, '2', 'dkm3', '$2a$08$shF/RIYYWLkhLOJ.Fhao/u1e5MJnk0wZeXqCI8VIUOyWtzYPHhpg2', '[email protected]', 1, 0, NULL, NULL, NULL, NULL, '4e01859eba15b4c49c89243584a9ddd9', '::1', '2015-12-30 05:38:40', '2015-12-29 18:58:47', '2015-12-30 04:38:40');
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;