forked from MallombasiMattawang/antrian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
antrian.sql
285 lines (230 loc) · 9.98 KB
/
antrian.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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
-- phpMyAdmin SQL Dump
-- version 3.5.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Dec 20, 2015 at 08:01 AM
-- Server version: 5.5.24-log
-- PHP Version: 5.3.13
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 */;
--
-- Database: `antrian`
--
-- --------------------------------------------------------
--
-- Table structure for table `antrian_administrasi_save`
--
CREATE TABLE IF NOT EXISTS `antrian_administrasi_save` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nomor_antrian` varchar(50) NOT NULL,
`nama` varchar(255) NOT NULL,
`jenis_kelamin` varchar(10) NOT NULL,
`no_telpon` varchar(20) NOT NULL,
`created_by` varchar(50) NOT NULL,
`created` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
--
-- Dumping data for table `antrian_administrasi_save`
--
INSERT INTO `antrian_administrasi_save` (`id`, `nomor_antrian`, `nama`, `jenis_kelamin`, `no_telpon`, `created_by`, `created`) VALUES
(1, 'A321', 'tes', 'LAKI-LAKI', '798798', '1', '2015-12-19 23:02:07'),
(2, 'A322', 'test2', 'LAKI-LAKI', '779789', '1', '2015-12-19 23:04:54'),
(3, 'A323', 'testw', 'LAKI-LAKI', '79789787', '', '2015-12-19 23:05:50'),
(4, 'A324', '77', 'PEREMPUAN', '6876767', 'admin', '2015-12-19 23:07:27');
-- --------------------------------------------------------
--
-- Table structure for table `antrian_transaksi_save`
--
CREATE TABLE IF NOT EXISTS `antrian_transaksi_save` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nomor_antrian` varchar(50) NOT NULL,
`nama` varchar(255) NOT NULL,
`jenis_kelamin` varchar(10) NOT NULL,
`no_telpon` varchar(20) NOT NULL,
`created_by` varchar(50) NOT NULL,
`created` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ;
--
-- Dumping data for table `antrian_transaksi_save`
--
INSERT INTO `antrian_transaksi_save` (`id`, `nomor_antrian`, `nama`, `jenis_kelamin`, `no_telpon`, `created_by`, `created`) VALUES
(1, 'A321', 'tes', 'LAKI-LAKI', '798798', '1', '2015-12-19 23:02:07'),
(2, 'A322', 'test2', 'LAKI-LAKI', '779789', '1', '2015-12-19 23:04:54'),
(3, 'A323', 'testw', 'LAKI-LAKI', '79789787', '', '2015-12-19 23:05:50'),
(4, 'A324', '77', 'PEREMPUAN', '6876767', 'admin', '2015-12-19 23:07:27'),
(5, 'T$', 'dkdakj', 'LAKI-LAKI', '67878', '1', '2015-12-20 09:42:07');
-- --------------------------------------------------------
--
-- Table structure for table `level`
--
CREATE TABLE IF NOT EXISTS `level` (
`LEVEL_ID` int(11) DEFAULT NULL,
`NAME` varchar(20) DEFAULT NULL,
`CREATED` date DEFAULT NULL,
`MODIFIED` datetime DEFAULT NULL,
`CREATED_BY` tinyint(4) DEFAULT NULL,
`MODIFIED_BY` tinyint(4) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=0;
--
-- Dumping data for table `level`
--
INSERT INTO `level` (`LEVEL_ID`, `NAME`, `CREATED`, `MODIFIED`, `CREATED_BY`, `MODIFIED_BY`) VALUES
(1, 'admin', '2014-05-10', NULL, 1, NULL),
(2, 'loket administrasi', '2014-05-10', '2014-07-18 02:20:13', 1, NULL),
(3, 'loket pas', '2014-05-12', '2014-07-18 06:27:14', 1, NULL),
(4, 'print', '2014-07-26', NULL, 1, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `loket`
--
CREATE TABLE IF NOT EXISTS `loket` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`no_loket` int(11) NOT NULL,
`nama_loket` varchar(255) NOT NULL,
`aktif` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
--
-- Dumping data for table `loket`
--
INSERT INTO `loket` (`id`, `no_loket`, `nama_loket`, `aktif`) VALUES
(1, 9, 'TRANSAKSI', 1),
(2, 1, 'ADMINISTRASI', 1);
-- --------------------------------------------------------
--
-- Table structure for table `menus`
--
CREATE TABLE IF NOT EXISTS `menus` (
`menus_id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`url` varchar(50) NOT NULL,
`title` varchar(50) NOT NULL,
`enable` tinyint(4) NOT NULL,
`parent_id` int(11) NOT NULL,
`lft` int(11) NOT NULL,
`created` int(11) NOT NULL,
`created_by` int(11) NOT NULL,
PRIMARY KEY (`menus_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=13 ;
--
-- Dumping data for table `menus`
--
INSERT INTO `menus` (`menus_id`, `name`, `url`, `title`, `enable`, `parent_id`, `lft`, `created`, `created_by`) VALUES
(1, 'Setting', '#', 'Setting', 1, 0, 0, 2015, 1),
(2, 'pengguna akun', 'system.php?link=pengguna-akun', 'pengguna akun', 1, 1, 0, 2015, 1),
(3, 'Pengaturan Menu', 'system.php?link=menus', 'Setting Menu', 1, 1, 0, 2015, 1),
(4, 'Pengaturan Video LCD', 'system.php?link=video', 'Pengaturan Video LCD', 1, 1, 1, 2015, 1),
(5, 'Pengaturan Running Text', 'system.php?link=running-text', 'Pengaturan Running Text', 1, 1, 1, 2015, 1),
(6, 'Loket Administrasi', '#', 'Loket Administrasi', 1, 0, 1, 2015, 1),
(7, 'Data Customer Administrasi', 'system.php?link=daftar-customer-administrasi', 'Data Customer Administrasi', 1, 6, 1, 2015, 1),
(8, 'Panel Loket Administrasi', 'system.php?link=menu-antrian-administrasi', 'Panel Loket Administrasi', 1, 6, 1, 2015, 1),
(9, 'Loket', 'system.php?link=loket', 'loket', 1, 1, 0, 2015, 1),
(10, 'Loket Transaksi', '#', 'loket Transaksi', 1, 0, 1, 2015, 1),
(11, 'Data Customer Transaksi', 'system.php?link=daftar-customer-transaksi', 'Data Customer Transaksi', 1, 10, 1, 2015, 1),
(12, 'Panel Loket Transaksi', 'system.php?link=menu-antrian-transaksi', 'Panel Loket Transaksi', 1, 10, 1, 2015, 1);
-- --------------------------------------------------------
--
-- Table structure for table `running_text`
--
CREATE TABLE IF NOT EXISTS `running_text` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`isi_text` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
--
-- Dumping data for table `running_text`
--
INSERT INTO `running_text` (`id`, `isi_text`) VALUES
(1, ' Sudah terlalu asik sendiri..... |'),
(2, ' Sudah terlalu asik dengan duniaku sendiri.... |'),
(3, ' karna tak ada yang menemani... rasanya.... |');
-- --------------------------------------------------------
--
-- Table structure for table `temp_administrasi`
--
CREATE TABLE IF NOT EXISTS `temp_administrasi` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nomor_antrian` varchar(255) NOT NULL,
`time` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `temp_administrasi`
--
INSERT INTO `temp_administrasi` (`id`, `nomor_antrian`, `time`) VALUES
(1, '47', '2015-12-20 15:56:46');
-- --------------------------------------------------------
--
-- Table structure for table `temp_transaksi`
--
CREATE TABLE IF NOT EXISTS `temp_transaksi` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nomor_antrian` varchar(255) NOT NULL,
`time` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `temp_transaksi`
--
INSERT INTO `temp_transaksi` (`id`, `nomor_antrian`, `time`) VALUES
(1, '9', '2015-12-20 16:01:02');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE IF NOT EXISTS `users` (
`USER_ID` int(11) NOT NULL AUTO_INCREMENT,
`USERNAME` varchar(20) DEFAULT NULL,
`PASSWORD` varchar(40) DEFAULT NULL,
`NIP` varchar(20) DEFAULT NULL,
`NAMA_LENGKAP` varchar(50) DEFAULT NULL,
`JENIS_KELAMIN_ID` tinyint(4) DEFAULT NULL,
`TEMPAT_LAHIR` varchar(100) NOT NULL,
`TGL_LAHIR` date NOT NULL,
`FOTO` varchar(200) DEFAULT NULL,
`ALAMAT` varchar(20) DEFAULT NULL,
`TELPON` varchar(20) DEFAULT NULL,
`LEVEL_ID` tinyint(4) DEFAULT NULL,
`BLOKIR` tinyint(4) DEFAULT NULL,
`CREATED` date DEFAULT NULL,
`MODIFIED` datetime DEFAULT NULL,
`CREATED_BY` tinyint(4) DEFAULT NULL,
`MODIFIED_BY` tinyint(4) DEFAULT NULL,
`session_id` varchar(100) NOT NULL,
PRIMARY KEY (`USER_ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=0 AUTO_INCREMENT=21 ;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`USER_ID`, `USERNAME`, `PASSWORD`, `NIP`, `NAMA_LENGKAP`, `JENIS_KELAMIN_ID`, `TEMPAT_LAHIR`, `TGL_LAHIR`, `FOTO`, `ALAMAT`, `TELPON`, `LEVEL_ID`, `BLOKIR`, `CREATED`, `MODIFIED`, `CREATED_BY`, `MODIFIED_BY`, `session_id`) VALUES
(1, 'admin', 'd033e22ae348aeb5660fc2140aec35850c4da997', 'xxxxxxxxxxxx', 'administrator', 1, 'AMDMAD', '1991-06-09', '23Photo_00004.jpg', 'makassar', '81243324689', 1, 0, '2014-05-10', '2014-07-18 21:13:53', 1, 1, ''),
(20, 'myprint', 'bebaec246afd2b4ccd42b6f977a4a25a2baedb8f', 'xxxx', 'printer', 1, 'jakarta', '2013-11-05', '9CPU-icon.png', 'MAKASSAR', '0808707779', 4, 0, '2014-07-26', NULL, 1, NULL, ''),
(19, 'administrasi', 'e5c6ba3abff1db4479bb60c5d79cc1c2a0689dcb', 'xxxxxx', 'admin administrasi', 1, 'JAKARTA', '1991-06-12', '94guard-icon.png', 'MAKASSAR', '093729272', 2, 0, '2014-07-18', '2014-07-18 22:22:39', 1, 1, ''),
(18, 'pas', '19c2a0dbd8e3a41b25d504744c57df8853e36677', 'xxxxx', 'admin pas', 1, 'JAKARTA', '1991-06-09', '12acid.MP4', 'MAKASSAR', '08927638282', 3, 0, '2014-07-18', '2014-07-20 21:14:03', 1, 1, '');
-- --------------------------------------------------------
--
-- Table structure for table `video`
--
CREATE TABLE IF NOT EXISTS `video` (
`id` int(5) NOT NULL AUTO_INCREMENT,
`judul` varchar(100) COLLATE latin1_general_ci NOT NULL,
`nama_file` varchar(100) COLLATE latin1_general_ci NOT NULL,
`tgl_posting` date NOT NULL,
`hits` int(3) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=19 ;
--
-- Dumping data for table `video`
--
INSERT INTO `video` (`id`, `judul`, `nama_file`, `tgl_posting`, `hits`) VALUES
(1, 'my video e', 'Kunto Aji - Terlalu Lama Sendiri.mp4', '0000-00-00', 0);
/*!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 */;