CREATE TABLE `settingcatalogdetail` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Field_id` int(11) NOT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `settingcatalogdetail_Field` (`Field_id`),
  KEY `settingcatalogdetail_createby` (`CreateBy`),
  KEY `settingcatalogdetail_updateby` (`UpdateBy`),
  CONSTRAINT `settingcatalogdetail_Field` FOREIGN KEY (`Field_id`) REFERENCES `fields` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `settingcatalogdetail_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `settingcatalogdetail_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=256 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `settingcatalogdetail`
--

INSERT INTO `settingcatalogdetail` (`ID`,`Field_id`,`CreateBy`,`CreateDate`,`CreateTerminal`,`UpdateBy`,`UpdateDate`,`UpdateTerminal`) VALUES 
 (238,37,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (239,38,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (240,39,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (241,72,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (242,45,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (243,58,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (244,46,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (245,51,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (246,54,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (247,36,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (248,31,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (249,6,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (250,84,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (251,60,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (252,70,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (253,66,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (254,71,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL),
 (255,19,43,'2015-11-25 08:55:16','::1',NULL,NULL,NULL);


--
-- Definition of table `settingparameters`
--

CREATE TABLE `settingparameters` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(50) NOT NULL,
  `Value` text,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `settingparameters_name` (`Name`),
  KEY `settingparameters_createby` (`CreateBy`),
  KEY `settingparameters_updateby` (`UpdateBy`),
  CONSTRAINT `settingparameters_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `settingparameters_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=84 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `settingparameters`
--

INSERT INTO `settingparameters` (`ID`,`Name`,`Value`,`CreateBy`,`CreateDate`,`CreateTerminal`,`UpdateBy`,`UpdateDate`,`UpdateTerminal`) VALUES 
 (1,'MaksJumlahPeminjaman','2',33,'2012-09-12 13:56:31','DeniPC',43,'2015-10-02 02:46:43','::1'),
 (2,'MaksJumlahPeminjamanTerlambatUtkSuspend','1',33,'2012-09-12 13:56:31','DeniPC',43,'2015-10-02 02:46:43','::1'),
 (3,'IsSaturdayHoliday','False',33,'2012-09-12 13:56:31','DeniPC',43,'2015-10-02 02:46:43','::1'),
 (4,'IsSundayHoliday','False',33,'2012-09-12 13:56:31','DeniPC',43,'2015-10-02 02:46:44','::1'),
 (7,'TipeSirkulasi','BARCODE',33,'2012-09-12 13:56:32','DeniPC',43,'2015-10-02 02:46:44','::1'),
 (8,'NomorIndukTengah','/PN/',33,'2012-09-12 13:56:32','DeniPC',43,'2015-12-30 10:16:17','::1'),
 (9,'FontBarcode','IDAutomationHC39M',33,'2013-04-21 19:48:14','DeniPC',33,'2015-07-23 11:05:06','::1'),
 (10,'NomorInduk','Otomatis',33,'2013-04-21 19:48:14','DeniPC',43,'2015-12-30 10:16:17','::1'),
 (11,'NamaPerpustakaan','Perpustakaan Mitra Perpusnas',33,'2013-04-21 19:48:14','DeniPC',43,'2015-12-16 15:40:41','::1'),
 (12,'CurrentVersion','3.0',33,'2013-04-21 19:48:14','DeniPC',33,'2013-05-01 12:35:35','::1'),
 (13,'FileKartuAnggota','kartuanggotaA4jateng1.rdlc',33,'2015-03-13 10:28:58','DeniPC',33,'2013-05-01 12:35:35','::1'),
 (14,'Text_BELAKANG','<br><br><ol><li>Kartu ini adalah <b>milik Perpustakaan Mitra Perpusnas</b></li><li>Kartu ini harus selalu dibawa saat berkunjung</li><li>Kartu ini <u>tidak dapat dipinjamkan/dipindahtangankan</u></li><li>Jika hilang segeralah melapor dengan melampirkan surat keterangan hilang dari pihak berwenang</li><li>Bagi yang menemukan harap dikembailkan kepada<i> Perpustakaan Mitra Perpusnas</i></li></ol><br><p></p>',33,'2015-05-18 16:30:25','::1',43,'2015-10-13 18:19:07','::1'),
 (17,'JenisPerpustakaan','1',33,'2015-06-26 10:24:20','::1',43,'2015-12-16 15:40:41','::1'),
 (18,'FormatNomorBarcode','No. Induk',33,'2015-08-21 00:00:00','DeniPC',43,'2015-12-30 10:16:17','::1'),
 (19,'TipeNomorAnggota','Otomatis',33,'2015-08-26 02:14:35','HenryZone',43,'2015-10-15 12:00:45','::1'),
 (20,'MasaBerlakuAnggota','4',33,'2015-08-26 02:14:35','HenryZone',43,'2015-10-15 12:00:45','::1'),
 (21,'BiayaPendaftaran','1',33,'2015-08-26 02:14:35','HenryZone',33,'2015-08-26 02:14:35',NULL),
 (22,'BiayaPerpanjangan','1',33,'2015-08-26 02:14:35','HenryZone',33,'2015-08-26 02:14:35',NULL),
 (23,'FormEntriKatalog','Advance',33,'2015-08-26 00:00:00','DeniPC',33,'2015-09-03 11:41:44','::1'),
 (24,'FormEntriKoleksi','Simple',33,'2015-08-26 00:00:00','DeniPC',33,'2015-08-27 13:42:27','::1'),
 (25,'NamaLokasiPerpustakaan','Jl. Moh. Hatta No. 718',33,NULL,NULL,43,'2015-12-16 15:40:41','::1'),
 (26,'AuthorityDataLastDate','2015-12-14 00:00:00 ',33,NULL,NULL,33,NULL,NULL),
 (27,'IsActivatingImportingAuthorityData','0',33,NULL,NULL,33,NULL,NULL),
 (28,'TipeMaksKoleksiDapatPinjam','Khusus',33,NULL,NULL,43,'2015-10-02 02:46:43','::1'),
 (29,'TipePenomoranAnggota','3',33,NULL,NULL,43,'2015-10-15 12:00:45','::1'),
 (30,'KartuAnggota','3',33,NULL,NULL,33,NULL,NULL),
 (31,'SumberPengkatalogan','JKPNPNA',33,NULL,NULL,33,NULL,NULL),
 (32,'IsCetakSlipPeminjaman','1',33,NULL,NULL,43,'2015-10-02 02:46:44','::1'),
 (33,'IsCetakSlipPengembalian','1',33,NULL,NULL,43,'2015-10-02 02:46:44','::1'),
 (34,'IsCetakSlipPerpanjangan','1',33,NULL,NULL,43,'2015-10-02 02:46:44','::1'),
 (35,'IsCetakSlipPelanggaran','1',33,NULL,NULL,43,'2015-10-02 02:46:44','::1'),
 (36,'IsCetakSlipPendaftaran','1',33,NULL,NULL,43,'2015-10-02 02:46:44','::1'),
 (37,'IsUseKop','1',33,NULL,NULL,43,'2015-12-16 15:40:41','::1'),
 (38,'IMAGES_BELAKANG','bg_cardmemberbelakang.png',33,NULL,NULL,NULL,NULL,NULL),
 (39,'ShowKoleksiUnggulan','TRUE',33,NULL,NULL,NULL,NULL,NULL),
 (40,'ShowKoleksiTerbaru','TRUE',33,'2015-11-10 10:57:42',NULL,46,NULL,NULL),
 (41,'ShowKoleksiSeringDipinjam','TRUE',33,'2015-11-10 10:57:47',NULL,46,NULL,NULL),
 (42,'KoleksiUnggulanShow','8',33,'2015-11-10 10:57:51',NULL,46,NULL,NULL),
 (43,'KoleksiTerbaruShow','8',33,NULL,NULL,NULL,NULL,NULL),
 (44,'KoleksiSeringDipinjamShow','8',33,NULL,NULL,NULL,NULL,NULL),
 (45,'JumlahBookingMaksimal','4',33,NULL,NULL,NULL,NULL,NULL),
 (46,'BookingExpired','4',33,NULL,NULL,NULL,NULL,NULL),
 (47,'IsActivatingKII','0',33,NULL,NULL,NULL,NULL,NULL),
 (48,'IsKIIActivated','1',33,NULL,NULL,NULL,NULL,NULL),
 (49,'KIICode','XUFZRWS78BHEVLA9365C',33,NULL,NULL,NULL,NULL,NULL),
 (50,'KIILastUploadDate','2008-02-11 00:00:00 ',33,NULL,NULL,NULL,NULL,NULL),
 (51,'BranchCode',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (52,'FormatNomorInduk','{PUS/}|1|3|0|0',NULL,NULL,NULL,43,'2015-12-30 10:16:17','::1'),
 (53,'FormatNomorRFID','No. Induk',NULL,NULL,NULL,43,'2015-12-30 10:16:17','::1'),
 (54,'AudioBukutamu','selamat-datang.mp3',NULL,NULL,NULL,46,'2015-12-08 15:20:33','127.0.0.1'),
 (55,'JaminanUangLoker','1',NULL,NULL,NULL,NULL,NULL,NULL),
 (56,'JaminanIdentitasLoker','1',NULL,NULL,NULL,NULL,NULL,NULL),
 (57,'CetakBuktiTransaksi','1',NULL,NULL,NULL,NULL,NULL,NULL),
 (58,'CetakBuktiPelanggaran','1',NULL,NULL,NULL,NULL,NULL,NULL),
 (59,'IsMemberAllowedToBorrowMultipleLocker','1',NULL,NULL,NULL,NULL,NULL,NULL),
 (60,'IsBookingActivated','TRUE',NULL,NULL,NULL,NULL,NULL,NULL),
 (61,'FacedAuthorMax','15',NULL,NULL,NULL,NULL,NULL,NULL),
 (62,'FacedAuthorMin','10',NULL,NULL,NULL,NULL,NULL,NULL),
 (63,'FacedPublisherMax','15',NULL,NULL,NULL,NULL,NULL,NULL),
 (64,'FacedPublisherMin','10',NULL,NULL,NULL,NULL,NULL,NULL),
 (65,'FacedPublishLocationMax','15',NULL,NULL,NULL,NULL,NULL,NULL),
 (66,'FacedPublishLocationMin','10',NULL,NULL,NULL,NULL,NULL,NULL),
 (67,'FacedPublishYearMax','15',NULL,NULL,NULL,NULL,NULL,NULL),
 (68,'FacedPublishYearMin','10',NULL,NULL,NULL,NULL,NULL,NULL),
 (69,'FacedSubjectMax','15',NULL,NULL,NULL,NULL,NULL,NULL),
 (70,'FacedSubjectMin','10',NULL,NULL,NULL,NULL,NULL,NULL),
 (71,'UsulanKoleksi','TRUE',NULL,NULL,NULL,NULL,NULL,NULL),
 (72,'SmsJatuhTempoAktif','TRUE',NULL,NULL,NULL,NULL,NULL,NULL),
 (73,'SmsJatuhTempoJam','11:58',NULL,NULL,NULL,NULL,NULL,NULL),
 (74,'SmsJatuhTempoPesan','isi pesan \r\nudah jatuh tempo ni bro. balikin dong bukunya',NULL,NULL,NULL,NULL,NULL,NULL),
 (75,'SmsBelumJatuhTempoAktif','TRUE',NULL,NULL,NULL,NULL,NULL,NULL),
 (76,'SmsBelumJatuhTempoJam','11:10',NULL,NULL,NULL,NULL,NULL,NULL),
 (77,'SmsBelumJatuhTempoPesan','Anggota yang terhormat, Buku yang anda pinjam akan habis masa pinjamnya. harap segera dikembalikan ke perpusnas ya. terima kasih',NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'JedaBelumJatuhTempo','1',NULL,NULL,NULL,NULL,NULL,NULL),
 (79,'JedaJatuhTempo','3',NULL,NULL,NULL,NULL,NULL,NULL),
 (80,'NomorIndukCounter','0005',NULL,NULL,NULL,33,'2016-04-29 14:26:43','192.168.0.1'),
 (81,'ShowKoleksiSeringDipinjamLKD','TRUE',NULL,NULL,NULL,NULL,NULL,NULL),
 (82,'KoleksiSeringDipinjamShowLKD','Populer',NULL,NULL,NULL,NULL,NULL,NULL),
 (83,'ActivationCode','PPmat3MrPsOE0eS4iw-v93USer879ART_1460625394',NULL,NULL,NULL,NULL,NULL,NULL);


--
-- Definition of table `smslogs`
--

CREATE TABLE `smslogs` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `recieverID` double DEFAULT NULL,
  `phoneNumber` varchar(20) DEFAULT NULL,
  `Text` text,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `recieverID_IDX` (`recieverID`),
  KEY `phoneNumber_IDX` (`phoneNumber`),
  KEY `updateby` (`CreateBy`),
  KEY `createby` (`UpdateBy`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `smslogs`
--



--
-- Definition of table `status_anggota`
--

CREATE TABLE `status_anggota` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `Nama` varchar(30) COLLATE latin1_general_ci NOT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) COLLATE latin1_general_ci DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) COLLATE latin1_general_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `status_anggota_createby` (`CreateBy`),
  KEY `status_anggota_updateby` (`UpdateBy`),
  CONSTRAINT `status_anggota_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `status_anggota_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

--
-- Dumping data for table `status_anggota`
--

INSERT INTO `status_anggota` (`id`,`Nama`,`CreateBy`,`CreateDate`,`CreateTerminal`,`UpdateBy`,`UpdateDate`,`UpdateTerminal`) VALUES 
 (1,'Baru',NULL,NULL,NULL,NULL,NULL,NULL),
 (2,'Menunggu',NULL,NULL,NULL,NULL,NULL,NULL),
 (3,'Aktif',NULL,NULL,NULL,NULL,NULL,NULL),
 (4,'Nonaktif',NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Suspend',NULL,NULL,NULL,NULL,NULL,NULL),
 (6,'Bebas Pustaka',NULL,NULL,NULL,NULL,NULL,NULL),
 (7,'ACTIVE',NULL,'2016-03-21 11:12:41','192.168.0.1',NULL,'2016-03-21 11:12:41','192.168.0.1');


--
-- Definition of table `stockopname`
--

CREATE TABLE `stockopname` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `ProjectName` varchar(100) NOT NULL,
  `TglMulai` datetime DEFAULT NULL,
  `Tahun` int(11) NOT NULL,
  `Koordinator` varchar(100) NOT NULL,
  `Keterangan` varchar(255) DEFAULT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `stockopname_createby` (`CreateBy`),
  KEY `stockopname_updateby` (`UpdateBy`),
  CONSTRAINT `stockopname_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `stockopname_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `stockopname`
--



--
-- Definition of table `stockopnamedetail`
--

CREATE TABLE `stockopnamedetail` (
  `ID` double NOT NULL AUTO_INCREMENT,
  `StockOpnameID` int(11) NOT NULL,
  `CollectionID` double NOT NULL,
  `PrevLocationID` int(11) DEFAULT NULL,
  `CurrentLocationID` int(11) DEFAULT NULL,
  `PrevStatusID` int(11) DEFAULT NULL,
  `CurrentStatusID` int(11) DEFAULT NULL,
  `PrevCollectionRuleID` int(11) DEFAULT NULL,
  `CurrentCollectionRuleID` int(11) DEFAULT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `stockopnamedetail_stockopname` (`StockOpnameID`),
  KEY `stockopnamedetail_collection` (`CollectionID`),
  KEY `stockopnamedetail_location1` (`PrevLocationID`),
  KEY `stockopnamedetail_location2` (`CurrentLocationID`),
  KEY `stockopnamedetail_collectionrule1` (`PrevCollectionRuleID`),
  KEY `stockopnamedetail_collectionrule2` (`CurrentCollectionRuleID`),
  KEY `stockopnamedetail_colstatus1` (`PrevStatusID`),
  KEY `stockopnamedetail_colstatus2` (`CurrentStatusID`),
  KEY `stockopnamedetail_createby` (`CreateBy`),
  KEY `stockopnamedetail_updateby` (`UpdateBy`),
  CONSTRAINT `stockopnamedetail_collection` FOREIGN KEY (`CollectionID`) REFERENCES `collections` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `stockopnamedetail_collectionrule1` FOREIGN KEY (`PrevCollectionRuleID`) REFERENCES `collectionrules` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `stockopnamedetail_collectionrule2` FOREIGN KEY (`CurrentCollectionRuleID`) REFERENCES `collectionrules` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `stockopnamedetail_colstatus1` FOREIGN KEY (`PrevStatusID`) REFERENCES `collectionstatus` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `stockopnamedetail_colstatus2` FOREIGN KEY (`CurrentStatusID`) REFERENCES `collectionstatus` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `stockopnamedetail_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `stockopnamedetail_location1` FOREIGN KEY (`PrevLocationID`) REFERENCES `locations` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `stockopnamedetail_location2` FOREIGN KEY (`CurrentLocationID`) REFERENCES `locations` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `stockopnamedetail_stockopname` FOREIGN KEY (`StockOpnameID`) REFERENCES `stockopname` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `stockopnamedetail_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `stockopnamedetail`
--



--
-- Definition of table `sumbangan`
--

CREATE TABLE `sumbangan` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Member_id` double DEFAULT NULL,
  `Jumlah` decimal(10,0) DEFAULT '0',
  `Keterangan` varchar(45) DEFAULT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `sumbangan_member` (`Member_id`),
  KEY `sumbangan_createby` (`CreateBy`),
  KEY `sumbangan_updateby` (`UpdateBy`),
  KEY `sumbangan_createdate` (`CreateDate`),
  CONSTRAINT `sumbangan_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `sumbangan_member` FOREIGN KEY (`Member_id`) REFERENCES `members` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `sumbangan_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `sumbangan`
--



--
-- Definition of table `sumbangan_koleksi`
--

CREATE TABLE `sumbangan_koleksi` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Sumbangan_id` int(11) DEFAULT NULL,
  `Collection_id` double DEFAULT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `sumbangan_koleksi_collection_idx` (`Collection_id`),
  KEY `sumbangan_koleksi_sumbangan_idx` (`Sumbangan_id`) USING BTREE,
  KEY `sumbangan_koleksi_createby` (`CreateBy`),
  KEY `sumbangan_koleksi_updateby` (`UpdateBy`),
  CONSTRAINT `sumbangan_koleksi_collection` FOREIGN KEY (`Collection_id`) REFERENCES `collections` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `sumbangan_koleksi_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `sumbangan_koleksi_sumbangan` FOREIGN KEY (`Sumbangan_id`) REFERENCES `sumbangan` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `sumbangan_koleksi_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `sumbangan_koleksi`
--



--
-- Definition of table `survey`
--

CREATE TABLE `survey` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `NamaSurvey` varchar(200) NOT NULL,
  `TanggalMulai` datetime NOT NULL,
  `TanggalSelesai` datetime NOT NULL,
  `IsActive` bit(1) DEFAULT b'0',
  `NomorUrut` int(11) DEFAULT '99',
  `TargetSurvey` int(11) DEFAULT '0' COMMENT '0: Semua, 1: Anggota',
  `HasilSurveyShow` int(11) DEFAULT '0' COMMENT '0: Back Office dan Modul Survey, 1: Back Office',
  `RedaksiAwal` text,
  `RedaksiAkhir` text,
  `Keterangan` varchar(255) DEFAULT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `survey_createby_idx` (`CreateBy`),
  KEY `survey_updateby_idx` (`UpdateBy`),
  CONSTRAINT `survey_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `survey_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `survey`
--



--
-- Definition of table `survey_isian`
--

CREATE TABLE `survey_isian` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Survey_Pertanyaan_id` int(11) DEFAULT NULL,
  `Sesi` varchar(255) DEFAULT NULL,
  `MemberNo` varchar(50) DEFAULT NULL,
  `Isian` text,
  PRIMARY KEY (`ID`),
  KEY `survey_isian_pertanyaan_idx` (`Survey_Pertanyaan_id`),
  KEY `survey_isian_sesi` (`Sesi`),
  CONSTRAINT `survey_isian_pertanyaan` FOREIGN KEY (`Survey_Pertanyaan_id`) REFERENCES `survey_pertanyaan` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `survey_isian`
--



--
-- Definition of table `survey_pertanyaan`
--

CREATE TABLE `survey_pertanyaan` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Survey_id` int(11) DEFAULT NULL,
  `Pertanyaan` text NOT NULL,
  `JenisPertanyaan` varchar(20) DEFAULT 'Pilihan' COMMENT 'Pilihan/isian',
  `Orientation` varchar(20) DEFAULT 'Vertikal' COMMENT 'Vertikal/Horisontal',
  `IsMandatory` bit(1) DEFAULT b'1',
  `IsCanMultipleAnswer` bit(1) DEFAULT b'0',
  `NoUrut` int(11) DEFAULT '1',
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `survey_pertanyaan_survey_idx` (`Survey_id`),
  KEY `survey_pertanyaan_createby_idx` (`CreateBy`),
  KEY `survey_pertanyaan_updateby_idx` (`UpdateBy`),
  KEY `survey_pertanyaan_nourut` (`NoUrut`),
  KEY `survey_pertanyaan_jenis` (`JenisPertanyaan`),
  CONSTRAINT `survey_pertanyaan_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `survey_pertanyaan_survey` FOREIGN KEY (`Survey_id`) REFERENCES `survey` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `survey_pertanyaan_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `survey_pertanyaan`
--



--
-- Definition of table `survey_pilihan`
--

CREATE TABLE `survey_pilihan` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Survey_Pertanyaan_id` int(11) DEFAULT NULL,
  `Pilihan` text NOT NULL,
  `ChoosenCount` int(11) DEFAULT '0',
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `survey_pilihan_survey_pertanyaan_idx` (`Survey_Pertanyaan_id`),
  KEY `survey_pilihan_createby_idx` (`CreateBy`),
  KEY `survey_pilihan_updateby_idx` (`UpdateBy`),
  CONSTRAINT `survey_pilihan_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `survey_pilihan_survey_pertanyaan` FOREIGN KEY (`Survey_Pertanyaan_id`) REFERENCES `survey_pertanyaan` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `survey_pilihan_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `survey_pilihan`
--



--
-- Definition of table `survey_pilihan_sesi`
--

CREATE TABLE `survey_pilihan_sesi` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Survey_Pilihan_id` int(11) DEFAULT NULL,
  `MemberNo` varchar(50) DEFAULT NULL,
  `Sesi` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `survey_pilihan_sesi_pilihan_idx` (`Survey_Pilihan_id`),
  KEY `survey_pilihan_sesi` (`Sesi`),
  CONSTRAINT `survey_pilihan_sesi_pilihan` FOREIGN KEY (`Survey_Pilihan_id`) REFERENCES `survey_pilihan` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `survey_pilihan_sesi`
--



--
-- Definition of table `tempnoinduk`
--

CREATE TABLE `tempnoinduk` (
  `ID` double NOT NULL AUTO_INCREMENT,
  `NoInduk` varchar(50) NOT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `tempnoinduk_createby` (`CreateBy`),
  KEY `tempnoinduk_updateby` (`UpdateBy`),
  CONSTRAINT `tempnoinduk_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `tempnoinduk_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=1851 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tempnoinduk`
--

INSERT INTO `tempnoinduk` (`ID`,`NoInduk`,`CreateBy`,`CreateDate`,`CreateTerminal`,`UpdateBy`,`UpdateDate`,`UpdateTerminal`) VALUES 
 (571,'0001/PN/2015',43,'2015-12-30 10:14:25','::1',NULL,NULL,NULL),
 (572,'0001/PN/2016',46,'2016-02-16 11:59:58','::1',46,'2016-02-16 11:59:58','::1'),
 (573,'0001/PN/2016',46,'2016-02-26 22:05:08','192.168.0.1',46,'2016-02-26 22:05:08','192.168.0.1'),
 (574,'0001/PN/2016',46,'2016-02-26 22:05:41','192.168.0.1',46,'2016-02-26 22:05:41','192.168.0.1'),
 (575,'0001/PN/2016',46,'2016-02-26 22:07:09','192.168.0.1',46,'2016-02-26 22:07:09','192.168.0.1'),
 (576,'0001/PN/2016',46,'2016-02-26 22:07:32','192.168.0.1',46,'2016-02-26 22:07:32','192.168.0.1'),
 (577,'0001/PN/2016',NULL,'2016-02-26 22:21:54','192.168.0.1',NULL,'2016-02-26 22:21:54','192.168.0.1'),
 (578,'0001/PN/2016',NULL,'2016-02-26 22:26:34','192.168.0.1',NULL,'2016-02-26 22:26:34','192.168.0.1'),
 (579,'0001/PN/2016',NULL,'2016-02-26 23:00:53','192.168.0.1',NULL,'2016-02-26 23:00:53','192.168.0.1'),
 (580,'0001/PN/2016',NULL,'2016-02-26 23:03:03','192.168.0.1',NULL,'2016-02-26 23:03:03','192.168.0.1'),
 (581,'0001/PN/2016',46,'2016-02-26 23:17:08','192.168.0.1',46,'2016-02-26 23:17:08','192.168.0.1'),
 (582,'0001/PN/2016',33,'2016-02-27 21:53:17','192.168.0.1',33,'2016-02-27 21:53:17','192.168.0.1'),
 (583,'0001/PN/2016',NULL,'2016-02-28 16:03:13','192.168.0.1',NULL,'2016-02-28 16:03:13','192.168.0.1'),
 (584,'0001/PN/2016',NULL,'2016-02-29 08:19:05','192.168.0.1',NULL,'2016-02-29 08:19:05','192.168.0.1'),
 (585,'0001/PN/2016',NULL,'2016-02-29 08:34:45','192.168.0.1',NULL,'2016-02-29 08:34:45','192.168.0.1'),
 (586,'0001/PN/2016',NULL,'2016-02-29 08:56:22','192.168.0.1',NULL,'2016-02-29 08:56:22','192.168.0.1'),
 (587,'0001/PN/2016',NULL,'2016-02-29 08:56:58','192.168.0.1',NULL,'2016-02-29 08:56:58','192.168.0.1'),
 (588,'0001/PN/2016',NULL,'2016-02-29 13:29:09','192.168.0.1',NULL,'2016-02-29 13:29:09','192.168.0.1'),
 (589,'0001/PN/2016',NULL,'2016-02-29 13:37:54','192.168.0.1',NULL,'2016-02-29 13:37:54','192.168.0.1'),
 (590,'0001/PN/2016',NULL,'2016-02-29 13:45:42','192.168.0.1',NULL,'2016-02-29 13:45:42','192.168.0.1'),
 (591,'0001/PN/2016',NULL,'2016-02-29 13:47:19','192.168.0.1',NULL,'2016-02-29 13:47:19','192.168.0.1'),
 (592,'0001/PN/2016',NULL,'2016-02-29 13:47:20','192.168.0.1',NULL,'2016-02-29 13:47:20','192.168.0.1'),
 (593,'0001/PN/2016',NULL,'2016-02-29 13:48:10','192.168.0.1',NULL,'2016-02-29 13:48:10','192.168.0.1'),
 (594,'0001/PN/2016',NULL,'2016-02-29 13:48:19','192.168.0.1',NULL,'2016-02-29 13:48:19','192.168.0.1'),
 (595,'0001/PN/2016',NULL,'2016-02-29 13:48:54','192.168.0.1',NULL,'2016-02-29 13:48:54','192.168.0.1'),
 (596,'0002/PN/2016',NULL,'2016-02-29 14:02:16','192.168.0.1',NULL,'2016-02-29 14:02:16','192.168.0.1'),
 (597,'0002/PN/2016',NULL,'2016-02-29 14:03:49','192.168.0.1',NULL,'2016-02-29 14:03:49','192.168.0.1'),
 (598,'0002/PN/2016',NULL,'2016-02-29 14:07:32','192.168.0.1',NULL,'2016-02-29 14:07:32','192.168.0.1'),
 (599,'0002/PN/2016',NULL,'2016-02-29 14:16:15','192.168.0.1',NULL,'2016-02-29 14:16:15','192.168.0.1'),
 (600,'0002/PN/2016',NULL,'2016-02-29 14:23:26','192.168.0.1',NULL,'2016-02-29 14:23:26','192.168.0.1'),
 (601,'0002/PN/2016',NULL,'2016-02-29 14:27:57','192.168.0.1',NULL,'2016-02-29 14:27:57','192.168.0.1'),
 (602,'0002/PN/2016',NULL,'2016-02-29 14:28:04','192.168.0.1',NULL,'2016-02-29 14:28:04','192.168.0.1'),
 (603,'0002/PN/2016',NULL,'2016-02-29 14:28:51','192.168.0.1',NULL,'2016-02-29 14:28:51','192.168.0.1'),
 (604,'0002/PN/2016',NULL,'2016-02-29 14:28:57','192.168.0.1',NULL,'2016-02-29 14:28:57','192.168.0.1'),
 (605,'0002/PN/2016',NULL,'2016-02-29 14:32:05','192.168.0.1',NULL,'2016-02-29 14:32:05','192.168.0.1'),
 (606,'0002/PN/2016',NULL,'2016-02-29 14:36:19','192.168.0.1',NULL,'2016-02-29 14:36:19','192.168.0.1'),
 (607,'0002/PN/2016',NULL,'2016-02-29 14:39:17','192.168.0.1',NULL,'2016-02-29 14:39:17','192.168.0.1'),
 (608,'0002/PN/2016',NULL,'2016-02-29 14:39:21','192.168.0.1',NULL,'2016-02-29 14:39:21','192.168.0.1'),
 (609,'0002/PN/2016',NULL,'2016-02-29 14:45:12','192.168.0.1',NULL,'2016-02-29 14:45:12','192.168.0.1'),
 (610,'0002/PN/2016',NULL,'2016-02-29 14:46:28','192.168.0.1',NULL,'2016-02-29 14:46:28','192.168.0.1'),
 (611,'0002/PN/2016',NULL,'2016-02-29 14:48:35','192.168.0.1',NULL,'2016-02-29 14:48:35','192.168.0.1'),
 (612,'0002/PN/2016',NULL,'2016-02-29 14:48:43','192.168.0.1',NULL,'2016-02-29 14:48:43','192.168.0.1'),
 (613,'0002/PN/2016',NULL,'2016-02-29 14:49:06','192.168.0.1',NULL,'2016-02-29 14:49:06','192.168.0.1'),
 (614,'0002/PN/2016',NULL,'2016-02-29 14:49:08','192.168.0.1',NULL,'2016-02-29 14:49:08','192.168.0.1'),
 (615,'0002/PN/2016',NULL,'2016-02-29 14:49:42','192.168.0.1',NULL,'2016-02-29 14:49:42','192.168.0.1'),
 (616,'0002/PN/2016',NULL,'2016-02-29 14:49:51','192.168.0.1',NULL,'2016-02-29 14:49:51','192.168.0.1'),
 (617,'0002/PN/2016',NULL,'2016-02-29 15:10:44','192.168.0.1',NULL,'2016-02-29 15:10:44','192.168.0.1'),
 (618,'0002/PN/2016',NULL,'2016-02-29 15:10:48','192.168.0.1',NULL,'2016-02-29 15:10:48','192.168.0.1'),
 (619,'0003/PN/2016',NULL,'2016-02-29 15:11:46','192.168.0.1',NULL,'2016-02-29 15:11:46','192.168.0.1'),
 (620,'0003/PN/2016',NULL,'2016-02-29 15:13:58','192.168.0.1',NULL,'2016-02-29 15:13:58','192.168.0.1'),
 (621,'0003/PN/2016',NULL,'2016-02-29 15:14:34','192.168.0.1',NULL,'2016-02-29 15:14:34','192.168.0.1'),
 (622,'0003/PN/2016',NULL,'2016-02-29 15:21:31','192.168.0.1',NULL,'2016-02-29 15:21:31','192.168.0.1'),
 (623,'0004/PN/2016',NULL,'2016-02-29 15:22:04','192.168.0.1',NULL,'2016-02-29 15:22:04','192.168.0.1'),
 (624,'0005/PN/2016',NULL,'2016-02-29 15:22:14','192.168.0.1',NULL,'2016-02-29 15:22:14','192.168.0.1'),
 (625,'0006/PN/2016',NULL,'2016-02-29 15:23:13','192.168.0.1',NULL,'2016-02-29 15:23:13','192.168.0.1'),
 (626,'0007/PN/2016',NULL,'2016-02-29 15:40:36','192.168.0.1',NULL,'2016-02-29 15:40:36','192.168.0.1'),
 (627,'0008/PN/2016',NULL,'2016-02-29 15:40:38','192.168.0.1',NULL,'2016-02-29 15:40:38','192.168.0.1'),
 (628,'0009/PN/2016',NULL,'2016-02-29 16:04:35','192.168.0.1',NULL,'2016-02-29 16:04:35','192.168.0.1'),
 (629,'0010/PN/2016',NULL,'2016-02-29 16:04:44','192.168.0.1',NULL,'2016-02-29 16:04:44','192.168.0.1'),
 (630,'0011/PN/2016',NULL,'2016-02-29 16:04:46','192.168.0.1',NULL,'2016-02-29 16:04:46','192.168.0.1'),
 (631,'0012/PN/2016',NULL,'2016-02-29 16:26:04','192.168.0.1',NULL,'2016-02-29 16:26:04','192.168.0.1'),
 (632,'0013/PN/2016',NULL,'2016-02-29 16:26:14','192.168.0.1',NULL,'2016-02-29 16:26:14','192.168.0.1'),
 (633,'0014/PN/2016',33,'2016-02-29 16:34:49','192.168.0.1',33,'2016-02-29 16:34:49','192.168.0.1'),
 (634,'0015/PN/2016',NULL,'2016-02-29 16:43:23','192.168.0.1',NULL,'2016-02-29 16:43:23','192.168.0.1'),
 (635,'0016/PN/2016',NULL,'2016-02-29 16:43:46','192.168.0.1',NULL,'2016-02-29 16:43:46','192.168.0.1'),
 (636,'0017/PN/2016',NULL,'2016-02-29 16:44:47','192.168.0.1',NULL,'2016-02-29 16:44:47','192.168.0.1'),
 (637,'0018/PN/2016',NULL,'2016-02-29 16:47:41','192.168.0.1',NULL,'2016-02-29 16:47:41','192.168.0.1'),
 (638,'0019/PN/2016',NULL,'2016-02-29 16:48:47','192.168.0.1',NULL,'2016-02-29 16:48:47','192.168.0.1'),
 (639,'0020/PN/2016',NULL,'2016-02-29 16:54:34','192.168.0.1',NULL,'2016-02-29 16:54:34','192.168.0.1'),
 (640,'0021/PN/2016',NULL,'2016-02-29 16:55:20','192.168.0.1',NULL,'2016-02-29 16:55:20','192.168.0.1'),
 (641,'0022/PN/2016',NULL,'2016-02-29 16:56:04','192.168.0.1',NULL,'2016-02-29 16:56:04','192.168.0.1'),
 (642,'0023/PN/2016',NULL,'2016-02-29 16:56:54','192.168.0.1',NULL,'2016-02-29 16:56:54','192.168.0.1'),
 (643,'0024/PN/2016',NULL,'2016-02-29 16:57:05','192.168.0.1',NULL,'2016-02-29 16:57:05','192.168.0.1'),
 (644,'0025/PN/2016',NULL,'2016-02-29 17:01:37','192.168.0.1',NULL,'2016-02-29 17:01:37','192.168.0.1'),
 (645,'0026/PN/2016',NULL,'2016-02-29 17:16:56','192.168.0.1',NULL,'2016-02-29 17:16:56','192.168.0.1'),
 (646,'0027/PN/2016',NULL,'2016-02-29 17:21:26','192.168.0.1',NULL,'2016-02-29 17:21:26','192.168.0.1'),
 (647,'0028/PN/2016',NULL,'2016-02-29 17:21:38','192.168.0.1',NULL,'2016-02-29 17:21:38','192.168.0.1'),
 (648,'0029/PN/2016',NULL,'2016-02-29 17:21:48','192.168.0.1',NULL,'2016-02-29 17:21:48','192.168.0.1'),
 (649,'0030/PN/2016',NULL,'2016-02-29 17:22:01','192.168.0.1',NULL,'2016-02-29 17:22:01','192.168.0.1'),
 (650,'0031/PN/2016',NULL,'2016-02-29 17:22:01','192.168.0.1',NULL,'2016-02-29 17:22:01','192.168.0.1'),
 (651,'0032/PN/2016',NULL,'2016-02-29 17:22:06','192.168.0.1',NULL,'2016-02-29 17:22:06','192.168.0.1'),
 (652,'0033/PN/2016',NULL,'2016-02-29 17:22:11','192.168.0.1',NULL,'2016-02-29 17:22:11','192.168.0.1'),
 (653,'0034/PN/2016',NULL,'2016-02-29 17:24:00','192.168.0.1',NULL,'2016-02-29 17:24:00','192.168.0.1'),
 (654,'0035/PN/2016',NULL,'2016-02-29 17:24:00','192.168.0.1',NULL,'2016-02-29 17:24:00','192.168.0.1'),
 (655,'0036/PN/2016',NULL,'2016-02-29 17:24:03','192.168.0.1',NULL,'2016-02-29 17:24:03','192.168.0.1'),
 (656,'0037/PN/2016',NULL,'2016-02-29 17:25:19','192.168.0.1',NULL,'2016-02-29 17:25:19','192.168.0.1'),
 (657,'0038/PN/2016',NULL,'2016-02-29 17:25:29','192.168.0.1',NULL,'2016-02-29 17:25:29','192.168.0.1'),
 (658,'0039/PN/2016',NULL,'2016-02-29 17:25:29','192.168.0.1',NULL,'2016-02-29 17:25:29','192.168.0.1'),
 (659,'0040/PN/2016',NULL,'2016-02-29 17:26:06','192.168.0.1',NULL,'2016-02-29 17:26:06','192.168.0.1'),
 (660,'0041/PN/2016',NULL,'2016-02-29 17:27:17','192.168.0.1',NULL,'2016-02-29 17:27:17','192.168.0.1'),
 (661,'0042/PN/2016',NULL,'2016-02-29 17:28:21','192.168.0.1',NULL,'2016-02-29 17:28:21','192.168.0.1'),
 (662,'0043/PN/2016',NULL,'2016-02-29 17:34:18','192.168.0.1',NULL,'2016-02-29 17:34:18','192.168.0.1'),
 (663,'0044/PN/2016',NULL,'2016-02-29 17:54:38','192.168.0.1',NULL,'2016-02-29 17:54:38','192.168.0.1'),
 (664,'0045/PN/2016',NULL,'2016-02-29 17:57:42','192.168.0.1',NULL,'2016-02-29 17:57:42','192.168.0.1'),
 (665,'0046/PN/2016',NULL,'2016-02-29 17:57:48','192.168.0.1',NULL,'2016-02-29 17:57:48','192.168.0.1'),
 (666,'0047/PN/2016',NULL,'2016-02-29 17:58:10','192.168.0.1',NULL,'2016-02-29 17:58:10','192.168.0.1'),
 (667,'0048/PN/2016',NULL,'2016-02-29 18:01:58','192.168.0.1',NULL,'2016-02-29 18:01:58','192.168.0.1'),
 (668,'0049/PN/2016',NULL,'2016-02-29 18:03:36','192.168.0.1',NULL,'2016-02-29 18:03:36','192.168.0.1'),
 (669,'0050/PN/2016',NULL,'2016-02-29 18:57:09','192.168.0.1',NULL,'2016-02-29 18:57:09','192.168.0.1'),
 (670,'0051/PN/2016',NULL,'2016-02-29 20:03:59','192.168.0.1',NULL,'2016-02-29 20:03:59','192.168.0.1'),
 (671,'0052/PN/2016',NULL,'2016-02-29 20:04:25','192.168.0.1',NULL,'2016-02-29 20:04:25','192.168.0.1'),
 (672,'0053/PN/2016',NULL,'2016-02-29 20:08:16','192.168.0.1',NULL,'2016-02-29 20:08:16','192.168.0.1'),
 (673,'0054/PN/2016',NULL,'2016-02-29 20:12:14','192.168.0.1',NULL,'2016-02-29 20:12:14','192.168.0.1'),
 (674,'0055/PN/2016',NULL,'2016-02-29 20:14:14','192.168.0.1',NULL,'2016-02-29 20:14:14','192.168.0.1'),
 (675,'0056/PN/2016',NULL,'2016-02-29 20:15:05','192.168.0.1',NULL,'2016-02-29 20:15:05','192.168.0.1'),
 (676,'0057/PN/2016',NULL,'2016-02-29 20:16:29','192.168.0.1',NULL,'2016-02-29 20:16:29','192.168.0.1'),
 (677,'0058/PN/2016',NULL,'2016-02-29 20:18:13','192.168.0.1',NULL,'2016-02-29 20:18:13','192.168.0.1'),
 (678,'0059/PN/2016',NULL,'2016-02-29 20:18:33','192.168.0.1',NULL,'2016-02-29 20:18:33','192.168.0.1'),
 (679,'0060/PN/2016',NULL,'2016-02-29 20:19:05','192.168.0.1',NULL,'2016-02-29 20:19:05','192.168.0.1'),
 (680,'0061/PN/2016',NULL,'2016-02-29 20:19:27','192.168.0.1',NULL,'2016-02-29 20:19:27','192.168.0.1'),
 (681,'0062/PN/2016',NULL,'2016-02-29 20:22:06','192.168.0.1',NULL,'2016-02-29 20:22:06','192.168.0.1'),
 (682,'0063/PN/2016',NULL,'2016-02-29 20:23:37','192.168.0.1',NULL,'2016-02-29 20:23:37','192.168.0.1'),
 (683,'0064/PN/2016',NULL,'2016-02-29 20:30:31','192.168.0.1',NULL,'2016-02-29 20:30:31','192.168.0.1'),
 (684,'0065/PN/2016',NULL,'2016-02-29 20:30:47','192.168.0.1',NULL,'2016-02-29 20:30:47','192.168.0.1'),
 (685,'0066/PN/2016',NULL,'2016-02-29 20:34:01','192.168.0.1',NULL,'2016-02-29 20:34:01','192.168.0.1'),
 (686,'0067/PN/2016',NULL,'2016-02-29 21:52:25','192.168.0.1',NULL,'2016-02-29 21:52:25','192.168.0.1'),
 (687,'0068/PN/2016',NULL,'2016-02-29 21:52:44','192.168.0.1',NULL,'2016-02-29 21:52:44','192.168.0.1'),
 (688,'0069/PN/2016',33,'2016-02-29 21:55:15','192.168.0.1',33,'2016-02-29 21:55:15','192.168.0.1'),
 (689,'0070/PN/2016',33,'2016-02-29 21:59:38','192.168.0.1',33,'2016-02-29 21:59:38','192.168.0.1'),
 (690,'0071/PN/2016',33,'2016-02-29 22:19:31','192.168.0.1',33,'2016-02-29 22:19:31','192.168.0.1'),
 (691,'0072/PN/2016',NULL,'2016-02-29 22:49:37','192.168.0.1',NULL,'2016-02-29 22:49:37','192.168.0.1'),
 (692,'0073/PN/2016',NULL,'2016-02-29 22:49:46','192.168.0.1',NULL,'2016-02-29 22:49:46','192.168.0.1'),
 (693,'0074/PN/2016',NULL,'2016-02-29 22:50:20','192.168.0.1',NULL,'2016-02-29 22:50:20','192.168.0.1'),
 (694,'0075/PN/2016',33,'2016-03-01 00:03:46','192.168.0.1',33,'2016-03-01 00:03:46','192.168.0.1'),
 (695,'0076/PN/2016',NULL,'2016-03-01 07:00:53','192.168.0.1',NULL,'2016-03-01 07:00:53','192.168.0.1'),
 (696,'0077/PN/2016',NULL,'2016-03-01 07:15:37','192.168.0.1',NULL,'2016-03-01 07:15:37','192.168.0.1'),
 (697,'0078/PN/2016',NULL,'2016-03-01 07:19:28','192.168.0.1',NULL,'2016-03-01 07:19:28','192.168.0.1'),
 (698,'0079/PN/2016',NULL,'2016-03-01 07:24:44','192.168.0.1',NULL,'2016-03-01 07:24:44','192.168.0.1'),
 (699,'0080/PN/2016',NULL,'2016-03-01 07:35:15','192.168.0.1',NULL,'2016-03-01 07:35:15','192.168.0.1'),
 (700,'0081/PN/2016',NULL,'2016-03-01 07:35:35','192.168.0.1',NULL,'2016-03-01 07:35:35','192.168.0.1'),
 (701,'0082/PN/2016',NULL,'2016-03-01 07:46:09','192.168.0.1',NULL,'2016-03-01 07:46:09','192.168.0.1'),
 (702,'0083/PN/2016',NULL,'2016-03-01 07:46:26','192.168.0.1',NULL,'2016-03-01 07:46:26','192.168.0.1'),
 (703,'0084/PN/2016',NULL,'2016-03-01 07:46:30','192.168.0.1',NULL,'2016-03-01 07:46:30','192.168.0.1'),
 (704,'0085/PN/2016',NULL,'2016-03-01 07:46:30','192.168.0.1',NULL,'2016-03-01 07:46:30','192.168.0.1'),
 (705,'0086/PN/2016',NULL,'2016-03-01 07:46:32','192.168.0.1',NULL,'2016-03-01 07:46:32','192.168.0.1'),
 (706,'0087/PN/2016',NULL,'2016-03-01 07:46:36','192.168.0.1',NULL,'2016-03-01 07:46:36','192.168.0.1'),
 (707,'0088/PN/2016',NULL,'2016-03-01 07:46:36','192.168.0.1',NULL,'2016-03-01 07:46:36','192.168.0.1'),
 (708,'0089/PN/2016',NULL,'2016-03-01 07:54:15','192.168.0.1',NULL,'2016-03-01 07:54:15','192.168.0.1'),
 (709,'0090/PN/2016',NULL,'2016-03-01 07:55:11','192.168.0.1',NULL,'2016-03-01 07:55:11','192.168.0.1'),
 (710,'0091/PN/2016',NULL,'2016-03-01 08:12:51','192.168.0.1',NULL,'2016-03-01 08:12:51','192.168.0.1'),
 (711,'0092/PN/2016',NULL,'2016-03-01 08:16:56','192.168.0.1',NULL,'2016-03-01 08:16:56','192.168.0.1'),
 (712,'0093/PN/2016',NULL,'2016-03-01 08:22:26','192.168.0.1',NULL,'2016-03-01 08:22:26','192.168.0.1'),
 (713,'0094/PN/2016',NULL,'2016-03-01 08:23:31','192.168.0.1',NULL,'2016-03-01 08:23:31','192.168.0.1'),
 (714,'0095/PN/2016',NULL,'2016-03-01 08:26:52','192.168.0.1',NULL,'2016-03-01 08:26:52','192.168.0.1'),
 (715,'0096/PN/2016',NULL,'2016-03-01 08:27:54','192.168.0.1',NULL,'2016-03-01 08:27:54','192.168.0.1'),
 (716,'0097/PN/2016',NULL,'2016-03-01 08:28:22','192.168.0.1',NULL,'2016-03-01 08:28:22','192.168.0.1'),
 (717,'0098/PN/2016',NULL,'2016-03-01 08:30:31','192.168.0.1',NULL,'2016-03-01 08:30:31','192.168.0.1'),
 (718,'0099/PN/2016',NULL,'2016-03-01 08:30:35','192.168.0.1',NULL,'2016-03-01 08:30:35','192.168.0.1'),
 (719,'0100/PN/2016',NULL,'2016-03-01 08:30:43','192.168.0.1',NULL,'2016-03-01 08:30:43','192.168.0.1'),
 (720,'0101/PN/2016',NULL,'2016-03-01 08:31:00','192.168.0.1',NULL,'2016-03-01 08:31:00','192.168.0.1'),
 (721,'0102/PN/2016',NULL,'2016-03-01 08:31:00','192.168.0.1',NULL,'2016-03-01 08:31:00','192.168.0.1'),
 (722,'0103/PN/2016',NULL,'2016-03-01 08:32:22','192.168.0.1',NULL,'2016-03-01 08:32:22','192.168.0.1'),
 (723,'0104/PN/2016',NULL,'2016-03-01 08:33:42','192.168.0.1',NULL,'2016-03-01 08:33:42','192.168.0.1'),
 (724,'0105/PN/2016',NULL,'2016-03-01 08:38:07','192.168.0.1',NULL,'2016-03-01 08:38:07','192.168.0.1'),
 (725,'0106/PN/2016',NULL,'2016-03-01 08:47:06','192.168.0.1',NULL,'2016-03-01 08:47:06','192.168.0.1'),
 (726,'0107/PN/2016',NULL,'2016-03-01 08:48:23','192.168.0.1',NULL,'2016-03-01 08:48:23','192.168.0.1'),
 (727,'0108/PN/2016',NULL,'2016-03-01 08:48:54','192.168.0.1',NULL,'2016-03-01 08:48:54','192.168.0.1'),
 (728,'0109/PN/2016',NULL,'2016-03-01 08:53:16','192.168.0.1',NULL,'2016-03-01 08:53:16','192.168.0.1'),
 (729,'0110/PN/2016',NULL,'2016-03-01 08:53:36','192.168.0.1',NULL,'2016-03-01 08:53:36','192.168.0.1'),
 (730,'0111/PN/2016',NULL,'2016-03-01 08:59:50','192.168.0.1',NULL,'2016-03-01 08:59:50','192.168.0.1'),
 (731,'0112/PN/2016',NULL,'2016-03-01 09:02:41','192.168.0.1',NULL,'2016-03-01 09:02:41','192.168.0.1'),
 (732,'0113/PN/2016',NULL,'2016-03-01 09:09:40','192.168.0.1',NULL,'2016-03-01 09:09:40','192.168.0.1'),
 (733,'0114/PN/2016',NULL,'2016-03-01 09:09:54','192.168.0.1',NULL,'2016-03-01 09:09:54','192.168.0.1'),
 (734,'0115/PN/2016',NULL,'2016-03-01 11:07:19','192.168.0.1',NULL,'2016-03-01 11:07:19','192.168.0.1'),
 (735,'0116/PN/2016',46,'2016-03-01 11:31:32','192.168.0.1',46,'2016-03-01 11:31:32','192.168.0.1'),
 (736,'0117/PN/2016',NULL,'2016-03-01 15:07:06','192.168.0.1',NULL,'2016-03-01 15:07:06','192.168.0.1'),
 (737,'0118/PN/2016',NULL,'2016-03-01 16:23:26','192.168.0.1',NULL,'2016-03-01 16:23:26','192.168.0.1'),
 (738,'0119/PN/2016',NULL,'2016-03-01 16:23:39','192.168.0.1',NULL,'2016-03-01 16:23:39','192.168.0.1'),
 (739,'0120/PN/2016',NULL,'2016-03-01 16:23:48','192.168.0.1',NULL,'2016-03-01 16:23:48','192.168.0.1'),
 (740,'0121/PN/2016',NULL,'2016-03-01 16:24:55','192.168.0.1',NULL,'2016-03-01 16:24:55','192.168.0.1'),
 (741,'0122/PN/2016',NULL,'2016-03-01 16:25:00','192.168.0.1',NULL,'2016-03-01 16:25:00','192.168.0.1'),
 (742,'0123/PN/2016',NULL,'2016-03-01 16:25:12','192.168.0.1',NULL,'2016-03-01 16:25:12','192.168.0.1'),
 (743,'0124/PN/2016',NULL,'2016-03-01 16:26:04','192.168.0.1',NULL,'2016-03-01 16:26:04','192.168.0.1'),
 (744,'0125/PN/2016',NULL,'2016-03-01 16:40:10','192.168.0.1',NULL,'2016-03-01 16:40:10','192.168.0.1'),
 (745,'0126/PN/2016',NULL,'2016-03-01 16:41:58','192.168.0.1',NULL,'2016-03-01 16:41:58','192.168.0.1'),
 (746,'0127/PN/2016',NULL,'2016-03-01 17:07:13','192.168.0.1',NULL,'2016-03-01 17:07:13','192.168.0.1'),
 (747,'0128/PN/2016',NULL,'2016-03-01 17:07:18','192.168.0.1',NULL,'2016-03-01 17:07:18','192.168.0.1'),
 (748,'0129/PN/2016',NULL,'2016-03-01 17:07:25','192.168.0.1',NULL,'2016-03-01 17:07:25','192.168.0.1'),
 (749,'0130/PN/2016',NULL,'2016-03-01 17:07:53','192.168.0.1',NULL,'2016-03-01 17:07:53','192.168.0.1'),
 (750,'0131/PN/2016',NULL,'2016-03-01 17:07:59','192.168.0.1',NULL,'2016-03-01 17:07:59','192.168.0.1'),
 (751,'0132/PN/2016',NULL,'2016-03-01 17:08:04','192.168.0.1',NULL,'2016-03-01 17:08:04','192.168.0.1'),
 (752,'0133/PN/2016',NULL,'2016-03-01 17:08:18','192.168.0.1',NULL,'2016-03-01 17:08:18','192.168.0.1'),
 (753,'0134/PN/2016',NULL,'2016-03-01 23:07:02','192.168.0.1',NULL,'2016-03-01 23:07:02','192.168.0.1'),
 (754,'0135/PN/2016',NULL,'2016-03-01 23:08:48','192.168.0.1',NULL,'2016-03-01 23:08:48','192.168.0.1'),
 (755,'0136/PN/2016',NULL,'2016-03-01 23:09:09','192.168.0.1',NULL,'2016-03-01 23:09:09','192.168.0.1'),
 (756,'0137/PN/2016',NULL,'2016-03-01 23:14:23','192.168.0.1',NULL,'2016-03-01 23:14:23','192.168.0.1'),
 (757,'0138/PN/2016',NULL,'2016-03-01 23:15:57','192.168.0.1',NULL,'2016-03-01 23:15:57','192.168.0.1'),
 (758,'0139/PN/2016',NULL,'2016-03-01 23:16:57','192.168.0.1',NULL,'2016-03-01 23:16:57','192.168.0.1'),
 (759,'0140/PN/2016',NULL,'2016-03-01 23:17:46','192.168.0.1',NULL,'2016-03-01 23:17:46','192.168.0.1'),
 (760,'0141/PN/2016',NULL,'2016-03-01 23:18:08','192.168.0.1',NULL,'2016-03-01 23:18:08','192.168.0.1'),
 (761,'0142/PN/2016',NULL,'2016-03-01 23:24:08','192.168.0.1',NULL,'2016-03-01 23:24:08','192.168.0.1'),
 (762,'0143/PN/2016',NULL,'2016-03-01 23:25:36','192.168.0.1',NULL,'2016-03-01 23:25:36','192.168.0.1'),
 (763,'0144/PN/2016',NULL,'2016-03-01 23:25:51','192.168.0.1',NULL,'2016-03-01 23:25:51','192.168.0.1'),
 (764,'0145/PN/2016',NULL,'2016-03-01 23:26:20','192.168.0.1',NULL,'2016-03-01 23:26:20','192.168.0.1'),
 (765,'0146/PN/2016',NULL,'2016-03-01 23:27:05','192.168.0.1',NULL,'2016-03-01 23:27:05','192.168.0.1'),
 (766,'0147/PN/2016',NULL,'2016-03-01 23:27:35','192.168.0.1',NULL,'2016-03-01 23:27:35','192.168.0.1'),
 (767,'0148/PN/2016',NULL,'2016-03-02 09:25:14','192.168.0.1',NULL,'2016-03-02 09:25:14','192.168.0.1'),
 (768,'0149/PN/2016',NULL,'2016-03-02 09:46:27','192.168.0.1',NULL,'2016-03-02 09:46:27','192.168.0.1'),
 (769,'0150/PN/2016',NULL,'2016-03-02 09:46:52','192.168.0.1',NULL,'2016-03-02 09:46:52','192.168.0.1'),
 (770,'0151/PN/2016',NULL,'2016-03-02 09:47:04','192.168.0.1',NULL,'2016-03-02 09:47:04','192.168.0.1'),
 (771,'0152/PN/2016',NULL,'2016-03-02 09:47:33','192.168.0.1',NULL,'2016-03-02 09:47:33','192.168.0.1'),
 (772,'0153/PN/2016',NULL,'2016-03-02 09:47:46','192.168.0.1',NULL,'2016-03-02 09:47:46','192.168.0.1'),
 (773,'0154/PN/2016',NULL,'2016-03-02 09:47:53','192.168.0.1',NULL,'2016-03-02 09:47:53','192.168.0.1'),
 (774,'0155/PN/2016',NULL,'2016-03-02 09:48:01','192.168.0.1',NULL,'2016-03-02 09:48:01','192.168.0.1'),
 (775,'0156/PN/2016',33,'2016-03-02 09:56:06','192.168.0.1',33,'2016-03-02 09:56:06','192.168.0.1'),
 (776,'0157/PN/2016',33,'2016-03-02 09:56:12','192.168.0.1',33,'2016-03-02 09:56:12','192.168.0.1'),
 (777,'0158/PN/2016',33,'2016-03-02 09:57:06','192.168.0.1',33,'2016-03-02 09:57:06','192.168.0.1'),
 (778,'0159/PN/2016',33,'2016-03-02 09:58:56','192.168.0.1',33,'2016-03-02 09:58:56','192.168.0.1'),
 (779,'0160/PN/2016',33,'2016-03-02 10:02:35','192.168.0.1',33,'2016-03-02 10:02:35','192.168.0.1'),
 (780,'0161/PN/2016',NULL,'2016-03-02 10:06:29','192.168.0.1',NULL,'2016-03-02 10:06:29','192.168.0.1'),
 (781,'0162/PN/2016',NULL,'2016-03-02 10:08:34','192.168.0.1',NULL,'2016-03-02 10:08:34','192.168.0.1'),
 (782,'0163/PN/2016',NULL,'2016-03-02 10:09:14','192.168.0.1',NULL,'2016-03-02 10:09:14','192.168.0.1'),
 (783,'0164/PN/2016',NULL,'2016-03-02 10:10:21','192.168.0.1',NULL,'2016-03-02 10:10:21','192.168.0.1'),
 (784,'0165/PN/2016',33,'2016-03-02 10:10:32','192.168.0.1',33,'2016-03-02 10:10:32','192.168.0.1'),
 (785,'0166/PN/2016',33,'2016-03-02 10:12:59','192.168.0.1',33,'2016-03-02 10:12:59','192.168.0.1'),
 (786,'0167/PN/2016',33,'2016-03-02 10:13:13','192.168.0.1',33,'2016-03-02 10:13:13','192.168.0.1'),
 (787,'0168/PN/2016',NULL,'2016-03-02 10:13:26','192.168.0.1',NULL,'2016-03-02 10:13:26','192.168.0.1'),
 (788,'0169/PN/2016',33,'2016-03-02 10:13:28','192.168.0.1',33,'2016-03-02 10:13:28','192.168.0.1'),
 (789,'0170/PN/2016',33,'2016-03-02 10:13:32','192.168.0.1',33,'2016-03-02 10:13:32','192.168.0.1'),
 (790,'0171/PN/2016',33,'2016-03-02 10:13:32','192.168.0.1',33,'2016-03-02 10:13:32','192.168.0.1'),
 (791,'0172/PN/2016',NULL,'2016-03-02 10:13:39','192.168.0.1',NULL,'2016-03-02 10:13:39','192.168.0.1'),
 (792,'0003/PN/2016',33,'2016-03-02 10:15:01','192.168.0.1',33,'2016-03-02 10:15:01','192.168.0.1'),
 (793,'0004/PN/2016',33,'2016-03-02 10:15:49','192.168.0.1',33,'2016-03-02 10:15:49','192.168.0.1'),
 (794,'0004/PN/2016',33,'2016-03-02 10:16:09','192.168.0.1',33,'2016-03-02 10:16:09','192.168.0.1'),
 (795,'0004/PN/2016',33,'2016-03-02 10:16:14','192.168.0.1',33,'2016-03-02 10:16:14','192.168.0.1'),
 (796,'0005/PN/2016',33,'2016-03-02 10:16:14','192.168.0.1',33,'2016-03-02 10:16:14','192.168.0.1'),
 (797,'0007/PN/2016',33,'2016-03-02 10:16:49','192.168.0.1',33,'2016-03-02 10:16:49','192.168.0.1'),
 (798,'0007/PN/2016',33,'2016-03-02 10:17:15','192.168.0.1',33,'2016-03-02 10:17:15','192.168.0.1'),
 (799,'0007/PN/2016',NULL,'2016-03-02 12:49:46','192.168.0.1',NULL,'2016-03-02 12:49:46','192.168.0.1'),
 (800,'0007/PN/2016',NULL,'2016-03-02 12:51:57','192.168.0.1',NULL,'2016-03-02 12:51:57','192.168.0.1'),
 (801,'0007/PN/2016',NULL,'2016-03-02 12:52:14','192.168.0.1',NULL,'2016-03-02 12:52:14','192.168.0.1'),
 (802,'0007/PN/2016',NULL,'2016-03-02 13:15:44','192.168.0.1',NULL,'2016-03-02 13:15:44','192.168.0.1'),
 (803,'0007/PN/2016',NULL,'2016-03-02 13:16:01','192.168.0.1',NULL,'2016-03-02 13:16:01','192.168.0.1'),
 (804,'0007/PN/2016',NULL,'2016-03-02 14:01:33','192.168.0.1',NULL,'2016-03-02 14:01:33','192.168.0.1'),
 (805,'0007/PN/2016',NULL,'2016-03-02 14:21:46','192.168.0.1',NULL,'2016-03-02 14:21:46','192.168.0.1'),
 (806,'0007/PN/2016',NULL,'2016-03-02 14:35:26','192.168.0.1',NULL,'2016-03-02 14:35:26','192.168.0.1'),
 (807,'0007/PN/2016',NULL,'2016-03-02 16:26:31','192.168.0.1',NULL,'2016-03-02 16:26:31','192.168.0.1'),
 (808,'0007/PN/2016',NULL,'2016-03-02 16:27:38','192.168.0.1',NULL,'2016-03-02 16:27:38','192.168.0.1'),
 (809,'0007/PN/2016',NULL,'2016-03-02 16:36:25','192.168.0.1',NULL,'2016-03-02 16:36:25','192.168.0.1'),
 (810,'0007/PN/2016',46,'2016-03-02 16:40:00','192.168.0.1',46,'2016-03-02 16:40:00','192.168.0.1'),
 (811,'0007/PN/2016',46,'2016-03-02 16:40:07','192.168.0.1',46,'2016-03-02 16:40:07','192.168.0.1'),
 (812,'0007/PN/2016',46,'2016-03-02 16:40:50','192.168.0.1',46,'2016-03-02 16:40:50','192.168.0.1'),
 (813,'0007/PN/2016',NULL,'2016-03-02 17:32:45','192.168.0.1',NULL,'2016-03-02 17:32:45','192.168.0.1'),
 (814,'0007/PN/2016',NULL,'2016-03-03 07:37:07','192.168.0.1',NULL,'2016-03-03 07:37:07','192.168.0.1'),
 (815,'0007/PN/2016',NULL,'2016-03-03 07:37:28','192.168.0.1',NULL,'2016-03-03 07:37:28','192.168.0.1'),
 (816,'0007/PN/2016',NULL,'2016-03-03 07:53:50','192.168.0.1',NULL,'2016-03-03 07:53:50','192.168.0.1'),
 (817,'0007/PN/2016',33,'2016-03-03 09:39:33','192.168.0.1',33,'2016-03-03 09:39:33','192.168.0.1'),
 (818,'0007/PN/2016',33,'2016-03-03 09:39:54','192.168.0.1',33,'2016-03-03 09:39:54','192.168.0.1'),
 (819,'0007/PN/2016',33,'2016-03-03 09:40:39','192.168.0.1',33,'2016-03-03 09:40:39','192.168.0.1'),
 (820,'0007/PN/2016',33,'2016-03-03 09:41:29','192.168.0.1',33,'2016-03-03 09:41:29','192.168.0.1'),
 (821,'0007/PN/2016',33,'2016-03-03 09:41:36','192.168.0.1',33,'2016-03-03 09:41:36','192.168.0.1'),
 (822,'0007/PN/2016',33,'2016-03-03 10:23:46','192.168.0.1',33,'2016-03-03 10:23:46','192.168.0.1'),
 (823,'0007/PN/2016',NULL,'2016-03-03 13:51:40','192.168.0.1',NULL,'2016-03-03 13:51:40','192.168.0.1'),
 (824,'0007/PN/2016',NULL,'2016-03-03 13:52:03','192.168.0.1',NULL,'2016-03-03 13:52:03','192.168.0.1'),
 (825,'0007/PN/2016',NULL,'2016-03-03 14:03:51','192.168.0.1',NULL,'2016-03-03 14:03:51','192.168.0.1'),
 (826,'0007/PN/2016',NULL,'2016-03-03 14:19:26','192.168.0.1',NULL,'2016-03-03 14:19:26','192.168.0.1'),
 (827,'0007/PN/2016',33,'2016-03-03 14:20:20','192.168.0.1',33,'2016-03-03 14:20:20','192.168.0.1'),
 (828,'0007/PN/2016',NULL,'2016-03-03 14:35:26','192.168.0.1',NULL,'2016-03-03 14:35:26','192.168.0.1'),
 (829,'0007/PN/2016',NULL,'2016-03-03 14:36:04','192.168.0.1',NULL,'2016-03-03 14:36:04','192.168.0.1'),
 (830,'0007/PN/2016',NULL,'2016-03-04 09:19:39','192.168.0.1',NULL,'2016-03-04 09:19:39','192.168.0.1'),
 (831,'0007/PN/2016',NULL,'2016-03-04 09:19:41','192.168.0.1',NULL,'2016-03-04 09:19:41','192.168.0.1'),
 (832,'0007/PN/2016',33,'2016-03-07 11:42:57','192.168.0.1',33,'2016-03-07 11:42:57','192.168.0.1'),
 (833,'0007/PN/2016',33,'2016-03-07 13:03:16','192.168.0.1',33,'2016-03-07 13:03:16','192.168.0.1'),
 (834,'0007/PN/2016',33,'2016-03-07 13:03:25','192.168.0.1',33,'2016-03-07 13:03:25','192.168.0.1'),
 (835,'0007/PN/2016',33,'2016-03-07 13:23:14','192.168.0.1',33,'2016-03-07 13:23:14','192.168.0.1'),
 (836,'0007/PN/2016',33,'2016-03-07 13:23:31','192.168.0.1',33,'2016-03-07 13:23:31','192.168.0.1'),
 (837,'0007/PN/2016',33,'2016-03-07 13:24:22','192.168.0.1',33,'2016-03-07 13:24:22','192.168.0.1'),
 (838,'0007/PN/2016',33,'2016-03-07 13:24:30','192.168.0.1',33,'2016-03-07 13:24:30','192.168.0.1'),
 (839,'0007/PN/2016',33,'2016-03-07 13:25:27','192.168.0.1',33,'2016-03-07 13:25:27','192.168.0.1'),
 (840,'0007/PN/2016',33,'2016-03-07 13:25:52','192.168.0.1',33,'2016-03-07 13:25:52','192.168.0.1'),
 (841,'0007/PN/2016',NULL,'2016-03-07 13:32:39','192.168.0.1',NULL,'2016-03-07 13:32:39','192.168.0.1'),
 (842,'0007/PN/2016',NULL,'2016-03-07 13:34:07','192.168.0.1',NULL,'2016-03-07 13:34:07','192.168.0.1'),
 (843,'0007/PN/2016',33,'2016-03-07 13:37:19','192.168.0.1',33,'2016-03-07 13:37:19','192.168.0.1'),
 (844,'0007/PN/2016',33,'2016-03-07 14:01:59','192.168.0.1',33,'2016-03-07 14:01:59','192.168.0.1'),
 (845,'0007/PN/2016',33,'2016-03-07 14:35:53','192.168.0.1',33,'2016-03-07 14:35:53','192.168.0.1'),
 (846,'0007/PN/2016',33,'2016-03-07 14:37:25','192.168.0.1',33,'2016-03-07 14:37:25','192.168.0.1'),
 (847,'0007/PN/2016',33,'2016-03-07 14:39:02','192.168.0.1',33,'2016-03-07 14:39:02','192.168.0.1'),
 (848,'0007/PN/2016',NULL,'2016-03-08 10:28:17','192.168.0.1',NULL,'2016-03-08 10:28:17','192.168.0.1'),
 (849,'0007/PN/2016',NULL,'2016-03-08 10:29:27','192.168.0.1',NULL,'2016-03-08 10:29:27','192.168.0.1'),
 (850,'0007/PN/2016',33,'2016-03-08 11:06:09','192.168.0.1',33,'2016-03-08 11:06:09','192.168.0.1'),
 (851,'0007/PN/2016',33,'2016-03-08 11:09:10','192.168.0.1',33,'2016-03-08 11:09:10','192.168.0.1'),
 (852,'0007/PN/2016',33,'2016-03-08 11:09:51','192.168.0.1',33,'2016-03-08 11:09:51','192.168.0.1'),
 (853,'0007/PN/2016',33,'2016-03-08 11:10:09','192.168.0.1',33,'2016-03-08 11:10:09','192.168.0.1'),
 (854,'0007/PN/2016',33,'2016-03-08 11:13:46','192.168.0.1',33,'2016-03-08 11:13:46','192.168.0.1'),
 (855,'0007/PN/2016',33,'2016-03-08 11:13:59','192.168.0.1',33,'2016-03-08 11:13:59','192.168.0.1'),
 (856,'0007/PN/2016',33,'2016-03-08 11:14:14','192.168.0.1',33,'2016-03-08 11:14:14','192.168.0.1'),
 (857,'0007/PN/2016',33,'2016-03-08 11:14:40','192.168.0.1',33,'2016-03-08 11:14:40','192.168.0.1'),
 (858,'0007/PN/2016',NULL,'2016-03-10 01:12:48','192.168.0.1',NULL,'2016-03-10 01:12:48','192.168.0.1'),
 (859,'0007/PN/2016',NULL,'2016-03-10 10:03:04','192.168.0.1',NULL,'2016-03-10 10:03:04','192.168.0.1'),
 (860,'0007/PN/2016',NULL,'2016-03-10 10:03:04','192.168.0.1',NULL,'2016-03-10 10:03:04','192.168.0.1'),
 (861,'0007/PN/2016',NULL,'2016-03-10 10:03:31','192.168.0.1',NULL,'2016-03-10 10:03:31','192.168.0.1'),
 (862,'0007/PN/2016',NULL,'2016-03-10 10:03:36','192.168.0.1',NULL,'2016-03-10 10:03:36','192.168.0.1'),
 (863,'0007/PN/2016',NULL,'2016-03-10 10:03:39','192.168.0.1',NULL,'2016-03-10 10:03:39','192.168.0.1'),
 (864,'0007/PN/2016',33,'2016-03-10 10:17:36','192.168.0.1',33,'2016-03-10 10:17:36','192.168.0.1'),
 (865,'0007/PN/2016',33,'2016-03-10 10:17:58','192.168.0.1',33,'2016-03-10 10:17:58','192.168.0.1'),
 (866,'0007/PN/2016',33,'2016-03-10 10:18:10','192.168.0.1',33,'2016-03-10 10:18:10','192.168.0.1'),
 (867,'0007/PN/2016',33,'2016-03-10 10:20:39','192.168.0.1',33,'2016-03-10 10:20:39','192.168.0.1'),
 (868,'0007/PN/2016',33,'2016-03-10 10:31:01','192.168.0.1',33,'2016-03-10 10:31:01','192.168.0.1'),
 (869,'0007/PN/2016',33,'2016-03-10 10:31:38','192.168.0.1',33,'2016-03-10 10:31:38','192.168.0.1'),
 (870,'0007/PN/2016',33,'2016-03-10 11:07:44','192.168.0.1',33,'2016-03-10 11:07:44','192.168.0.1'),
 (871,'0007/PN/2016',NULL,'2016-03-10 11:32:46','192.168.0.1',NULL,'2016-03-10 11:32:46','192.168.0.1'),
 (872,'0007/PN/2016',NULL,'2016-03-10 11:49:08','192.168.0.1',NULL,'2016-03-10 11:49:08','192.168.0.1'),
 (873,'0007/PN/2016',NULL,'2016-03-10 11:52:07','192.168.0.1',NULL,'2016-03-10 11:52:07','192.168.0.1'),
 (874,'0007/PN/2016',NULL,'2016-03-10 11:52:12','192.168.0.1',NULL,'2016-03-10 11:52:12','192.168.0.1'),
 (875,'0008/PN/2016',NULL,'2016-03-10 11:52:12','192.168.0.1',NULL,'2016-03-10 11:52:12','192.168.0.1'),
 (876,'0007/PN/2016',NULL,'2016-03-10 11:55:08','192.168.0.1',NULL,'2016-03-10 11:55:08','192.168.0.1'),
 (877,'0007/PN/2016',NULL,'2016-03-10 12:15:10','192.168.0.1',NULL,'2016-03-10 12:15:10','192.168.0.1'),
 (878,'0007/PN/2016',NULL,'2016-03-10 13:35:23','192.168.0.1',NULL,'2016-03-10 13:35:23','192.168.0.1'),
 (879,'0007/PN/2016',NULL,'2016-03-10 13:43:15','192.168.0.1',NULL,'2016-03-10 13:43:15','192.168.0.1'),
 (880,'0007/PN/2016',NULL,'2016-03-10 13:43:32','192.168.0.1',NULL,'2016-03-10 13:43:32','192.168.0.1'),
 (881,'0007/PN/2016',NULL,'2016-03-10 13:43:53','192.168.0.1',NULL,'2016-03-10 13:43:53','192.168.0.1'),
 (882,'0007/PN/2016',NULL,'2016-03-10 13:44:19','192.168.0.1',NULL,'2016-03-10 13:44:19','192.168.0.1'),
 (883,'0007/PN/2016',NULL,'2016-03-10 13:44:27','192.168.0.1',NULL,'2016-03-10 13:44:27','192.168.0.1'),
 (884,'0007/PN/2016',NULL,'2016-03-10 13:44:41','192.168.0.1',NULL,'2016-03-10 13:44:41','192.168.0.1'),
 (885,'0007/PN/2016',NULL,'2016-03-10 13:44:49','192.168.0.1',NULL,'2016-03-10 13:44:49','192.168.0.1'),
 (886,'0007/PN/2016',NULL,'2016-03-10 13:46:21','192.168.0.1',NULL,'2016-03-10 13:46:21','192.168.0.1'),
 (887,'0007/PN/2016',NULL,'2016-03-10 13:46:24','192.168.0.1',NULL,'2016-03-10 13:46:24','192.168.0.1'),
 (888,'0007/PN/2016',NULL,'2016-03-10 13:47:09','192.168.0.1',NULL,'2016-03-10 13:47:09','192.168.0.1'),
 (889,'0007/PN/2016',NULL,'2016-03-10 13:51:22','192.168.0.1',NULL,'2016-03-10 13:51:22','192.168.0.1'),
 (890,'0007/PN/2016',NULL,'2016-03-10 13:51:24','192.168.0.1',NULL,'2016-03-10 13:51:24','192.168.0.1'),
 (891,'0007/PN/2016',NULL,'2016-03-10 13:53:00','192.168.0.1',NULL,'2016-03-10 13:53:00','192.168.0.1'),
 (892,'0007/PN/2016',NULL,'2016-03-10 13:54:16','192.168.0.1',NULL,'2016-03-10 13:54:16','192.168.0.1'),
 (893,'0007/PN/2016',NULL,'2016-03-10 13:54:25','192.168.0.1',NULL,'2016-03-10 13:54:25','192.168.0.1'),
 (894,'0007/PN/2016',NULL,'2016-03-10 13:54:39','192.168.0.1',NULL,'2016-03-10 13:54:39','192.168.0.1'),
 (895,'0007/PN/2016',NULL,'2016-03-10 13:58:35','192.168.0.1',NULL,'2016-03-10 13:58:35','192.168.0.1'),
 (896,'0007/PN/2016',NULL,'2016-03-10 14:00:56','192.168.0.1',NULL,'2016-03-10 14:00:56','192.168.0.1'),
 (897,'0007/PN/2016',NULL,'2016-03-10 14:02:08','192.168.0.1',NULL,'2016-03-10 14:02:08','192.168.0.1'),
 (898,'0007/PN/2016',NULL,'2016-03-10 14:09:32','192.168.0.1',NULL,'2016-03-10 14:09:32','192.168.0.1'),
 (899,'0173/PN/2016',NULL,'2016-03-10 14:11:58','192.168.0.1',NULL,'2016-03-10 14:11:58','192.168.0.1'),
 (900,'0174/PN/2016',NULL,'2016-03-10 14:12:02','192.168.0.1',NULL,'2016-03-10 14:12:02','192.168.0.1'),
 (901,'0175/PN/2016',NULL,'2016-03-10 14:12:29','192.168.0.1',NULL,'2016-03-10 14:12:29','192.168.0.1'),
 (902,'0176/PN/2016',NULL,'2016-03-10 14:12:46','192.168.0.1',NULL,'2016-03-10 14:12:46','192.168.0.1'),
 (903,'0177/PN/2016',NULL,'2016-03-10 14:12:49','192.168.0.1',NULL,'2016-03-10 14:12:49','192.168.0.1'),
 (904,'0178/PN/2016',NULL,'2016-03-10 14:33:09','192.168.0.1',NULL,'2016-03-10 14:33:09','192.168.0.1'),
 (905,'0179/PN/2016',NULL,'2016-03-10 14:33:38','192.168.0.1',NULL,'2016-03-10 14:33:38','192.168.0.1'),
 (906,'0180/PN/2016',NULL,'2016-03-10 14:34:51','192.168.0.1',NULL,'2016-03-10 14:34:51','192.168.0.1'),
 (907,'0181/PN/2016',NULL,'2016-03-10 14:35:36','192.168.0.1',NULL,'2016-03-10 14:35:36','192.168.0.1'),
 (908,'0182/PN/2016',NULL,'2016-03-10 14:36:25','192.168.0.1',NULL,'2016-03-10 14:36:25','192.168.0.1'),
 (909,'0183/PN/2016',NULL,'2016-03-10 14:43:08','192.168.0.1',NULL,'2016-03-10 14:43:08','192.168.0.1'),
 (910,'0184/PN/2016',NULL,'2016-03-10 14:45:40','192.168.0.1',NULL,'2016-03-10 14:45:40','192.168.0.1'),
 (911,'0185/PN/2016',NULL,'2016-03-10 14:49:05','192.168.0.1',NULL,'2016-03-10 14:49:05','192.168.0.1'),
 (912,'0186/PN/2016',NULL,'2016-03-10 14:49:30','192.168.0.1',NULL,'2016-03-10 14:49:30','192.168.0.1'),
 (913,'0187/PN/2016',NULL,'2016-03-10 14:49:51','192.168.0.1',NULL,'2016-03-10 14:49:51','192.168.0.1'),
 (914,'0188/PN/2016',NULL,'2016-03-10 14:49:56','192.168.0.1',NULL,'2016-03-10 14:49:56','192.168.0.1'),
 (915,'0189/PN/2016',NULL,'2016-03-10 14:50:18','192.168.0.1',NULL,'2016-03-10 14:50:18','192.168.0.1'),
 (916,'0190/PN/2016',NULL,'2016-03-10 14:57:15','192.168.0.1',NULL,'2016-03-10 14:57:15','192.168.0.1'),
 (917,'0191/PN/2016',NULL,'2016-03-10 15:05:40','192.168.0.1',NULL,'2016-03-10 15:05:40','192.168.0.1'),
 (918,'0192/PN/2016',NULL,'2016-03-10 15:05:52','192.168.0.1',NULL,'2016-03-10 15:05:52','192.168.0.1'),
 (919,'0193/PN/2016',NULL,'2016-03-10 15:06:27','192.168.0.1',NULL,'2016-03-10 15:06:27','192.168.0.1'),
 (920,'0194/PN/2016',NULL,'2016-03-10 15:06:34','192.168.0.1',NULL,'2016-03-10 15:06:34','192.168.0.1'),
 (921,'0195/PN/2016',NULL,'2016-03-10 15:06:51','192.168.0.1',NULL,'2016-03-10 15:06:51','192.168.0.1'),
 (922,'0196/PN/2016',NULL,'2016-03-10 15:07:17','192.168.0.1',NULL,'2016-03-10 15:07:17','192.168.0.1'),
 (923,'0197/PN/2016',NULL,'2016-03-10 15:07:19','192.168.0.1',NULL,'2016-03-10 15:07:19','192.168.0.1'),
 (924,'0198/PN/2016',NULL,'2016-03-10 15:09:29','192.168.0.1',NULL,'2016-03-10 15:09:29','192.168.0.1'),
 (925,'0199/PN/2016',NULL,'2016-03-10 15:10:39','192.168.0.1',NULL,'2016-03-10 15:10:39','192.168.0.1'),
 (926,'0200/PN/2016',NULL,'2016-03-10 15:11:13','192.168.0.1',NULL,'2016-03-10 15:11:13','192.168.0.1'),
 (927,'0201/PN/2016',NULL,'2016-03-10 15:11:18','192.168.0.1',NULL,'2016-03-10 15:11:18','192.168.0.1'),
 (928,'0202/PN/2016',NULL,'2016-03-10 15:11:50','192.168.0.1',NULL,'2016-03-10 15:11:50','192.168.0.1'),
 (929,'0203/PN/2016',NULL,'2016-03-10 15:12:06','192.168.0.1',NULL,'2016-03-10 15:12:06','192.168.0.1'),
 (930,'0204/PN/2016',NULL,'2016-03-10 15:13:20','192.168.0.1',NULL,'2016-03-10 15:13:20','192.168.0.1'),
 (931,'0205/PN/2016',NULL,'2016-03-10 15:13:55','192.168.0.1',NULL,'2016-03-10 15:13:55','192.168.0.1'),
 (932,'0206/PN/2016',NULL,'2016-03-10 15:14:29','192.168.0.1',NULL,'2016-03-10 15:14:29','192.168.0.1'),
 (933,'0207/PN/2016',NULL,'2016-03-10 15:50:44','192.168.0.1',NULL,'2016-03-10 15:50:44','192.168.0.1'),
 (934,'0208/PN/2016',NULL,'2016-03-10 15:50:57','192.168.0.1',NULL,'2016-03-10 15:50:57','192.168.0.1'),
 (935,'0209/PN/2016',NULL,'2016-03-10 15:51:14','192.168.0.1',NULL,'2016-03-10 15:51:14','192.168.0.1'),
 (936,'0210/PN/2016',NULL,'2016-03-10 15:51:24','192.168.0.1',NULL,'2016-03-10 15:51:24','192.168.0.1'),
 (937,'0211/PN/2016',NULL,'2016-03-10 15:51:25','192.168.0.1',NULL,'2016-03-10 15:51:25','192.168.0.1'),
 (938,'0212/PN/2016',NULL,'2016-03-10 15:51:30','192.168.0.1',NULL,'2016-03-10 15:51:30','192.168.0.1'),
 (939,'0213/PN/2016',NULL,'2016-03-10 15:53:19','192.168.0.1',NULL,'2016-03-10 15:53:19','192.168.0.1'),
 (940,'0214/PN/2016',NULL,'2016-03-10 15:53:37','192.168.0.1',NULL,'2016-03-10 15:53:37','192.168.0.1'),
 (941,'0215/PN/2016',NULL,'2016-03-10 15:53:41','192.168.0.1',NULL,'2016-03-10 15:53:41','192.168.0.1'),
 (942,'0216/PN/2016',NULL,'2016-03-10 16:00:37','192.168.0.1',NULL,'2016-03-10 16:00:37','192.168.0.1'),
 (943,'0217/PN/2016',NULL,'2016-03-10 16:00:43','192.168.0.1',NULL,'2016-03-10 16:00:43','192.168.0.1'),
 (944,'0218/PN/2016',NULL,'2016-03-10 16:01:08','192.168.0.1',NULL,'2016-03-10 16:01:08','192.168.0.1'),
 (945,'0219/PN/2016',NULL,'2016-03-10 16:01:15','192.168.0.1',NULL,'2016-03-10 16:01:15','192.168.0.1'),
 (946,'0220/PN/2016',NULL,'2016-03-10 16:05:14','192.168.0.1',NULL,'2016-03-10 16:05:14','192.168.0.1'),
 (947,'0221/PN/2016',NULL,'2016-03-10 16:09:20','192.168.0.1',NULL,'2016-03-10 16:09:20','192.168.0.1'),
 (948,'0222/PN/2016',NULL,'2016-03-10 16:09:25','192.168.0.1',NULL,'2016-03-10 16:09:25','192.168.0.1'),
 (949,'0223/PN/2016',NULL,'2016-03-10 16:09:25','192.168.0.1',NULL,'2016-03-10 16:09:25','192.168.0.1'),
 (950,'0224/PN/2016',NULL,'2016-03-11 09:13:11','192.168.0.1',NULL,'2016-03-11 09:13:11','192.168.0.1'),
 (951,'0225/PN/2016',NULL,'2016-03-11 09:13:18','192.168.0.1',NULL,'2016-03-11 09:13:18','192.168.0.1'),
 (952,'0226/PN/2016',NULL,'2016-03-11 09:20:15','192.168.0.1',NULL,'2016-03-11 09:20:15','192.168.0.1'),
 (953,'0227/PN/2016',NULL,'2016-03-11 09:20:34','192.168.0.1',NULL,'2016-03-11 09:20:34','192.168.0.1'),
 (954,'0228/PN/2016',NULL,'2016-03-11 09:24:44','192.168.0.1',NULL,'2016-03-11 09:24:44','192.168.0.1'),
 (955,'0229/PN/2016',NULL,'2016-03-11 09:27:41','192.168.0.1',NULL,'2016-03-11 09:27:41','192.168.0.1'),
 (956,'0230/PN/2016',NULL,'2016-03-11 09:28:39','192.168.0.1',NULL,'2016-03-11 09:28:39','192.168.0.1'),
 (957,'0231/PN/2016',NULL,'2016-03-11 09:33:18','192.168.0.1',NULL,'2016-03-11 09:33:18','192.168.0.1'),
 (958,'0232/PN/2016',NULL,'2016-03-11 09:35:44','192.168.0.1',NULL,'2016-03-11 09:35:44','192.168.0.1'),
 (959,'0233/PN/2016',NULL,'2016-03-11 10:16:26','192.168.0.1',NULL,'2016-03-11 10:16:26','192.168.0.1'),
 (960,'0234/PN/2016',NULL,'2016-03-11 10:16:30','192.168.0.1',NULL,'2016-03-11 10:16:30','192.168.0.1'),
 (961,'0235/PN/2016',NULL,'2016-03-11 10:21:17','192.168.0.1',NULL,'2016-03-11 10:21:17','192.168.0.1'),
 (962,'0236/PN/2016',NULL,'2016-03-11 10:22:00','192.168.0.1',NULL,'2016-03-11 10:22:00','192.168.0.1'),
 (963,'0237/PN/2016',NULL,'2016-03-11 10:28:02','192.168.0.1',NULL,'2016-03-11 10:28:02','192.168.0.1'),
 (964,'0238/PN/2016',NULL,'2016-03-11 10:45:55','192.168.0.1',NULL,'2016-03-11 10:45:55','192.168.0.1'),
 (965,'0239/PN/2016',NULL,'2016-03-11 10:45:57','192.168.0.1',NULL,'2016-03-11 10:45:57','192.168.0.1'),
 (966,'0240/PN/2016',NULL,'2016-03-11 10:48:11','192.168.0.1',NULL,'2016-03-11 10:48:11','192.168.0.1'),
 (967,'0241/PN/2016',NULL,'2016-03-11 10:50:23','192.168.0.1',NULL,'2016-03-11 10:50:23','192.168.0.1'),
 (968,'0242/PN/2016',NULL,'2016-03-11 10:54:00','192.168.0.1',NULL,'2016-03-11 10:54:00','192.168.0.1'),
 (969,'0243/PN/2016',NULL,'2016-03-11 16:11:22','192.168.0.1',NULL,'2016-03-11 16:11:22','192.168.0.1'),
 (970,'0244/PN/2016',NULL,'2016-03-11 16:11:32','192.168.0.1',NULL,'2016-03-11 16:11:32','192.168.0.1'),
 (971,'0245/PN/2016',NULL,'2016-03-11 16:12:58','192.168.0.1',NULL,'2016-03-11 16:12:58','192.168.0.1'),
 (972,'0246/PN/2016',NULL,'2016-03-11 16:13:54','192.168.0.1',NULL,'2016-03-11 16:13:54','192.168.0.1'),
 (973,'0247/PN/2016',NULL,'2016-03-11 16:14:15','192.168.0.1',NULL,'2016-03-11 16:14:15','192.168.0.1'),
 (974,'0248/PN/2016',NULL,'2016-03-11 16:22:29','192.168.0.1',NULL,'2016-03-11 16:22:29','192.168.0.1'),
 (975,'0249/PN/2016',NULL,'2016-03-11 16:29:30','192.168.0.1',NULL,'2016-03-11 16:29:30','192.168.0.1'),
 (976,'0250/PN/2016',NULL,'2016-03-11 16:30:41','192.168.0.1',NULL,'2016-03-11 16:30:41','192.168.0.1'),
 (977,'0251/PN/2016',NULL,'2016-03-14 10:20:40','192.168.0.1',NULL,'2016-03-14 10:20:40','192.168.0.1'),
 (978,'0252/PN/2016',NULL,'2016-03-14 10:21:56','192.168.0.1',NULL,'2016-03-14 10:21:56','192.168.0.1'),
 (979,'0253/PN/2016',NULL,'2016-03-14 10:23:08','192.168.0.1',NULL,'2016-03-14 10:23:08','192.168.0.1'),
 (980,'0254/PN/2016',NULL,'2016-03-14 10:24:16','192.168.0.1',NULL,'2016-03-14 10:24:16','192.168.0.1'),
 (981,'0255/PN/2016',NULL,'2016-03-14 10:24:31','192.168.0.1',NULL,'2016-03-14 10:24:31','192.168.0.1'),
 (982,'0256/PN/2016',NULL,'2016-03-14 10:34:46','192.168.0.1',NULL,'2016-03-14 10:34:46','192.168.0.1'),
 (983,'0257/PN/2016',NULL,'2016-03-14 10:35:14','192.168.0.1',NULL,'2016-03-14 10:35:14','192.168.0.1'),
 (984,'0258/PN/2016',NULL,'2016-03-14 10:36:02','192.168.0.1',NULL,'2016-03-14 10:36:02','192.168.0.1'),
 (985,'0259/PN/2016',NULL,'2016-03-14 10:36:36','192.168.0.1',NULL,'2016-03-14 10:36:36','192.168.0.1'),
 (986,'0260/PN/2016',NULL,'2016-03-14 16:01:11','192.168.0.1',NULL,'2016-03-14 16:01:11','192.168.0.1'),
 (987,'0261/PN/2016',NULL,'2016-03-14 16:01:19','192.168.0.1',NULL,'2016-03-14 16:01:19','192.168.0.1'),
 (988,'0262/PN/2016',NULL,'2016-03-14 16:04:49','192.168.0.1',NULL,'2016-03-14 16:04:49','192.168.0.1'),
 (989,'0263/PN/2016',NULL,'2016-03-15 11:14:03','192.168.0.1',NULL,'2016-03-15 11:14:03','192.168.0.1'),
 (990,'0264/PN/2016',NULL,'2016-03-16 05:09:56','192.168.0.1',NULL,'2016-03-16 05:09:56','192.168.0.1'),
 (991,'0265/PN/2016',NULL,'2016-03-16 09:01:34','192.168.0.1',NULL,'2016-03-16 09:01:34','192.168.0.1'),
 (992,'0266/PN/2016',NULL,'2016-03-16 09:02:17','192.168.0.1',NULL,'2016-03-16 09:02:17','192.168.0.1'),
 (993,'0267/PN/2016',NULL,'2016-03-16 09:06:30','192.168.0.1',NULL,'2016-03-16 09:06:30','192.168.0.1'),
 (994,'0268/PN/2016',NULL,'2016-03-16 09:10:30','192.168.0.1',NULL,'2016-03-16 09:10:30','192.168.0.1'),
 (995,'0269/PN/2016',NULL,'2016-03-16 09:17:50','192.168.0.1',NULL,'2016-03-16 09:17:50','192.168.0.1'),
 (996,'0270/PN/2016',NULL,'2016-03-16 09:18:11','192.168.0.1',NULL,'2016-03-16 09:18:11','192.168.0.1'),
 (997,'0271/PN/2016',NULL,'2016-03-16 09:18:46','192.168.0.1',NULL,'2016-03-16 09:18:46','192.168.0.1'),
 (998,'0272/PN/2016',NULL,'2016-03-16 09:18:54','192.168.0.1',NULL,'2016-03-16 09:18:54','192.168.0.1'),
 (999,'0273/PN/2016',NULL,'2016-03-16 09:18:59','192.168.0.1',NULL,'2016-03-16 09:18:59','192.168.0.1'),
 (1000,'0274/PN/2016',NULL,'2016-03-16 09:19:10','192.168.0.1',NULL,'2016-03-16 09:19:10','192.168.0.1'),
 (1001,'0275/PN/2016',NULL,'2016-03-16 09:19:10','192.168.0.1',NULL,'2016-03-16 09:19:10','192.168.0.1'),
 (1002,'0276/PN/2016',NULL,'2016-03-16 09:19:13','192.168.0.1',NULL,'2016-03-16 09:19:13','192.168.0.1'),
 (1003,'0277/PN/2016',NULL,'2016-03-16 09:20:13','192.168.0.1',NULL,'2016-03-16 09:20:13','192.168.0.1'),
 (1004,'0278/PN/2016',NULL,'2016-03-16 09:20:13','192.168.0.1',NULL,'2016-03-16 09:20:13','192.168.0.1'),
 (1005,'0279/PN/2016',NULL,'2016-03-16 09:21:35','192.168.0.1',NULL,'2016-03-16 09:21:35','192.168.0.1'),
 (1006,'0280/PN/2016',NULL,'2016-03-16 09:21:55','192.168.0.1',NULL,'2016-03-16 09:21:55','192.168.0.1'),
 (1007,'0281/PN/2016',NULL,'2016-03-16 09:22:21','192.168.0.1',NULL,'2016-03-16 09:22:21','192.168.0.1'),
 (1008,'0282/PN/2016',NULL,'2016-03-16 09:22:33','192.168.0.1',NULL,'2016-03-16 09:22:33','192.168.0.1'),
 (1009,'0283/PN/2016',NULL,'2016-03-16 09:22:50','192.168.0.1',NULL,'2016-03-16 09:22:50','192.168.0.1'),
 (1010,'0284/PN/2016',NULL,'2016-03-16 09:23:15','192.168.0.1',NULL,'2016-03-16 09:23:15','192.168.0.1'),
 (1011,'0285/PN/2016',NULL,'2016-03-16 09:39:00','192.168.0.1',NULL,'2016-03-16 09:39:00','192.168.0.1'),
 (1012,'0286/PN/2016',NULL,'2016-03-16 09:41:38','192.168.0.1',NULL,'2016-03-16 09:41:38','192.168.0.1'),
 (1013,'0287/PN/2016',NULL,'2016-03-16 09:47:46','192.168.0.1',NULL,'2016-03-16 09:47:46','192.168.0.1'),
 (1014,'0288/PN/2016',NULL,'2016-03-16 10:02:48','192.168.0.1',NULL,'2016-03-16 10:02:48','192.168.0.1'),
 (1015,'0289/PN/2016',NULL,'2016-03-16 10:02:59','192.168.0.1',NULL,'2016-03-16 10:02:59','192.168.0.1'),
 (1016,'0290/PN/2016',NULL,'2016-03-16 10:03:10','192.168.0.1',NULL,'2016-03-16 10:03:10','192.168.0.1'),
 (1017,'0291/PN/2016',NULL,'2016-03-16 10:03:36','192.168.0.1',NULL,'2016-03-16 10:03:36','192.168.0.1'),
 (1018,'0292/PN/2016',NULL,'2016-03-16 10:08:33','192.168.0.1',NULL,'2016-03-16 10:08:33','192.168.0.1'),
 (1019,'0293/PN/2016',NULL,'2016-03-16 10:11:22','192.168.0.1',NULL,'2016-03-16 10:11:22','192.168.0.1'),
 (1020,'0294/PN/2016',NULL,'2016-03-16 10:13:19','192.168.0.1',NULL,'2016-03-16 10:13:19','192.168.0.1'),
 (1021,'0295/PN/2016',NULL,'2016-03-16 10:13:34','192.168.0.1',NULL,'2016-03-16 10:13:34','192.168.0.1'),
 (1022,'0296/PN/2016',NULL,'2016-03-16 10:14:58','192.168.0.1',NULL,'2016-03-16 10:14:58','192.168.0.1'),
 (1023,'0297/PN/2016',NULL,'2016-03-16 10:15:03','192.168.0.1',NULL,'2016-03-16 10:15:03','192.168.0.1'),
 (1024,'0298/PN/2016',NULL,'2016-03-16 10:15:04','192.168.0.1',NULL,'2016-03-16 10:15:04','192.168.0.1'),
 (1025,'0299/PN/2016',NULL,'2016-03-16 10:15:13','192.168.0.1',NULL,'2016-03-16 10:15:13','192.168.0.1'),
 (1026,'0300/PN/2016',NULL,'2016-03-16 10:16:03','192.168.0.1',NULL,'2016-03-16 10:16:03','192.168.0.1'),
 (1027,'0301/PN/2016',NULL,'2016-03-16 10:18:09','192.168.0.1',NULL,'2016-03-16 10:18:09','192.168.0.1'),
 (1028,'0302/PN/2016',NULL,'2016-03-16 10:18:51','192.168.0.1',NULL,'2016-03-16 10:18:51','192.168.0.1'),
 (1029,'0303/PN/2016',NULL,'2016-03-16 10:18:53','192.168.0.1',NULL,'2016-03-16 10:18:53','192.168.0.1'),
 (1030,'0304/PN/2016',NULL,'2016-03-16 10:18:58','192.168.0.1',NULL,'2016-03-16 10:18:58','192.168.0.1'),
 (1031,'0305/PN/2016',NULL,'2016-03-16 10:25:03','192.168.0.1',NULL,'2016-03-16 10:25:03','192.168.0.1'),
 (1032,'0306/PN/2016',NULL,'2016-03-16 10:38:53','192.168.0.1',NULL,'2016-03-16 10:38:53','192.168.0.1'),
 (1033,'0307/PN/2016',NULL,'2016-03-16 10:52:58','192.168.0.1',NULL,'2016-03-16 10:52:58','192.168.0.1'),
 (1034,'0308/PN/2016',NULL,'2016-03-16 11:00:20','192.168.0.1',NULL,'2016-03-16 11:00:20','192.168.0.1'),
 (1035,'0309/PN/2016',NULL,'2016-03-16 11:04:08','192.168.0.1',NULL,'2016-03-16 11:04:08','192.168.0.1'),
 (1036,'0310/PN/2016',NULL,'2016-03-16 11:08:19','192.168.0.1',NULL,'2016-03-16 11:08:19','192.168.0.1'),
 (1037,'0311/PN/2016',NULL,'2016-03-16 11:09:22','192.168.0.1',NULL,'2016-03-16 11:09:22','192.168.0.1'),
 (1038,'0312/PN/2016',NULL,'2016-03-16 11:16:40','192.168.0.1',NULL,'2016-03-16 11:16:40','192.168.0.1'),
 (1039,'0313/PN/2016',NULL,'2016-03-16 12:24:44','192.168.0.1',NULL,'2016-03-16 12:24:44','192.168.0.1'),
 (1040,'0314/PN/2016',NULL,'2016-03-16 12:26:51','192.168.0.1',NULL,'2016-03-16 12:26:51','192.168.0.1'),
 (1041,'0315/PN/2016',NULL,'2016-03-16 12:27:23','192.168.0.1',NULL,'2016-03-16 12:27:23','192.168.0.1'),
 (1042,'0316/PN/2016',NULL,'2016-03-16 12:27:38','192.168.0.1',NULL,'2016-03-16 12:27:38','192.168.0.1'),
 (1043,'0317/PN/2016',NULL,'2016-03-16 12:40:14','192.168.0.1',NULL,'2016-03-16 12:40:14','192.168.0.1'),
 (1044,'0318/PN/2016',NULL,'2016-03-16 12:44:04','192.168.0.1',NULL,'2016-03-16 12:44:04','192.168.0.1'),
 (1045,'0319/PN/2016',NULL,'2016-03-16 12:46:39','192.168.0.1',NULL,'2016-03-16 12:46:39','192.168.0.1'),
 (1046,'0320/PN/2016',NULL,'2016-03-16 13:45:00','192.168.0.1',NULL,'2016-03-16 13:45:00','192.168.0.1'),
 (1047,'0321/PN/2016',NULL,'2016-03-16 13:45:30','192.168.0.1',NULL,'2016-03-16 13:45:30','192.168.0.1'),
 (1048,'0322/PN/2016',NULL,'2016-03-16 13:45:39','192.168.0.1',NULL,'2016-03-16 13:45:39','192.168.0.1'),
 (1049,'0323/PN/2016',NULL,'2016-03-16 13:46:01','192.168.0.1',NULL,'2016-03-16 13:46:01','192.168.0.1'),
 (1050,'0324/PN/2016',NULL,'2016-03-16 13:48:51','192.168.0.1',NULL,'2016-03-16 13:48:51','192.168.0.1'),
 (1051,'0325/PN/2016',NULL,'2016-03-16 13:55:10','192.168.0.1',NULL,'2016-03-16 13:55:10','192.168.0.1'),
 (1052,'0326/PN/2016',NULL,'2016-03-16 14:19:15','192.168.0.1',NULL,'2016-03-16 14:19:15','192.168.0.1'),
 (1053,'0327/PN/2016',NULL,'2016-03-16 14:19:21','192.168.0.1',NULL,'2016-03-16 14:19:21','192.168.0.1'),
 (1054,'0328/PN/2016',NULL,'2016-03-16 14:24:22','192.168.0.1',NULL,'2016-03-16 14:24:22','192.168.0.1'),
 (1055,'0329/PN/2016',NULL,'2016-03-16 15:20:25','192.168.0.1',NULL,'2016-03-16 15:20:25','192.168.0.1'),
 (1056,'0330/PN/2016',NULL,'2016-03-16 17:30:28','192.168.0.1',NULL,'2016-03-16 17:30:28','192.168.0.1'),
 (1057,'0331/PN/2016',NULL,'2016-03-16 17:30:58','192.168.0.1',NULL,'2016-03-16 17:30:58','192.168.0.1'),
 (1058,'0332/PN/2016',NULL,'2016-03-17 11:21:37','192.168.0.1',NULL,'2016-03-17 11:21:37','192.168.0.1'),
 (1059,'0333/PN/2016',NULL,'2016-03-17 11:22:32','192.168.0.1',NULL,'2016-03-17 11:22:32','192.168.0.1'),
 (1060,'0334/PN/2016',NULL,'2016-03-17 11:22:54','192.168.0.1',NULL,'2016-03-17 11:22:54','192.168.0.1'),
 (1061,'0335/PN/2016',NULL,'2016-03-17 16:18:14','192.168.0.1',NULL,'2016-03-17 16:18:14','192.168.0.1'),
 (1062,'0336/PN/2016',NULL,'2016-03-17 17:16:00','192.168.0.1',NULL,'2016-03-17 17:16:00','192.168.0.1'),
 (1063,'0337/PN/2016',NULL,'2016-03-17 17:19:51','192.168.0.1',NULL,'2016-03-17 17:19:51','192.168.0.1'),
 (1064,'0338/PN/2016',NULL,'2016-03-18 02:16:44','192.168.0.1',NULL,'2016-03-18 02:16:44','192.168.0.1'),
 (1065,'0339/PN/2016',NULL,'2016-03-18 03:32:20','192.168.0.1',NULL,'2016-03-18 03:32:20','192.168.0.1'),
 (1066,'0340/PN/2016',NULL,'2016-03-18 07:26:06','192.168.0.1',NULL,'2016-03-18 07:26:06','192.168.0.1'),
 (1067,'0341/PN/2016',NULL,'2016-03-18 09:46:59','192.168.0.1',NULL,'2016-03-18 09:46:59','192.168.0.1'),
 (1068,'0342/PN/2016',NULL,'2016-03-18 09:47:32','192.168.0.1',NULL,'2016-03-18 09:47:32','192.168.0.1'),
 (1069,'0343/PN/2016',NULL,'2016-03-18 09:48:48','192.168.0.1',NULL,'2016-03-18 09:48:48','192.168.0.1'),
 (1070,'0344/PN/2016',NULL,'2016-03-18 14:00:04','192.168.0.1',NULL,'2016-03-18 14:00:04','192.168.0.1'),
 (1071,'0345/PN/2016',NULL,'2016-03-18 14:53:06','192.168.0.1',NULL,'2016-03-18 14:53:06','192.168.0.1'),
 (1072,'0346/PN/2016',NULL,'2016-03-18 14:53:32','192.168.0.1',NULL,'2016-03-18 14:53:32','192.168.0.1'),
 (1073,'0347/PN/2016',NULL,'2016-03-18 14:53:50','192.168.0.1',NULL,'2016-03-18 14:53:50','192.168.0.1'),
 (1074,'0348/PN/2016',NULL,'2016-03-18 14:57:00','192.168.0.1',NULL,'2016-03-18 14:57:00','192.168.0.1'),
 (1075,'0349/PN/2016',NULL,'2016-03-18 14:57:19','192.168.0.1',NULL,'2016-03-18 14:57:19','192.168.0.1'),
 (1076,'0350/PN/2016',NULL,'2016-03-18 14:57:42','192.168.0.1',NULL,'2016-03-18 14:57:42','192.168.0.1'),
 (1077,'0351/PN/2016',NULL,'2016-03-18 14:59:11','192.168.0.1',NULL,'2016-03-18 14:59:11','192.168.0.1'),
 (1078,'0352/PN/2016',NULL,'2016-03-18 16:03:13','192.168.0.1',NULL,'2016-03-18 16:03:13','192.168.0.1'),
 (1079,'0353/PN/2016',NULL,'2016-03-18 16:03:32','192.168.0.1',NULL,'2016-03-18 16:03:32','192.168.0.1'),
 (1080,'0354/PN/2016',NULL,'2016-03-18 16:04:21','192.168.0.1',NULL,'2016-03-18 16:04:21','192.168.0.1'),
 (1081,'0355/PN/2016',NULL,'2016-03-18 16:40:20','192.168.0.1',NULL,'2016-03-18 16:40:20','192.168.0.1'),
 (1082,'0356/PN/2016',NULL,'2016-03-21 09:33:13','192.168.0.1',NULL,'2016-03-21 09:33:13','192.168.0.1'),
 (1083,'0357/PN/2016',NULL,'2016-03-21 09:33:46','192.168.0.1',NULL,'2016-03-21 09:33:46','192.168.0.1'),
 (1084,'0358/PN/2016',46,'2016-03-21 09:46:32','192.168.0.1',46,'2016-03-21 09:46:32','192.168.0.1'),
 (1085,'0359/PN/2016',33,'2016-03-21 11:44:34','192.168.0.1',33,'2016-03-21 11:44:34','192.168.0.1'),
 (1086,'0360/PN/2016',33,'2016-03-21 12:36:54','192.168.0.1',33,'2016-03-21 12:36:54','192.168.0.1'),
 (1087,'0361/PN/2016',NULL,'2016-03-21 14:42:28','192.168.0.1',NULL,'2016-03-21 14:42:28','192.168.0.1'),
 (1088,'0362/PN/2016',NULL,'2016-03-21 16:16:21','192.168.0.1',NULL,'2016-03-21 16:16:21','192.168.0.1'),
 (1089,'0363/PN/2016',NULL,'2016-03-22 09:21:52','192.168.0.1',NULL,'2016-03-22 09:21:52','192.168.0.1'),
 (1090,'0364/PN/2016',NULL,'2016-03-22 10:08:15','192.168.0.1',NULL,'2016-03-22 10:08:15','192.168.0.1'),
 (1091,'0365/PN/2016',NULL,'2016-03-22 10:21:12','192.168.0.1',NULL,'2016-03-22 10:21:12','192.168.0.1'),
 (1092,'0366/PN/2016',NULL,'2016-03-22 10:22:13','192.168.16.89',NULL,'2016-03-22 10:22:13','192.168.16.89'),
 (1093,'0367/PN/2016',NULL,'2016-03-22 10:28:57','192.168.16.89',NULL,'2016-03-22 10:28:57','192.168.16.89'),
 (1094,'0368/PN/2016',NULL,'2016-03-22 10:34:05','192.168.16.89',NULL,'2016-03-22 10:34:05','192.168.16.89'),
 (1095,'0369/PN/2016',NULL,'2016-03-22 10:55:47','192.168.16.89',NULL,'2016-03-22 10:55:47','192.168.16.89'),
 (1096,'0370/PN/2016',NULL,'2016-03-22 11:44:52','192.168.0.1',NULL,'2016-03-22 11:44:52','192.168.0.1'),
 (1097,'0371/PN/2016',NULL,'2016-03-22 11:48:04','192.168.0.1',NULL,'2016-03-22 11:48:04','192.168.0.1'),
 (1098,'0372/PN/2016',NULL,'2016-03-22 11:51:43','192.168.0.1',NULL,'2016-03-22 11:51:43','192.168.0.1'),
 (1099,'0373/PN/2016',NULL,'2016-03-22 11:52:02','192.168.0.1',NULL,'2016-03-22 11:52:02','192.168.0.1'),
 (1100,'0374/PN/2016',NULL,'2016-03-22 11:52:12','192.168.0.1',NULL,'2016-03-22 11:52:12','192.168.0.1'),
 (1101,'0375/PN/2016',NULL,'2016-03-22 11:52:12','192.168.0.1',NULL,'2016-03-22 11:52:12','192.168.0.1'),
 (1102,'0376/PN/2016',NULL,'2016-03-22 11:52:12','192.168.0.1',NULL,'2016-03-22 11:52:12','192.168.0.1'),
 (1103,'0377/PN/2016',NULL,'2016-03-22 11:58:42','192.168.0.1',NULL,'2016-03-22 11:58:42','192.168.0.1'),
 (1104,'0378/PN/2016',NULL,'2016-03-22 11:58:57','192.168.0.1',NULL,'2016-03-22 11:58:57','192.168.0.1'),
 (1105,'0379/PN/2016',NULL,'2016-03-22 11:59:08','192.168.0.1',NULL,'2016-03-22 11:59:08','192.168.0.1'),
 (1106,'0380/PN/2016',NULL,'2016-03-22 11:59:08','192.168.0.1',NULL,'2016-03-22 11:59:08','192.168.0.1'),
 (1107,'0381/PN/2016',NULL,'2016-03-22 11:59:08','192.168.0.1',NULL,'2016-03-22 11:59:08','192.168.0.1'),
 (1108,'0382/PN/2016',NULL,'2016-03-22 12:02:13','192.168.0.1',NULL,'2016-03-22 12:02:13','192.168.0.1'),
 (1109,'0383/PN/2016',NULL,'2016-03-22 12:04:18','192.168.0.1',NULL,'2016-03-22 12:04:18','192.168.0.1'),
 (1110,'0384/PN/2016',NULL,'2016-03-22 13:28:08','192.168.0.1',NULL,'2016-03-22 13:28:08','192.168.0.1'),
 (1111,'0385/PN/2016',NULL,'2016-03-22 13:29:26','192.168.0.1',NULL,'2016-03-22 13:29:26','192.168.0.1'),
 (1112,'0386/PN/2016',NULL,'2016-03-22 13:29:48','192.168.0.1',NULL,'2016-03-22 13:29:48','192.168.0.1'),
 (1113,'0387/PN/2016',NULL,'2016-03-22 13:44:15','192.168.0.1',NULL,'2016-03-22 13:44:15','192.168.0.1'),
 (1114,'0388/PN/2016',NULL,'2016-03-22 13:58:46','192.168.0.1',NULL,'2016-03-22 13:58:46','192.168.0.1'),
 (1115,'0389/PN/2016',NULL,'2016-03-22 15:17:07','192.168.0.1',NULL,'2016-03-22 15:17:07','192.168.0.1'),
 (1116,'0390/PN/2016',NULL,'2016-03-22 15:22:51','192.168.0.1',NULL,'2016-03-22 15:22:51','192.168.0.1'),
 (1117,'0391/PN/2016',NULL,'2016-03-22 15:24:10','192.168.0.1',NULL,'2016-03-22 15:24:10','192.168.0.1'),
 (1118,'0392/PN/2016',NULL,'2016-03-22 15:26:33','192.168.0.1',NULL,'2016-03-22 15:26:33','192.168.0.1'),
 (1119,'0393/PN/2016',NULL,'2016-03-22 15:41:05','192.168.0.1',NULL,'2016-03-22 15:41:05','192.168.0.1'),
 (1120,'0394/PN/2016',NULL,'2016-03-22 15:43:27','192.168.0.1',NULL,'2016-03-22 15:43:27','192.168.0.1'),
 (1121,'0395/PN/2016',NULL,'2016-03-22 15:43:47','192.168.0.1',NULL,'2016-03-22 15:43:47','192.168.0.1'),
 (1122,'0396/PN/2016',NULL,'2016-03-23 08:36:47','192.168.0.1',NULL,'2016-03-23 08:36:47','192.168.0.1'),
 (1123,'0397/PN/2016',NULL,'2016-03-23 08:57:12','192.168.0.1',NULL,'2016-03-23 08:57:12','192.168.0.1'),
 (1124,'0398/PN/2016',NULL,'2016-03-23 08:57:19','192.168.0.1',NULL,'2016-03-23 08:57:19','192.168.0.1'),
 (1125,'0399/PN/2016',NULL,'2016-03-23 08:57:55','192.168.0.1',NULL,'2016-03-23 08:57:55','192.168.0.1'),
 (1126,'0400/PN/2016',NULL,'2016-03-23 08:58:47','192.168.0.1',NULL,'2016-03-23 08:58:47','192.168.0.1'),
 (1127,'0401/PN/2016',NULL,'2016-03-23 09:00:47','192.168.0.1',NULL,'2016-03-23 09:00:47','192.168.0.1'),
 (1128,'0402/PN/2016',NULL,'2016-03-23 09:01:32','192.168.0.1',NULL,'2016-03-23 09:01:32','192.168.0.1'),
 (1129,'0403/PN/2016',NULL,'2016-03-23 09:02:25','192.168.0.1',NULL,'2016-03-23 09:02:25','192.168.0.1'),
 (1130,'0404/PN/2016',NULL,'2016-03-23 09:49:20','192.168.0.1',NULL,'2016-03-23 09:49:20','192.168.0.1'),
 (1131,'0405/PN/2016',NULL,'2016-03-23 09:49:26','192.168.0.1',NULL,'2016-03-23 09:49:26','192.168.0.1'),
 (1132,'0406/PN/2016',NULL,'2016-03-23 11:24:14','192.168.0.1',NULL,'2016-03-23 11:24:14','192.168.0.1'),
 (1133,'0407/PN/2016',NULL,'2016-03-23 11:33:45','192.168.0.1',NULL,'2016-03-23 11:33:45','192.168.0.1'),
 (1134,'0408/PN/2016',NULL,'2016-03-23 14:58:32','192.168.0.1',NULL,'2016-03-23 14:58:32','192.168.0.1'),
 (1135,'0409/PN/2016',NULL,'2016-03-23 14:58:43','192.168.16.84',NULL,'2016-03-23 14:58:43','192.168.16.84'),
 (1136,'0410/PN/2016',NULL,'2016-03-23 15:01:00','192.168.16.84',NULL,'2016-03-23 15:01:00','192.168.16.84'),
 (1137,'0411/PN/2016',33,'2016-03-23 15:01:04','192.168.0.1',33,'2016-03-23 15:01:04','192.168.0.1'),
 (1138,'0412/PN/2016',33,'2016-03-23 15:01:15','192.168.0.1',33,'2016-03-23 15:01:15','192.168.0.1'),
 (1139,'0413/PN/2016',NULL,'2016-03-23 15:06:49','192.168.0.1',NULL,'2016-03-23 15:06:49','192.168.0.1'),
 (1140,'0414/PN/2016',NULL,'2016-03-23 15:49:39','192.168.0.1',NULL,'2016-03-23 15:49:39','192.168.0.1'),
 (1141,'0415/PN/2016',33,'2016-03-23 17:27:07','192.168.0.1',33,'2016-03-23 17:27:07','192.168.0.1'),
 (1142,'0416/PN/2016',NULL,'2016-03-24 09:12:51','192.168.0.1',NULL,'2016-03-24 09:12:51','192.168.0.1'),
 (1143,'0417/PN/2016',NULL,'2016-03-24 11:19:28','192.168.0.1',NULL,'2016-03-24 11:19:28','192.168.0.1'),
 (1144,'0418/PN/2016',33,'2016-03-24 11:36:29','192.168.0.1',33,'2016-03-24 11:36:29','192.168.0.1'),
 (1145,'0419/PN/2016',33,'2016-03-24 11:36:51','192.168.0.1',33,'2016-03-24 11:36:51','192.168.0.1'),
 (1146,'0420/PN/2016',33,'2016-03-24 13:55:36','192.168.0.1',33,'2016-03-24 13:55:36','192.168.0.1'),
 (1147,'0421/PN/2016',NULL,'2016-03-24 14:32:46','192.168.16.65',NULL,'2016-03-24 14:32:46','192.168.16.65'),
 (1148,'0422/PN/2016',NULL,'2016-03-24 14:44:08','192.168.0.1',NULL,'2016-03-24 14:44:08','192.168.0.1'),
 (1149,'0423/PN/2016',NULL,'2016-03-24 14:45:54','192.168.16.65',NULL,'2016-03-24 14:45:54','192.168.16.65'),
 (1150,'0424/PN/2016',NULL,'2016-03-24 14:47:36','192.168.0.1',NULL,'2016-03-24 14:47:36','192.168.0.1'),
 (1151,'0425/PN/2016',NULL,'2016-03-24 14:54:50','192.168.0.1',NULL,'2016-03-24 14:54:50','192.168.0.1'),
 (1152,'0426/PN/2016',NULL,'2016-03-24 14:55:58','192.168.0.1',NULL,'2016-03-24 14:55:58','192.168.0.1'),
 (1153,'0427/PN/2016',NULL,'2016-03-24 17:16:44','192.168.0.1',NULL,'2016-03-24 17:16:44','192.168.0.1'),
 (1154,'0428/PN/2016',NULL,'2016-03-24 17:17:04','192.168.0.1',NULL,'2016-03-24 17:17:04','192.168.0.1'),
 (1155,'0429/PN/2016',NULL,'2016-03-26 01:59:46','192.168.0.1',NULL,'2016-03-26 01:59:46','192.168.0.1'),
 (1156,'0429/PN/2016',NULL,'2016-03-26 01:59:46','192.168.0.1',NULL,'2016-03-26 01:59:46','192.168.0.1'),
 (1157,'0430/PN/2016',NULL,'2016-03-26 02:00:17','192.168.0.1',NULL,'2016-03-26 02:00:17','192.168.0.1'),
 (1158,'0431/PN/2016',NULL,'2016-03-26 02:15:11','192.168.0.1',NULL,'2016-03-26 02:15:11','192.168.0.1'),
 (1159,'0432/PN/2016',NULL,'2016-03-26 02:19:44','192.168.0.1',NULL,'2016-03-26 02:19:44','192.168.0.1'),
 (1160,'0433/PN/2016',NULL,'2016-03-27 12:37:26','192.168.0.1',NULL,'2016-03-27 12:37:26','192.168.0.1'),
 (1161,'0434/PN/2016',NULL,'2016-03-27 15:38:38','192.168.0.1',NULL,'2016-03-27 15:38:38','192.168.0.1'),
 (1162,'0435/PN/2016',NULL,'2016-03-27 15:52:51','192.168.0.1',NULL,'2016-03-27 15:52:51','192.168.0.1'),
 (1163,'0436/PN/2016',NULL,'2016-03-27 16:12:21','192.168.16.14',NULL,'2016-03-27 16:12:21','192.168.16.14'),
 (1164,'0437/PN/2016',NULL,'2016-03-27 16:12:37','192.168.16.14',NULL,'2016-03-27 16:12:37','192.168.16.14'),
 (1165,'0438/PN/2016',NULL,'2016-03-28 10:17:26','192.168.0.1',NULL,'2016-03-28 10:17:26','192.168.0.1'),
 (1166,'0439/PN/2016',NULL,'2016-03-28 10:18:35','192.168.0.1',NULL,'2016-03-28 10:18:35','192.168.0.1'),
 (1167,'0440/PN/2016',NULL,'2016-03-28 10:19:14','192.168.0.1',NULL,'2016-03-28 10:19:14','192.168.0.1'),
 (1168,'0441/PN/2016',NULL,'2016-03-28 10:20:43','192.168.0.1',NULL,'2016-03-28 10:20:43','192.168.0.1'),
 (1169,'0442/PN/2016',NULL,'2016-03-28 10:21:38','192.168.0.1',NULL,'2016-03-28 10:21:38','192.168.0.1'),
 (1170,'0443/PN/2016',NULL,'2016-03-28 10:24:33','192.168.0.1',NULL,'2016-03-28 10:24:33','192.168.0.1'),
 (1171,'0444/PN/2016',NULL,'2016-03-28 10:41:36','192.168.0.1',NULL,'2016-03-28 10:41:36','192.168.0.1'),
 (1172,'0445/PN/2016',NULL,'2016-03-28 10:46:50','192.168.0.1',NULL,'2016-03-28 10:46:50','192.168.0.1'),
 (1173,'0446/PN/2016',NULL,'2016-03-28 10:47:28','192.168.0.1',NULL,'2016-03-28 10:47:28','192.168.0.1'),
 (1174,'0447/PN/2016',33,'2016-03-28 11:17:03','192.168.0.1',33,'2016-03-28 11:17:03','192.168.0.1'),
 (1175,'0448/PN/2016',NULL,'2016-03-28 11:36:27','192.168.0.1',NULL,'2016-03-28 11:36:27','192.168.0.1'),
 (1176,'0449/PN/2016',NULL,'2016-03-28 12:35:47','192.168.0.1',NULL,'2016-03-28 12:35:47','192.168.0.1'),
 (1177,'0450/PN/2016',NULL,'2016-03-28 12:38:42','192.168.0.1',NULL,'2016-03-28 12:38:42','192.168.0.1'),
 (1178,'0451/PN/2016',NULL,'2016-03-28 12:41:32','192.168.0.1',NULL,'2016-03-28 12:41:32','192.168.0.1'),
 (1179,'0452/PN/2016',NULL,'2016-03-28 12:41:42','192.168.0.1',NULL,'2016-03-28 12:41:42','192.168.0.1'),
 (1180,'0453/PN/2016',NULL,'2016-03-28 12:55:58','192.168.0.1',NULL,'2016-03-28 12:55:58','192.168.0.1'),
 (1181,'0454/PN/2016',NULL,'2016-03-28 14:53:54','192.168.0.1',NULL,'2016-03-28 14:53:54','192.168.0.1');
INSERT INTO `tempnoinduk` (`ID`,`NoInduk`,`CreateBy`,`CreateDate`,`CreateTerminal`,`UpdateBy`,`UpdateDate`,`UpdateTerminal`) VALUES 
 (1182,'0455/PN/2016',NULL,'2016-03-28 14:53:58','192.168.0.1',NULL,'2016-03-28 14:53:58','192.168.0.1'),
 (1183,'0456/PN/2016',NULL,'2016-03-28 15:06:06','192.168.0.1',NULL,'2016-03-28 15:06:06','192.168.0.1'),
 (1184,'0457/PN/2016',NULL,'2016-03-28 16:13:36','192.168.0.1',NULL,'2016-03-28 16:13:36','192.168.0.1'),
 (1185,'0458/PN/2016',NULL,'2016-03-28 16:14:11','192.168.0.1',NULL,'2016-03-28 16:14:11','192.168.0.1'),
 (1186,'0459/PN/2016',NULL,'2016-03-29 10:45:04','192.168.0.1',NULL,'2016-03-29 10:45:04','192.168.0.1'),
 (1187,'0460/PN/2016',NULL,'2016-03-29 13:24:36','192.168.0.1',NULL,'2016-03-29 13:24:36','192.168.0.1'),
 (1188,'0461/PN/2016',NULL,'2016-03-29 15:32:26','192.168.0.1',NULL,'2016-03-29 15:32:26','192.168.0.1'),
 (1189,'0462/PN/2016',33,'2016-03-30 16:34:08','192.168.0.1',33,'2016-03-30 16:34:08','192.168.0.1'),
 (1190,'0463/PN/2016',NULL,'2016-03-31 09:34:34','192.168.0.1',NULL,'2016-03-31 09:34:34','192.168.0.1'),
 (1191,'0464/PN/2016',NULL,'2016-03-31 09:56:41','192.168.0.1',NULL,'2016-03-31 09:56:41','192.168.0.1'),
 (1192,'0465/PN/2016',NULL,'2016-03-31 11:44:59','192.168.0.1',NULL,'2016-03-31 11:44:59','192.168.0.1'),
 (1193,'0466/PN/2016',NULL,'2016-03-31 11:45:15','192.168.0.1',NULL,'2016-03-31 11:45:15','192.168.0.1'),
 (1194,'0467/PN/2016',NULL,'2016-03-31 11:45:26','192.168.0.1',NULL,'2016-03-31 11:45:26','192.168.0.1'),
 (1195,'0468/PN/2016',NULL,'2016-03-31 11:45:53','192.168.0.1',NULL,'2016-03-31 11:45:53','192.168.0.1'),
 (1196,'0469/PN/2016',NULL,'2016-03-31 11:46:02','192.168.0.1',NULL,'2016-03-31 11:46:02','192.168.0.1'),
 (1197,'0470/PN/2016',33,'2016-03-31 23:29:27','192.168.0.1',33,'2016-03-31 23:29:27','192.168.0.1'),
 (1198,'0471/PN/2016',33,'2016-03-31 23:29:40','192.168.0.1',33,'2016-03-31 23:29:40','192.168.0.1'),
 (1199,'0472/PN/2016',NULL,'2016-04-01 10:21:53','192.168.0.1',NULL,'2016-04-01 10:21:53','192.168.0.1'),
 (1200,'0473/PN/2016',NULL,'2016-04-01 10:49:58','192.168.0.1',NULL,'2016-04-01 10:49:58','192.168.0.1'),
 (1201,'0474/PN/2016',NULL,'2016-04-01 13:29:16','192.168.0.1',NULL,'2016-04-01 13:29:16','192.168.0.1'),
 (1202,'0475/PN/2016',NULL,'2016-04-01 13:40:40','192.168.0.1',NULL,'2016-04-01 13:40:40','192.168.0.1'),
 (1203,'0476/PN/2016',NULL,'2016-04-01 13:41:54','192.168.0.1',NULL,'2016-04-01 13:41:54','192.168.0.1'),
 (1204,'0477/PN/2016',NULL,'2016-04-01 13:42:07','192.168.0.1',NULL,'2016-04-01 13:42:07','192.168.0.1'),
 (1205,'0478/PN/2016',NULL,'2016-04-01 13:42:32','192.168.0.1',NULL,'2016-04-01 13:42:32','192.168.0.1'),
 (1206,'0479/PN/2016',NULL,'2016-04-01 13:42:54','192.168.0.1',NULL,'2016-04-01 13:42:54','192.168.0.1'),
 (1207,'0480/PN/2016',NULL,'2016-04-01 13:43:55','192.168.0.1',NULL,'2016-04-01 13:43:55','192.168.0.1'),
 (1208,'0481/PN/2016',NULL,'2016-04-01 13:47:33','192.168.0.1',NULL,'2016-04-01 13:47:33','192.168.0.1'),
 (1209,'0482/PN/2016',NULL,'2016-04-01 14:22:15','192.168.0.1',NULL,'2016-04-01 14:22:15','192.168.0.1'),
 (1210,'0483/PN/2016',NULL,'2016-04-01 14:24:54','192.168.0.1',NULL,'2016-04-01 14:24:54','192.168.0.1'),
 (1211,'0484/PN/2016',NULL,'2016-04-01 14:25:27','192.168.0.1',NULL,'2016-04-01 14:25:27','192.168.0.1'),
 (1212,'0485/PN/2016',NULL,'2016-04-01 14:25:53','192.168.0.1',NULL,'2016-04-01 14:25:53','192.168.0.1'),
 (1213,'0486/PN/2016',NULL,'2016-04-01 14:26:01','192.168.0.1',NULL,'2016-04-01 14:26:01','192.168.0.1'),
 (1214,'0487/PN/2016',NULL,'2016-04-01 14:26:12','192.168.0.1',NULL,'2016-04-01 14:26:12','192.168.0.1'),
 (1215,'0488/PN/2016',NULL,'2016-04-01 14:26:21','192.168.0.1',NULL,'2016-04-01 14:26:21','192.168.0.1'),
 (1216,'0489/PN/2016',NULL,'2016-04-01 14:26:36','192.168.0.1',NULL,'2016-04-01 14:26:36','192.168.0.1'),
 (1217,'0490/PN/2016',NULL,'2016-04-01 14:26:46','192.168.0.1',NULL,'2016-04-01 14:26:46','192.168.0.1'),
 (1218,'0491/PN/2016',NULL,'2016-04-01 14:26:59','192.168.0.1',NULL,'2016-04-01 14:26:59','192.168.0.1'),
 (1219,'0492/PN/2016',NULL,'2016-04-01 14:27:46','192.168.0.1',NULL,'2016-04-01 14:27:46','192.168.0.1'),
 (1220,'0493/PN/2016',NULL,'2016-04-01 15:08:22','192.168.0.1',NULL,'2016-04-01 15:08:22','192.168.0.1'),
 (1221,'0494/PN/2016',NULL,'2016-04-02 11:57:19','192.168.0.1',NULL,'2016-04-02 11:57:19','192.168.0.1'),
 (1222,'0495/PN/2016',NULL,'2016-04-02 13:27:42','192.168.0.1',NULL,'2016-04-02 13:27:42','192.168.0.1'),
 (1223,'0496/PN/2016',NULL,'2016-04-02 13:29:14','192.168.0.1',NULL,'2016-04-02 13:29:14','192.168.0.1'),
 (1224,'0497/PN/2016',NULL,'2016-04-02 13:37:39','192.168.0.1',NULL,'2016-04-02 13:37:39','192.168.0.1'),
 (1225,'0498/PN/2016',NULL,'2016-04-02 13:38:13','192.168.0.1',NULL,'2016-04-02 13:38:13','192.168.0.1'),
 (1226,'0499/PN/2016',NULL,'2016-04-02 13:38:17','192.168.0.1',NULL,'2016-04-02 13:38:17','192.168.0.1'),
 (1227,'0500/PN/2016',NULL,'2016-04-02 13:38:17','192.168.0.1',NULL,'2016-04-02 13:38:17','192.168.0.1'),
 (1228,'0501/PN/2016',NULL,'2016-04-02 13:38:25','192.168.0.1',NULL,'2016-04-02 13:38:25','192.168.0.1'),
 (1229,'0502/PN/2016',NULL,'2016-04-02 13:39:44','192.168.0.1',NULL,'2016-04-02 13:39:44','192.168.0.1'),
 (1230,'0503/PN/2016',NULL,'2016-04-02 13:44:00','192.168.0.1',NULL,'2016-04-02 13:44:00','192.168.0.1'),
 (1231,'0504/PN/2016',NULL,'2016-04-02 13:44:22','192.168.0.1',NULL,'2016-04-02 13:44:22','192.168.0.1'),
 (1232,'0505/PN/2016',NULL,'2016-04-02 13:44:32','192.168.0.1',NULL,'2016-04-02 13:44:32','192.168.0.1'),
 (1233,'0506/PN/2016',NULL,'2016-04-02 13:49:23','192.168.0.1',NULL,'2016-04-02 13:49:23','192.168.0.1'),
 (1234,'0507/PN/2016',NULL,'2016-04-02 13:49:41','192.168.0.1',NULL,'2016-04-02 13:49:41','192.168.0.1'),
 (1235,'0508/PN/2016',NULL,'2016-04-02 13:50:06','192.168.0.1',NULL,'2016-04-02 13:50:06','192.168.0.1'),
 (1236,'0509/PN/2016',NULL,'2016-04-02 13:50:45','192.168.0.1',NULL,'2016-04-02 13:50:45','192.168.0.1'),
 (1237,'0510/PN/2016',NULL,'2016-04-04 10:27:58','192.168.0.1',NULL,'2016-04-04 10:27:58','192.168.0.1'),
 (1238,'0511/PN/2016',NULL,'2016-04-04 21:40:31','192.168.0.1',NULL,'2016-04-04 21:40:31','192.168.0.1'),
 (1239,'0512/PN/2016',NULL,'2016-04-04 21:41:16','192.168.0.1',NULL,'2016-04-04 21:41:16','192.168.0.1'),
 (1240,'0513/PN/2016',NULL,'2016-04-05 09:25:46','192.168.0.1',NULL,'2016-04-05 09:25:46','192.168.0.1'),
 (1241,'0514/PN/2016',NULL,'2016-04-05 09:25:56','192.168.0.1',NULL,'2016-04-05 09:25:56','192.168.0.1'),
 (1242,'0515/PN/2016',NULL,'2016-04-05 10:21:34','192.168.0.1',NULL,'2016-04-05 10:21:34','192.168.0.1'),
 (1243,'0516/PN/2016',NULL,'2016-04-05 10:22:25','192.168.0.1',NULL,'2016-04-05 10:22:25','192.168.0.1'),
 (1244,'0517/PN/2016',NULL,'2016-04-05 11:20:28','192.168.0.1',NULL,'2016-04-05 11:20:28','192.168.0.1'),
 (1245,'0518/PN/2016',NULL,'2016-04-05 11:22:47','192.168.0.1',NULL,'2016-04-05 11:22:47','192.168.0.1'),
 (1246,'0519/PN/2016',NULL,'2016-04-05 11:28:38','192.168.0.1',NULL,'2016-04-05 11:28:38','192.168.0.1'),
 (1247,'0520/PN/2016',NULL,'2016-04-05 11:40:42','192.168.0.1',NULL,'2016-04-05 11:40:42','192.168.0.1'),
 (1248,'0521/PN/2016',NULL,'2016-04-05 11:47:48','192.168.0.1',NULL,'2016-04-05 11:47:48','192.168.0.1'),
 (1249,'0522/PN/2016',NULL,'2016-04-05 12:32:04','192.168.0.1',NULL,'2016-04-05 12:32:04','192.168.0.1'),
 (1250,'0523/PN/2016',NULL,'2016-04-05 12:32:32','192.168.0.1',NULL,'2016-04-05 12:32:32','192.168.0.1'),
 (1251,'0524/PN/2016',33,'2016-04-05 14:08:05','192.168.0.1',33,'2016-04-05 14:08:05','192.168.0.1'),
 (1252,'0525/PN/2016',NULL,'2016-04-05 14:08:54','192.168.0.1',NULL,'2016-04-05 14:08:54','192.168.0.1'),
 (1253,'0526/PN/2016',NULL,'2016-04-05 14:11:55','192.168.0.1',NULL,'2016-04-05 14:11:55','192.168.0.1'),
 (1254,'0527/PN/2016',NULL,'2016-04-05 15:16:05','192.168.0.1',NULL,'2016-04-05 15:16:05','192.168.0.1'),
 (1255,'0528/PN/2016',NULL,'2016-04-05 15:18:06','192.168.0.1',NULL,'2016-04-05 15:18:06','192.168.0.1'),
 (1256,'0529/PN/2016',NULL,'2016-04-05 15:18:15','192.168.0.1',NULL,'2016-04-05 15:18:15','192.168.0.1'),
 (1257,'0530/PN/2016',33,'2016-04-05 16:21:44','192.168.0.1',33,'2016-04-05 16:21:44','192.168.0.1'),
 (1258,'0531/PN/2016',33,'2016-04-05 16:32:32','192.168.0.1',33,'2016-04-05 16:32:32','192.168.0.1'),
 (1259,'0532/PN/2016',NULL,'2016-04-05 16:48:29','192.168.0.1',NULL,'2016-04-05 16:48:29','192.168.0.1'),
 (1260,'0533/PN/2016',NULL,'2016-04-06 06:19:11','192.168.0.1',NULL,'2016-04-06 06:19:11','192.168.0.1'),
 (1261,'0534/PN/2016',NULL,'2016-04-06 06:38:56','192.168.0.1',NULL,'2016-04-06 06:38:56','192.168.0.1'),
 (1262,'0535/PN/2016',NULL,'2016-04-06 06:42:00','192.168.0.1',NULL,'2016-04-06 06:42:00','192.168.0.1'),
 (1263,'0536/PN/2016',NULL,'2016-04-06 10:52:51','192.168.0.1',NULL,'2016-04-06 10:52:51','192.168.0.1'),
 (1264,'0537/PN/2016',NULL,'2016-04-06 10:53:12','192.168.0.1',NULL,'2016-04-06 10:53:12','192.168.0.1'),
 (1265,'0538/PN/2016',NULL,'2016-04-06 12:09:20','192.168.0.1',NULL,'2016-04-06 12:09:20','192.168.0.1'),
 (1266,'0539/PN/2016',NULL,'2016-04-06 13:10:59','192.168.0.1',NULL,'2016-04-06 13:10:59','192.168.0.1'),
 (1267,'0540/PN/2016',NULL,'2016-04-06 13:16:41','192.168.0.1',NULL,'2016-04-06 13:16:41','192.168.0.1'),
 (1268,'0541/PN/2016',NULL,'2016-04-06 13:16:53','192.168.0.1',NULL,'2016-04-06 13:16:53','192.168.0.1'),
 (1269,'0542/PN/2016',NULL,'2016-04-06 13:22:21','192.168.0.1',NULL,'2016-04-06 13:22:21','192.168.0.1'),
 (1270,'0543/PN/2016',NULL,'2016-04-06 13:23:03','192.168.0.1',NULL,'2016-04-06 13:23:03','192.168.0.1'),
 (1271,'0544/PN/2016',NULL,'2016-04-06 13:23:13','192.168.0.1',NULL,'2016-04-06 13:23:13','192.168.0.1'),
 (1272,'0545/PN/2016',NULL,'2016-04-06 13:24:30','192.168.0.1',NULL,'2016-04-06 13:24:30','192.168.0.1'),
 (1273,'0546/PN/2016',NULL,'2016-04-06 13:24:33','192.168.0.1',NULL,'2016-04-06 13:24:33','192.168.0.1'),
 (1274,'0547/PN/2016',NULL,'2016-04-06 13:24:34','192.168.0.1',NULL,'2016-04-06 13:24:34','192.168.0.1'),
 (1275,'0548/PN/2016',NULL,'2016-04-06 13:24:34','192.168.0.1',NULL,'2016-04-06 13:24:34','192.168.0.1'),
 (1276,'0549/PN/2016',NULL,'2016-04-06 13:24:34','192.168.0.1',NULL,'2016-04-06 13:24:34','192.168.0.1'),
 (1277,'0550/PN/2016',NULL,'2016-04-06 13:24:34','192.168.0.1',NULL,'2016-04-06 13:24:34','192.168.0.1'),
 (1278,'0551/PN/2016',NULL,'2016-04-06 13:24:34','192.168.0.1',NULL,'2016-04-06 13:24:34','192.168.0.1'),
 (1279,'0552/PN/2016',NULL,'2016-04-06 13:24:34','192.168.0.1',NULL,'2016-04-06 13:24:34','192.168.0.1'),
 (1280,'0553/PN/2016',NULL,'2016-04-06 13:24:34','192.168.0.1',NULL,'2016-04-06 13:24:34','192.168.0.1'),
 (1281,'0554/PN/2016',NULL,'2016-04-06 13:24:34','192.168.0.1',NULL,'2016-04-06 13:24:34','192.168.0.1'),
 (1282,'0555/PN/2016',NULL,'2016-04-06 13:24:34','192.168.0.1',NULL,'2016-04-06 13:24:34','192.168.0.1'),
 (1283,'0556/PN/2016',NULL,'2016-04-06 13:25:36','192.168.0.1',NULL,'2016-04-06 13:25:36','192.168.0.1'),
 (1284,'0557/PN/2016',NULL,'2016-04-06 13:36:00','192.168.0.1',NULL,'2016-04-06 13:36:00','192.168.0.1'),
 (1285,'0558/PN/2016',NULL,'2016-04-06 13:37:14','192.168.0.1',NULL,'2016-04-06 13:37:14','192.168.0.1'),
 (1286,'0559/PN/2016',NULL,'2016-04-06 14:13:10','192.168.0.1',NULL,'2016-04-06 14:13:10','192.168.0.1'),
 (1287,'0560/PN/2016',NULL,'2016-04-06 14:16:03','192.168.0.1',NULL,'2016-04-06 14:16:03','192.168.0.1'),
 (1288,'0561/PN/2016',NULL,'2016-04-06 14:28:48','192.168.0.1',NULL,'2016-04-06 14:28:48','192.168.0.1'),
 (1289,'0562/PN/2016',NULL,'2016-04-06 14:33:14','192.168.0.1',NULL,'2016-04-06 14:33:14','192.168.0.1'),
 (1290,'0563/PN/2016',NULL,'2016-04-06 14:35:11','192.168.0.1',NULL,'2016-04-06 14:35:11','192.168.0.1'),
 (1291,'0564/PN/2016',NULL,'2016-04-06 16:23:22','192.168.0.1',NULL,'2016-04-06 16:23:22','192.168.0.1'),
 (1292,'0565/PN/2016',33,'2016-04-06 16:56:22','192.168.0.1',33,'2016-04-06 16:56:22','192.168.0.1'),
 (1293,'0566/PN/2016',33,'2016-04-06 16:57:47','192.168.0.1',33,'2016-04-06 16:57:47','192.168.0.1'),
 (1294,'0567/PN/2016',33,'2016-04-06 16:59:27','192.168.0.1',33,'2016-04-06 16:59:27','192.168.0.1'),
 (1295,'0568/PN/2016',33,'2016-04-06 17:00:15','192.168.0.1',33,'2016-04-06 17:00:15','192.168.0.1'),
 (1296,'0569/PN/2016',33,'2016-04-06 17:08:32','192.168.0.1',33,'2016-04-06 17:08:32','192.168.0.1'),
 (1297,'0570/PN/2016',33,'2016-04-06 17:16:01','192.168.0.1',33,'2016-04-06 17:16:01','192.168.0.1'),
 (1298,'0571/PN/2016',33,'2016-04-06 17:21:08','192.168.0.1',33,'2016-04-06 17:21:08','192.168.0.1'),
 (1299,'0572/PN/2016',33,'2016-04-06 17:31:20','192.168.0.1',33,'2016-04-06 17:31:20','192.168.0.1'),
 (1300,'0573/PN/2016',33,'2016-04-06 17:31:28','192.168.0.1',33,'2016-04-06 17:31:28','192.168.0.1'),
 (1301,'0574/PN/2016',33,'2016-04-06 17:53:21','192.168.0.1',33,'2016-04-06 17:53:21','192.168.0.1'),
 (1302,'0575/PN/2016',NULL,'2016-04-06 22:19:44','192.168.0.1',NULL,'2016-04-06 22:19:44','192.168.0.1'),
 (1303,'0576/PN/2016',NULL,'2016-04-06 22:20:48','192.168.0.1',NULL,'2016-04-06 22:20:48','192.168.0.1'),
 (1304,'0577/PN/2016',NULL,'2016-04-06 22:24:27','192.168.0.1',NULL,'2016-04-06 22:24:27','192.168.0.1'),
 (1305,'0578/PN/2016',NULL,'2016-04-07 06:54:11','192.168.0.1',NULL,'2016-04-07 06:54:11','192.168.0.1'),
 (1306,'0579/PN/2016',NULL,'2016-04-07 06:57:29','192.168.0.1',NULL,'2016-04-07 06:57:29','192.168.0.1'),
 (1307,'0580/PN/2016',NULL,'2016-04-07 06:57:45','192.168.0.1',NULL,'2016-04-07 06:57:45','192.168.0.1'),
 (1308,'0581/PN/2016',33,'2016-04-07 07:09:38','192.168.0.1',33,'2016-04-07 07:09:38','192.168.0.1'),
 (1309,'0582/PN/2016',33,'2016-04-07 07:10:13','192.168.0.1',33,'2016-04-07 07:10:13','192.168.0.1'),
 (1310,'0583/PN/2016',33,'2016-04-07 07:14:12','192.168.0.1',33,'2016-04-07 07:14:12','192.168.0.1'),
 (1311,'0584/PN/2016',33,'2016-04-07 07:16:37','192.168.0.1',33,'2016-04-07 07:16:37','192.168.0.1'),
 (1312,'0585/PN/2016',33,'2016-04-07 07:16:44','192.168.0.1',33,'2016-04-07 07:16:44','192.168.0.1'),
 (1313,'0586/PN/2016',33,'2016-04-07 07:17:30','192.168.0.1',33,'2016-04-07 07:17:30','192.168.0.1'),
 (1314,'0587/PN/2016',33,'2016-04-07 07:18:13','192.168.0.1',33,'2016-04-07 07:18:13','192.168.0.1'),
 (1315,'0588/PN/2016',33,'2016-04-07 07:45:55','192.168.0.1',33,'2016-04-07 07:45:55','192.168.0.1'),
 (1316,'0589/PN/2016',33,'2016-04-07 07:46:14','192.168.0.1',33,'2016-04-07 07:46:14','192.168.0.1'),
 (1317,'0590/PN/2016',33,'2016-04-07 07:50:36','192.168.0.1',33,'2016-04-07 07:50:36','192.168.0.1'),
 (1318,'0591/PN/2016',NULL,'2016-04-07 08:09:51','192.168.0.1',NULL,'2016-04-07 08:09:51','192.168.0.1'),
 (1319,'0592/PN/2016',NULL,'2016-04-07 08:10:33','192.168.0.1',NULL,'2016-04-07 08:10:33','192.168.0.1'),
 (1320,'0593/PN/2016',33,'2016-04-07 08:11:09','192.168.0.1',33,'2016-04-07 08:11:09','192.168.0.1'),
 (1321,'0594/PN/2016',NULL,'2016-04-07 08:13:16','192.168.0.1',NULL,'2016-04-07 08:13:16','192.168.0.1'),
 (1322,'0595/PN/2016',NULL,'2016-04-07 08:13:45','192.168.0.1',NULL,'2016-04-07 08:13:45','192.168.0.1'),
 (1323,'0596/PN/2016',NULL,'2016-04-07 08:13:53','192.168.0.1',NULL,'2016-04-07 08:13:53','192.168.0.1'),
 (1324,'0597/PN/2016',NULL,'2016-04-07 08:14:52','192.168.0.1',NULL,'2016-04-07 08:14:52','192.168.0.1'),
 (1325,'0598/PN/2016',33,'2016-04-07 08:15:24','192.168.0.1',33,'2016-04-07 08:15:24','192.168.0.1'),
 (1326,'0599/PN/2016',NULL,'2016-04-07 08:16:25','192.168.0.1',NULL,'2016-04-07 08:16:25','192.168.0.1'),
 (1327,'0600/PN/2016',NULL,'2016-04-07 08:17:16','192.168.0.1',NULL,'2016-04-07 08:17:16','192.168.0.1'),
 (1328,'0601/PN/2016',NULL,'2016-04-07 08:17:17','192.168.0.1',NULL,'2016-04-07 08:17:17','192.168.0.1'),
 (1329,'0602/PN/2016',NULL,'2016-04-07 08:17:48','192.168.0.1',NULL,'2016-04-07 08:17:48','192.168.0.1'),
 (1330,'0603/PN/2016',NULL,'2016-04-07 08:18:24','192.168.0.1',NULL,'2016-04-07 08:18:24','192.168.0.1'),
 (1331,'0604/PN/2016',NULL,'2016-04-07 08:18:58','192.168.0.1',NULL,'2016-04-07 08:18:58','192.168.0.1'),
 (1332,'0605/PN/2016',NULL,'2016-04-07 08:19:15','192.168.0.1',NULL,'2016-04-07 08:19:15','192.168.0.1'),
 (1333,'0606/PN/2016',NULL,'2016-04-07 08:20:03','192.168.0.1',NULL,'2016-04-07 08:20:03','192.168.0.1'),
 (1334,'0607/PN/2016',NULL,'2016-04-07 08:20:07','192.168.0.1',NULL,'2016-04-07 08:20:07','192.168.0.1'),
 (1335,'0608/PN/2016',NULL,'2016-04-07 08:20:16','192.168.0.1',NULL,'2016-04-07 08:20:16','192.168.0.1'),
 (1336,'0609/PN/2016',NULL,'2016-04-07 08:22:43','192.168.0.1',NULL,'2016-04-07 08:22:43','192.168.0.1'),
 (1337,'0610/PN/2016',NULL,'2016-04-07 08:23:56','192.168.0.1',NULL,'2016-04-07 08:23:56','192.168.0.1'),
 (1338,'0611/PN/2016',NULL,'2016-04-07 08:25:15','192.168.0.1',NULL,'2016-04-07 08:25:15','192.168.0.1'),
 (1339,'0612/PN/2016',NULL,'2016-04-07 08:25:16','192.168.0.1',NULL,'2016-04-07 08:25:16','192.168.0.1'),
 (1340,'0613/PN/2016',NULL,'2016-04-07 08:25:38','192.168.0.1',NULL,'2016-04-07 08:25:38','192.168.0.1'),
 (1341,'0614/PN/2016',NULL,'2016-04-07 08:25:42','192.168.0.1',NULL,'2016-04-07 08:25:42','192.168.0.1'),
 (1342,'0615/PN/2016',NULL,'2016-04-07 08:26:23','192.168.0.1',NULL,'2016-04-07 08:26:23','192.168.0.1'),
 (1343,'0616/PN/2016',NULL,'2016-04-07 08:26:43','192.168.0.1',NULL,'2016-04-07 08:26:43','192.168.0.1'),
 (1344,'0617/PN/2016',NULL,'2016-04-07 08:26:48','192.168.0.1',NULL,'2016-04-07 08:26:48','192.168.0.1'),
 (1345,'0618/PN/2016',NULL,'2016-04-07 08:26:58','192.168.0.1',NULL,'2016-04-07 08:26:58','192.168.0.1'),
 (1346,'0619/PN/2016',NULL,'2016-04-07 08:27:09','192.168.0.1',NULL,'2016-04-07 08:27:09','192.168.0.1'),
 (1347,'0620/PN/2016',NULL,'2016-04-07 08:27:46','192.168.0.1',NULL,'2016-04-07 08:27:46','192.168.0.1'),
 (1348,'0621/PN/2016',NULL,'2016-04-07 08:28:19','192.168.0.1',NULL,'2016-04-07 08:28:19','192.168.0.1'),
 (1349,'0622/PN/2016',NULL,'2016-04-07 08:28:46','192.168.0.1',NULL,'2016-04-07 08:28:46','192.168.0.1'),
 (1350,'0623/PN/2016',33,'2016-04-07 08:28:48','192.168.0.1',33,'2016-04-07 08:28:48','192.168.0.1'),
 (1351,'0624/PN/2016',NULL,'2016-04-07 08:28:49','192.168.0.1',NULL,'2016-04-07 08:28:49','192.168.0.1'),
 (1352,'0625/PN/2016',NULL,'2016-04-07 08:29:18','192.168.0.1',NULL,'2016-04-07 08:29:18','192.168.0.1'),
 (1353,'0626/PN/2016',NULL,'2016-04-07 08:29:25','192.168.0.1',NULL,'2016-04-07 08:29:25','192.168.0.1'),
 (1354,'0627/PN/2016',NULL,'2016-04-07 08:29:42','192.168.0.1',NULL,'2016-04-07 08:29:42','192.168.0.1'),
 (1355,'0628/PN/2016',NULL,'2016-04-07 08:30:17','192.168.0.1',NULL,'2016-04-07 08:30:17','192.168.0.1'),
 (1356,'0629/PN/2016',NULL,'2016-04-07 08:31:35','192.168.0.1',NULL,'2016-04-07 08:31:35','192.168.0.1'),
 (1357,'0630/PN/2016',NULL,'2016-04-07 08:40:38','192.168.0.1',NULL,'2016-04-07 08:40:38','192.168.0.1'),
 (1358,'0631/PN/2016',NULL,'2016-04-07 08:40:59','192.168.0.1',NULL,'2016-04-07 08:40:59','192.168.0.1'),
 (1359,'0632/PN/2016',NULL,'2016-04-07 08:41:32','192.168.0.1',NULL,'2016-04-07 08:41:32','192.168.0.1'),
 (1360,'0633/PN/2016',NULL,'2016-04-07 08:44:37','192.168.0.1',NULL,'2016-04-07 08:44:37','192.168.0.1'),
 (1361,'0634/PN/2016',NULL,'2016-04-07 08:45:02','192.168.0.1',NULL,'2016-04-07 08:45:02','192.168.0.1'),
 (1362,'0635/PN/2016',NULL,'2016-04-07 08:45:34','192.168.0.1',NULL,'2016-04-07 08:45:34','192.168.0.1'),
 (1363,'0636/PN/2016',NULL,'2016-04-07 08:46:48','192.168.0.1',NULL,'2016-04-07 08:46:48','192.168.0.1'),
 (1364,'0637/PN/2016',NULL,'2016-04-07 08:47:06','192.168.0.1',NULL,'2016-04-07 08:47:06','192.168.0.1'),
 (1365,'0638/PN/2016',NULL,'2016-04-07 08:47:38','192.168.0.1',NULL,'2016-04-07 08:47:38','192.168.0.1'),
 (1366,'0639/PN/2016',NULL,'2016-04-07 08:47:43','192.168.0.1',NULL,'2016-04-07 08:47:43','192.168.0.1'),
 (1367,'0640/PN/2016',NULL,'2016-04-07 08:47:46','192.168.0.1',NULL,'2016-04-07 08:47:46','192.168.0.1'),
 (1368,'0641/PN/2016',NULL,'2016-04-07 08:48:20','192.168.0.1',NULL,'2016-04-07 08:48:20','192.168.0.1'),
 (1369,'0642/PN/2016',NULL,'2016-04-07 08:48:30','192.168.0.1',NULL,'2016-04-07 08:48:30','192.168.0.1'),
 (1370,'0643/PN/2016',NULL,'2016-04-07 08:48:42','192.168.0.1',NULL,'2016-04-07 08:48:42','192.168.0.1'),
 (1371,'0644/PN/2016',NULL,'2016-04-07 08:48:46','192.168.0.1',NULL,'2016-04-07 08:48:46','192.168.0.1'),
 (1372,'0645/PN/2016',NULL,'2016-04-07 08:48:50','192.168.0.1',NULL,'2016-04-07 08:48:50','192.168.0.1'),
 (1373,'0646/PN/2016',NULL,'2016-04-07 08:48:57','192.168.0.1',NULL,'2016-04-07 08:48:57','192.168.0.1'),
 (1374,'0647/PN/2016',NULL,'2016-04-07 08:49:01','192.168.0.1',NULL,'2016-04-07 08:49:01','192.168.0.1'),
 (1375,'0648/PN/2016',NULL,'2016-04-07 08:49:09','192.168.0.1',NULL,'2016-04-07 08:49:09','192.168.0.1'),
 (1376,'0649/PN/2016',NULL,'2016-04-07 08:49:16','192.168.0.1',NULL,'2016-04-07 08:49:16','192.168.0.1'),
 (1377,'0650/PN/2016',NULL,'2016-04-07 08:56:46','192.168.0.1',NULL,'2016-04-07 08:56:46','192.168.0.1'),
 (1378,'0651/PN/2016',NULL,'2016-04-07 08:57:15','192.168.0.1',NULL,'2016-04-07 08:57:15','192.168.0.1'),
 (1379,'0652/PN/2016',33,'2016-04-07 08:58:44','192.168.0.1',33,'2016-04-07 08:58:44','192.168.0.1'),
 (1380,'0653/PN/2016',33,'2016-04-07 09:00:27','192.168.0.1',33,'2016-04-07 09:00:27','192.168.0.1'),
 (1381,'0654/PN/2016',NULL,'2016-04-07 09:01:27','192.168.0.1',NULL,'2016-04-07 09:01:27','192.168.0.1'),
 (1382,'0655/PN/2016',NULL,'2016-04-07 09:04:54','192.168.0.1',NULL,'2016-04-07 09:04:54','192.168.0.1'),
 (1383,'0656/PN/2016',NULL,'2016-04-07 09:05:02','192.168.0.1',NULL,'2016-04-07 09:05:02','192.168.0.1'),
 (1384,'0657/PN/2016',NULL,'2016-04-07 09:05:18','192.168.0.1',NULL,'2016-04-07 09:05:18','192.168.0.1'),
 (1385,'0658/PN/2016',NULL,'2016-04-07 09:05:24','192.168.0.1',NULL,'2016-04-07 09:05:24','192.168.0.1'),
 (1386,'0659/PN/2016',NULL,'2016-04-07 09:09:18','192.168.0.1',NULL,'2016-04-07 09:09:18','192.168.0.1'),
 (1387,'0660/PN/2016',NULL,'2016-04-07 09:14:11','192.168.0.1',NULL,'2016-04-07 09:14:11','192.168.0.1'),
 (1388,'0661/PN/2016',33,'2016-04-07 09:15:46','192.168.0.1',33,'2016-04-07 09:15:46','192.168.0.1'),
 (1389,'0662/PN/2016',NULL,'2016-04-07 09:20:02','192.168.0.1',NULL,'2016-04-07 09:20:02','192.168.0.1'),
 (1390,'0663/PN/2016',NULL,'2016-04-07 09:23:16','192.168.0.1',NULL,'2016-04-07 09:23:16','192.168.0.1'),
 (1391,'0664/PN/2016',NULL,'2016-04-07 09:23:24','192.168.0.1',NULL,'2016-04-07 09:23:24','192.168.0.1'),
 (1392,'0665/PN/2016',NULL,'2016-04-07 09:49:52','192.168.0.1',NULL,'2016-04-07 09:49:52','192.168.0.1'),
 (1393,'0666/PN/2016',NULL,'2016-04-07 10:06:03','192.168.0.1',NULL,'2016-04-07 10:06:03','192.168.0.1'),
 (1394,'0667/PN/2016',NULL,'2016-04-07 10:38:06','192.168.0.1',NULL,'2016-04-07 10:38:06','192.168.0.1'),
 (1395,'0668/PN/2016',NULL,'2016-04-07 10:42:20','192.168.0.1',NULL,'2016-04-07 10:42:20','192.168.0.1'),
 (1396,'0669/PN/2016',33,'2016-04-07 10:43:55','192.168.0.1',33,'2016-04-07 10:43:55','192.168.0.1'),
 (1397,'0670/PN/2016',NULL,'2016-04-07 10:47:42','192.168.0.1',NULL,'2016-04-07 10:47:42','192.168.0.1'),
 (1398,'0671/PN/2016',NULL,'2016-04-07 10:49:36','192.168.0.1',NULL,'2016-04-07 10:49:36','192.168.0.1'),
 (1399,'0672/PN/2016',NULL,'2016-04-07 10:51:03','192.168.0.1',NULL,'2016-04-07 10:51:03','192.168.0.1'),
 (1400,'0673/PN/2016',NULL,'2016-04-07 11:10:50','192.168.0.1',NULL,'2016-04-07 11:10:50','192.168.0.1'),
 (1401,'0674/PN/2016',33,'2016-04-07 11:39:25','192.168.0.1',33,'2016-04-07 11:39:25','192.168.0.1'),
 (1402,'0675/PN/2016',33,'2016-04-07 11:39:36','192.168.0.1',33,'2016-04-07 11:39:36','192.168.0.1'),
 (1403,'0676/PN/2016',NULL,'2016-04-07 11:49:15','192.168.0.1',NULL,'2016-04-07 11:49:15','192.168.0.1'),
 (1404,'0677/PN/2016',NULL,'2016-04-07 11:51:25','192.168.0.1',NULL,'2016-04-07 11:51:25','192.168.0.1'),
 (1405,'0678/PN/2016',33,'2016-04-07 11:56:13','192.168.0.1',33,'2016-04-07 11:56:13','192.168.0.1'),
 (1406,'0679/PN/2016',NULL,'2016-04-07 11:56:20','192.168.0.1',NULL,'2016-04-07 11:56:20','192.168.0.1'),
 (1407,'0680/PN/2016',NULL,'2016-04-07 13:07:44','192.168.0.1',NULL,'2016-04-07 13:07:44','192.168.0.1'),
 (1408,'0681/PN/2016',33,'2016-04-07 13:37:46','192.168.0.1',33,'2016-04-07 13:37:46','192.168.0.1'),
 (1409,'0682/PN/2016',33,'2016-04-07 13:38:11','192.168.0.1',33,'2016-04-07 13:38:11','192.168.0.1'),
 (1410,'0683/PN/2016',NULL,'2016-04-07 13:39:50','192.168.0.1',NULL,'2016-04-07 13:39:50','192.168.0.1'),
 (1411,'0684/PN/2016',NULL,'2016-04-07 13:40:09','192.168.0.1',NULL,'2016-04-07 13:40:09','192.168.0.1'),
 (1412,'0685/PN/2016',33,'2016-04-07 13:42:58','192.168.0.1',33,'2016-04-07 13:42:58','192.168.0.1'),
 (1413,'0686/PN/2016',33,'2016-04-07 13:43:09','192.168.0.1',33,'2016-04-07 13:43:09','192.168.0.1'),
 (1414,'0687/PN/2016',33,'2016-04-07 13:43:12','192.168.0.1',33,'2016-04-07 13:43:12','192.168.0.1'),
 (1415,'0688/PN/2016',33,'2016-04-07 13:45:20','192.168.0.1',33,'2016-04-07 13:45:20','192.168.0.1'),
 (1416,'0689/PN/2016',33,'2016-04-07 13:46:00','192.168.0.1',33,'2016-04-07 13:46:00','192.168.0.1'),
 (1417,'0690/PN/2016',33,'2016-04-07 13:48:12','192.168.0.1',33,'2016-04-07 13:48:12','192.168.0.1'),
 (1418,'0691/PN/2016',33,'2016-04-07 13:49:10','192.168.0.1',33,'2016-04-07 13:49:10','192.168.0.1'),
 (1419,'0692/PN/2016',NULL,'2016-04-07 13:51:37','192.168.0.1',NULL,'2016-04-07 13:51:37','192.168.0.1'),
 (1420,'0693/PN/2016',33,'2016-04-07 13:52:38','192.168.0.1',33,'2016-04-07 13:52:38','192.168.0.1'),
 (1421,'0694/PN/2016',33,'2016-04-07 13:53:16','192.168.0.1',33,'2016-04-07 13:53:16','192.168.0.1'),
 (1422,'0695/PN/2016',33,'2016-04-07 13:53:31','192.168.0.1',33,'2016-04-07 13:53:31','192.168.0.1'),
 (1423,'0696/PN/2016',NULL,'2016-04-07 13:53:35','192.168.0.1',NULL,'2016-04-07 13:53:35','192.168.0.1'),
 (1424,'0697/PN/2016',33,'2016-04-07 13:53:47','192.168.0.1',33,'2016-04-07 13:53:47','192.168.0.1'),
 (1425,'0698/PN/2016',NULL,'2016-04-07 13:53:48','192.168.0.1',NULL,'2016-04-07 13:53:48','192.168.0.1'),
 (1426,'0699/PN/2016',NULL,'2016-04-07 13:54:00','192.168.0.1',NULL,'2016-04-07 13:54:00','192.168.0.1'),
 (1427,'0700/PN/2016',NULL,'2016-04-07 13:54:10','192.168.0.1',NULL,'2016-04-07 13:54:10','192.168.0.1'),
 (1428,'0701/PN/2016',33,'2016-04-07 13:54:19','192.168.0.1',33,'2016-04-07 13:54:19','192.168.0.1'),
 (1429,'0702/PN/2016',33,'2016-04-07 13:54:40','192.168.0.1',33,'2016-04-07 13:54:40','192.168.0.1'),
 (1430,'0703/PN/2016',33,'2016-04-07 13:55:03','192.168.0.1',33,'2016-04-07 13:55:03','192.168.0.1'),
 (1431,'0704/PN/2016',33,'2016-04-07 13:55:05','192.168.0.1',33,'2016-04-07 13:55:05','192.168.0.1'),
 (1432,'0705/PN/2016',33,'2016-04-07 13:57:11','192.168.0.1',33,'2016-04-07 13:57:11','192.168.0.1'),
 (1433,'0706/PN/2016',33,'2016-04-07 13:57:17','192.168.0.1',33,'2016-04-07 13:57:17','192.168.0.1'),
 (1434,'0707/PN/2016',33,'2016-04-07 13:57:18','192.168.0.1',33,'2016-04-07 13:57:18','192.168.0.1'),
 (1435,'0708/PN/2016',NULL,'2016-04-07 14:02:24','192.168.0.1',NULL,'2016-04-07 14:02:24','192.168.0.1'),
 (1436,'0709/PN/2016',NULL,'2016-04-07 14:11:27','192.168.0.1',NULL,'2016-04-07 14:11:27','192.168.0.1'),
 (1437,'0710/PN/2016',NULL,'2016-04-07 14:11:34','192.168.0.1',NULL,'2016-04-07 14:11:34','192.168.0.1'),
 (1438,'0711/PN/2016',NULL,'2016-04-07 14:19:43','192.168.0.1',NULL,'2016-04-07 14:19:43','192.168.0.1'),
 (1439,'0712/PN/2016',NULL,'2016-04-07 14:20:30','192.168.0.1',NULL,'2016-04-07 14:20:30','192.168.0.1'),
 (1440,'0713/PN/2016',NULL,'2016-04-07 14:21:10','192.168.0.1',NULL,'2016-04-07 14:21:10','192.168.0.1'),
 (1441,'0714/PN/2016',NULL,'2016-04-07 14:21:35','192.168.0.1',NULL,'2016-04-07 14:21:35','192.168.0.1'),
 (1442,'0715/PN/2016',NULL,'2016-04-07 14:22:42','192.168.0.1',NULL,'2016-04-07 14:22:42','192.168.0.1'),
 (1443,'0716/PN/2016',33,'2016-04-07 14:27:41','192.168.0.1',33,'2016-04-07 14:27:41','192.168.0.1'),
 (1444,'0717/PN/2016',33,'2016-04-07 14:27:45','192.168.0.1',33,'2016-04-07 14:27:45','192.168.0.1'),
 (1445,'0718/PN/2016',33,'2016-04-07 14:27:47','192.168.0.1',33,'2016-04-07 14:27:47','192.168.0.1'),
 (1446,'0719/PN/2016',33,'2016-04-07 14:30:12','192.168.0.1',33,'2016-04-07 14:30:12','192.168.0.1'),
 (1447,'0720/PN/2016',33,'2016-04-07 14:30:16','192.168.0.1',33,'2016-04-07 14:30:16','192.168.0.1'),
 (1448,'0721/PN/2016',33,'2016-04-07 14:30:42','192.168.0.1',33,'2016-04-07 14:30:42','192.168.0.1'),
 (1449,'0722/PN/2016',33,'2016-04-07 14:30:45','192.168.0.1',33,'2016-04-07 14:30:45','192.168.0.1'),
 (1450,'0723/PN/2016',33,'2016-04-07 14:33:22','192.168.0.1',33,'2016-04-07 14:33:22','192.168.0.1'),
 (1451,'0724/PN/2016',33,'2016-04-07 14:33:26','192.168.0.1',33,'2016-04-07 14:33:26','192.168.0.1'),
 (1452,'0725/PN/2016',33,'2016-04-07 14:44:31','192.168.0.1',33,'2016-04-07 14:44:31','192.168.0.1'),
 (1453,'0726/PN/2016',33,'2016-04-07 14:44:43','192.168.0.1',33,'2016-04-07 14:44:43','192.168.0.1'),
 (1454,'0727/PN/2016',33,'2016-04-07 14:45:11','192.168.0.1',33,'2016-04-07 14:45:11','192.168.0.1'),
 (1455,'0728/PN/2016',33,'2016-04-07 14:45:17','192.168.0.1',33,'2016-04-07 14:45:17','192.168.0.1'),
 (1456,'0729/PN/2016',33,'2016-04-07 14:47:22','192.168.0.1',33,'2016-04-07 14:47:22','192.168.0.1'),
 (1457,'0730/PN/2016',33,'2016-04-07 14:49:35','192.168.0.1',33,'2016-04-07 14:49:35','192.168.0.1'),
 (1458,'0731/PN/2016',33,'2016-04-07 14:50:39','192.168.0.1',33,'2016-04-07 14:50:39','192.168.0.1'),
 (1459,'0732/PN/2016',33,'2016-04-07 14:51:23','192.168.0.1',33,'2016-04-07 14:51:23','192.168.0.1'),
 (1460,'0733/PN/2016',33,'2016-04-07 14:51:47','192.168.0.1',33,'2016-04-07 14:51:47','192.168.0.1'),
 (1461,'0734/PN/2016',33,'2016-04-07 14:52:10','192.168.0.1',33,'2016-04-07 14:52:10','192.168.0.1'),
 (1462,'0735/PN/2016',33,'2016-04-07 14:52:24','192.168.0.1',33,'2016-04-07 14:52:24','192.168.0.1'),
 (1463,'0736/PN/2016',33,'2016-04-07 14:52:54','192.168.0.1',33,'2016-04-07 14:52:54','192.168.0.1'),
 (1464,'0737/PN/2016',33,'2016-04-07 14:53:02','192.168.0.1',33,'2016-04-07 14:53:02','192.168.0.1'),
 (1465,'0738/PN/2016',33,'2016-04-07 14:54:16','192.168.0.1',33,'2016-04-07 14:54:16','192.168.0.1'),
 (1466,'0739/PN/2016',33,'2016-04-07 15:02:04','192.168.0.1',33,'2016-04-07 15:02:04','192.168.0.1'),
 (1467,'0740/PN/2016',33,'2016-04-07 15:02:32','192.168.0.1',33,'2016-04-07 15:02:32','192.168.0.1'),
 (1468,'0741/PN/2016',33,'2016-04-07 15:03:10','192.168.0.1',33,'2016-04-07 15:03:10','192.168.0.1'),
 (1469,'0742/PN/2016',33,'2016-04-07 15:04:30','192.168.0.1',33,'2016-04-07 15:04:30','192.168.0.1'),
 (1470,'0743/PN/2016',33,'2016-04-07 15:05:03','192.168.0.1',33,'2016-04-07 15:05:03','192.168.0.1'),
 (1471,'0744/PN/2016',33,'2016-04-07 15:06:07','192.168.0.1',33,'2016-04-07 15:06:07','192.168.0.1'),
 (1472,'0745/PN/2016',33,'2016-04-07 15:06:38','192.168.0.1',33,'2016-04-07 15:06:38','192.168.0.1'),
 (1473,'0746/PN/2016',33,'2016-04-07 15:07:05','192.168.0.1',33,'2016-04-07 15:07:05','192.168.0.1'),
 (1474,'0747/PN/2016',33,'2016-04-07 15:07:38','192.168.0.1',33,'2016-04-07 15:07:38','192.168.0.1'),
 (1475,'0748/PN/2016',33,'2016-04-07 15:07:52','192.168.0.1',33,'2016-04-07 15:07:52','192.168.0.1'),
 (1476,'0749/PN/2016',33,'2016-04-07 15:08:43','192.168.0.1',33,'2016-04-07 15:08:43','192.168.0.1'),
 (1477,'0750/PN/2016',33,'2016-04-07 15:08:46','192.168.0.1',33,'2016-04-07 15:08:46','192.168.0.1'),
 (1478,'0751/PN/2016',33,'2016-04-07 15:09:32','192.168.0.1',33,'2016-04-07 15:09:32','192.168.0.1'),
 (1479,'0752/PN/2016',33,'2016-04-07 15:11:46','192.168.0.1',33,'2016-04-07 15:11:46','192.168.0.1'),
 (1480,'0753/PN/2016',33,'2016-04-07 15:16:46','192.168.0.1',33,'2016-04-07 15:16:46','192.168.0.1'),
 (1481,'0754/PN/2016',NULL,'2016-04-07 15:18:25','192.168.0.1',NULL,'2016-04-07 15:18:25','192.168.0.1'),
 (1482,'0755/PN/2016',NULL,'2016-04-07 15:21:26','192.168.0.1',NULL,'2016-04-07 15:21:26','192.168.0.1'),
 (1483,'0756/PN/2016',NULL,'2016-04-07 15:22:40','192.168.0.1',NULL,'2016-04-07 15:22:40','192.168.0.1'),
 (1484,'0757/PN/2016',NULL,'2016-04-07 15:23:38','192.168.0.1',NULL,'2016-04-07 15:23:38','192.168.0.1'),
 (1485,'0758/PN/2016',NULL,'2016-04-07 15:24:34','192.168.0.1',NULL,'2016-04-07 15:24:34','192.168.0.1'),
 (1486,'0759/PN/2016',NULL,'2016-04-07 15:38:05','192.168.0.1',NULL,'2016-04-07 15:38:05','192.168.0.1'),
 (1487,'0760/PN/2016',NULL,'2016-04-07 15:46:44','192.168.0.1',NULL,'2016-04-07 15:46:44','192.168.0.1'),
 (1488,'0761/PN/2016',33,'2016-04-07 16:22:24','192.168.0.1',33,'2016-04-07 16:22:24','192.168.0.1'),
 (1489,'0762/PN/2016',NULL,'2016-04-08 07:55:24','192.168.0.1',NULL,'2016-04-08 07:55:24','192.168.0.1'),
 (1490,'0763/PN/2016',33,'2016-04-08 08:26:42','192.168.0.1',33,'2016-04-08 08:26:42','192.168.0.1'),
 (1491,'0764/PN/2016',33,'2016-04-08 08:28:38','192.168.0.1',33,'2016-04-08 08:28:38','192.168.0.1'),
 (1492,'0765/PN/2016',33,'2016-04-08 08:44:10','192.168.0.1',33,'2016-04-08 08:44:10','192.168.0.1'),
 (1493,'0766/PN/2016',33,'2016-04-08 08:47:20','192.168.0.1',33,'2016-04-08 08:47:20','192.168.0.1'),
 (1494,'0767/PN/2016',33,'2016-04-08 08:49:01','192.168.0.1',33,'2016-04-08 08:49:01','192.168.0.1'),
 (1495,'0768/PN/2016',33,'2016-04-08 08:51:31','192.168.0.1',33,'2016-04-08 08:51:31','192.168.0.1'),
 (1496,'0769/PN/2016',33,'2016-04-08 08:54:41','192.168.0.1',33,'2016-04-08 08:54:41','192.168.0.1'),
 (1497,'0770/PN/2016',33,'2016-04-08 10:12:19','192.168.0.1',33,'2016-04-08 10:12:19','192.168.0.1'),
 (1498,'0771/PN/2016',NULL,'2016-04-08 11:13:05','192.168.0.1',NULL,'2016-04-08 11:13:05','192.168.0.1'),
 (1499,'0772/PN/2016',33,'2016-04-08 11:14:23','192.168.0.1',33,'2016-04-08 11:14:23','192.168.0.1'),
 (1500,'0773/PN/2016',33,'2016-04-08 14:35:49','192.168.0.1',33,'2016-04-08 14:35:49','192.168.0.1'),
 (1501,'0774/PN/2016',33,'2016-04-08 16:09:23','192.168.0.1',33,'2016-04-08 16:09:23','192.168.0.1'),
 (1502,'0775/PN/2016',33,'2016-04-08 16:12:12','192.168.0.1',33,'2016-04-08 16:12:12','192.168.0.1'),
 (1503,'0776/PN/2016',NULL,'2016-04-08 16:29:00','192.168.0.1',NULL,'2016-04-08 16:29:00','192.168.0.1'),
 (1504,'0777/PN/2016',33,'2016-04-08 17:23:47','192.168.0.1',33,'2016-04-08 17:23:47','192.168.0.1'),
 (1505,'0778/PN/2016',NULL,'2016-04-09 07:49:58','192.168.0.1',NULL,'2016-04-09 07:49:58','192.168.0.1'),
 (1506,'0779/PN/2016',33,'2016-04-09 13:06:18','192.168.0.1',33,'2016-04-09 13:06:18','192.168.0.1'),
 (1507,'0780/PN/2016',NULL,'2016-04-09 13:08:41','192.168.0.1',NULL,'2016-04-09 13:08:41','192.168.0.1'),
 (1508,'0781/PN/2016',NULL,'2016-04-09 14:04:07','192.168.0.1',NULL,'2016-04-09 14:04:07','192.168.0.1'),
 (1509,'0782/PN/2016',NULL,'2016-04-10 16:11:21','192.168.0.1',NULL,'2016-04-10 16:11:21','192.168.0.1'),
 (1510,'0783/PN/2016',NULL,'2016-04-10 16:21:43','192.168.0.1',NULL,'2016-04-10 16:21:43','192.168.0.1'),
 (1511,'0784/PN/2016',33,'2016-04-11 08:26:57','192.168.0.1',33,'2016-04-11 08:26:57','192.168.0.1'),
 (1512,'0785/PN/2016',NULL,'2016-04-11 08:30:05','192.168.0.1',NULL,'2016-04-11 08:30:05','192.168.0.1'),
 (1513,'0786/PN/2016',NULL,'2016-04-11 08:34:31','192.168.0.1',NULL,'2016-04-11 08:34:31','192.168.0.1'),
 (1514,'0787/PN/2016',NULL,'2016-04-11 08:37:05','192.168.0.1',NULL,'2016-04-11 08:37:05','192.168.0.1'),
 (1515,'0788/PN/2016',NULL,'2016-04-11 08:43:19','192.168.0.1',NULL,'2016-04-11 08:43:19','192.168.0.1'),
 (1516,'0789/PN/2016',33,'2016-04-11 10:23:35','192.168.0.1',33,'2016-04-11 10:23:35','192.168.0.1'),
 (1517,'0790/PN/2016',33,'2016-04-11 11:41:51','192.168.0.1',33,'2016-04-11 11:41:51','192.168.0.1'),
 (1518,'0791/PN/2016',NULL,'2016-04-11 12:40:34','192.168.0.1',NULL,'2016-04-11 12:40:34','192.168.0.1'),
 (1519,'0792/PN/2016',NULL,'2016-04-11 12:42:24','192.168.0.1',NULL,'2016-04-11 12:42:24','192.168.0.1'),
 (1520,'0793/PN/2016',NULL,'2016-04-11 12:42:37','192.168.0.1',NULL,'2016-04-11 12:42:37','192.168.0.1'),
 (1521,'0794/PN/2016',NULL,'2016-04-11 12:53:06','192.168.0.1',NULL,'2016-04-11 12:53:06','192.168.0.1'),
 (1522,'0795/PN/2016',NULL,'2016-04-11 13:36:50','192.168.0.1',NULL,'2016-04-11 13:36:50','192.168.0.1'),
 (1523,'0796/PN/2016',NULL,'2016-04-11 14:49:07','192.168.0.1',NULL,'2016-04-11 14:49:07','192.168.0.1'),
 (1524,'0797/PN/2016',33,'2016-04-11 15:07:43','192.168.0.1',33,'2016-04-11 15:07:43','192.168.0.1'),
 (1525,'0798/PN/2016',33,'2016-04-11 18:33:29','192.168.0.1',33,'2016-04-11 18:33:29','192.168.0.1'),
 (1526,'0799/PN/2016',33,'2016-04-12 08:31:55','192.168.0.1',33,'2016-04-12 08:31:55','192.168.0.1'),
 (1527,'0800/PN/2016',33,'2016-04-12 08:34:22','192.168.0.1',33,'2016-04-12 08:34:22','192.168.0.1'),
 (1528,'0801/PN/2016',NULL,'2016-04-12 08:51:59','192.168.0.1',NULL,'2016-04-12 08:51:59','192.168.0.1'),
 (1529,'0802/PN/2016',NULL,'2016-04-12 08:52:29','192.168.0.1',NULL,'2016-04-12 08:52:29','192.168.0.1'),
 (1530,'0803/PN/2016',33,'2016-04-12 08:52:40','192.168.0.1',33,'2016-04-12 08:52:40','192.168.0.1'),
 (1531,'0804/PN/2016',NULL,'2016-04-12 08:52:42','192.168.0.1',NULL,'2016-04-12 08:52:42','192.168.0.1'),
 (1532,'0805/PN/2016',33,'2016-04-12 09:15:00','192.168.0.1',33,'2016-04-12 09:15:00','192.168.0.1'),
 (1533,'0806/PN/2016',NULL,'2016-04-12 09:21:18','192.168.0.1',NULL,'2016-04-12 09:21:18','192.168.0.1'),
 (1534,'0807/PN/2016',NULL,'2016-04-12 09:23:09','192.168.0.1',NULL,'2016-04-12 09:23:09','192.168.0.1'),
 (1535,'0808/PN/2016',NULL,'2016-04-12 09:23:40','192.168.0.1',NULL,'2016-04-12 09:23:40','192.168.0.1'),
 (1536,'0809/PN/2016',33,'2016-04-12 09:39:08','192.168.0.1',33,'2016-04-12 09:39:08','192.168.0.1'),
 (1537,'0810/PN/2016',NULL,'2016-04-12 09:56:20','192.168.0.1',NULL,'2016-04-12 09:56:20','192.168.0.1'),
 (1538,'0811/PN/2016',NULL,'2016-04-12 09:57:40','192.168.0.1',NULL,'2016-04-12 09:57:40','192.168.0.1'),
 (1539,'0812/PN/2016',NULL,'2016-04-12 09:58:01','192.168.0.1',NULL,'2016-04-12 09:58:01','192.168.0.1'),
 (1540,'0813/PN/2016',NULL,'2016-04-12 09:58:29','192.168.0.1',NULL,'2016-04-12 09:58:29','192.168.0.1'),
 (1541,'0814/PN/2016',NULL,'2016-04-12 09:58:45','192.168.0.1',NULL,'2016-04-12 09:58:45','192.168.0.1'),
 (1542,'0815/PN/2016',NULL,'2016-04-12 10:00:56','192.168.0.1',NULL,'2016-04-12 10:00:56','192.168.0.1'),
 (1543,'0816/PN/2016',NULL,'2016-04-12 10:01:40','192.168.0.1',NULL,'2016-04-12 10:01:40','192.168.0.1'),
 (1544,'0817/PN/2016',NULL,'2016-04-12 10:02:38','192.168.0.1',NULL,'2016-04-12 10:02:38','192.168.0.1'),
 (1545,'0818/PN/2016',NULL,'2016-04-12 10:02:50','192.168.0.1',NULL,'2016-04-12 10:02:50','192.168.0.1'),
 (1546,'0819/PN/2016',NULL,'2016-04-12 10:04:21','192.168.0.1',NULL,'2016-04-12 10:04:21','192.168.0.1'),
 (1547,'0820/PN/2016',NULL,'2016-04-12 10:04:55','192.168.0.1',NULL,'2016-04-12 10:04:55','192.168.0.1'),
 (1548,'0821/PN/2016',NULL,'2016-04-12 10:05:16','192.168.0.1',NULL,'2016-04-12 10:05:16','192.168.0.1'),
 (1549,'0822/PN/2016',NULL,'2016-04-12 10:16:41','192.168.0.1',NULL,'2016-04-12 10:16:41','192.168.0.1'),
 (1550,'0823/PN/2016',NULL,'2016-04-12 10:17:27','192.168.0.1',NULL,'2016-04-12 10:17:27','192.168.0.1'),
 (1551,'0824/PN/2016',NULL,'2016-04-12 10:18:10','192.168.0.1',NULL,'2016-04-12 10:18:10','192.168.0.1'),
 (1552,'0825/PN/2016',NULL,'2016-04-12 10:18:29','192.168.0.1',NULL,'2016-04-12 10:18:29','192.168.0.1'),
 (1553,'0826/PN/2016',NULL,'2016-04-12 10:18:50','192.168.0.1',NULL,'2016-04-12 10:18:50','192.168.0.1'),
 (1554,'0827/PN/2016',NULL,'2016-04-12 10:22:19','192.168.0.1',NULL,'2016-04-12 10:22:19','192.168.0.1'),
 (1555,'0828/PN/2016',NULL,'2016-04-12 10:25:03','192.168.0.1',NULL,'2016-04-12 10:25:03','192.168.0.1'),
 (1556,'0829/PN/2016',NULL,'2016-04-12 10:26:47','192.168.0.1',NULL,'2016-04-12 10:26:47','192.168.0.1'),
 (1557,'0830/PN/2016',NULL,'2016-04-12 10:27:21','192.168.0.1',NULL,'2016-04-12 10:27:21','192.168.0.1'),
 (1558,'0831/PN/2016',NULL,'2016-04-12 10:27:43','192.168.0.1',NULL,'2016-04-12 10:27:43','192.168.0.1'),
 (1559,'0832/PN/2016',NULL,'2016-04-12 10:27:51','192.168.0.1',NULL,'2016-04-12 10:27:51','192.168.0.1'),
 (1560,'0833/PN/2016',NULL,'2016-04-12 10:28:44','192.168.0.1',NULL,'2016-04-12 10:28:44','192.168.0.1'),
 (1561,'0834/PN/2016',NULL,'2016-04-12 10:29:47','192.168.0.1',NULL,'2016-04-12 10:29:47','192.168.0.1'),
 (1562,'0835/PN/2016',33,'2016-04-12 11:07:27','192.168.0.1',33,'2016-04-12 11:07:27','192.168.0.1'),
 (1563,'0836/PN/2016',33,'2016-04-12 11:08:01','192.168.0.1',33,'2016-04-12 11:08:01','192.168.0.1'),
 (1564,'0837/PN/2016',33,'2016-04-12 11:26:16','192.168.0.1',33,'2016-04-12 11:26:16','192.168.0.1'),
 (1565,'0838/PN/2016',NULL,'2016-04-12 13:09:28','192.168.0.1',NULL,'2016-04-12 13:09:28','192.168.0.1'),
 (1566,'0839/PN/2016',NULL,'2016-04-12 13:11:12','192.168.0.1',NULL,'2016-04-12 13:11:12','192.168.0.1'),
 (1567,'0840/PN/2016',NULL,'2016-04-12 13:12:20','192.168.0.1',NULL,'2016-04-12 13:12:20','192.168.0.1'),
 (1568,'0841/PN/2016',NULL,'2016-04-12 13:13:02','192.168.0.1',NULL,'2016-04-12 13:13:02','192.168.0.1'),
 (1569,'0842/PN/2016',NULL,'2016-04-12 13:13:51','192.168.0.1',NULL,'2016-04-12 13:13:51','192.168.0.1'),
 (1570,'0843/PN/2016',33,'2016-04-12 14:05:29','192.168.0.1',33,'2016-04-12 14:05:29','192.168.0.1'),
 (1571,'0844/PN/2016',33,'2016-04-12 14:25:59','192.168.0.1',33,'2016-04-12 14:25:59','192.168.0.1'),
 (1572,'0845/PN/2016',33,'2016-04-12 15:39:20','192.168.0.1',33,'2016-04-12 15:39:20','192.168.0.1'),
 (1573,'0846/PN/2016',NULL,'2016-04-12 20:16:12','192.168.0.1',NULL,'2016-04-12 20:16:12','192.168.0.1'),
 (1574,'0847/PN/2016',NULL,'2016-04-12 21:13:53','192.168.0.1',NULL,'2016-04-12 21:13:53','192.168.0.1'),
 (1575,'0848/PN/2016',NULL,'2016-04-12 21:29:09','192.168.0.1',NULL,'2016-04-12 21:29:09','192.168.0.1'),
 (1576,'0849/PN/2016',33,'2016-04-13 08:52:49','192.168.0.1',33,'2016-04-13 08:52:49','192.168.0.1'),
 (1577,'0850/PN/2016',33,'2016-04-13 08:54:18','192.168.0.1',33,'2016-04-13 08:54:18','192.168.0.1'),
 (1578,'0851/PN/2016',NULL,'2016-04-13 11:33:33','192.168.0.1',NULL,'2016-04-13 11:33:33','192.168.0.1'),
 (1579,'0852/PN/2016',NULL,'2016-04-13 12:15:01','192.168.0.1',NULL,'2016-04-13 12:15:01','192.168.0.1'),
 (1580,'0853/PN/2016',NULL,'2016-04-13 14:19:50','192.168.0.1',NULL,'2016-04-13 14:19:50','192.168.0.1'),
 (1581,'0854/PN/2016',33,'2016-04-14 09:27:15','192.168.0.1',33,'2016-04-14 09:27:15','192.168.0.1'),
 (1582,'0855/PN/2016',NULL,'2016-04-14 09:54:34','192.168.0.1',NULL,'2016-04-14 09:54:34','192.168.0.1'),
 (1583,'0856/PN/2016',NULL,'2016-04-14 10:26:54','192.168.0.1',NULL,'2016-04-14 10:26:54','192.168.0.1'),
 (1584,'0857/PN/2016',NULL,'2016-04-14 10:27:36','192.168.0.1',NULL,'2016-04-14 10:27:36','192.168.0.1'),
 (1585,'0858/PN/2016',NULL,'2016-04-14 11:09:01','192.168.0.1',NULL,'2016-04-14 11:09:01','192.168.0.1'),
 (1586,'0859/PN/2016',NULL,'2016-04-14 11:26:27','192.168.0.1',NULL,'2016-04-14 11:26:27','192.168.0.1'),
 (1587,'0860/PN/2016',33,'2016-04-14 11:30:52','192.168.0.1',33,'2016-04-14 11:30:52','192.168.0.1'),
 (1588,'0861/PN/2016',NULL,'2016-04-14 11:59:23','192.168.0.1',NULL,'2016-04-14 11:59:23','192.168.0.1'),
 (1589,'0862/PN/2016',NULL,'2016-04-15 14:26:08','192.168.0.1',NULL,'2016-04-15 14:26:08','192.168.0.1'),
 (1590,'0863/PN/2016',NULL,'2016-04-15 14:26:19','192.168.0.1',NULL,'2016-04-15 14:26:19','192.168.0.1'),
 (1591,'0864/PN/2016',NULL,'2016-04-15 16:22:15','192.168.0.1',NULL,'2016-04-15 16:22:15','192.168.0.1'),
 (1592,'0865/PN/2016',NULL,'2016-04-15 16:22:27','192.168.0.1',NULL,'2016-04-15 16:22:27','192.168.0.1'),
 (1593,'0866/PN/2016',NULL,'2016-04-15 16:27:54','192.168.0.1',NULL,'2016-04-15 16:27:54','192.168.0.1'),
 (1594,'0867/PN/2016',NULL,'2016-04-15 16:28:38','192.168.0.1',NULL,'2016-04-15 16:28:38','192.168.0.1'),
 (1595,'0868/PN/2016',33,'2016-04-16 00:35:01','192.168.0.1',33,'2016-04-16 00:35:01','192.168.0.1'),
 (1596,'0869/PN/2016',33,'2016-04-16 00:42:35','192.168.0.1',33,'2016-04-16 00:42:35','192.168.0.1'),
 (1597,'0870/PN/2016',NULL,'2016-04-16 11:43:11','192.168.0.1',NULL,'2016-04-16 11:43:11','192.168.0.1'),
 (1598,'0871/PN/2016',NULL,'2016-04-16 12:25:52','192.168.0.1',NULL,'2016-04-16 12:25:52','192.168.0.1'),
 (1599,'0872/PN/2016',NULL,'2016-04-16 12:26:02','192.168.0.1',NULL,'2016-04-16 12:26:02','192.168.0.1'),
 (1600,'0873/PN/2016',NULL,'2016-04-18 07:40:05','192.168.0.1',NULL,'2016-04-18 07:40:05','192.168.0.1'),
 (1601,'0874/PN/2016',NULL,'2016-04-18 07:40:55','192.168.0.1',NULL,'2016-04-18 07:40:55','192.168.0.1'),
 (1602,'0875/PN/2016',NULL,'2016-04-18 09:47:02','192.168.0.1',NULL,'2016-04-18 09:47:02','192.168.0.1'),
 (1603,'0876/PN/2016',NULL,'2016-04-18 09:47:07','192.168.0.1',NULL,'2016-04-18 09:47:07','192.168.0.1'),
 (1604,'0877/PN/2016',NULL,'2016-04-18 09:57:52','192.168.0.1',NULL,'2016-04-18 09:57:52','192.168.0.1'),
 (1605,'0878/PN/2016',NULL,'2016-04-18 09:57:57','192.168.0.1',NULL,'2016-04-18 09:57:57','192.168.0.1'),
 (1606,'0879/PN/2016',NULL,'2016-04-18 10:19:38','192.168.0.1',NULL,'2016-04-18 10:19:38','192.168.0.1'),
 (1607,'0880/PN/2016',NULL,'2016-04-18 10:23:34','192.168.0.1',NULL,'2016-04-18 10:23:34','192.168.0.1'),
 (1608,'0881/PN/2016',NULL,'2016-04-18 12:02:25','192.168.0.1',NULL,'2016-04-18 12:02:25','192.168.0.1'),
 (1609,'0882/PN/2016',33,'2016-04-18 12:30:43','192.168.0.1',33,'2016-04-18 12:30:43','192.168.0.1'),
 (1610,'0883/PN/2016',33,'2016-04-18 12:47:14','192.168.0.1',33,'2016-04-18 12:47:14','192.168.0.1'),
 (1611,'0884/PN/2016',NULL,'2016-04-18 13:16:33','192.168.0.1',NULL,'2016-04-18 13:16:33','192.168.0.1'),
 (1612,'0885/PN/2016',NULL,'2016-04-18 13:16:53','192.168.0.1',NULL,'2016-04-18 13:16:53','192.168.0.1'),
 (1613,'0886/PN/2016',NULL,'2016-04-18 13:17:22','192.168.0.1',NULL,'2016-04-18 13:17:22','192.168.0.1'),
 (1614,'0887/PN/2016',NULL,'2016-04-18 13:17:30','192.168.0.1',NULL,'2016-04-18 13:17:30','192.168.0.1'),
 (1615,'0888/PN/2016',NULL,'2016-04-18 13:38:24','192.168.0.1',NULL,'2016-04-18 13:38:24','192.168.0.1'),
 (1616,'0889/PN/2016',NULL,'2016-04-18 13:38:53','192.168.0.1',NULL,'2016-04-18 13:38:53','192.168.0.1'),
 (1617,'0890/PN/2016',NULL,'2016-04-18 13:39:04','192.168.0.1',NULL,'2016-04-18 13:39:04','192.168.0.1'),
 (1618,'0891/PN/2016',NULL,'2016-04-18 14:21:15','192.168.0.1',NULL,'2016-04-18 14:21:15','192.168.0.1'),
 (1619,'0892/PN/2016',NULL,'2016-04-18 14:26:54','192.168.0.1',NULL,'2016-04-18 14:26:54','192.168.0.1'),
 (1620,'0893/PN/2016',NULL,'2016-04-18 14:43:48','192.168.0.1',NULL,'2016-04-18 14:43:48','192.168.0.1'),
 (1621,'0894/PN/2016',NULL,'2016-04-18 14:48:11','192.168.0.1',NULL,'2016-04-18 14:48:11','192.168.0.1'),
 (1622,'0895/PN/2016',NULL,'2016-04-18 14:49:49','192.168.0.1',NULL,'2016-04-18 14:49:49','192.168.0.1'),
 (1623,'0896/PN/2016',NULL,'2016-04-18 14:52:01','192.168.0.1',NULL,'2016-04-18 14:52:01','192.168.0.1'),
 (1624,'0897/PN/2016',NULL,'2016-04-18 14:52:55','192.168.0.1',NULL,'2016-04-18 14:52:55','192.168.0.1'),
 (1625,'0898/PN/2016',NULL,'2016-04-18 14:59:23','192.168.0.1',NULL,'2016-04-18 14:59:23','192.168.0.1'),
 (1626,'0899/PN/2016',NULL,'2016-04-18 15:06:25','192.168.0.1',NULL,'2016-04-18 15:06:25','192.168.0.1'),
 (1627,'0900/PN/2016',NULL,'2016-04-18 15:08:10','192.168.0.1',NULL,'2016-04-18 15:08:10','192.168.0.1'),
 (1628,'0901/PN/2016',NULL,'2016-04-18 15:08:53','192.168.0.1',NULL,'2016-04-18 15:08:53','192.168.0.1'),
 (1629,'0902/PN/2016',NULL,'2016-04-18 15:10:05','192.168.0.1',NULL,'2016-04-18 15:10:05','192.168.0.1'),
 (1630,'0903/PN/2016',NULL,'2016-04-18 15:10:20','192.168.0.1',NULL,'2016-04-18 15:10:20','192.168.0.1'),
 (1631,'0904/PN/2016',NULL,'2016-04-18 15:10:33','192.168.0.1',NULL,'2016-04-18 15:10:33','192.168.0.1'),
 (1632,'0905/PN/2016',NULL,'2016-04-18 15:10:36','192.168.0.1',NULL,'2016-04-18 15:10:36','192.168.0.1'),
 (1633,'0906/PN/2016',NULL,'2016-04-18 15:12:33','192.168.0.1',NULL,'2016-04-18 15:12:33','192.168.0.1'),
 (1634,'0907/PN/2016',NULL,'2016-04-18 15:14:04','192.168.0.1',NULL,'2016-04-18 15:14:04','192.168.0.1'),
 (1635,'0908/PN/2016',NULL,'2016-04-18 15:15:17','192.168.0.1',NULL,'2016-04-18 15:15:17','192.168.0.1'),
 (1636,'0909/PN/2016',NULL,'2016-04-18 15:15:36','192.168.0.1',NULL,'2016-04-18 15:15:36','192.168.0.1'),
 (1637,'0910/PN/2016',NULL,'2016-04-18 15:15:41','192.168.0.1',NULL,'2016-04-18 15:15:41','192.168.0.1'),
 (1638,'0911/PN/2016',NULL,'2016-04-18 15:15:50','192.168.0.1',NULL,'2016-04-18 15:15:50','192.168.0.1'),
 (1639,'0912/PN/2016',NULL,'2016-04-18 15:15:56','192.168.0.1',NULL,'2016-04-18 15:15:56','192.168.0.1'),
 (1640,'0913/PN/2016',NULL,'2016-04-18 15:16:02','192.168.0.1',NULL,'2016-04-18 15:16:02','192.168.0.1'),
 (1641,'0914/PN/2016',NULL,'2016-04-18 15:16:16','192.168.0.1',NULL,'2016-04-18 15:16:16','192.168.0.1'),
 (1642,'0915/PN/2016',NULL,'2016-04-18 15:16:26','192.168.0.1',NULL,'2016-04-18 15:16:26','192.168.0.1'),
 (1643,'0916/PN/2016',NULL,'2016-04-18 15:16:39','192.168.0.1',NULL,'2016-04-18 15:16:39','192.168.0.1'),
 (1644,'0917/PN/2016',NULL,'2016-04-18 15:17:23','192.168.0.1',NULL,'2016-04-18 15:17:23','192.168.0.1'),
 (1645,'0918/PN/2016',NULL,'2016-04-18 15:18:00','192.168.0.1',NULL,'2016-04-18 15:18:00','192.168.0.1'),
 (1646,'0919/PN/2016',NULL,'2016-04-18 15:45:58','192.168.0.1',NULL,'2016-04-18 15:45:58','192.168.0.1'),
 (1647,'0920/PN/2016',NULL,'2016-04-18 15:51:28','192.168.0.1',NULL,'2016-04-18 15:51:28','192.168.0.1'),
 (1648,'0921/PN/2016',NULL,'2016-04-18 15:51:48','192.168.0.1',NULL,'2016-04-18 15:51:48','192.168.0.1'),
 (1649,'0922/PN/2016',NULL,'2016-04-18 16:09:08','192.168.0.1',NULL,'2016-04-18 16:09:08','192.168.0.1'),
 (1650,'0923/PN/2016',NULL,'2016-04-18 16:15:15','192.168.0.1',NULL,'2016-04-18 16:15:15','192.168.0.1'),
 (1651,'0924/PN/2016',NULL,'2016-04-18 16:17:33','192.168.0.1',NULL,'2016-04-18 16:17:33','192.168.0.1'),
 (1652,'0925/PN/2016',NULL,'2016-04-18 16:18:16','192.168.0.1',NULL,'2016-04-18 16:18:16','192.168.0.1'),
 (1653,'0926/PN/2016',NULL,'2016-04-18 17:30:47','192.168.0.1',NULL,'2016-04-18 17:30:47','192.168.0.1'),
 (1654,'0927/PN/2016',NULL,'2016-04-18 17:30:53','192.168.0.1',NULL,'2016-04-18 17:30:53','192.168.0.1'),
 (1655,'0928/PN/2016',NULL,'2016-04-18 17:33:38','192.168.0.1',NULL,'2016-04-18 17:33:38','192.168.0.1'),
 (1656,'0929/PN/2016',NULL,'2016-04-18 17:33:44','192.168.0.1',NULL,'2016-04-18 17:33:44','192.168.0.1'),
 (1657,'0930/PN/2016',NULL,'2016-04-18 17:33:54','192.168.0.1',NULL,'2016-04-18 17:33:54','192.168.0.1'),
 (1658,'0931/PN/2016',NULL,'2016-04-18 17:34:11','192.168.0.1',NULL,'2016-04-18 17:34:11','192.168.0.1'),
 (1659,'0932/PN/2016',NULL,'2016-04-18 17:35:40','192.168.0.1',NULL,'2016-04-18 17:35:40','192.168.0.1'),
 (1660,'0933/PN/2016',NULL,'2016-04-18 17:35:45','192.168.0.1',NULL,'2016-04-18 17:35:45','192.168.0.1'),
 (1661,'0934/PN/2016',NULL,'2016-04-18 17:35:51','192.168.0.1',NULL,'2016-04-18 17:35:51','192.168.0.1'),
 (1662,'0935/PN/2016',NULL,'2016-04-18 17:37:14','192.168.0.1',NULL,'2016-04-18 17:37:14','192.168.0.1'),
 (1663,'0936/PN/2016',33,'2016-04-18 18:30:22','192.168.0.1',33,'2016-04-18 18:30:22','192.168.0.1'),
 (1664,'0937/PN/2016',33,'2016-04-18 19:59:10','192.168.0.1',33,'2016-04-18 19:59:10','192.168.0.1'),
 (1665,'0938/PN/2016',33,'2016-04-18 20:01:28','192.168.0.1',33,'2016-04-18 20:01:28','192.168.0.1'),
 (1666,'0939/PN/2016',33,'2016-04-19 08:41:47','192.168.0.1',33,'2016-04-19 08:41:47','192.168.0.1'),
 (1667,'0940/PN/2016',33,'2016-04-19 08:42:43','192.168.0.1',33,'2016-04-19 08:42:43','192.168.0.1'),
 (1668,'0941/PN/2016',33,'2016-04-19 08:42:52','192.168.0.1',33,'2016-04-19 08:42:52','192.168.0.1'),
 (1669,'0942/PN/2016',33,'2016-04-19 08:43:02','192.168.0.1',33,'2016-04-19 08:43:02','192.168.0.1'),
 (1670,'0943/PN/2016',33,'2016-04-19 08:43:02','192.168.0.1',33,'2016-04-19 08:43:02','192.168.0.1'),
 (1671,'0944/PN/2016',33,'2016-04-19 08:43:02','192.168.0.1',33,'2016-04-19 08:43:02','192.168.0.1'),
 (1672,'0945/PN/2016',33,'2016-04-19 08:43:02','192.168.0.1',33,'2016-04-19 08:43:02','192.168.0.1'),
 (1673,'0946/PN/2016',33,'2016-04-19 08:43:03','192.168.0.1',33,'2016-04-19 08:43:03','192.168.0.1'),
 (1674,'0947/PN/2016',33,'2016-04-19 08:43:03','192.168.0.1',33,'2016-04-19 08:43:03','192.168.0.1'),
 (1675,'0948/PN/2016',33,'2016-04-19 08:43:03','192.168.0.1',33,'2016-04-19 08:43:03','192.168.0.1'),
 (1676,'0949/PN/2016',33,'2016-04-19 08:43:03','192.168.0.1',33,'2016-04-19 08:43:03','192.168.0.1'),
 (1677,'0950/PN/2016',33,'2016-04-19 08:43:03','192.168.0.1',33,'2016-04-19 08:43:03','192.168.0.1'),
 (1678,'0951/PN/2016',33,'2016-04-19 08:43:03','192.168.0.1',33,'2016-04-19 08:43:03','192.168.0.1'),
 (1679,'0952/PN/2016',33,'2016-04-19 08:45:24','192.168.0.1',33,'2016-04-19 08:45:24','192.168.0.1'),
 (1680,'0953/PN/2016',33,'2016-04-19 08:46:38','192.168.0.1',33,'2016-04-19 08:46:38','192.168.0.1'),
 (1681,'0954/PN/2016',NULL,'2016-04-19 09:15:33','192.168.0.1',NULL,'2016-04-19 09:15:33','192.168.0.1'),
 (1682,'0955/PN/2016',NULL,'2016-04-19 09:44:44','192.168.0.1',NULL,'2016-04-19 09:44:44','192.168.0.1'),
 (1683,'0956/PN/2016',33,'2016-04-19 10:31:04','192.168.0.1',33,'2016-04-19 10:31:04','192.168.0.1'),
 (1684,'0957/PN/2016',33,'2016-04-19 12:18:12','192.168.0.1',33,'2016-04-19 12:18:12','192.168.0.1'),
 (1685,'0958/PN/2016',33,'2016-04-19 12:19:14','192.168.0.1',33,'2016-04-19 12:19:14','192.168.0.1'),
 (1686,'0959/PN/2016',33,'2016-04-19 13:06:29','192.168.0.1',33,'2016-04-19 13:06:29','192.168.0.1'),
 (1687,'0960/PN/2016',33,'2016-04-19 13:07:29','192.168.0.1',33,'2016-04-19 13:07:29','192.168.0.1'),
 (1688,'0961/PN/2016',33,'2016-04-19 13:07:43','192.168.0.1',33,'2016-04-19 13:07:43','192.168.0.1'),
 (1689,'0962/PN/2016',33,'2016-04-19 13:07:55','192.168.0.1',33,'2016-04-19 13:07:55','192.168.0.1'),
 (1690,'0963/PN/2016',NULL,'2016-04-19 13:10:01','192.168.0.1',NULL,'2016-04-19 13:10:01','192.168.0.1'),
 (1691,'0964/PN/2016',33,'2016-04-19 13:10:13','192.168.0.1',33,'2016-04-19 13:10:13','192.168.0.1'),
 (1692,'0965/PN/2016',NULL,'2016-04-19 14:18:34','192.168.0.1',NULL,'2016-04-19 14:18:34','192.168.0.1'),
 (1693,'0966/PN/2016',33,'2016-04-19 14:48:16','192.168.0.1',33,'2016-04-19 14:48:16','192.168.0.1'),
 (1694,'0967/PN/2016',33,'2016-04-19 15:34:57','192.168.0.1',33,'2016-04-19 15:34:57','192.168.0.1'),
 (1695,'0968/PN/2016',33,'2016-04-19 15:36:25','192.168.0.1',33,'2016-04-19 15:36:25','192.168.0.1'),
 (1696,'0969/PN/2016',33,'2016-04-19 15:36:43','192.168.0.1',33,'2016-04-19 15:36:43','192.168.0.1'),
 (1697,'0970/PN/2016',33,'2016-04-19 15:37:17','192.168.0.1',33,'2016-04-19 15:37:17','192.168.0.1'),
 (1698,'0971/PN/2016',33,'2016-04-19 15:37:19','192.168.0.1',33,'2016-04-19 15:37:19','192.168.0.1'),
 (1699,'0972/PN/2016',33,'2016-04-19 16:02:34','192.168.0.1',33,'2016-04-19 16:02:34','192.168.0.1'),
 (1700,'0973/PN/2016',33,'2016-04-19 16:02:53','192.168.0.1',33,'2016-04-19 16:02:53','192.168.0.1'),
 (1701,'0974/PN/2016',33,'2016-04-19 16:37:45','192.168.0.1',33,'2016-04-19 16:37:45','192.168.0.1'),
 (1702,'0975/PN/2016',33,'2016-04-19 16:42:32','192.168.0.1',33,'2016-04-19 16:42:32','192.168.0.1'),
 (1703,'0976/PN/2016',33,'2016-04-19 16:44:00','192.168.0.1',33,'2016-04-19 16:44:00','192.168.0.1'),
 (1704,'0977/PN/2016',33,'2016-04-19 16:56:16','192.168.0.1',33,'2016-04-19 16:56:16','192.168.0.1'),
 (1705,'0978/PN/2016',33,'2016-04-19 17:25:36','192.168.0.1',33,'2016-04-19 17:25:36','192.168.0.1'),
 (1706,'0979/PN/2016',33,'2016-04-20 08:48:57','192.168.0.1',33,'2016-04-20 08:48:57','192.168.0.1'),
 (1707,'0980/PN/2016',33,'2016-04-20 08:51:40','192.168.0.1',33,'2016-04-20 08:51:40','192.168.0.1'),
 (1708,'0981/PN/2016',33,'2016-04-20 09:01:31','192.168.0.1',33,'2016-04-20 09:01:31','192.168.0.1'),
 (1709,'0982/PN/2016',NULL,'2016-04-20 10:18:23','192.168.0.1',NULL,'2016-04-20 10:18:23','192.168.0.1'),
 (1710,'0983/PN/2016',NULL,'2016-04-20 10:18:40','192.168.0.1',NULL,'2016-04-20 10:18:40','192.168.0.1'),
 (1711,'0984/PN/2016',33,'2016-04-20 10:35:55','192.168.0.1',33,'2016-04-20 10:35:55','192.168.0.1'),
 (1712,'0985/PN/2016',33,'2016-04-20 10:38:22','192.168.0.1',33,'2016-04-20 10:38:22','192.168.0.1'),
 (1713,'0986/PN/2016',33,'2016-04-20 10:38:25','192.168.0.1',33,'2016-04-20 10:38:25','192.168.0.1'),
 (1714,'0987/PN/2016',33,'2016-04-20 10:38:25','192.168.0.1',33,'2016-04-20 10:38:25','192.168.0.1'),
 (1715,'0037/PN/2016',33,'2016-04-20 10:40:33','192.168.0.1',33,'2016-04-20 10:40:33','192.168.0.1'),
 (1716,'0037/PN/2016',33,'2016-04-20 10:41:42','192.168.0.1',33,'2016-04-20 10:41:42','192.168.0.1'),
 (1717,'0037/PN/2016',NULL,'2016-04-20 11:15:36','192.168.0.1',NULL,'2016-04-20 11:15:36','192.168.0.1'),
 (1718,'0037/PN/2016',33,'2016-04-20 11:32:22','192.168.0.1',33,'2016-04-20 11:32:22','192.168.0.1'),
 (1719,'0037/PN/2016',33,'2016-04-20 11:38:54','192.168.0.1',33,'2016-04-20 11:38:54','192.168.0.1'),
 (1720,'0037/PN/2016',33,'2016-04-20 12:43:07','192.168.0.1',33,'2016-04-20 12:43:07','192.168.0.1'),
 (1721,'0037/PN/2016',33,'2016-04-20 19:12:14','192.168.0.1',33,'2016-04-20 19:12:14','192.168.0.1'),
 (1722,'0037/PN/2016',33,'2016-04-21 09:20:55','192.168.0.1',33,'2016-04-21 09:20:55','192.168.0.1'),
 (1723,'0037/PN/2016',33,'2016-04-21 09:21:27','192.168.0.1',33,'2016-04-21 09:21:27','192.168.0.1'),
 (1724,'0037/PN/2016',33,'2016-04-21 10:49:10','192.168.0.1',33,'2016-04-21 10:49:10','192.168.0.1'),
 (1725,'0037/PN/2016',NULL,'2016-04-21 11:45:20','192.168.0.1',NULL,'2016-04-21 11:45:20','192.168.0.1'),
 (1726,'0037/PN/2016',NULL,'2016-04-21 11:48:39','192.168.0.1',NULL,'2016-04-21 11:48:39','192.168.0.1'),
 (1727,'0037/PN/2016',33,'2016-04-21 12:04:52','192.168.0.1',33,'2016-04-21 12:04:52','192.168.0.1'),
 (1728,'0037/PN/2016',33,'2016-04-21 12:10:43','192.168.0.1',33,'2016-04-21 12:10:43','192.168.0.1'),
 (1729,'0037/PN/2016',33,'2016-04-21 13:33:18','192.168.0.1',33,'2016-04-21 13:33:18','192.168.0.1'),
 (1730,'0037/PN/2016',NULL,'2016-04-22 11:39:26','192.168.0.1',NULL,'2016-04-22 11:39:26','192.168.0.1'),
 (1731,'0037/PN/2016',NULL,'2016-04-22 11:42:58','192.168.0.1',NULL,'2016-04-22 11:42:58','192.168.0.1'),
 (1732,'0037/PN/2016',NULL,'2016-04-22 11:46:14','192.168.0.1',NULL,'2016-04-22 11:46:14','192.168.0.1'),
 (1733,'0037/PN/2016',NULL,'2016-04-22 11:46:56','192.168.0.1',NULL,'2016-04-22 11:46:56','192.168.0.1'),
 (1734,'0037/PN/2016',NULL,'2016-04-22 11:47:41','192.168.0.1',NULL,'2016-04-22 11:47:41','192.168.0.1'),
 (1735,'0037/PN/2016',NULL,'2016-04-22 15:03:59','192.168.0.1',NULL,'2016-04-22 15:03:59','192.168.0.1'),
 (1736,'0037/PN/2016',NULL,'2016-04-22 15:04:07','192.168.0.1',NULL,'2016-04-22 15:04:07','192.168.0.1'),
 (1737,'0037/PN/2016',33,'2016-04-22 16:34:10','192.168.0.1',33,'2016-04-22 16:34:10','192.168.0.1'),
 (1738,'0037/PN/2016',33,'2016-04-22 19:35:36','192.168.0.1',33,'2016-04-22 19:35:36','192.168.0.1'),
 (1739,'0037/PN/2016',33,'2016-04-22 20:48:59','192.168.0.1',33,'2016-04-22 20:48:59','192.168.0.1'),
 (1740,'0037/PN/2016',33,'2016-04-23 01:41:55','192.168.0.1',33,'2016-04-23 01:41:55','192.168.0.1'),
 (1741,'0037/PN/2016',33,'2016-04-23 01:42:02','192.168.0.1',33,'2016-04-23 01:42:02','192.168.0.1'),
 (1742,'0037/PN/2016',33,'2016-04-23 01:42:08','192.168.0.1',33,'2016-04-23 01:42:08','192.168.0.1'),
 (1743,'0038/PN/2016',33,'2016-04-23 01:42:08','192.168.0.1',33,'2016-04-23 01:42:08','192.168.0.1'),
 (1744,'0037/PN/2016',33,'2016-04-23 01:44:05','192.168.0.1',33,'2016-04-23 01:44:05','192.168.0.1'),
 (1745,'0037/PN/2016',33,'2016-04-23 01:44:23','192.168.0.1',33,'2016-04-23 01:44:23','192.168.0.1'),
 (1746,'0037/PN/2016',33,'2016-04-23 01:46:47','192.168.0.1',33,'2016-04-23 01:46:47','192.168.0.1'),
 (1747,'0037/PN/2016',33,'2016-04-23 01:47:22','192.168.0.1',33,'2016-04-23 01:47:22','192.168.0.1'),
 (1748,'0037/PN/2016',NULL,'2016-04-23 09:35:45','192.168.0.1',NULL,'2016-04-23 09:35:45','192.168.0.1'),
 (1749,'0037/PN/2016',33,'2016-04-23 16:02:12','192.168.0.1',33,'2016-04-23 16:02:12','192.168.0.1'),
 (1750,'0037/PN/2016',NULL,'2016-04-23 23:58:24','192.168.0.1',NULL,'2016-04-23 23:58:24','192.168.0.1'),
 (1751,'0037/PN/2016',NULL,'2016-04-23 23:59:14','192.168.0.1',NULL,'2016-04-23 23:59:14','192.168.0.1'),
 (1752,'0037/PN/2016',33,'2016-04-25 07:20:20','192.168.0.1',33,'2016-04-25 07:20:20','192.168.0.1'),
 (1753,'0037/PN/2016',33,'2016-04-25 08:37:08','192.168.0.1',33,'2016-04-25 08:37:08','192.168.0.1'),
 (1754,'0037/PN/2016',33,'2016-04-25 10:38:03','192.168.0.1',33,'2016-04-25 10:38:03','192.168.0.1'),
 (1755,'0037/PN/2016',33,'2016-04-25 10:39:48','192.168.0.1',33,'2016-04-25 10:39:48','192.168.0.1'),
 (1756,'0037/PN/2016',NULL,'2016-04-25 11:43:40','192.168.0.1',NULL,'2016-04-25 11:43:40','192.168.0.1'),
 (1757,'0037/PN/2016',NULL,'2016-04-25 12:50:43','192.168.0.1',NULL,'2016-04-25 12:50:43','192.168.0.1'),
 (1758,'0037/PN/2016',NULL,'2016-04-25 13:01:05','192.168.0.1',NULL,'2016-04-25 13:01:05','192.168.0.1'),
 (1759,'0037/PN/2016',33,'2016-04-25 13:33:22','192.168.0.1',33,'2016-04-25 13:33:22','192.168.0.1'),
 (1760,'0037/PN/2016',33,'2016-04-25 13:59:38','192.168.0.1',33,'2016-04-25 13:59:38','192.168.0.1'),
 (1761,'0037/PN/2016',33,'2016-04-25 14:11:10','192.168.0.1',33,'2016-04-25 14:11:10','192.168.0.1'),
 (1762,'0037/PN/2016',33,'2016-04-25 14:15:41','192.168.0.1',33,'2016-04-25 14:15:41','192.168.0.1'),
 (1763,'0037/PN/2016',33,'2016-04-25 14:16:20','192.168.0.1',33,'2016-04-25 14:16:20','192.168.0.1'),
 (1764,'0037/PN/2016',33,'2016-04-25 14:50:52','192.168.0.1',33,'2016-04-25 14:50:52','192.168.0.1'),
 (1765,'0037/PN/2016',NULL,'2016-04-25 15:46:59','192.168.0.1',NULL,'2016-04-25 15:46:59','192.168.0.1'),
 (1766,'0037/PN/2016',NULL,'2016-04-25 15:47:04','192.168.0.1',NULL,'2016-04-25 15:47:04','192.168.0.1'),
 (1767,'0037/PN/2016',33,'2016-04-26 08:38:49','192.168.0.1',33,'2016-04-26 08:38:49','192.168.0.1'),
 (1768,'0037/PN/2016',33,'2016-04-26 08:40:23','192.168.0.1',33,'2016-04-26 08:40:23','192.168.0.1'),
 (1769,'0037/PN/2016',33,'2016-04-26 08:40:47','192.168.0.1',33,'2016-04-26 08:40:47','192.168.0.1'),
 (1770,'0037/PN/2016',33,'2016-04-26 08:59:07','192.168.0.1',33,'2016-04-26 08:59:07','192.168.0.1'),
 (1771,'0037/PN/2016',NULL,'2016-04-26 11:00:42','192.168.0.1',NULL,'2016-04-26 11:00:42','192.168.0.1'),
 (1772,'0037/PN/2016',33,'2016-04-26 11:34:13','192.168.0.1',33,'2016-04-26 11:34:13','192.168.0.1'),
 (1773,'0037/PN/2016',33,'2016-04-27 07:31:12','192.168.0.1',33,'2016-04-27 07:31:12','192.168.0.1'),
 (1774,'0037/PN/2016',33,'2016-04-27 07:31:16','192.168.0.1',33,'2016-04-27 07:31:16','192.168.0.1'),
 (1775,'0037/PN/2016',NULL,'2016-04-27 09:07:26','192.168.0.1',NULL,'2016-04-27 09:07:26','192.168.0.1'),
 (1776,'0037/PN/2016',NULL,'2016-04-27 09:58:14','192.168.0.1',NULL,'2016-04-27 09:58:14','192.168.0.1'),
 (1777,'0037/PN/2016',NULL,'2016-04-27 10:01:59','192.168.0.1',NULL,'2016-04-27 10:01:59','192.168.0.1'),
 (1778,'0037/PN/2016',NULL,'2016-04-27 10:02:43','192.168.0.1',NULL,'2016-04-27 10:02:43','192.168.0.1'),
 (1779,'0037/PN/2016',NULL,'2016-04-27 10:02:47','192.168.0.1',NULL,'2016-04-27 10:02:47','192.168.0.1'),
 (1780,'0037/PN/2016',33,'2016-04-27 12:22:34','192.168.0.1',33,'2016-04-27 12:22:34','192.168.0.1'),
 (1781,'0037/PN/2016',33,'2016-04-27 12:24:26','192.168.0.1',33,'2016-04-27 12:24:26','192.168.0.1'),
 (1782,'0037/PN/2016',33,'2016-04-27 12:46:06','192.168.0.1',33,'2016-04-27 12:46:06','192.168.0.1'),
 (1783,'0037/PN/2016',33,'2016-04-27 13:02:48','192.168.0.1',33,'2016-04-27 13:02:48','192.168.0.1'),
 (1784,'0037/PN/2016',33,'2016-04-27 13:03:09','192.168.0.1',33,'2016-04-27 13:03:09','192.168.0.1'),
 (1785,'0037/PN/2016',33,'2016-04-27 13:57:09','192.168.0.1',33,'2016-04-27 13:57:09','192.168.0.1'),
 (1786,'0037/PN/2016',33,'2016-04-27 13:58:05','192.168.0.1',33,'2016-04-27 13:58:05','192.168.0.1'),
 (1787,'0037/PN/2016',33,'2016-04-27 14:09:57','192.168.0.1',33,'2016-04-27 14:09:57','192.168.0.1'),
 (1788,'0037/PN/2016',NULL,'2016-04-27 14:40:13','192.168.0.1',NULL,'2016-04-27 14:40:13','192.168.0.1'),
 (1789,'0037/PN/2016',NULL,'2016-04-27 14:41:07','192.168.0.1',NULL,'2016-04-27 14:41:07','192.168.0.1'),
 (1790,'0037/PN/2016',NULL,'2016-04-27 14:41:33','192.168.0.1',NULL,'2016-04-27 14:41:33','192.168.0.1'),
 (1791,'0037/PN/2016',NULL,'2016-04-27 14:41:41','192.168.0.1',NULL,'2016-04-27 14:41:41','192.168.0.1'),
 (1792,'0037/PN/2016',33,'2016-04-27 15:19:08','192.168.0.1',33,'2016-04-27 15:19:08','192.168.0.1'),
 (1793,'0037/PN/2016',33,'2016-04-27 23:25:54','192.168.0.1',33,'2016-04-27 23:25:54','192.168.0.1'),
 (1794,'0037/PN/2016',33,'2016-04-27 23:26:10','192.168.0.1',33,'2016-04-27 23:26:10','192.168.0.1');
INSERT INTO `tempnoinduk` (`ID`,`NoInduk`,`CreateBy`,`CreateDate`,`CreateTerminal`,`UpdateBy`,`UpdateDate`,`UpdateTerminal`) VALUES 
 (1795,'0037/PN/2016',33,'2016-04-28 09:06:38','192.168.0.1',33,'2016-04-28 09:06:38','192.168.0.1'),
 (1796,'0037/PN/2016',33,'2016-04-28 10:25:04','192.168.0.1',33,'2016-04-28 10:25:04','192.168.0.1'),
 (1797,'0037/PN/2016',NULL,'2016-04-28 11:30:50','192.168.0.1',NULL,'2016-04-28 11:30:50','192.168.0.1'),
 (1798,'0037/PN/2016',33,'2016-04-28 14:55:07','192.168.0.1',33,'2016-04-28 14:55:07','192.168.0.1'),
 (1799,'0037/PN/2016',33,'2016-04-28 14:55:34','192.168.0.1',33,'2016-04-28 14:55:34','192.168.0.1'),
 (1800,'0037/PN/2016',NULL,'2016-04-28 15:00:25','192.168.0.1',NULL,'2016-04-28 15:00:25','192.168.0.1'),
 (1801,'0037/PN/2016',NULL,'2016-04-28 15:00:47','192.168.0.1',NULL,'2016-04-28 15:00:47','192.168.0.1'),
 (1802,'0037/PN/2016',33,'2016-04-28 15:17:44','192.168.0.1',33,'2016-04-28 15:17:44','192.168.0.1'),
 (1803,'0037/PN/2016',33,'2016-04-28 15:18:50','192.168.0.1',33,'2016-04-28 15:18:50','192.168.0.1'),
 (1804,'0037/PN/2016',33,'2016-04-28 15:27:59','192.168.0.1',33,'2016-04-28 15:27:59','192.168.0.1'),
 (1805,'0037/PN/2016',NULL,'2016-04-28 15:52:08','192.168.0.1',NULL,'2016-04-28 15:52:08','192.168.0.1'),
 (1806,'0037/PN/2016',NULL,'2016-04-28 15:52:41','192.168.0.1',NULL,'2016-04-28 15:52:41','192.168.0.1'),
 (1807,'0037/PN/2016',NULL,'2016-04-28 16:35:05','192.168.0.1',NULL,'2016-04-28 16:35:05','192.168.0.1'),
 (1808,'0037/PN/2016',NULL,'2016-04-28 16:35:16','192.168.0.1',NULL,'2016-04-28 16:35:16','192.168.0.1'),
 (1809,'0037/PN/2016',33,'2016-04-28 16:42:04','192.168.0.1',33,'2016-04-28 16:42:04','192.168.0.1'),
 (1810,'0037/PN/2016',33,'2016-04-28 19:53:23','192.168.0.1',33,'2016-04-28 19:53:23','192.168.0.1'),
 (1811,'0037/PN/2016',33,'2016-04-28 21:06:10','192.168.0.1',33,'2016-04-28 21:06:10','192.168.0.1'),
 (1812,'0037/PN/2016',33,'2016-04-29 08:07:15','192.168.0.1',33,'2016-04-29 08:07:15','192.168.0.1'),
 (1813,'0037/PN/2016',NULL,'2016-04-29 09:05:16','192.168.0.1',NULL,'2016-04-29 09:05:16','192.168.0.1'),
 (1814,'0037/PN/2016',33,'2016-04-29 10:44:47','192.168.0.1',33,'2016-04-29 10:44:47','192.168.0.1'),
 (1815,'0037/PN/2016',NULL,'2016-04-29 11:13:16','192.168.0.1',NULL,'2016-04-29 11:13:16','192.168.0.1'),
 (1816,'0037/PN/2016',33,'2016-04-29 11:27:36','192.168.0.1',33,'2016-04-29 11:27:36','192.168.0.1'),
 (1817,'0037/PN/2016',33,'2016-04-29 12:53:27','192.168.0.1',33,'2016-04-29 12:53:27','192.168.0.1'),
 (1818,'0037/PN/2016',33,'2016-04-29 13:00:24','192.168.0.1',33,'2016-04-29 13:00:24','192.168.0.1'),
 (1819,'0037/PN/2016',33,'2016-04-29 13:33:16','192.168.0.1',33,'2016-04-29 13:33:16','192.168.0.1'),
 (1820,'0037/PN/2016',33,'2016-04-29 13:33:30','192.168.0.1',33,'2016-04-29 13:33:30','192.168.0.1'),
 (1821,'0037/PN/2016',33,'2016-04-29 13:37:22','192.168.0.1',33,'2016-04-29 13:37:22','192.168.0.1'),
 (1822,'0037/PN/2016',33,'2016-04-29 13:38:13','192.168.0.1',33,'2016-04-29 13:38:13','192.168.0.1'),
 (1823,'0037/PN/2016',33,'2016-04-29 13:46:48','192.168.0.1',33,'2016-04-29 13:46:48','192.168.0.1'),
 (1824,'0037/PN/2016',33,'2016-04-29 13:55:51','192.168.0.1',33,'2016-04-29 13:55:51','192.168.0.1'),
 (1825,'0037/PN/2016',33,'2016-04-29 13:56:15','192.168.0.1',33,'2016-04-29 13:56:15','192.168.0.1'),
 (1826,'0037/PN/2016',33,'2016-04-29 13:58:00','192.168.0.1',33,'2016-04-29 13:58:00','192.168.0.1'),
 (1827,'0037/PN/2016',33,'2016-04-29 14:02:54','192.168.0.1',33,'2016-04-29 14:02:54','192.168.0.1'),
 (1828,'0037/PN/2016',33,'2016-04-29 14:10:26','192.168.0.1',33,'2016-04-29 14:10:26','192.168.0.1'),
 (1829,'0037/PN/2016',33,'2016-04-29 14:13:06','192.168.0.1',33,'2016-04-29 14:13:06','192.168.0.1'),
 (1830,'0037/PN/2016',33,'2016-04-29 14:15:15','192.168.0.1',33,'2016-04-29 14:15:15','192.168.0.1'),
 (1831,'0037/PN/2016',33,'2016-04-29 14:15:55','192.168.0.1',33,'2016-04-29 14:15:55','192.168.0.1'),
 (1832,'0037/PN/2016',33,'2016-04-29 14:16:54','192.168.0.1',33,'2016-04-29 14:16:54','192.168.0.1'),
 (1833,'0037/PN/2016',33,'2016-04-29 14:16:59','192.168.0.1',33,'2016-04-29 14:16:59','192.168.0.1'),
 (1834,'0037/PN/2016',33,'2016-04-29 14:18:41','192.168.0.1',33,'2016-04-29 14:18:41','192.168.0.1'),
 (1835,'0037/PN/2016',33,'2016-04-29 14:19:09','192.168.0.1',33,'2016-04-29 14:19:09','192.168.0.1'),
 (1836,'0037/PN/2016',33,'2016-04-29 14:19:20','192.168.0.1',33,'2016-04-29 14:19:20','192.168.0.1'),
 (1837,'0037/PN/2016',33,'2016-04-29 14:20:06','192.168.0.1',33,'2016-04-29 14:20:06','192.168.0.1'),
 (1838,'0038/PN/2016',33,'2016-04-29 14:20:07','192.168.0.1',33,'2016-04-29 14:20:07','192.168.0.1'),
 (1839,'0037/PN/2016',33,'2016-04-29 14:20:23','192.168.0.1',33,'2016-04-29 14:20:23','192.168.0.1'),
 (1840,'0037/PN/2016',33,'2016-04-29 14:21:30','192.168.0.1',33,'2016-04-29 14:21:30','192.168.0.1'),
 (1841,'0037/PN/2016',33,'2016-04-29 14:21:33','192.168.0.1',33,'2016-04-29 14:21:33','192.168.0.1'),
 (1842,'0037/PN/2016',33,'2016-04-29 14:21:38','192.168.0.1',33,'2016-04-29 14:21:38','192.168.0.1'),
 (1843,'0037/PN/2016',33,'2016-04-29 14:23:33','192.168.0.1',33,'2016-04-29 14:23:33','192.168.0.1'),
 (1844,'0037/PN/2016',33,'2016-04-29 14:25:02','192.168.0.1',33,'2016-04-29 14:25:02','192.168.0.1'),
 (1845,'0037/PN/2016',33,'2016-04-29 14:26:50','192.168.0.1',33,'2016-04-29 14:26:50','192.168.0.1'),
 (1846,'0037/PN/2016',33,'2016-04-29 14:26:57','192.168.0.1',33,'2016-04-29 14:26:57','192.168.0.1'),
 (1847,'0037/PN/2016',33,'2016-04-29 14:28:56','192.168.0.1',33,'2016-04-29 14:28:56','192.168.0.1'),
 (1848,'0037/PN/2016',33,'2016-04-29 15:28:55','192.168.0.1',33,'2016-04-29 15:28:55','192.168.0.1'),
 (1849,'0037/PN/2016',NULL,'2016-04-29 15:45:19','192.168.0.1',NULL,'2016-04-29 15:45:19','192.168.0.1'),
 (1850,'0001/PN/2016',33,'2016-05-03 08:08:06','::1',33,'2016-05-03 08:08:06','::1');


--
-- Definition of table `tujuan_kunjungan`
--

CREATE TABLE `tujuan_kunjungan` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Code` varchar(100) NOT NULL,
  `TujuanKunjungan` varchar(255) NOT NULL,
  `Member` tinyint(1) DEFAULT NULL,
  `NonMember` tinyint(1) DEFAULT NULL,
  `Rombongan` tinyint(1) DEFAULT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`ID`),
  UNIQUE KEY `Code` (`Code`),
  KEY `tujuan_kunjungan_createby` (`CreateBy`),
  KEY `tujuan_kunjungan_updateby` (`UpdateBy`),
  CONSTRAINT `tujuan_kunjungan_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `tujuan_kunjungan_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tujuan_kunjungan`
--

INSERT INTO `tujuan_kunjungan` (`ID`,`Code`,`TujuanKunjungan`,`Member`,`NonMember`,`Rombongan`,`CreateBy`,`CreateDate`,`CreateTerminal`,`UpdateBy`,`UpdateDate`,`UpdateTerminal`) VALUES 
 (1,'MEMBACA','Kunjungan Biasa/Membaca',1,1,1,33,'2015-08-27 10:55:44','::1',33,'2015-08-27 10:55:44','::1'),
 (2,'PENELITIAN','Penelitian',1,1,1,33,'2015-08-27 10:56:12','::1',33,'2015-08-27 10:56:12','::1'),
 (3,'STUDYTOUR','Study Tour',1,1,1,33,'2015-08-27 10:56:42','::1',33,'2015-08-27 10:56:42','::1'),
 (4,'REFRESHING','Refreshing',1,1,1,33,'2015-08-27 10:57:03','::1',33,'2015-08-27 10:57:03','::1'),
 (5,'TUGASKULIAH','Tugas Kuliah',1,1,1,33,'2015-08-27 10:57:35','::1',33,'2015-08-27 10:57:35','::1'),
 (6,'LITERATUR','Pencarian Literatur',1,1,1,33,'2015-08-27 10:58:00','::1',33,'2015-08-27 10:58:00','::1');


--
-- Definition of table `user`
--

CREATE TABLE `user` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `auth_key` varchar(32) COLLATE utf8_unicode_ci NOT NULL,
  `password_hash` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `password_reset_token` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `status` smallint(6) NOT NULL DEFAULT '10',
  `created_at` int(11) NOT NULL,
  `updated_at` int(11) NOT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `username` (`username`),
  UNIQUE KEY `email` (`email`),
  UNIQUE KEY `password_reset_token` (`password_reset_token`),
  KEY `user_createby` (`CreateBy`),
  KEY `user` (`UpdateBy`),
  CONSTRAINT `user` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `user_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `user`
--



--
-- Definition of table `userloclibforcol`
--

CREATE TABLE `userloclibforcol` (
  `User_id` int(11) NOT NULL,
  `LocLib_id` int(11) NOT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  KEY `User_id` (`User_id`),
  KEY `LocLib_id` (`LocLib_id`),
  KEY `userloclibforcol_createby` (`CreateBy`),
  KEY `userloclibforcol_updateby` (`UpdateBy`),
  CONSTRAINT `FK_userloclibforcol_loclib` FOREIGN KEY (`LocLib_id`) REFERENCES `location_library` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK_userloclibforcol_user` FOREIGN KEY (`User_id`) REFERENCES `users` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `userloclibforcol_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `userloclibforcol_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `userloclibforcol`
--

INSERT INTO `userloclibforcol` (`User_id`,`LocLib_id`,`CreateBy`,`CreateDate`,`CreateTerminal`,`UpdateBy`,`UpdateDate`,`UpdateTerminal`) VALUES 
 (33,1,46,'2016-04-29 16:29:50','::1',NULL,NULL,NULL),
 (46,1,46,'2016-04-29 16:29:50','::1',NULL,NULL,NULL);


--
-- Definition of table `userloclibforloan`
--

CREATE TABLE `userloclibforloan` (
  `User_id` int(11) NOT NULL,
  `LocLib_id` int(11) NOT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  KEY `User_id` (`User_id`),
  KEY `LocLib_id` (`LocLib_id`),
  KEY `userloclibforloan_createby` (`CreateBy`),
  KEY `userloclibforloan` (`UpdateBy`),
  CONSTRAINT `FK_userloclibforloan_loclib` FOREIGN KEY (`LocLib_id`) REFERENCES `location_library` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK_userloclibforloan_user` FOREIGN KEY (`User_id`) REFERENCES `users` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `userloclibforloan` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `userloclibforloan_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `userloclibforloan`
--



--
-- Definition of table `userlogs`
--

CREATE TABLE `userlogs` (
  `User_id` int(11) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `Description` varchar(255) DEFAULT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  KEY `User_id` (`User_id`),
  KEY `userlogs_createby` (`CreateBy`),
  KEY `userlogs` (`UpdateBy`),
  CONSTRAINT `FKF49AED76753825B6` FOREIGN KEY (`User_id`) REFERENCES `users` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `userlogs` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `userlogs_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `userlogs`
--



--
-- Definition of table `users`
--

CREATE TABLE `users` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(50) NOT NULL,
  `password` varchar(255) NOT NULL,
  `auth_key` varchar(32) DEFAULT NULL,
  `password_hash` varchar(255) DEFAULT NULL,
  `password_reset_token` varchar(255) DEFAULT NULL,
  `status` smallint(10) DEFAULT NULL,
  `Fullname` varchar(255) NOT NULL,
  `EmailAddress` varchar(255) DEFAULT NULL,
  `IsActive` bit(1) DEFAULT b'1',
  `SesID` varchar(255) DEFAULT NULL,
  `MaxDateSesID` datetime DEFAULT NULL,
  `ActivationCode` varchar(255) DEFAULT NULL,
  `LoginAttemp` int(11) DEFAULT NULL,
  `LastSubmtLogin` datetime DEFAULT NULL,
  `LastSuccess` datetime DEFAULT NULL,
  `Department_id` int(11) DEFAULT NULL,
  `Branch_id` int(11) DEFAULT NULL,
  `Role_id` int(11) NOT NULL,
  `IsCanResetUserPassword` bit(1) DEFAULT b'0',
  `IsCanResetMemberPassword` bit(1) DEFAULT b'0',
  `IsAdvanceEntryCatalog` bit(1) DEFAULT b'0',
  `IsAdvanceEntryCollection` bit(1) DEFAULT b'0',
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  `created_at` int(11) DEFAULT NULL,
  `updated_at` int(11) DEFAULT NULL,
  `KIILastUploadDate` datetime DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `Department_id` (`Department_id`),
  KEY `Branch_id` (`Branch_id`),
  KEY `Role_id` (`Role_id`),
  KEY `Users_Password` (`password`),
  KEY `users_createby` (`CreateBy`),
  KEY `users_updateby` (`UpdateBy`),
  KEY `users_kii` (`KIILastUploadDate`),
  KEY `Users_UserName` (`username`),
  KEY `users_createdate` (`CreateDate`),
  KEY `users_updatedate` (`UpdateDate`),
  KEY `users_IsActive` (`IsActive`),
  CONSTRAINT `FK617D3C3A6ADC8006` FOREIGN KEY (`Branch_id`) REFERENCES `branchs` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK617D3C3AA5775E88` FOREIGN KEY (`Department_id`) REFERENCES `departments` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK617D3C3AD86F6C52` FOREIGN KEY (`Role_id`) REFERENCES `roles` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `users` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `users_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`ID`,`username`,`password`,`auth_key`,`password_hash`,`password_reset_token`,`status`,`Fullname`,`EmailAddress`,`IsActive`,`SesID`,`MaxDateSesID`,`ActivationCode`,`LoginAttemp`,`LastSubmtLogin`,`LastSuccess`,`Department_id`,`Branch_id`,`Role_id`,`IsCanResetUserPassword`,`IsCanResetMemberPassword`,`IsAdvanceEntryCatalog`,`IsAdvanceEntryCollection`,`CreateBy`,`CreateDate`,`CreateTerminal`,`UpdateBy`,`UpdateDate`,`UpdateTerminal`,`created_at`,`updated_at`,`KIILastUploadDate`) VALUES 
 (33,'inlislite','ed8fb134e25fa542df61e676dac8948259b3db0b',NULL,'$2y$13$GzqTSNp7xxV9Xda/R10ntuT7quVZOHtPJ8ib1wCbFpyCrDUVgHhL6',NULL,NULL,'Inlislite','',0x01,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,6,0x00,0x01,0x00,0x00,33,'2013-04-03 16:24:11','::1',33,'2015-08-30 13:06:17','::1',NULL,1461911255,'2015-10-27 14:11:31'),
 (43,'denisyahreza','3895A02E201479D6471A673387E962C529CC4777',NULL,NULL,NULL,NULL,'Deni Syahreza',NULL,0x01,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0x00,0x00,0x01,0x00,33,'2013-04-24 02:03:08','::1',33,'2013-04-24 02:03:08','::1',NULL,NULL,'2015-10-27 14:11:31'),
 (46,'superadmin','afad293631ede68b1dc3eeab3b37d6f7285e4ae1','SHzEhxK1nLeQEZqLpD5YMxbuTvTnKt95','$2y$13$PtvDLG65VU6VRt6uhNoRUuYb2/dDFbDak7//BXOUD20Q3atI/oXnW',NULL,10,'Henry','henry@inlislite.perpusnas.go.id',0x01,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0x01,0x01,0x01,0x00,33,'2015-10-26 23:40:00',NULL,33,NULL,NULL,1439872940,1456806695,'2015-10-27 14:11:31');


--
-- Definition of table `warnaddc`
--

CREATE TABLE `warnaddc` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `KodeDDC` varchar(20) COLLATE latin1_general_ci NOT NULL,
  `Warna` varchar(50) COLLATE latin1_general_ci NOT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) COLLATE latin1_general_ci DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) COLLATE latin1_general_ci DEFAULT NULL,
  PRIMARY KEY (`ID`),
  KEY `warnaddc_createby` (`CreateBy`),
  KEY `warnaddc_updateby` (`UpdateBy`),
  CONSTRAINT `warnaddc_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `warnaddc_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

--
-- Dumping data for table `warnaddc`
--

INSERT INTO `warnaddc` (`ID`,`KodeDDC`,`Warna`,`CreateBy`,`CreateDate`,`CreateTerminal`,`UpdateBy`,`UpdateDate`,`UpdateTerminal`) VALUES 
 (1,'001','#ffff00',33,'2016-03-02 19:56:24','192.168.0.1',33,'2016-03-02 19:56:24','192.168.0.1'),
 (2,'100','#00ff00',33,'2016-03-02 19:57:20','192.168.0.1',33,'2016-03-02 19:57:20','192.168.0.1');


--
-- Definition of table `worksheetfielditems`
--

CREATE TABLE `worksheetfielditems` (
  `WorksheetField_id` int(11) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `RefferenceMode` varchar(20) NOT NULL,
  `StartPosition` int(11) DEFAULT NULL,
  `Length` int(11) DEFAULT NULL,
  `DefaultValue` varchar(255) DEFAULT NULL,
  `IdemTag` varchar(255) DEFAULT NULL,
  `IdemStartPosition` int(11) DEFAULT NULL,
  `Refference_id` int(11) DEFAULT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  KEY `Refference_id` (`Refference_id`),
  KEY `WorksheetField_id` (`WorksheetField_id`),
  KEY `WFItems_StartPosition` (`StartPosition`),
  KEY `worksheetfielditems_createby` (`CreateBy`),
  KEY `worksheetfielditems_updateby` (`UpdateBy`),
  CONSTRAINT `FKB9A428D2352BBDA2` FOREIGN KEY (`WorksheetField_id`) REFERENCES `worksheetfields` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FKB9A428D2EACE6BC0` FOREIGN KEY (`Refference_id`) REFERENCES `refferences` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `worksheetfielditems_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `worksheetfielditems_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `worksheetfielditems`
--

INSERT INTO `worksheetfielditems` (`WorksheetField_id`,`Name`,`RefferenceMode`,`StartPosition`,`Length`,`DefaultValue`,`IdemTag`,`IdemStartPosition`,`Refference_id`,`CreateBy`,`CreateDate`,`CreateTerminal`,`UpdateBy`,`UpdateDate`,`UpdateTerminal`) VALUES 
 (4,'Jenis bahan pustaka','Dropdown',0,1,'#','',0,12,NULL,NULL,NULL,NULL,NULL,NULL),
 (4,'Keterangan bahan khusus','Dropdown',1,1,'#','',0,13,NULL,NULL,NULL,NULL,NULL,NULL),
 (77,'Jenis bahan pustaka','Dropdown',0,1,'#','',0,46,NULL,NULL,NULL,NULL,NULL,NULL),
 (77,'Keterangan bahan khusus','Dropdown',1,1,'#','',0,47,NULL,NULL,NULL,NULL,NULL,NULL),
 (134,'Jenis bahan pustaka','Dropdown',0,1,'#','',0,78,NULL,NULL,NULL,NULL,NULL,NULL),
 (134,'Keterangan bahan khusus','Dropdown',1,1,'#','',0,79,NULL,NULL,NULL,NULL,NULL,NULL),
 (134,'Belum ditetapkan','None',2,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (134,'Warna','Dropdown',3,1,'#','',0,80,NULL,NULL,NULL,NULL,NULL,NULL),
 (134,'Format rekaman video','Dropdown',4,1,'#','',0,81,NULL,NULL,NULL,NULL,NULL,NULL),
 (134,'Suara pada medium','Dropdown',5,1,'#','',0,82,NULL,NULL,NULL,NULL,NULL,NULL),
 (134,'Medium suara','Dropdown',6,1,'#','',0,83,NULL,NULL,NULL,NULL,NULL,NULL),
 (134,'Dimensi','Dropdown',7,1,'#','',0,84,NULL,NULL,NULL,NULL,NULL,NULL),
 (134,'Konfigurasi saluran alat putar','Dropdown',8,1,'#','',0,85,NULL,NULL,NULL,NULL,NULL,NULL),
 (169,'Jenis bahan pustaka','Dropdown',0,1,'#','',0,99,NULL,NULL,NULL,NULL,NULL,NULL),
 (169,'Keterangan bahan khusus','Dropdown',1,1,'#','',0,100,NULL,NULL,NULL,NULL,NULL,NULL),
 (184,'Jenis bahan pustaka','Dropdown',0,1,'#','',0,102,NULL,NULL,NULL,NULL,NULL,NULL),
 (184,'Keterangan bahan khusus','Dropdown',1,1,'#','',0,103,NULL,NULL,NULL,NULL,NULL,NULL),
 (184,'Belum ditetapkan','None',2,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (184,'Kecepatan','Dropdown',3,1,'#','',0,104,NULL,NULL,NULL,NULL,NULL,NULL),
 (184,'Konfigurasi saluran alat putar','Dropdown',4,1,'#','',0,105,NULL,NULL,NULL,NULL,NULL,NULL),
 (184,'Lebar alur / pola titinada alur','Dropdown',5,1,'#','',0,106,NULL,NULL,NULL,NULL,NULL,NULL),
 (184,'Dimensi','Dropdown',6,1,'#','',0,107,NULL,NULL,NULL,NULL,NULL,NULL),
 (184,'Lebar pita','Dropdown',7,1,'#','',0,108,NULL,NULL,NULL,NULL,NULL,NULL),
 (184,'Konfigurasi pita','Dropdown',8,1,'#','',0,109,NULL,NULL,NULL,NULL,NULL,NULL),
 (184,'Jenis cakram, silinder, atau pita','Dropdown',9,1,'#','',0,110,NULL,NULL,NULL,NULL,NULL,NULL),
 (184,'Jenis bahan','Dropdown',10,1,'#','',0,111,NULL,NULL,NULL,NULL,NULL,NULL),
 (184,'Jenis potongan','Dropdown',11,1,'#','',0,112,NULL,NULL,NULL,NULL,NULL,NULL),
 (184,'Karakteristik khusus alat putar','Dropdown',12,1,'#','',0,113,NULL,NULL,NULL,NULL,NULL,NULL),
 (184,'Teknik pengambilan dan penyimpanan','Dropdown',13,1,'#','',0,114,NULL,NULL,NULL,NULL,NULL,NULL),
 (200,'Jenis bahan pustaka','Dropdown',0,1,'#','',0,122,NULL,NULL,NULL,NULL,NULL,NULL),
 (200,'Keterangan bahan khusus','Dropdown',1,1,'#','',0,123,NULL,NULL,NULL,NULL,NULL,NULL),
 (200,'Belum ditetapkan','None',2,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (200,'Aspek positif / negatif','Dropdown',3,1,'#','',0,124,NULL,NULL,NULL,NULL,NULL,NULL),
 (200,'Dimensi','Dropdown',4,1,'#','',0,125,NULL,NULL,NULL,NULL,NULL,NULL),
 (200,'Kisaran perbandingan reduksi','Dropdown',5,1,'#','',0,126,NULL,NULL,NULL,NULL,NULL,NULL),
 (200,'Perbandingan reduksi','Dropdown',6,3,'###','',0,127,NULL,NULL,NULL,NULL,NULL,NULL),
 (200,'Warna','Dropdown',9,1,'#','',0,128,NULL,NULL,NULL,NULL,NULL,NULL),
 (200,'Emulsi film','Dropdown',10,1,'#','',0,129,NULL,NULL,NULL,NULL,NULL,NULL),
 (200,'Generasi','Dropdown',11,1,'#','',0,130,NULL,NULL,NULL,NULL,NULL,NULL),
 (200,'Dasar film','Dropdown',12,1,'#','',0,131,NULL,NULL,NULL,NULL,NULL,NULL),
 (117,'Jenis bahan pustaka','Dropdown',0,1,'#','',0,72,NULL,NULL,NULL,NULL,NULL,NULL),
 (117,'Keterangan bahan khusus','Dropdown',1,1,'#','',0,73,NULL,NULL,NULL,NULL,NULL,NULL),
 (117,'Belum ditetapkan','None',2,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (117,'Warna','Dropdown',3,1,'#','',0,74,NULL,NULL,NULL,NULL,NULL,NULL),
 (117,'Bahan dasar utama','Dropdown',4,1,'#','',0,75,NULL,NULL,NULL,NULL,NULL,NULL),
 (117,'Bahan dasar pendukung','Dropdown',5,1,'#','',0,76,NULL,NULL,NULL,NULL,NULL,NULL),
 (256,'Jenis bahan pustaka','Dropdown',0,1,'','',0,90,NULL,NULL,NULL,NULL,NULL,NULL),
 (256,'Keterangan bahan khusus','Dropdown',1,1,'','',0,91,NULL,NULL,NULL,NULL,NULL,NULL),
 (98,'Jenis bahan pustaka','Dropdown',0,1,'a','',0,60,NULL,NULL,NULL,NULL,NULL,NULL),
 (98,'Keterangan bahan khusus','Dropdown',1,1,'#','',0,61,NULL,NULL,NULL,NULL,NULL,NULL),
 (98,'Belum ditetapkan','None',2,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (98,'Warna','Dropdown',3,1,'#','',0,62,NULL,NULL,NULL,NULL,NULL,NULL),
 (98,'Medium fisik','Dropdown',4,1,'#','',0,63,NULL,NULL,NULL,NULL,NULL,NULL),
 (98,'Jenis reproduksi','Dropdown',5,1,'#','',0,64,NULL,NULL,NULL,NULL,NULL,NULL),
 (98,'Keterangan produksi/reproduksi','Dropdown',6,1,'#','',0,65,NULL,NULL,NULL,NULL,NULL,NULL),
 (98,'Aspek positif/negatif','Dropdown',7,1,'#','',0,66,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Tanggal pemasukan ke berkas','None',0,6,'######','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Jenis tahun terbit','Dropdown',6,1,'#','',0,1,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Tahun 1','None',7,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Tahun 2','None',11,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Tempat terbit, produksi atau pelaksanaan','Dropdown',15,3,'###','',0,7,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Ilustrasi','Dropdown',18,4,'####','',0,14,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Kelompok sasaran','Dropdown',22,1,'#','',0,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Bentuk bahan','Dropdown',23,1,'#','',0,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Isi','Dropdown',24,4,'####','',0,15,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Terbitan pemerintah','Dropdown',28,1,'#','',0,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Terbitan konferensi','Dropdown',29,1,'#','',0,16,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Feskrif','Dropdown',30,1,'#','',0,10,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Indeks','Dropdown',31,1,'#','',0,8,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Belum ditetapkan','None',32,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Bentuk karya tulis','Dropdown',33,1,'#','',0,17,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Biografi','Dropdown',34,1,'#','',0,18,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Bahasa','Dropdown',35,3,'###','',0,5,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Cantuman sudah dimodifikasi','Dropdown',38,1,'#','',0,3,NULL,NULL,NULL,NULL,NULL,NULL),
 (5,'Sumber pengkatalogan','Dropdown',39,1,'#','',0,4,NULL,NULL,NULL,NULL,NULL,NULL),
 (25,'Bentuk bahan pustaka','Dropdown',0,1,'m','',0,19,NULL,NULL,NULL,NULL,NULL,NULL),
 (25,'Belum ditetapkan','None',1,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (25,'Kelompok sasaran','Dropdown',5,1,'#','008',22,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (25,'Belum ditetapkan','None',6,3,'###','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (25,'Jenis berkas komputer','Dropdown',9,1,'#','008',26,32,NULL,NULL,NULL,NULL,NULL,NULL),
 (25,'Belum ditetapkan','None',10,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (25,'Terbitan pemerintah','Dropdown',11,1,'#','008',28,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (25,'Belum ditetapkan','None',12,6,'######','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (26,'Jenis bahan pustaka','Dropdown',0,1,'c','',0,20,NULL,NULL,NULL,NULL,NULL,NULL),
 (26,'Keterangan bahan khusus','Dropdown',1,1,'#','',0,21,NULL,NULL,NULL,NULL,NULL,NULL),
 (26,'Belum ditetapkan','None',2,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (26,'Warna','Dropdown',3,1,'#','',0,22,NULL,NULL,NULL,NULL,NULL,NULL),
 (26,'Dimensi','Dropdown',4,1,'#','',0,23,NULL,NULL,NULL,NULL,NULL,NULL),
 (26,'Medium Suara','Dropdown',5,1,'#','',0,24,NULL,NULL,NULL,NULL,NULL,NULL),
 (26,'Kedalaman Citra','Dropdown',6,3,'###','',0,25,NULL,NULL,NULL,NULL,NULL,NULL),
 (26,'Format berkas','Dropdown',9,1,'#','',0,26,NULL,NULL,NULL,NULL,NULL,NULL),
 (26,'Sasaran pencapaian kualitas','Dropdown',10,1,'#','',0,27,NULL,NULL,NULL,NULL,NULL,NULL),
 (26,'Sumber','Dropdown',11,1,'#','',0,28,NULL,NULL,NULL,NULL,NULL,NULL),
 (26,'Tingkat pamampatan','Dropdown',12,1,'#','',0,29,NULL,NULL,NULL,NULL,NULL,NULL),
 (26,'Kualitas format ulang','Dropdown',13,1,'#','',0,30,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,'Tanggal pemasukan data','None',0,6,'######','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,'Jenis tahun terbit','Dropdown',6,1,'#','',0,1,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,'Tahun 1','None',7,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,'Tahun 2','None',11,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,'Tempat terbit, produksi atau pelaksanaan','Dropdown',15,3,'###','',0,7,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,'Belum ditetapkan','None',18,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,'Kelompok sasaran','Dropdown',22,1,'#','',0,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,'Bentuk bahan','Dropdown',23,1,'#','',0,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,'Belum ditetapkan','None',24,2,'##','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,'Jenis berkas komputer','Dropdown',26,1,'#','',0,32,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,'Belum ditetapkan','None',27,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,'Terbitan pemerintah','Dropdown',28,1,'#','',0,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,'Belum ditetapkan','None',29,6,'######','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,'Bahasa','Dropdown',35,3,'###','',0,5,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,'Cantuman sudah dimodifikasi','Dropdown',38,1,'#','',0,3,NULL,NULL,NULL,NULL,NULL,NULL),
 (27,'Sumber pengkatalogan','Dropdown',39,1,'#','',0,4,NULL,NULL,NULL,NULL,NULL,NULL),
 (45,'Bentuk bahan pustaka','Dropdown',0,1,'g','',0,77,NULL,NULL,NULL,NULL,NULL,NULL),
 (45,'Lama waktu tayang','Dropdown',1,3,'###','008',19,42,NULL,NULL,NULL,NULL,NULL,NULL),
 (45,'Belum ditetapkan','None',4,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (45,'Kelompok sasaran','Dropdown',5,1,'#','008',22,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (45,'Belum ditetapkan','None',6,5,'#####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (45,'Terbitan pemerintah','Dropdown',11,1,'#','008',28,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (45,'Bentuk bahan','Dropdown',12,1,'#','008',29,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (45,'Belum ditetapkan','None',13,3,'###','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (45,'Jenis bahan pustaka visual','Dropdown',16,1,'#','008',33,43,NULL,NULL,NULL,NULL,NULL,NULL),
 (45,'Teknik','Dropdown',17,1,'#','008',34,44,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Jenis bahan pustaka','Dropdown',0,1,'#','',0,34,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Keterangan bahan khusus','Dropdown',1,1,'#','',0,35,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Belum Ditetapkan','None',2,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Warna','Dropdown',3,1,'#','',0,36,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Format penyajian citra bergerak','Dropdown',4,1,'#','',0,37,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Suara dalam medium','Dropdown',5,1,'#','',0,38,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Medium suara','Dropdown',6,1,'#','',0,39,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Dimensi','Dropdown',7,1,'#','',0,40,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Konfigurasi','Dropdown',8,1,'#','',0,41,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Unsur produksi','None',9,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Aspek positif/negatif','None',10,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Generasi','None',11,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Dasar film','None',12,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Kategori warna','None',13,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Jenis color stock dan cetakan','None',14,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Tingkat kehancuran','None',15,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Tingkat kelengkapan','None',16,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (46,'Tanggal pemeriksaan film','None',17,6,'######','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Tanggal pemasukan data','None',0,6,'######','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Jenis tahun terbit','Dropdown',6,1,'#','',0,1,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Tahun 1','None',7,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Tahun 2','None',11,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Tempat terbit, produksi atau pelaksanaan','Dropdown',15,3,'###','',0,7,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Lama waktu tayang','Dropdown',18,3,'###','',0,42,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Belum ditetapkan','None',21,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Kelompok Sasaran','Dropdown',22,1,'#','',0,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Belum ditetapkan','None',23,5,'#####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Terbitan pemerintah','Dropdown',28,1,'#','',0,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Bentuk bahan','Dropdown',29,1,'#','',0,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Belum ditetapkan','None',30,3,'###','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Jenis bahan pustaka visual','Dropdown',33,1,'#','',0,43,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Teknik','Dropdown',34,1,'#','',0,44,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Bahasa','Dropdown',35,3,'###','',0,5,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Modifikasi cantuman','Dropdown',38,1,'#','',0,3,NULL,NULL,NULL,NULL,NULL,NULL),
 (47,'Sumber pengkatalogan','Dropdown',39,1,'#','',0,4,NULL,NULL,NULL,NULL,NULL,NULL),
 (76,'Bentuk bahan pustaka','Dropdown',0,1,'s','',0,45,NULL,NULL,NULL,NULL,NULL,NULL),
 (76,'Frekuensi','Dropdown',1,1,'#','008',18,48,NULL,NULL,NULL,NULL,NULL,NULL),
 (76,'Keteraturan','Dropdown',2,1,'#','008',19,49,NULL,NULL,NULL,NULL,NULL,NULL),
 (76,'Belum ditetapkan','None',3,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (76,'Jenis sumber berkesinambungan','Dropdown',4,1,'#','008',21,50,NULL,NULL,NULL,NULL,NULL,NULL),
 (76,'Bentuk bahan asli','Dropdown',5,1,'#','008',22,51,NULL,NULL,NULL,NULL,NULL,NULL),
 (76,'Bentuk bahan','Dropdown',6,1,'#','008',23,52,NULL,NULL,NULL,NULL,NULL,NULL),
 (76,'Isi keseluruhan/sifat keseluruhan karya','Dropdown',7,1,'#','008',24,53,NULL,NULL,NULL,NULL,NULL,NULL),
 (76,'Isi','Dropdown',8,3,'###','008',25,54,NULL,NULL,NULL,NULL,NULL,NULL),
 (76,'Terbitan pemerintah','Dropdown',11,1,'#','008',28,55,NULL,NULL,NULL,NULL,NULL,NULL),
 (76,'Terbitan konferensi','Dropdown',12,1,'#','008',29,56,NULL,NULL,NULL,NULL,NULL,NULL),
 (76,'Belum ditetapkan','None',13,3,'###','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (76,'Abjad atau aksara asli pada judul','Dropdown',16,1,'#','008',33,57,NULL,NULL,NULL,NULL,NULL,NULL),
 (76,'Konvensi entri','Dropdown',17,1,'#','008',34,58,NULL,NULL,NULL,NULL,NULL,NULL),
 (97,'Bentuk bahan pustaka','Dropdown',0,1,'e','',0,59,NULL,NULL,NULL,NULL,NULL,NULL),
 (97,'Relief','Dropdown',1,4,'####','008',18,67,NULL,NULL,NULL,NULL,NULL,NULL),
 (97,'Proyeksi','Dropdown',5,2,'##','008',22,68,NULL,NULL,NULL,NULL,NULL,NULL),
 (97,'Belum ditetapkan','None',7,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (97,'Jenis bahan kartografis','Dropdown',8,1,'#','008',25,69,NULL,NULL,NULL,NULL,NULL,NULL),
 (97,'Belum ditetapkan','None',9,2,'##','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (97,'Terbitan pemerintah','Dropdown',11,1,'#','008',28,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (97,'Bentuk bahan','Dropdown',12,1,'#','008',29,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (97,'Belum ditetapkan','None',13,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (97,'Indeks','Dropdown',14,1,'#','008',31,8,NULL,NULL,NULL,NULL,NULL,NULL),
 (97,'Belum ditetapkan','None',15,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (97,'Karakteristik bentuk khusus','Dropdown',16,2,'##','008',33,70,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Tanggal pemasukan data','None',0,6,'######','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Jenis tahun terbit','Dropdown',6,1,'#','',0,1,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Tahun 1','None',7,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Tahun 2','None',11,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Tempat terbit, produksi atau pelaksanaan','Dropdown',15,3,'###','',0,7,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Relief','Dropdown',18,4,'####','',0,67,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Proyeksi','Dropdown',22,2,'##','',0,68,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Belum ditetapkan','None',24,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Jenis bahan kartografis','Dropdown',25,1,'#','',0,69,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Belum ditetapkan','None',26,2,'##','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Terbitan pemerintah','Dropdown',28,1,'#','',0,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Bentuk bahan','Dropdown',29,1,'#','',0,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Belum ditetapkan','None',30,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Indeks','Dropdown',31,1,'#','',0,8,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Belum ditetapkan','None',32,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Karakteristik bentuk khusus','Dropdown',33,2,'##','',0,70,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Bahasa','Dropdown',35,3,'###','',0,5,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Cantuman sudah dimodifikasi','Dropdown',38,1,'#','',0,3,NULL,NULL,NULL,NULL,NULL,NULL),
 (99,'Sumber pengkatalogan','Dropdown',39,1,'#','',0,4,NULL,NULL,NULL,NULL,NULL,NULL),
 (116,'Bentuk bahan pustaka','Dropdown',0,1,'k','',0,133,NULL,NULL,NULL,NULL,NULL,NULL),
 (116,'Lama waktu tayang','Dropdown',1,3,'###','008',19,42,NULL,NULL,NULL,NULL,NULL,NULL),
 (116,'Belum ditetapkan','None',4,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (116,'Kelompok sasaran','Dropdown',5,1,'#','008',22,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (116,'Belum ditetapkan','None',6,5,'#####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (116,'Terbitan pemerintah','Dropdown',11,1,'#','008',28,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (116,'Bentuk bahan','Dropdown',12,1,'#','008',29,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (116,'Belum ditetapkan','None',13,3,'###','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (116,'Jenis bahan pustaka visual','Dropdown',16,1,'#','008',33,140,NULL,NULL,NULL,NULL,NULL,NULL),
 (116,'Teknik','Dropdown',17,1,'#','008',34,141,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Tanggal pemasukan data','None',0,6,'######','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Jenis tahun terbit','Dropdown',6,1,'#','',0,1,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Tahun 1','None',7,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Tahun 2','None',11,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Tempat terbit, produksi atau pelaksanaan','Dropdown',15,3,'###','',0,7,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Lama waktu tayang','Dropdown',18,3,'###','',0,139,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Belum ditetapkan','Dropdown',21,1,'#','',0,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Kelompok sasaran','Dropdown',22,1,'#','',0,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Belum ditetapkan','None',23,5,'#####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Terbitan pemerintah','Dropdown',28,1,'#','',0,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Bentuk bahan','Dropdown',29,1,'#','',0,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Belum ditetapkan','None',30,3,'###','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Jenis bahan pustaka visual','Dropdown',33,1,'#','',0,140,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Teknik','None',34,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Bahasa','Dropdown',35,3,'###','',0,5,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Cantuman sudah dimodifikasi','Dropdown',38,1,'#','',0,3,NULL,NULL,NULL,NULL,NULL,NULL),
 (118,'Sumber pengkatalogan','Dropdown',39,1,'#','',0,4,NULL,NULL,NULL,NULL,NULL,NULL),
 (133,'Bentuk bahan pustaka','Dropdown',0,1,'g','',0,77,NULL,NULL,NULL,NULL,NULL,NULL),
 (133,'Lama waktu tayang','Dropdown',1,3,'###','008',19,86,NULL,NULL,NULL,NULL,NULL,NULL),
 (133,'Belum ditetapkan','None',4,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (133,'Kelompok sasaran','Dropdown',5,1,'#','008',22,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (133,'Belum ditetapkan','None',6,5,'#####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (133,'Terbitan pemerintah','Dropdown',11,1,'#','008',28,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (133,'Bentuk bahan','Dropdown',12,1,'#','008',29,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (133,'Belum ditetapkan','None',13,3,'###','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (133,'Jenis bahan pustaka visual','Dropdown',16,1,'#','008',33,87,NULL,NULL,NULL,NULL,NULL,NULL),
 (133,'Teknik','Dropdown',17,1,'#','008',34,88,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Tanggal pemasukan data','None',0,6,'######','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Jenis tahun terbit','Dropdown',6,1,'#','',0,1,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Tahun 1','None',7,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Tahun 2','None',11,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Tempat terbit, produksi atau pelaksanaan','Dropdown',15,3,'###','',0,7,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Lama waktu tayang','Dropdown',18,3,'###','',0,86,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Belum ditetapkan','None',21,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Kelompok Sasaran','Dropdown',22,1,'#','',0,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Belum ditetapkan','None',23,5,'#####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Terbitan pemerintah','Dropdown',28,1,'#','',0,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Bentuk bahan','Dropdown',29,1,'#','',0,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Belum ditetapkan','None',30,3,'###','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Jenis bahan pustaka visual','Dropdown',33,1,'#','',0,87,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Teknik','Dropdown',34,1,'#','',0,88,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Bahasa','Dropdown',35,3,'###','',0,5,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Cantuman sudah dimodifikasi','Dropdown',38,1,'#','',0,3,NULL,NULL,NULL,NULL,NULL,NULL),
 (135,'Sumber pengkatalogan','Dropdown',39,1,'#','',0,4,NULL,NULL,NULL,NULL,NULL,NULL),
 (255,'Bentuk bahan pustaka','Dropdown',0,1,'c','',0,89,NULL,NULL,NULL,NULL,NULL,NULL),
 (255,'Bentuk komposisi','Dropdown',1,2,'##','008',18,115,NULL,NULL,NULL,NULL,NULL,NULL),
 (255,'Format musik','Dropdown',3,2,'##','008',20,116,NULL,NULL,NULL,NULL,NULL,NULL),
 (255,'Kelompok sasaran','Dropdown',5,2,'##','008',22,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (255,'Bahan sertaan','Dropdown',7,6,'######','008',24,118,NULL,NULL,NULL,NULL,NULL,NULL),
 (255,'Karya tertulis untuk rekaman suara','Dropdown',13,2,'##','008',30,119,NULL,NULL,NULL,NULL,NULL,NULL),
 (255,'Belum ditetapkan','None',15,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (255,'Transposisi dan aransemen','Dropdown',16,1,'#','008',33,120,NULL,NULL,NULL,NULL,NULL,NULL),
 (255,'Belum ditetapkan','None',17,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Tanggal pemasukan data','None',0,6,'######','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Jenis tahun terbit','Dropdown',6,1,'#','',0,1,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Tahun 1','None',7,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Tahun 2','None',11,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Tempat terbit, produksi atau pelaksanaan','Dropdown',15,3,'###','',0,7,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Bentuk komposisi','Dropdown',18,2,'##','',0,115,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Format musik','Dropdown',20,1,'#','',0,116,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Bagian musik','Dropdown',21,1,'#','',0,117,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Kelompok sasaran','Dropdown',22,1,'#','',0,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Bentuk bahan','Dropdown',23,1,'#','',0,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Bahan sertaan','Dropdown',24,6,'######','',0,118,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Karya tertulis untuk rekaman suara','Dropdown',30,2,'##','',0,119,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Belum ditetapkan','None',32,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Transposisi dan aransemen','Dropdown',33,1,'#','',0,120,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Belum ditetapkan','None',34,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Bahasa','Dropdown',35,3,'###','',0,5,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Cantuman sudah dimodifikasi','Dropdown',38,1,'#','',0,3,NULL,NULL,NULL,NULL,NULL,NULL),
 (257,'Sumber pengkatalogan','Dropdown',39,1,'#','',0,4,NULL,NULL,NULL,NULL,NULL,NULL),
 (168,'Bentuk bahan pustaka','Dropdown',0,1,'p','',0,98,NULL,NULL,NULL,NULL,NULL,NULL),
 (168,'Belum ditetapkan','None',1,5,'#####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (168,'Bentuk bahan','Dropdown',6,1,'#','008',23,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (168,'Belum ditetapkan','None',7,11,'###########','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (170,'Tanggal pemasukan data','None',0,6,'######','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (170,'Jenis tahun terbit','Dropdown',6,1,'#','',0,1,NULL,NULL,NULL,NULL,NULL,NULL),
 (170,'Tahun 1','None',7,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (170,'Tahun 2','None',11,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (170,'Tempat terbit, produksi atau pelaksanaan','Dropdown',15,3,'###','',0,7,NULL,NULL,NULL,NULL,NULL,NULL),
 (170,'Belum ditetapkan','None',18,5,'#####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (170,'Bentuk bahan','Dropdown',23,1,'#','',0,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (170,'Belum ditetapkan','Dropdown',24,1,'#','',0,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (170,'Terbitan pemerintah','Dropdown',25,1,'#','',0,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (170,'Belum ditetapkan','None',26,9,'#########','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (170,'Bahasa','Dropdown',35,3,'###','',0,5,NULL,NULL,NULL,NULL,NULL,NULL),
 (170,'Cantuman sudah dimodifikasi','Dropdown',38,1,'#','',0,3,NULL,NULL,NULL,NULL,NULL,NULL),
 (170,'Sumber pengkatalogan','Dropdown',39,1,'#','',0,4,NULL,NULL,NULL,NULL,NULL,NULL),
 (183,'Bentuk bahan pustaka','Dropdown',0,1,'i','',0,134,NULL,NULL,NULL,NULL,NULL,NULL),
 (183,'Lama waktu tayang','Dropdown',1,3,'###','008',19,142,NULL,NULL,NULL,NULL,NULL,NULL),
 (183,'Belum ditetapkan','None',4,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (183,'Kelompok sasaran','Dropdown',5,1,'#','008',22,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (183,'Belum ditetapkan','None',6,5,'#####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (183,'Terbitan pemerintah','Dropdown',11,1,'#','008',28,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (183,'Bentuk bahan','Dropdown',12,1,'#','008',29,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (183,'Belum ditetapkan','None',13,3,'###','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (183,'Jenis bahan pustaka visual','Dropdown',16,1,'#','008',33,143,NULL,NULL,NULL,NULL,NULL,NULL),
 (183,'Teknik','Dropdown',17,1,'#','008',34,144,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Tanggal pemasukan data','None',0,6,'######','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Jenis tahun terbit','Dropdown',6,1,'#','',0,1,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Tahun 1','None',7,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Tahun 2','None',11,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Tempat terbit, produksi atau pelaksanaan','Dropdown',15,3,'###','',0,7,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Bentuk komposisi','Dropdown',18,2,'##','',0,115,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Format musik','Dropdown',20,1,'#','',0,116,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Bagian musik','Dropdown',21,1,'#','',0,117,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Kelompok sasaran','Dropdown',22,1,'#','',0,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Bentuk bahan','Dropdown',23,1,'#','',0,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Bahan sertaan','Dropdown',24,6,'######','',0,118,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Karya tertulis untuk rekaman suara','Dropdown',30,2,'##','',0,119,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Belum ditetapkan','None',32,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Transposisi dan aransemen','Dropdown',33,1,'#','',0,120,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Belum ditetapkan','None',34,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Bahasa','Dropdown',35,3,'###','',0,5,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Modifikasi Cantuman','Dropdown',38,1,'#','',0,3,NULL,NULL,NULL,NULL,NULL,NULL),
 (185,'Sumber pengkatalogan','Dropdown',39,1,'#','',0,4,NULL,NULL,NULL,NULL,NULL,NULL),
 (199,'Bentuk bahan pustaka','Dropdown',0,1,'#','',0,135,NULL,NULL,NULL,NULL,NULL,NULL),
 (199,'Lama waktu tayang','Dropdown',1,3,'###','008',19,145,NULL,NULL,NULL,NULL,NULL,NULL),
 (199,'Belum ditetapkan','None',4,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (199,'Kelompok sasaran','Dropdown',5,1,'#','008',22,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (199,'Belum ditetapkan','None',6,5,'#####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (199,'Terbitan pemerintah','Dropdown',11,1,'#','008',28,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (199,'Bentuk bahan','Dropdown',12,1,'#','008',29,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (199,'Belum ditetapkan','None',13,3,'###','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (199,'Jenis bahan pustaka visual','Dropdown',16,1,'#','008',33,43,NULL,NULL,NULL,NULL,NULL,NULL),
 (199,'Teknik','Dropdown',17,1,'#','008',34,147,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Tanggal pemasukan data','None',0,6,'######','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Jenis tahun terbit','Dropdown',6,1,'#','',0,1,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Tahun 1','None',7,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Tahun 2','None',11,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Tempat terbit, produksi atau pelaksanaan','Dropdown',15,3,'###','',0,7,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Lama waktu tayang','Dropdown',18,3,'###','',0,145,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Belum ditetapkan','None',21,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Kelompok sasaran','Dropdown',22,1,'#','',0,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Belum ditetapkan','None',23,5,'#####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Terbitan pemerintah','Dropdown',28,1,'#','',0,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Bentuk bahan','Dropdown',29,1,'#','',0,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Belum ditetapkan','None',30,3,'###','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Jenis bahan pustaka visual','Dropdown',33,1,'#','',0,146,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Teknik','Dropdown',34,1,'#','',0,147,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Bahasa','Dropdown',35,3,'###','',0,5,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Cantuman sudah dimodifikasi','Dropdown',38,1,'#','',0,3,NULL,NULL,NULL,NULL,NULL,NULL),
 (201,'Sumber pengkatalogan','Dropdown',39,1,'#','',0,4,NULL,NULL,NULL,NULL,NULL,NULL),
 (271,'Bentuk bahan pustaka','Dropdown',0,1,'t','',0,11,NULL,NULL,NULL,NULL,NULL,NULL),
 (271,'Ilustrasi','Dropdown',1,4,'####','008',18,14,NULL,NULL,NULL,NULL,NULL,NULL),
 (271,'Kelompok pembaca','Dropdown',5,1,'#','008',22,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (271,'Bentuk bahan','Dropdown',6,4,'####','008',23,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (271,'Isi','Dropdown',10,1,'#','008',24,15,NULL,NULL,NULL,NULL,NULL,NULL),
 (271,'Terbitan pemerintah','Dropdown',11,1,'#','008',28,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (271,'Terbitan konferensi','Dropdown',12,1,'#','008',29,16,NULL,NULL,NULL,NULL,NULL,NULL),
 (271,'Feskrif','Dropdown',13,1,'#','008',30,10,NULL,NULL,NULL,NULL,NULL,NULL),
 (271,'Indeks','Dropdown',14,1,'#','008',31,8,NULL,NULL,NULL,NULL,NULL,NULL),
 (271,'Belum ditetapkan','None',15,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (271,'Bentuk sastra','Dropdown',16,1,'#','008',33,17,NULL,NULL,NULL,NULL,NULL,NULL),
 (271,'Biografi','Dropdown',17,1,'#','008',34,18,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Tanggal pemasukan ke berkas','None',0,6,'######','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Jenis tahun terbit','Dropdown',6,1,'#','',0,1,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Tahun 1','None',7,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Tahun 2','None',11,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Tempat terbit, produksi atau pelaksanaan','Dropdown',15,3,'###','',0,7,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Ilustrasi','Dropdown',18,4,'####','',0,14,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Kelompok sasaran','Dropdown',22,1,'#','',0,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Bentuk bahan','Dropdown',23,1,'#','',0,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Isi','Dropdown',24,4,'####','',0,15,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Terbitan pemerintah','Dropdown',28,1,'#','',0,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Terbitan konferensi','Dropdown',29,1,'#','',0,16,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Feskrif','Dropdown',30,1,'#','',0,10,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Indeks','Dropdown',31,1,'#','',0,8,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Belum ditetapkan','None',32,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Bentuk karya tulis','Dropdown',33,1,'#','',0,17,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Biografi','Dropdown',34,1,'#','',0,18,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Bahasa','Dropdown',35,3,'###','',0,5,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Cantuman sudah dimodifikasi','Dropdown',38,1,'#','',0,3,NULL,NULL,NULL,NULL,NULL,NULL),
 (273,'Sumber pengkatalogan','Dropdown',39,1,'#','',0,4,NULL,NULL,NULL,NULL,NULL,NULL),
 (272,'Jenis bahan pustaka','Dropdown',0,1,'#','',0,12,NULL,NULL,NULL,NULL,NULL,NULL),
 (272,'Keterangan bahan khusus','Dropdown',1,1,'#','',0,13,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Tanggal pemasukan data','None',0,6,'######','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Kode tahun terbitan','Dropdown',6,1,'#','',0,1,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Tahun 1','None',7,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Tahun 2','None',11,4,'####','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Tempat terbit, produksi atau pelaksanaan','None',15,3,'###','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Frekuensi','Dropdown',18,1,'#','',0,48,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Keteraturan','Dropdown',19,1,'#','',0,49,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Belum ditetapkan','None',20,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Jenis sumber berkesinambungan','Dropdown',21,1,'#','',0,50,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Bentuk bahan asli','Dropdown',22,1,'#','',0,51,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Bentuk bahan','Dropdown',23,1,'#','',0,52,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Isi keseluruhan','Dropdown',24,4,'####','',0,53,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Terbitan pemerintah','Dropdown',28,1,'#','',0,55,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Terbitan konferensi','Dropdown',29,1,'#','',0,56,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Belum ditetapkan','None',30,3,'###','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Abjad atau aksara asli pada judul','Dropdown',33,1,'#','',0,57,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Konvensi entri','Dropdown',34,1,'#','',0,58,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Bahasa','Dropdown',35,3,'###','',0,5,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Cantuman sudah dimodifikasi','Dropdown',38,1,'#','',0,3,NULL,NULL,NULL,NULL,NULL,NULL),
 (78,'Sumber pengkatalogan','Dropdown',39,1,'#','',0,4,NULL,NULL,NULL,NULL,NULL,NULL),
 (3,'Bentuk bahan pustaka/materi','Dropdown',0,1,'a','',0,11,NULL,NULL,NULL,NULL,NULL,NULL),
 (3,'Ilustrasi','None',1,4,'####','008',18,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (3,'Kelompok pembaca/sasaran','Dropdown',5,1,'#','008',22,2,NULL,NULL,NULL,NULL,NULL,NULL),
 (3,'Bentuk bahan/materi','Dropdown',6,1,'#','008',23,9,NULL,NULL,NULL,NULL,NULL,NULL),
 (3,'Isi','Dropdown',7,4,'####','008',24,15,NULL,NULL,NULL,NULL,NULL,NULL),
 (3,'Terbitan pemerintah','Dropdown',11,1,'#','008',28,6,NULL,NULL,NULL,NULL,NULL,NULL),
 (3,'Terbitan konferensi','Dropdown',12,1,'#','008',29,16,NULL,NULL,NULL,NULL,NULL,NULL),
 (3,'Feskrif','Dropdown',13,1,'#','008',30,10,NULL,NULL,NULL,NULL,NULL,NULL),
 (3,'Indeks','Dropdown',14,1,'#','008',31,8,NULL,NULL,NULL,NULL,NULL,NULL),
 (3,'Belum ditetapkan','None',15,1,'#','',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
 (3,'Bentuk sastra/literer','Dropdown',16,1,'#','008',33,17,NULL,NULL,NULL,NULL,NULL,NULL),
 (3,'Biografi','Dropdown',17,1,'#','008',34,18,NULL,NULL,NULL,NULL,NULL,NULL);


--
-- Definition of table `worksheetfields`
--

CREATE TABLE `worksheetfields` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Field_id` int(11) DEFAULT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  `Worksheet_id` int(11) DEFAULT NULL,
  `IsAkuisisi` bit(1) DEFAULT b'0',
  `ISDEPOSIT` bit(1) DEFAULT b'0',
  `ISDETAILKOLEKSI_PENGOLAHAN` bit(1) DEFAULT b'0',
  `ISDETAILKOLEKSI_AKUISISI` bit(1) DEFAULT b'0',
  PRIMARY KEY (`ID`),
  KEY `Field_id` (`Field_id`),
  KEY `Worksheet_id` (`Worksheet_id`),
  KEY `worksheetfields_createby` (`CreateBy`),
  KEY `worksheetfields_updateby` (`UpdateBy`),
  CONSTRAINT `FK1471BB4B66DFF9B4` FOREIGN KEY (`Field_id`) REFERENCES `fields` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `FK1471BB4BFEC5D3CC` FOREIGN KEY (`Worksheet_id`) REFERENCES `worksheets` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `worksheetfields_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `worksheetfields_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=799 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `worksheetfields`
--

INSERT INTO `worksheetfields` (`ID`,`Field_id`,`CreateBy`,`CreateDate`,`CreateTerminal`,`UpdateBy`,`UpdateDate`,`UpdateTerminal`,`Worksheet_id`,`IsAkuisisi`,`ISDEPOSIT`,`ISDETAILKOLEKSI_PENGOLAHAN`,`ISDETAILKOLEKSI_AKUISISI`) VALUES 
 (1,1,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (2,3,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (3,4,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (4,28,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (5,29,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (6,31,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x01,0x00,0x00,0x00),
 (7,32,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (8,33,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (9,36,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (10,37,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (11,38,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (12,39,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (13,45,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x01,0x00,0x00,0x00),
 (14,46,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x01,0x00,0x00,0x00),
 (15,51,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x01,0x00,0x00,0x00),
 (16,54,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (17,58,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (18,60,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (19,70,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (20,72,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (21,79,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (22,80,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',1,0x00,0x00,0x00,0x00),
 (23,1,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (24,3,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (25,4,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (26,28,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (27,29,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (28,32,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (29,33,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (30,36,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (31,38,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (32,45,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x01,0x00,0x00,0x00),
 (33,51,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x01,0x00,0x00,0x00),
 (34,54,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (35,9,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (36,15,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (37,60,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (38,21,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (39,70,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (40,73,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (41,79,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (42,80,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',2,0x00,0x00,0x00,0x00),
 (43,1,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (44,3,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (45,4,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (46,28,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (47,29,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (48,NULL,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',NULL,0x00,0x00,0x00,0x00),
 (49,32,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (50,33,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (51,36,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (52,37,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (53,45,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (54,50,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x01,0x00,0x00,0x00),
 (55,51,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x01,0x00,0x00,0x00),
 (56,54,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x01,0x00,0x00,0x00),
 (57,60,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (58,102,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (59,103,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (60,104,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (61,64,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (62,116,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (63,66,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (64,70,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (65,72,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (66,73,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (67,128,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (68,NULL,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',NULL,0x00,0x00,0x00,0x00),
 (69,18,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (70,79,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (71,19,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (72,24,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (73,80,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',3,0x00,0x00,0x00,0x00),
 (74,1,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x00,0x00,0x00,0x00),
 (75,3,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x00,0x00,0x00,0x00),
 (76,4,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x00,0x00,0x00,0x00),
 (77,28,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x00,0x00,0x00,0x00),
 (78,29,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x00,0x00,0x00,0x00),
 (79,6,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x01,0x00,0x00,0x00),
 (80,32,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x00,0x00,0x00,0x00),
 (81,33,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x00,0x00,0x00,0x00),
 (82,36,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x00,0x00,0x00,0x00),
 (83,38,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x00,0x00,0x00,0x00),
 (84,7,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x00,0x00,0x00,0x00),
 (85,45,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x01,0x00,0x00,0x00),
 (86,51,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x01,0x00,0x00,0x00),
 (87,54,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x01,0x00,0x00,0x00),
 (88,9,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x01,0x00,0x00,0x00),
 (89,15,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x00,0x00,0x00,0x00),
 (90,60,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x00,0x00,0x00,0x00),
 (91,70,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x00,0x00,0x00,0x00),
 (94,80,33,'2012-09-12 13:54:51','DeniPC',33,'2012-09-12 13:54:51','DeniPC',4,0x00,0x00,0x00,0x00),
 (95,1,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x00,0x00,0x00,0x00),
 (96,3,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x00,0x00,0x00,0x00),
 (97,4,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x00,0x00,0x00,0x00),
 (98,28,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x00,0x00,0x00,0x00),
 (99,29,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x00,0x00,0x00,0x00),
 (100,32,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x00,0x00,0x00,0x00),
 (101,35,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x00,0x00,0x00,0x00),
 (102,36,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x00,0x00,0x00,0x00),
 (103,38,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x00,0x00,0x00,0x00),
 (104,45,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x01,0x00,0x00,0x00),
 (105,48,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x01,0x00,0x00,0x00),
 (106,51,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x01,0x00,0x00,0x00),
 (107,54,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x01,0x00,0x00,0x00),
 (108,58,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x00,0x00,0x00,0x00),
 (109,60,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x00,0x00,0x00,0x00),
 (110,71,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x00,0x00,0x00,0x00),
 (111,73,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x00,0x00,0x00,0x00),
 (112,79,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x00,0x00,0x00,0x00),
 (113,80,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',5,0x00,0x00,0x00,0x00),
 (114,1,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',6,0x00,0x00,0x00,0x00),
 (115,3,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',6,0x00,0x00,0x00,0x00),
 (116,4,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',6,0x00,0x00,0x00,0x00),
 (117,28,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',6,0x00,0x00,0x00,0x00),
 (118,29,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',6,0x00,0x00,0x00,0x00),
 (119,32,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',6,0x00,0x00,0x00,0x00),
 (120,33,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',6,0x00,0x00,0x00,0x00),
 (121,38,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',6,0x00,0x00,0x00,0x00),
 (122,45,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',6,0x01,0x00,0x00,0x00),
 (123,51,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',6,0x01,0x00,0x00,0x00),
 (124,54,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',6,0x00,0x00,0x00,0x00),
 (125,60,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',6,0x00,0x00,0x00,0x00),
 (127,70,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',6,0x00,0x00,0x00,0x00),
 (129,79,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',6,0x00,0x00,0x00,0x00),
 (130,80,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',6,0x00,0x00,0x00,0x00),
 (131,1,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x00,0x00,0x00,0x00),
 (132,3,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x00,0x00,0x00,0x00),
 (133,4,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x00,0x00,0x00,0x00),
 (134,28,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x00,0x00,0x00,0x00),
 (135,29,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x00,0x00,0x00,0x00),
 (136,32,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x00,0x00,0x00,0x00),
 (137,33,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x00,0x00,0x00,0x00),
 (138,36,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x00,0x00,0x00,0x00),
 (139,45,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x01,0x00,0x00,0x00),
 (140,51,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x01,0x00,0x00,0x00),
 (141,54,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x01,0x00,0x00,0x00),
 (142,60,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x00,0x00,0x00,0x00),
 (143,102,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x00,0x00,0x00,0x00),
 (144,104,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x00,0x00,0x00,0x00),
 (145,70,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x00,0x00,0x00,0x00),
 (146,72,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x00,0x00,0x00,0x00),
 (147,79,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x00,0x00,0x00,0x00),
 (148,80,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',7,0x00,0x00,0x00,0x00),
 (166,1,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',9,0x00,0x00,0x00,0x00),
 (167,3,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',9,0x00,0x00,0x00,0x00),
 (168,4,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',9,0x00,0x00,0x00,0x00),
 (169,28,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',9,0x00,0x00,0x00,0x00),
 (170,29,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',9,0x00,0x00,0x00,0x00),
 (171,32,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',9,0x00,0x00,0x00,0x00),
 (172,33,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',9,0x00,0x00,0x00,0x00),
 (173,38,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',9,0x00,0x00,0x00,0x00),
 (174,39,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',9,0x00,0x00,0x00,0x00),
 (175,45,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',9,0x01,0x00,0x00,0x00),
 (176,54,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',9,0x01,0x00,0x00,0x00),
 (177,60,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',9,0x00,0x00,0x00,0x00),
 (178,16,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',9,0x00,0x00,0x00,0x00),
 (179,66,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',9,0x00,0x00,0x00,0x00),
 (180,80,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',9,0x00,0x00,0x00,0x00),
 (181,1,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',10,0x00,0x00,0x00,0x00),
 (182,3,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',10,0x00,0x00,0x00,0x00),
 (183,4,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',10,0x00,0x00,0x00,0x00),
 (184,28,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',10,0x00,0x00,0x00,0x00),
 (185,29,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',10,0x00,0x00,0x00,0x00),
 (186,32,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',10,0x00,0x00,0x00,0x00),
 (187,33,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',10,0x00,0x00,0x00,0x00),
 (188,36,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',10,0x00,0x00,0x00,0x00),
 (189,38,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',10,0x00,0x00,0x00,0x00),
 (190,45,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',10,0x01,0x00,0x00,0x00),
 (191,51,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',10,0x01,0x00,0x00,0x00),
 (192,54,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',10,0x00,0x00,0x00,0x00),
 (193,60,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',10,0x00,0x00,0x00,0x00),
 (194,70,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',10,0x00,0x00,0x00,0x00),
 (195,79,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',10,0x00,0x00,0x00,0x00),
 (196,80,33,'2012-09-12 13:54:52','DeniPC',33,'2012-09-12 13:54:52','DeniPC',10,0x00,0x00,0x00,0x00),
 (197,1,33,'2012-09-12 13:54:53','DeniPC',33,'2012-09-12 13:54:53','DeniPC',11,0x00,0x00,0x00,0x00),
 (198,3,33,'2012-09-12 13:54:53','DeniPC',33,'2012-09-12 13:54:53','DeniPC',11,0x00,0x00,0x00,0x00),
 (199,4,33,'2012-09-12 13:54:53','DeniPC',33,'2012-09-12 13:54:53','DeniPC',11,0x00,0x00,0x00,0x00),
 (200,28,33,'2012-09-12 13:54:53','DeniPC',33,'2012-09-12 13:54:53','DeniPC',11,0x00,0x00,0x00,0x00),
 (201,29,33,'2012-09-12 13:54:53','DeniPC',33,'2012-09-12 13:54:53','DeniPC',11,0x00,0x00,0x00,0x00),
 (202,33,33,'2012-09-12 13:54:53','DeniPC',33,'2012-09-12 13:54:53','DeniPC',11,0x00,0x00,0x00,0x00),
 (203,38,33,'2012-09-12 13:54:53','DeniPC',33,'2012-09-12 13:54:53','DeniPC',11,0x00,0x00,0x00,0x00),
 (204,45,33,'2012-09-12 13:54:53','DeniPC',33,'2012-09-12 13:54:53','DeniPC',11,0x01,0x00,0x00,0x00),
 (205,51,33,'2012-09-12 13:54:53','DeniPC',33,'2012-09-12 13:54:53','DeniPC',11,0x01,0x00,0x00,0x00),
 (206,54,33,'2012-09-12 13:54:53','DeniPC',33,'2012-09-12 13:54:53','DeniPC',11,0x01,0x00,0x00,0x00),
 (207,60,33,'2012-09-12 13:54:53','DeniPC',33,'2012-09-12 13:54:53','DeniPC',11,0x00,0x00,0x00,0x00),
 (208,70,33,'2012-09-12 13:54:53','DeniPC',33,'2012-09-12 13:54:53','DeniPC',11,0x00,0x00,0x00,0x00),
 (209,71,33,'2012-09-12 13:54:53','DeniPC',33,'2012-09-12 13:54:53','DeniPC',11,0x00,0x00,0x00,0x00),
 (210,73,33,'2012-09-12 13:54:53','DeniPC',33,'2012-09-12 13:54:53','DeniPC',11,0x00,0x00,0x00,0x00),
 (211,79,33,'2012-09-12 13:54:53','DeniPC',33,'2012-09-12 13:54:53','DeniPC',11,0x00,0x00,0x00,0x00),
 (212,80,33,'2012-09-12 13:54:53','DeniPC',33,'2012-09-12 13:54:53','DeniPC',11,0x00,0x00,0x00,0x00),
 (252,1,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x00,0x00,0x00,0x00),
 (253,2,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x00,0x00,0x00,0x00),
 (254,3,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x00,0x00,0x00,0x00),
 (255,4,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x00,0x00,0x00,0x00),
 (256,28,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x00,0x00,0x00,0x00),
 (257,29,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x00,0x00,0x00,0x00),
 (258,32,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x00,0x00,0x00,0x00),
 (259,33,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x00,0x00,0x00,0x00),
 (260,36,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x00,0x00,0x00,0x00),
 (261,38,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x00,0x00,0x00,0x00),
 (262,45,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x01,0x00,0x00,0x00),
 (263,51,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x01,0x00,0x00,0x00),
 (264,54,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x01,0x00,0x00,0x00),
 (265,60,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x00,0x00,0x00,0x00),
 (266,70,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x00,0x00,0x00,0x00),
 (267,79,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x00,0x00,0x00,0x00),
 (268,80,33,NULL,NULL,33,'2012-10-28 03:55:08','::1',8,0x00,0x00,0x00,0x00),
 (269,1,33,NULL,NULL,33,'2012-10-28 16:55:04','::1',12,0x00,0x00,0x00,0x00),
 (270,3,33,NULL,NULL,33,'2012-10-28 16:55:04','::1',12,0x00,0x00,0x00,0x00),
 (271,4,33,NULL,NULL,33,'2012-10-28 16:55:04','::1',12,0x00,0x00,0x00,0x00),
 (272,28,33,NULL,NULL,33,'2012-10-28 16:55:04','::1',12,0x00,0x00,0x00,0x00),
 (273,29,33,NULL,NULL,33,'2012-10-28 16:55:04','::1',12,0x00,0x00,0x00,0x00),
 (274,31,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x01,0x00,0x00,0x00),
 (275,32,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x00,0x00,0x00,0x00),
 (276,33,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x00,0x00,0x00,0x00),
 (277,36,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x00,0x00,0x00,0x00),
 (278,37,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x00,0x00,0x00,0x00),
 (279,38,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x00,0x00,0x00,0x00),
 (280,39,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x01,0x00,0x00,0x00),
 (281,45,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x01,0x00,0x00,0x00),
 (282,46,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x01,0x00,0x00,0x00),
 (283,51,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x01,0x00,0x00,0x00),
 (284,54,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x01,0x00,0x00,0x00),
 (285,58,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x00,0x00,0x00,0x00),
 (286,60,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x00,0x00,0x00,0x00),
 (287,70,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x00,0x00,0x00,0x00),
 (288,72,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x00,0x00,0x00,0x00),
 (289,79,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x00,0x00,0x00,0x00),
 (290,80,33,NULL,NULL,33,'2012-10-28 16:55:05','::1',12,0x00,0x00,0x00,0x00),
 (313,1,33,'2013-07-03 08:46:18','192.168.16.12',33,'2013-07-03 08:46:18','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (314,3,33,'2013-07-03 08:46:18','192.168.16.12',33,'2013-07-03 08:46:18','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (315,4,33,'2013-07-03 08:46:18','192.168.16.12',33,'2013-07-03 08:46:18','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (316,28,33,'2013-07-03 08:46:18','192.168.16.12',33,'2013-07-03 08:46:18','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (317,29,33,'2013-07-03 08:46:18','192.168.16.12',33,'2013-07-03 08:46:18','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (333,33,33,NULL,NULL,33,'2013-07-03 08:49:15','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (334,34,33,NULL,NULL,33,'2013-07-03 08:49:15','192.168.16.12',14,0x01,0x00,0x00,0x00),
 (335,35,33,NULL,NULL,33,'2013-07-03 08:49:15','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (336,36,33,NULL,NULL,33,'2013-07-03 08:49:15','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (337,37,33,NULL,NULL,33,'2013-07-03 08:49:15','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (338,38,33,NULL,NULL,33,'2013-07-03 08:49:15','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (339,39,33,NULL,NULL,33,'2013-07-03 08:49:15','192.168.16.12',14,0x01,0x00,0x00,0x00),
 (340,40,33,NULL,NULL,33,'2013-07-03 08:49:15','192.168.16.12',14,0x01,0x00,0x00,0x00),
 (341,41,33,NULL,NULL,33,'2013-07-03 08:49:15','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (342,45,33,NULL,NULL,33,'2013-07-03 08:49:15','192.168.16.12',14,0x01,0x00,0x00,0x00),
 (343,46,33,NULL,NULL,33,'2013-07-03 08:49:15','192.168.16.12',14,0x01,0x00,0x00,0x00),
 (344,51,33,NULL,NULL,33,'2013-07-03 08:49:15','192.168.16.12',14,0x01,0x00,0x00,0x00),
 (345,54,33,NULL,NULL,33,'2013-07-03 08:49:15','192.168.16.12',14,0x01,0x00,0x00,0x00),
 (346,60,33,NULL,NULL,33,'2013-07-03 08:49:15','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (347,16,33,NULL,NULL,33,'2013-07-03 08:49:15','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (348,64,33,NULL,NULL,33,'2013-07-03 08:49:15','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (349,111,33,NULL,NULL,33,'2013-07-03 08:49:16','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (350,20,33,NULL,NULL,33,'2013-07-03 08:49:16','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (351,117,33,NULL,NULL,33,'2013-07-03 08:49:16','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (352,118,33,NULL,NULL,33,'2013-07-03 08:49:16','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (353,66,33,NULL,NULL,33,'2013-07-03 08:49:16','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (354,67,33,NULL,NULL,33,'2013-07-03 08:49:16','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (355,70,33,NULL,NULL,33,'2013-07-03 08:49:16','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (356,71,33,NULL,NULL,33,'2013-07-03 08:49:16','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (357,79,33,NULL,NULL,33,'2013-07-03 08:49:16','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (358,80,33,NULL,NULL,33,'2013-07-03 08:49:16','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (359,81,33,NULL,NULL,33,'2013-07-03 08:49:16','192.168.16.12',14,0x00,0x00,0x00,0x00),
 (360,31,33,NULL,NULL,33,'2015-08-15 04:07:03','::1',2,0x01,0x00,0x00,0x00),
 (361,6,33,NULL,NULL,33,'2015-08-15 04:07:03','::1',2,0x01,0x00,0x00,0x00),
 (362,34,33,NULL,NULL,33,'2015-08-15 04:18:22','::1',1,0x00,0x00,0x00,0x00),
 (363,35,33,NULL,NULL,33,'2015-08-15 04:18:22','::1',1,0x00,0x00,0x00,0x00),
 (364,40,33,NULL,NULL,33,'2015-08-15 04:18:22','::1',1,0x00,0x00,0x00,0x00),
 (365,41,33,NULL,NULL,33,'2015-08-15 04:18:22','::1',1,0x00,0x00,0x00,0x00),
 (366,5,33,NULL,NULL,33,'2015-08-15 04:18:22','::1',1,0x00,0x00,0x00,0x00),
 (367,42,33,NULL,NULL,33,'2015-08-15 04:18:22','::1',1,0x00,0x00,0x00,0x00),
 (368,59,33,NULL,NULL,33,'2015-08-15 04:18:22','::1',1,0x00,0x00,0x00,0x00),
 (369,61,33,NULL,NULL,33,'2015-08-15 04:18:22','::1',1,0x00,0x00,0x00,0x00),
 (370,62,33,NULL,NULL,33,'2015-08-15 04:18:22','::1',1,0x00,0x00,0x00,0x00),
 (371,63,33,NULL,NULL,33,'2015-08-15 04:18:23','::1',1,0x00,0x00,0x00,0x00),
 (372,64,33,NULL,NULL,33,'2015-08-15 04:18:23','::1',1,0x00,0x00,0x00,0x00),
 (373,65,33,NULL,NULL,33,'2015-08-15 04:18:23','::1',1,0x00,0x00,0x00,0x00),
 (374,66,33,NULL,NULL,33,'2015-08-15 04:18:23','::1',1,0x00,0x00,0x00,0x00),
 (375,67,33,NULL,NULL,33,'2015-08-15 04:18:23','::1',1,0x00,0x00,0x00,0x00),
 (376,68,33,NULL,NULL,33,'2015-08-15 04:18:23','::1',1,0x00,0x00,0x00,0x00),
 (377,69,33,NULL,NULL,33,'2015-08-15 04:18:23','::1',1,0x00,0x00,0x00,0x00),
 (378,71,33,NULL,NULL,33,'2015-08-15 04:18:23','::1',1,0x00,0x00,0x00,0x00),
 (379,73,33,NULL,NULL,33,'2015-08-15 04:18:23','::1',1,0x00,0x00,0x00,0x00),
 (380,23,33,NULL,NULL,33,'2015-08-15 04:18:23','::1',1,0x00,0x00,0x00,0x00),
 (381,74,33,NULL,NULL,33,'2015-08-15 04:18:23','::1',1,0x00,0x00,0x00,0x00),
 (382,75,33,NULL,NULL,33,'2015-08-15 04:18:23','::1',1,0x00,0x00,0x00,0x00),
 (383,76,33,NULL,NULL,33,'2015-08-15 04:18:23','::1',1,0x00,0x00,0x00,0x00),
 (384,77,33,NULL,NULL,33,'2015-08-15 04:18:23','::1',1,0x00,0x00,0x00,0x00),
 (385,78,33,NULL,NULL,33,'2015-08-15 04:18:23','::1',1,0x00,0x00,0x00,0x00),
 (387,34,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (388,35,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (389,37,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (390,39,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (391,40,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x01,0x00,0x00,0x00),
 (392,41,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (393,5,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (394,7,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (395,8,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (396,26,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (397,46,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x01,0x00,0x00,0x00),
 (398,16,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (399,64,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (400,20,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (401,66,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (402,67,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (403,68,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (404,69,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (405,71,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (406,72,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (407,23,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (408,17,33,NULL,NULL,33,'2015-08-15 04:24:16','::1',2,0x00,0x00,0x00,0x00),
 (409,18,33,NULL,NULL,33,'2015-08-15 04:24:17','::1',2,0x00,0x00,0x00,0x00),
 (410,22,33,NULL,NULL,33,'2015-08-15 04:24:17','::1',2,0x00,0x00,0x00,0x00),
 (411,19,33,NULL,NULL,33,'2015-08-15 04:24:17','::1',2,0x00,0x00,0x00,0x00),
 (412,24,33,NULL,NULL,33,'2015-08-15 04:24:17','::1',2,0x00,0x00,0x00,0x00),
 (413,34,33,NULL,NULL,33,'2015-08-15 04:34:20','::1',4,0x00,0x00,0x00,0x00),
 (414,37,33,NULL,NULL,33,'2015-08-15 04:34:21','::1',4,0x00,0x00,0x00,0x00),
 (415,5,33,NULL,NULL,33,'2015-08-15 04:34:21','::1',4,0x00,0x00,0x00,0x00),
 (416,8,33,NULL,NULL,33,'2015-08-15 04:34:21','::1',4,0x00,0x00,0x00,0x00),
 (417,26,33,NULL,NULL,33,'2015-08-15 04:34:21','::1',4,0x00,0x00,0x00,0x00),
 (418,27,33,NULL,NULL,33,'2015-08-15 04:34:21','::1',4,0x01,0x00,0x00,0x00),
 (419,46,33,NULL,NULL,33,'2015-08-15 04:34:21','::1',4,0x00,0x00,0x00,0x00),
 (420,10,33,NULL,NULL,33,'2015-08-15 04:34:22','::1',4,0x01,0x00,0x00,0x00),
 (421,59,33,NULL,NULL,33,'2015-08-15 04:34:22','::1',4,0x00,0x00,0x00,0x00),
 (422,63,33,NULL,NULL,33,'2015-08-15 04:34:22','::1',4,0x00,0x00,0x00,0x00),
 (423,112,33,NULL,NULL,33,'2015-08-15 04:34:22','::1',4,0x00,0x00,0x00,0x00),
 (424,120,33,NULL,NULL,33,'2015-08-15 04:34:22','::1',4,0x00,0x00,0x00,0x00),
 (425,136,33,NULL,NULL,33,'2015-08-15 04:38:30','::1',4,0x00,0x00,0x00,0x00),
 (426,71,33,NULL,NULL,33,'2015-08-15 04:38:30','::1',4,0x00,0x00,0x00,0x00),
 (427,130,33,NULL,NULL,33,'2015-08-15 04:38:30','::1',4,0x00,0x00,0x00,0x00),
 (428,19,33,NULL,NULL,33,'2015-08-15 04:38:30','::1',4,0x00,0x00,0x00,0x00),
 (429,137,33,NULL,NULL,33,'2015-08-15 04:40:04','::1',4,0x01,0x00,0x00,0x00),
 (430,31,33,NULL,NULL,33,'2015-08-15 04:47:08','::1',5,0x01,0x00,0x00,0x00),
 (431,6,33,NULL,NULL,33,'2015-08-15 04:47:08','::1',5,0x01,0x00,0x00,0x00),
 (432,33,33,NULL,NULL,33,'2015-08-15 04:47:08','::1',5,0x00,0x00,0x00,0x00),
 (433,34,33,NULL,NULL,33,'2015-08-15 04:47:08','::1',5,0x00,0x00,0x00,0x00),
 (434,97,33,NULL,NULL,33,'2015-08-15 04:47:08','::1',5,0x00,0x00,0x00,0x00),
 (435,37,33,NULL,NULL,33,'2015-08-15 04:47:08','::1',5,0x00,0x00,0x00,0x00),
 (436,39,33,NULL,NULL,33,'2015-08-15 04:47:08','::1',5,0x00,0x00,0x00,0x00),
 (437,40,33,NULL,NULL,33,'2015-08-15 04:47:08','::1',5,0x01,0x00,0x00,0x00),
 (438,7,33,NULL,NULL,33,'2015-08-15 04:47:08','::1',5,0x00,0x00,0x00,0x00),
 (439,8,33,NULL,NULL,33,'2015-08-15 04:47:08','::1',5,0x00,0x00,0x00,0x00),
 (440,42,33,NULL,NULL,33,'2015-08-15 04:47:08','::1',5,0x00,0x00,0x00,0x00),
 (441,26,33,NULL,NULL,33,'2015-08-15 04:47:08','::1',5,0x00,0x00,0x00,0x00),
 (442,46,33,NULL,NULL,33,'2015-08-15 04:47:08','::1',5,0x01,0x00,0x00,0x00),
 (443,57,33,NULL,NULL,33,'2015-08-15 04:47:08','::1',5,0x00,0x00,0x00,0x00),
 (444,59,33,NULL,NULL,33,'2015-08-15 04:47:08','::1',5,0x00,0x00,0x00,0x00),
 (445,63,33,NULL,NULL,33,'2015-08-15 04:47:08','::1',5,0x00,0x00,0x00,0x00),
 (446,20,33,NULL,NULL,33,'2015-08-15 04:47:09','::1',5,0x00,0x00,0x00,0x00),
 (447,113,33,NULL,NULL,33,'2015-08-15 04:47:09','::1',5,0x00,0x00,0x00,0x00),
 (448,66,33,NULL,NULL,33,'2015-08-15 04:47:09','::1',5,0x00,0x00,0x00,0x00),
 (449,67,33,NULL,NULL,33,'2015-08-15 04:47:09','::1',5,0x00,0x00,0x00,0x00),
 (450,70,33,NULL,NULL,33,'2015-08-15 04:47:09','::1',5,0x00,0x00,0x00,0x00),
 (451,74,33,NULL,NULL,33,'2015-08-15 04:47:09','::1',5,0x00,0x00,0x00,0x00),
 (452,128,33,NULL,NULL,33,'2015-08-15 04:47:09','::1',5,0x00,0x00,0x00,0x00),
 (453,78,33,NULL,NULL,33,'2015-08-15 04:47:09','::1',5,0x00,0x00,0x00,0x00),
 (454,19,33,NULL,NULL,33,'2015-08-15 04:47:09','::1',5,0x00,0x00,0x00,0x00),
 (455,24,33,NULL,NULL,33,'2015-08-15 04:47:09','::1',5,0x00,0x00,0x00,0x00),
 (456,36,33,NULL,NULL,33,'2015-08-15 04:50:54','::1',6,0x00,0x00,0x00,0x00),
 (457,37,33,NULL,NULL,33,'2015-08-15 04:50:54','::1',6,0x00,0x00,0x00,0x00),
 (458,39,33,NULL,NULL,33,'2015-08-15 04:50:54','::1',6,0x00,0x00,0x00,0x00),
 (459,40,33,NULL,NULL,33,'2015-08-15 04:50:54','::1',6,0x01,0x00,0x00,0x00),
 (460,41,33,NULL,NULL,33,'2015-08-15 04:50:54','::1',6,0x00,0x00,0x00,0x00),
 (461,46,33,NULL,NULL,33,'2015-08-15 04:50:54','::1',6,0x01,0x00,0x00,0x00),
 (462,113,33,NULL,NULL,33,'2015-08-15 04:50:54','::1',6,0x00,0x00,0x00,0x00),
 (463,66,33,NULL,NULL,33,'2015-08-15 04:50:54','::1',6,0x00,0x00,0x00,0x00),
 (464,67,33,NULL,NULL,33,'2015-08-15 04:50:54','::1',6,0x00,0x00,0x00,0x00),
 (465,128,33,NULL,NULL,33,'2015-08-15 04:50:54','::1',6,0x00,0x00,0x00,0x00),
 (466,78,33,NULL,NULL,33,'2015-08-15 04:50:54','::1',6,0x00,0x00,0x00,0x00),
 (467,19,33,NULL,NULL,33,'2015-08-15 04:50:54','::1',6,0x00,0x00,0x00,0x00),
 (468,31,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x01,0x00,0x00,0x00),
 (469,88,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x00,0x00,0x00,0x00),
 (470,34,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x00,0x00,0x00,0x00),
 (471,35,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x00,0x00,0x00,0x00),
 (472,37,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x00,0x00,0x00,0x00),
 (473,26,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x00,0x00,0x00,0x00),
 (474,63,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x00,0x00,0x00,0x00),
 (475,109,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x00,0x00,0x00,0x00),
 (476,64,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x00,0x00,0x00,0x00),
 (477,65,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x00,0x00,0x00,0x00),
 (478,66,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x00,0x00,0x00,0x00),
 (479,67,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x00,0x00,0x00,0x00),
 (480,68,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x00,0x00,0x00,0x00),
 (481,71,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x00,0x00,0x00,0x00),
 (482,73,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x00,0x00,0x00,0x00),
 (483,74,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x00,0x00,0x00,0x00),
 (484,24,33,NULL,NULL,33,'2015-08-15 04:54:18','::1',7,0x00,0x00,0x00,0x00),
 (485,84,33,NULL,NULL,33,'2015-08-15 05:20:38','::1',8,0x01,0x00,0x00,0x00),
 (486,34,33,NULL,NULL,33,'2015-08-15 05:20:38','::1',8,0x00,0x00,0x00,0x00),
 (487,35,33,NULL,NULL,33,'2015-08-15 05:20:38','::1',8,0x00,0x00,0x00,0x00),
 (488,96,33,NULL,NULL,33,'2015-08-15 05:20:38','::1',8,0x00,0x00,0x00,0x00),
 (489,37,33,NULL,NULL,33,'2015-08-15 05:20:38','::1',8,0x00,0x00,0x00,0x00),
 (490,39,33,NULL,NULL,33,'2015-08-15 05:20:38','::1',8,0x00,0x00,0x00,0x00),
 (491,40,33,NULL,NULL,33,'2015-08-15 05:20:38','::1',8,0x00,0x00,0x00,0x00),
 (492,41,33,NULL,NULL,33,'2015-08-15 05:20:38','::1',8,0x00,0x00,0x00,0x00),
 (493,20,33,NULL,NULL,33,'2015-08-15 05:20:38','::1',8,0x00,0x00,0x00,0x00),
 (494,72,33,NULL,NULL,33,'2015-08-15 05:20:38','::1',8,0x00,0x00,0x00,0x00),
 (495,73,33,NULL,NULL,33,'2015-08-15 05:20:38','::1',8,0x00,0x00,0x00,0x00),
 (496,23,33,NULL,NULL,33,'2015-08-15 05:20:39','::1',8,0x00,0x00,0x00,0x00),
 (497,74,33,NULL,NULL,33,'2015-08-15 05:20:39','::1',8,0x00,0x00,0x00,0x00),
 (498,19,33,NULL,NULL,33,'2015-08-15 05:20:39','::1',8,0x00,0x00,0x00,0x00),
 (499,24,33,NULL,NULL,33,'2015-08-15 05:20:39','::1',8,0x00,0x00,0x00,0x00),
 (500,34,33,NULL,NULL,33,'2015-08-15 05:23:52','::1',9,0x00,0x00,0x00,0x00),
 (501,35,33,NULL,NULL,33,'2015-08-15 05:23:52','::1',9,0x00,0x00,0x00,0x00),
 (502,36,33,NULL,NULL,33,'2015-08-15 05:23:52','::1',9,0x00,0x00,0x00,0x00),
 (503,37,33,NULL,NULL,33,'2015-08-15 05:23:52','::1',9,0x00,0x00,0x00,0x00),
 (504,40,33,NULL,NULL,33,'2015-08-15 05:23:52','::1',9,0x01,0x00,0x00,0x00),
 (505,41,33,NULL,NULL,33,'2015-08-15 05:23:52','::1',9,0x00,0x00,0x00,0x00),
 (506,46,33,NULL,NULL,33,'2015-08-15 05:23:52','::1',9,0x01,0x00,0x00,0x00),
 (507,51,33,NULL,NULL,33,'2015-08-15 05:23:52','::1',9,0x01,0x00,0x00,0x00),
 (508,64,33,NULL,NULL,33,'2015-08-15 05:23:52','::1',9,0x00,0x00,0x00,0x00),
 (509,111,33,NULL,NULL,33,'2015-08-15 05:23:52','::1',9,0x00,0x00,0x00,0x00),
 (510,20,33,NULL,NULL,33,'2015-08-15 05:23:52','::1',9,0x00,0x00,0x00,0x00),
 (511,117,33,NULL,NULL,33,'2015-08-15 05:23:52','::1',9,0x00,0x00,0x00,0x00),
 (512,118,33,NULL,NULL,33,'2015-08-15 05:23:52','::1',9,0x00,0x00,0x00,0x00),
 (513,67,33,NULL,NULL,33,'2015-08-15 05:23:52','::1',9,0x00,0x00,0x00,0x00),
 (514,70,33,NULL,NULL,33,'2015-08-15 05:23:52','::1',9,0x00,0x00,0x00,0x00),
 (515,71,33,NULL,NULL,33,'2015-08-15 05:23:53','::1',9,0x00,0x00,0x00,0x00),
 (516,79,33,NULL,NULL,33,'2015-08-15 05:23:53','::1',9,0x00,0x00,0x00,0x00),
 (517,24,33,NULL,NULL,33,'2015-08-15 05:23:53','::1',9,0x00,0x00,0x00,0x00),
 (518,87,33,NULL,NULL,33,'2015-08-15 05:27:28','::1',10,0x00,0x00,0x00,0x00),
 (519,34,33,NULL,NULL,33,'2015-08-15 05:27:28','::1',10,0x00,0x00,0x00,0x00),
 (520,93,33,NULL,NULL,33,'2015-08-15 05:27:28','::1',10,0x00,0x00,0x00,0x00),
 (521,95,33,NULL,NULL,33,'2015-08-15 05:27:28','::1',10,0x00,0x00,0x00,0x00),
 (522,96,33,NULL,NULL,33,'2015-08-15 05:27:28','::1',10,0x00,0x00,0x00,0x00),
 (523,37,33,NULL,NULL,33,'2015-08-15 05:27:28','::1',10,0x00,0x00,0x00,0x00),
 (524,39,33,NULL,NULL,33,'2015-08-15 05:27:28','::1',10,0x00,0x00,0x00,0x00),
 (525,40,33,NULL,NULL,33,'2015-08-15 05:27:28','::1',10,0x01,0x00,0x00,0x00),
 (526,41,33,NULL,NULL,33,'2015-08-15 05:27:28','::1',10,0x00,0x00,0x00,0x00),
 (527,42,33,NULL,NULL,33,'2015-08-15 05:27:28','::1',10,0x00,0x00,0x00,0x00),
 (528,46,33,NULL,NULL,33,'2015-08-15 05:27:28','::1',10,0x01,0x00,0x00,0x00),
 (529,50,33,NULL,NULL,33,'2015-08-15 05:27:28','::1',10,0x01,0x00,0x00,0x00),
 (530,58,33,NULL,NULL,33,'2015-08-15 05:27:28','::1',10,0x00,0x00,0x00,0x00),
 (531,63,33,NULL,NULL,33,'2015-08-15 05:27:28','::1',10,0x00,0x00,0x00,0x00),
 (532,16,33,NULL,NULL,33,'2015-08-15 05:27:28','::1',10,0x00,0x00,0x00,0x00),
 (533,104,33,NULL,NULL,33,'2015-08-15 05:27:28','::1',10,0x00,0x00,0x00,0x00),
 (534,109,33,NULL,NULL,33,'2015-08-15 05:27:29','::1',10,0x00,0x00,0x00,0x00),
 (535,64,33,NULL,NULL,33,'2015-08-15 05:27:29','::1',10,0x00,0x00,0x00,0x00),
 (536,72,33,NULL,NULL,33,'2015-08-15 05:27:29','::1',10,0x00,0x00,0x00,0x00),
 (537,73,33,NULL,NULL,33,'2015-08-15 05:27:29','::1',10,0x00,0x00,0x00,0x00),
 (538,23,33,NULL,NULL,33,'2015-08-15 05:27:29','::1',10,0x00,0x00,0x00,0x00),
 (539,19,33,NULL,NULL,33,'2015-08-15 05:27:29','::1',10,0x00,0x00,0x00,0x00),
 (540,24,33,NULL,NULL,33,'2015-08-15 05:27:29','::1',10,0x00,0x00,0x00,0x00),
 (541,32,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (542,35,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (543,36,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (544,37,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (545,39,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (546,26,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (547,50,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x01,0x00,0x00,0x00),
 (548,15,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (549,64,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (550,20,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (551,113,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (552,116,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (553,66,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (554,67,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (555,72,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (556,75,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (557,125,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (558,18,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (559,78,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (560,19,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (561,24,33,NULL,NULL,33,'2015-08-15 05:31:13','::1',11,0x00,0x00,0x00,0x00),
 (562,40,33,NULL,NULL,33,'2015-08-15 05:34:02','::1',12,0x01,0x00,0x00,0x00),
 (563,53,33,NULL,NULL,33,'2015-08-15 05:34:02','::1',12,0x01,0x00,0x00,0x00),
 (564,11,33,NULL,NULL,33,'2015-08-15 05:34:02','::1',12,0x00,0x00,0x00,0x00),
 (565,16,33,NULL,NULL,33,'2015-08-15 05:34:02','::1',12,0x00,0x00,0x00,0x00),
 (566,103,33,NULL,NULL,33,'2015-08-15 05:34:02','::1',12,0x00,0x00,0x00,0x00),
 (567,64,33,NULL,NULL,33,'2015-08-15 05:34:02','::1',12,0x01,0x00,0x00,0x00),
 (568,65,33,NULL,NULL,33,'2015-08-15 05:34:02','::1',12,0x00,0x00,0x00,0x00),
 (569,110,33,NULL,NULL,33,'2015-08-15 05:34:02','::1',12,0x00,0x00,0x00,0x00),
 (570,20,33,NULL,NULL,33,'2015-08-15 05:34:02','::1',12,0x00,0x00,0x00,0x00),
 (571,113,33,NULL,NULL,33,'2015-08-15 05:34:02','::1',12,0x00,0x00,0x00,0x00),
 (572,116,33,NULL,NULL,33,'2015-08-15 05:34:02','::1',12,0x00,0x00,0x00,0x00),
 (573,138,33,NULL,NULL,33,'2015-08-15 05:40:08','::1',12,0x00,0x00,0x00,0x00),
 (574,117,33,NULL,NULL,33,'2015-08-15 05:40:08','::1',12,0x00,0x00,0x00,0x00),
 (575,118,33,NULL,NULL,33,'2015-08-15 05:40:08','::1',12,0x00,0x00,0x00,0x00),
 (576,120,33,NULL,NULL,33,'2015-08-15 05:40:08','::1',12,0x00,0x00,0x00,0x00),
 (577,121,33,NULL,NULL,33,'2015-08-15 05:40:08','::1',12,0x00,0x00,0x00,0x00),
 (578,122,33,NULL,NULL,33,'2015-08-15 05:40:08','::1',12,0x00,0x00,0x00,0x00),
 (579,123,33,NULL,NULL,33,'2015-08-15 05:40:08','::1',12,0x00,0x00,0x00,0x00),
 (580,74,33,NULL,NULL,33,'2015-08-15 05:40:08','::1',12,0x00,0x00,0x00,0x00),
 (581,18,33,NULL,NULL,33,'2015-08-15 05:40:08','::1',12,0x00,0x00,0x00,0x00),
 (582,22,33,NULL,NULL,33,'2015-08-15 05:40:08','::1',12,0x00,0x00,0x00,0x00),
 (583,130,33,NULL,NULL,33,'2015-08-15 05:40:08','::1',12,0x00,0x00,0x00,0x00),
 (584,19,33,NULL,NULL,33,'2015-08-15 05:40:08','::1',12,0x00,0x00,0x00,0x00),
 (585,1,33,NULL,NULL,33,'2015-08-15 06:09:41','::1',15,0x00,0x00,0x00,0x00),
 (586,3,33,NULL,NULL,33,'2015-08-15 06:09:41','::1',15,0x00,0x00,0x00,0x00),
 (587,4,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x00,0x00,0x00,0x00),
 (588,28,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x00,0x00,0x00,0x00),
 (589,29,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x00,0x00,0x00,0x00),
 (590,31,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x01,0x00,0x00,0x00),
 (591,32,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x00,0x00,0x00,0x00),
 (592,33,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x00,0x00,0x00,0x00),
 (593,34,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x00,0x00,0x00,0x00),
 (594,35,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x00,0x00,0x00,0x00),
 (595,36,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x00,0x00,0x00,0x00),
 (596,37,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x00,0x00,0x00,0x00),
 (597,38,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x00,0x00,0x00,0x00),
 (598,39,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x01,0x00,0x00,0x00),
 (599,40,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x01,0x00,0x00,0x00),
 (600,41,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x00,0x00,0x00,0x00),
 (601,5,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x00,0x00,0x00,0x00),
 (602,42,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x00,0x00,0x00,0x00),
 (603,45,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x01,0x00,0x00,0x00),
 (604,46,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x01,0x00,0x00,0x00),
 (605,51,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x01,0x00,0x00,0x00),
 (606,54,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x01,0x00,0x00,0x00),
 (607,58,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x00,0x00,0x00,0x00),
 (608,59,33,NULL,NULL,33,'2015-08-15 06:09:42','::1',15,0x00,0x00,0x00,0x00),
 (609,60,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (610,61,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (611,62,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (612,63,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (613,64,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x01,0x00,0x00,0x00),
 (614,65,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (615,66,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (616,67,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (617,68,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (618,69,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (619,70,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (620,71,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (621,72,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (622,73,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (623,23,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (624,74,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (625,75,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (626,76,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (627,77,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (628,78,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (629,79,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (630,80,33,NULL,NULL,33,'2015-08-15 06:09:43','::1',15,0x00,0x00,0x00,0x00),
 (631,139,NULL,NULL,NULL,43,'2016-04-04 23:39:53','::1',1,0x00,0x00,0x00,0x00),
 (632,139,NULL,NULL,NULL,43,'2016-04-04 23:43:41','::1',2,0x00,0x00,0x00,0x00),
 (633,139,NULL,NULL,NULL,43,'2016-04-04 23:45:12','::1',3,0x00,0x00,0x00,0x00),
 (634,139,NULL,NULL,NULL,43,'2016-04-04 23:45:23','::1',4,0x00,0x00,0x00,0x00),
 (635,139,NULL,NULL,NULL,43,'2016-04-04 23:46:05','::1',5,0x00,0x00,0x00,0x00),
 (636,139,NULL,NULL,NULL,43,'2016-04-04 23:46:12','::1',6,0x00,0x00,0x00,0x00),
 (637,139,NULL,NULL,NULL,43,'2016-04-04 23:46:21','::1',7,0x00,0x00,0x00,0x00),
 (638,139,NULL,NULL,NULL,43,'2016-04-04 23:46:53','::1',8,0x00,0x00,0x00,0x00),
 (639,139,NULL,NULL,NULL,43,'2016-04-04 23:47:01','::1',9,0x00,0x00,0x00,0x00),
 (640,139,NULL,NULL,NULL,43,'2016-04-04 23:47:08','::1',10,0x00,0x00,0x00,0x00),
 (641,139,NULL,NULL,NULL,43,'2016-04-04 23:47:25','::1',11,0x00,0x00,0x00,0x00),
 (642,139,NULL,NULL,NULL,43,'2016-04-04 23:47:32','::1',12,0x00,0x00,0x00,0x00),
 (643,139,NULL,NULL,NULL,43,'2016-04-04 23:47:43','::1',14,0x00,0x00,0x00,0x00),
 (644,139,NULL,NULL,NULL,43,'2016-04-04 23:47:50','::1',15,0x00,0x00,0x00,0x00),
 (645,140,NULL,NULL,NULL,43,'2016-04-05 03:32:42','::1',1,0x00,0x00,0x00,0x00),
 (646,141,NULL,NULL,NULL,43,'2016-04-05 03:32:42','::1',1,0x00,0x00,0x00,0x00),
 (647,142,NULL,NULL,NULL,43,'2016-04-05 03:32:42','::1',1,0x00,0x00,0x00,0x00),
 (648,140,NULL,NULL,NULL,43,'2016-04-05 03:34:42','::1',2,0x00,0x00,0x00,0x00),
 (749,1,NULL,'2016-04-22 11:47:32','192.168.0.1',NULL,'2016-04-22 11:47:32','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (750,3,NULL,'2016-04-22 11:47:32','192.168.0.1',NULL,'2016-04-22 11:47:32','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (751,4,NULL,'2016-04-22 11:47:32','192.168.0.1',NULL,'2016-04-22 11:47:32','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (752,28,NULL,'2016-04-22 11:47:32','192.168.0.1',NULL,'2016-04-22 11:47:32','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (753,29,NULL,'2016-04-22 11:47:32','192.168.0.1',NULL,'2016-04-22 11:47:32','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (754,31,NULL,'2016-04-22 11:47:32','192.168.0.1',NULL,'2016-04-22 11:47:32','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (755,32,NULL,'2016-04-22 11:47:33','192.168.0.1',NULL,'2016-04-22 11:47:33','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (756,33,NULL,'2016-04-22 11:47:33','192.168.0.1',NULL,'2016-04-22 11:47:33','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (757,36,NULL,'2016-04-22 11:47:33','192.168.0.1',NULL,'2016-04-22 11:47:33','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (758,37,NULL,'2016-04-22 11:47:33','192.168.0.1',NULL,'2016-04-22 11:47:33','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (759,38,NULL,'2016-04-22 11:47:33','192.168.0.1',NULL,'2016-04-22 11:47:33','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (760,39,NULL,'2016-04-22 11:47:33','192.168.0.1',NULL,'2016-04-22 11:47:33','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (761,45,NULL,'2016-04-22 11:47:33','192.168.0.1',NULL,'2016-04-22 11:47:33','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (762,46,NULL,'2016-04-22 11:47:33','192.168.0.1',NULL,'2016-04-22 11:47:33','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (763,51,NULL,'2016-04-22 11:47:33','192.168.0.1',NULL,'2016-04-22 11:47:33','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (764,54,NULL,'2016-04-22 11:47:33','192.168.0.1',NULL,'2016-04-22 11:47:33','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (765,58,NULL,'2016-04-22 11:47:33','192.168.0.1',NULL,'2016-04-22 11:47:33','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (766,60,NULL,'2016-04-22 11:47:34','192.168.0.1',NULL,'2016-04-22 11:47:34','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (767,70,NULL,'2016-04-22 11:47:34','192.168.0.1',NULL,'2016-04-22 11:47:34','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (768,72,NULL,'2016-04-22 11:47:34','192.168.0.1',NULL,'2016-04-22 11:47:34','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (769,79,NULL,'2016-04-22 11:47:34','192.168.0.1',NULL,'2016-04-22 11:47:34','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (770,80,NULL,'2016-04-22 11:47:34','192.168.0.1',NULL,'2016-04-22 11:47:34','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (771,34,NULL,'2016-04-22 11:47:34','192.168.0.1',NULL,'2016-04-22 11:47:34','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (772,35,NULL,'2016-04-22 11:47:34','192.168.0.1',NULL,'2016-04-22 11:47:34','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (773,40,NULL,'2016-04-22 11:47:34','192.168.0.1',NULL,'2016-04-22 11:47:34','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (774,41,NULL,'2016-04-22 11:47:34','192.168.0.1',NULL,'2016-04-22 11:47:34','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (775,5,NULL,'2016-04-22 11:47:34','192.168.0.1',NULL,'2016-04-22 11:47:34','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (776,42,NULL,'2016-04-22 11:47:34','192.168.0.1',NULL,'2016-04-22 11:47:34','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (777,59,NULL,'2016-04-22 11:47:34','192.168.0.1',NULL,'2016-04-22 11:47:34','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (778,61,NULL,'2016-04-22 11:47:35','192.168.0.1',NULL,'2016-04-22 11:47:35','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (779,62,NULL,'2016-04-22 11:47:35','192.168.0.1',NULL,'2016-04-22 11:47:35','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (780,63,NULL,'2016-04-22 11:47:35','192.168.0.1',NULL,'2016-04-22 11:47:35','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (781,64,NULL,'2016-04-22 11:47:35','192.168.0.1',NULL,'2016-04-22 11:47:35','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (782,65,NULL,'2016-04-22 11:47:35','192.168.0.1',NULL,'2016-04-22 11:47:35','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (783,66,NULL,'2016-04-22 11:47:35','192.168.0.1',NULL,'2016-04-22 11:47:35','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (784,67,NULL,'2016-04-22 11:47:35','192.168.0.1',NULL,'2016-04-22 11:47:35','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (785,68,NULL,'2016-04-22 11:47:35','192.168.0.1',NULL,'2016-04-22 11:47:35','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (786,69,NULL,'2016-04-22 11:47:35','192.168.0.1',NULL,'2016-04-22 11:47:35','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (787,71,NULL,'2016-04-22 11:47:35','192.168.0.1',NULL,'2016-04-22 11:47:35','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (788,73,NULL,'2016-04-22 11:47:36','192.168.0.1',NULL,'2016-04-22 11:47:36','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (789,23,NULL,'2016-04-22 11:47:36','192.168.0.1',NULL,'2016-04-22 11:47:36','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (790,74,NULL,'2016-04-22 11:47:36','192.168.0.1',NULL,'2016-04-22 11:47:36','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (791,75,NULL,'2016-04-22 11:47:36','192.168.0.1',NULL,'2016-04-22 11:47:36','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (792,76,NULL,'2016-04-22 11:47:36','192.168.0.1',NULL,'2016-04-22 11:47:36','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (793,77,NULL,'2016-04-22 11:47:36','192.168.0.1',NULL,'2016-04-22 11:47:36','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (794,78,NULL,'2016-04-22 11:47:36','192.168.0.1',NULL,'2016-04-22 11:47:36','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (795,139,NULL,'2016-04-22 11:47:36','192.168.0.1',NULL,'2016-04-22 11:47:36','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (796,140,NULL,'2016-04-22 11:47:36','192.168.0.1',NULL,'2016-04-22 11:47:36','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (797,141,NULL,'2016-04-22 11:47:36','192.168.0.1',NULL,'2016-04-22 11:47:36','192.168.0.1',68,0x00,0x00,0x00,0x00),
 (798,142,NULL,'2016-04-22 11:47:37','192.168.0.1',NULL,'2016-04-22 11:47:37','192.168.0.1',68,0x00,0x00,0x00,0x00);


--
-- Definition of table `worksheets`
--

CREATE TABLE `worksheets` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(100) NOT NULL,
  `Format_id` int(11) NOT NULL,
  `CreateBy` int(11) DEFAULT NULL,
  `CreateDate` datetime DEFAULT NULL,
  `CreateTerminal` varchar(100) DEFAULT NULL,
  `UpdateBy` int(11) DEFAULT NULL,
  `UpdateDate` datetime DEFAULT NULL,
  `UpdateTerminal` varchar(100) DEFAULT NULL,
  `NoUrut` int(11) DEFAULT '99',
  `DEPOSITFORMAT_CODE` varchar(5) DEFAULT NULL,
  `ISSERIAL` bit(1) DEFAULT b'0',
  `ISMUSIK` bit(1) DEFAULT b'0',
  `CODE` varchar(10) NOT NULL,
  `Keterangan` varchar(255) DEFAULT NULL,
  `MaxPinjamKoleksi` int(11) DEFAULT '0',
  `MaxLoanDays` int(11) DEFAULT '0',
  `DendaType` varchar(45) DEFAULT 'Konstan',
  `DendaTenorJumlah` decimal(10,0) DEFAULT '0',
  `DendaTenorSatuan` varchar(45) DEFAULT 'Hari',
  `DendaPerTenor` decimal(10,0) DEFAULT '0',
  `DendaTenorMultiply` int(11) DEFAULT '1',
  `SuspendMember` bit(1) DEFAULT b'0',
  `WarningLoanDueDay` int(11) DEFAULT '0',
  `SuspendType` varchar(45) DEFAULT 'Konstan',
  `SuspendTenorJumlah` double DEFAULT '0',
  `SuspendTenorSatuan` varchar(45) DEFAULT 'Hari',
  `DaySuspend` int(11) DEFAULT '0',
  `SuspendTenorMultiply` int(11) DEFAULT '1',
  `DayPerpanjang` int(11) DEFAULT '0',
  `CountPerpanjang` int(11) DEFAULT '0',
  PRIMARY KEY (`ID`),
  UNIQUE KEY `Name` (`Name`),
  KEY `Format_id` (`Format_id`),
  KEY `worksheets_createby` (`CreateBy`),
  KEY `worksheets_updateby` (`UpdateBy`),
  CONSTRAINT `FK3800D37D5B024CA8` FOREIGN KEY (`Format_id`) REFERENCES `formats` (`ID`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `worksheets_createby` FOREIGN KEY (`CreateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `worksheets_updateby` FOREIGN KEY (`UpdateBy`) REFERENCES `users` (`ID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `worksheets`
--

INSERT INTO `worksheets` (`ID`,`Name`,`Format_id`,`CreateBy`,`CreateDate`,`CreateTerminal`,`UpdateBy`,`UpdateDate`,`UpdateTerminal`,`NoUrut`,`DEPOSITFORMAT_CODE`,`ISSERIAL`,`ISMUSIK`,`CODE`,`Keterangan`,`MaxPinjamKoleksi`,`MaxLoanDays`,`DendaType`,`DendaTenorJumlah`,`DendaTenorSatuan`,`DendaPerTenor`,`DendaTenorMultiply`,`SuspendMember`,`WarningLoanDueDay`,`SuspendType`,`SuspendTenorJumlah`,`SuspendTenorSatuan`,`DaySuspend`,`SuspendTenorMultiply`,`DayPerpanjang`,`CountPerpanjang`) VALUES 
 (1,'Monograf',1,33,'2012-09-12 13:54:51','DeniPC',43,'2015-12-02 12:13:13','::1',1,'CB',0x00,0x00,'001','Buku, Jurnal, Laporan, dll',0,0,'Konstan','0','Hari','0',0,NULL,0,'Konstan',0,'Hari',0,1,0,0),
 (2,'Sumber Elektronik',1,33,'2012-09-12 13:54:51','DeniPC',33,'2015-09-18 15:17:08','::1',2,NULL,0x00,0x00,'002','CD-ROM, Floppy Disk, VCD, dll',0,0,'Konstan','0','0','0',0,NULL,0,'Konstan',0,'Hari',0,1,0,0),
 (3,'Film',1,33,'2012-09-12 13:54:51','DeniPC',43,'2015-11-09 18:58:21','::1',3,NULL,0x00,0x00,'003','Film, dll',0,0,'Konstan','0','Hari','0',0,NULL,0,'Konstan',0,'Hari',0,1,0,0),
 (4,'Terbitan Berkala',1,33,'2012-09-12 13:54:51','DeniPC',33,'2015-09-18 15:18:38','::1',4,NULL,0x01,0x00,'004','Surat Kabar, Majalah, dll',0,0,'Konstan','0','0','0',0,NULL,0,'Konstan',0,'Hari',0,1,0,0),
 (5,'Bahan Kartografis',1,33,'2012-09-12 13:54:52','DeniPC',33,'2015-09-18 15:19:11','::1',5,NULL,0x00,0x00,'005','Peta, dll',0,0,'Konstan','0','0','0',0,NULL,0,'Konstan',0,'Hari',0,1,0,0),
 (6,'Bahan Grafis',1,33,'2012-09-12 13:54:52','DeniPC',33,'2015-09-18 15:19:24','::1',6,NULL,0x00,0x00,'006','Foto, Lukisan, dll',0,0,'Konstan','0','0','0',0,NULL,0,'Konstan',0,'Hari',0,1,0,0),
 (7,'Rekaman Video',1,33,'2012-09-12 13:54:52','DeniPC',33,'2015-08-15 04:54:17','::1',7,NULL,0x00,0x00,'007',NULL,0,0,'Konstan','0','0','0',0,NULL,0,'Konstan',0,'Hari',0,1,0,0),
 (8,'Musik',1,33,'2012-09-12 13:54:52','DeniPC',33,'2015-08-15 05:20:38','::1',8,NULL,0x00,0x01,'008',NULL,0,0,'Konstan','0','0','0',0,NULL,0,'Konstan',0,'Hari',0,1,0,0),
 (9,'Bahan Campuran',1,33,'2012-09-12 13:54:52','DeniPC',33,'2015-08-15 05:23:52','::1',9,NULL,0x00,0x00,'009',NULL,0,0,'Konstan','0','0','0',0,NULL,0,'Konstan',0,'Hari',0,1,0,0),
 (10,'Rekaman Suara',1,33,'2012-09-12 13:54:52','DeniPC',33,'2015-08-15 05:27:28','::1',10,NULL,0x00,0x00,'010',NULL,0,0,'Konstan','0','0','0',0,NULL,0,'Konstan',0,'Hari',0,1,0,0),
 (11,'Bentuk Mikro',1,33,'2012-09-12 13:54:53','DeniPC',33,'2015-08-15 05:31:13','::1',11,NULL,0x00,0x00,'011',NULL,0,0,'Konstan','0','0','0',0,NULL,0,'Konstan',0,'Hari',0,1,0,0),
 (12,'Manuskrip',1,33,'2012-10-24 20:30:35','114.79.54.148',33,'2015-08-15 05:40:07','::1',12,NULL,0x00,0x00,'012',NULL,0,0,'Konstan','0','0','0',0,NULL,0,'Konstan',0,'Hari',0,1,0,0),
 (14,'Braille',1,33,'2013-07-03 08:46:18','192.168.16.12',33,'2013-07-03 08:49:15','192.168.16.12',13,NULL,0x00,0x00,'014',NULL,0,0,'Konstan','0','0','0',0,NULL,0,'Konstan',0,'Hari',0,1,0,0),
 (15,'Bahan Ephemeral',1,33,'2015-08-15 06:07:47','::1',33,'2015-08-15 06:09:41','::1',15,NULL,0x00,0x00,'015',NULL,0,0,'Konstan','0','0','0',0,NULL,0,'Konstan',0,'Hari',0,1,0,0),
 (67,'Default',2,33,NULL,NULL,33,'2016-03-07 13:39:27','192.168.0.1',1,NULL,0x00,0x00,'001',NULL,0,0,'Konstan','0','Hari','0',0,NULL,0,'Konstan',0,'Hari',0,1,0,0),
 (68,'Skripsi',1,NULL,'2016-04-22 11:45:59','192.168.0.1',NULL,'2016-04-22 11:47:32','192.168.0.1',NULL,NULL,0x00,0x00,'skripsi','',0,0,'Konstan','0','Hari','0',1,0x00,0,'Konstan',0,'Hari',0,1,0,0);


--
-- Definition of function `GetWarningLoanDueDay`
--

DROP FUNCTION IF EXISTS `GetWarningLoanDueDay`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` FUNCTION `GetWarningLoanDueDay`( JenisAnggotaID double, WorksheetID int(11)) RETURNS int(11)
BEGIN
declare WarningLoanDueDay int(11);
set WarningLoanDueDay = 0;
set WarningLoanDueDay = (SELECT WarningLoanDueDay FROM jenis_anggota WHERE jenis_anggota.id = JenisAnggotaID);
if WarningLoanDueDay = 0 then set WarningLoanDueDay = (SELECT WarningLoanDueDay FROM worksheets WHERE worksheets.id = WorksheetID); end if;
return WarningLoanDueDay;
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of function `get_next_no_pemijaman_id`
--

DROP FUNCTION IF EXISTS `get_next_no_pemijaman_id`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` FUNCTION `get_next_no_pemijaman_id`() RETURNS varchar(20) CHARSET latin1
BEGIN
 DECLARE next_no_pemijaman VARCHAR(20);
 DECLARE last_no_pemijaman BIGINT(20) DEFAULT 1;
 DECLARE pemijaman_count BIGINT(20);
 
 SELECT COUNT(No_pinjaman) INTO pemijaman_count FROM lockers WHERE LEFT(No_pinjaman, 6) = DATE_FORMAT(NOW(),'%Y%m') ;
 IF pemijaman_count > 0 THEN
 
   SELECT RIGHT(No_pinjaman, 7) INTO last_no_pemijaman FROM lockers  WHERE LEFT(No_pinjaman, 6) = DATE_FORMAT(NOW(),'%Y%m')  ORDER BY no_pinjaman DESC LIMIT 0, 1;
   SET last_no_pemijaman = last_no_pemijaman+ 1;
 ELSE SET last_no_pemijaman =1;
 END IF;
 SET next_no_pemijaman = CONCAT(DATE_FORMAT(NOW(),'%Y%m'), REPEAT(0, 7 - LENGTH(last_no_pemijaman)), last_no_pemijaman);
 RETURN CONCAT(DATE_FORMAT(NOW(),'%Y%m'),REPEAT(0, 7 - LENGTH(last_no_pemijaman)),last_no_pemijaman);
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of function `hasil35dec`
--

DROP FUNCTION IF EXISTS `hasil35dec`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` FUNCTION `hasil35dec`(param1 VARCHAR(3)) RETURNS varchar(11) CHARSET utf8
BEGIN
    DECLARE maxpengunjung VARCHAR(11) ;
    DECLARE pengunjung VARCHAR(11) ;
    SET maxpengunjung ='';
    SET pengunjung ='';
    IF param1 = 'GST' THEN
      SELECT MAX(nopengunjung) INTO maxpengunjung FROM memberguesses WHERE SUBSTR(nopengunjung,1,7)= CONCAT(param1,YEAR(NOW()));
    ELSE
      SELECT MAX(nopengunjung) INTO maxpengunjung FROM groupguesses WHERE SUBSTR(nopengunjung,1,7)= CONCAT(param1,YEAR(NOW()));
    END IF;
IF maxpengunjung IS NULL THEN 
	SET maxpengunjung=CONCAT(param1,YEAR(NOW()),'0001');
ELSE
	SET pengunjung =SUBSTR(maxpengunjung,8,4);
	SET pengunjung=CONV(pengunjung,36,10);
	SET pengunjung=pengunjung+1;
	SET pengunjung=CONV(pengunjung,10,36);
	SET maxpengunjung=CONCAT(param1,YEAR(NOW()),REPEAT(0, 4 - LENGTH(pengunjung)),pengunjung);
END IF;
RETURN maxpengunjung;
    END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of function `kategory_umur`
--

DROP FUNCTION IF EXISTS `kategory_umur`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` FUNCTION `KATEGORY_UMUR`( tglLahir_prm DATETIME ) RETURNS varchar(200) CHARSET latin1 COLLATE latin1_general_ci
BEGIN
    DECLARE umuranggota INTEGER;
    DECLARE katagory_umur_param varchar(200);
    
    SET umuranggota =YEAR(NOW())-YEAR(tglLahir_prm);
    
    IF DATE_FORMAT(tglLahir_prm,'%m%d')>DATE_FORMAT(NOW(),'%m%d') THEN SET umuranggota =umuranggota -1; END IF;
    select master_range_umur.`Keterangan` into katagory_umur_param from master_range_umur where umuranggota between master_range_umur.`umur1` and master_range_umur.`umur2`;
    RETURN katagory_umur_param;
    END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of function `regexp_replace`
--

DROP FUNCTION IF EXISTS `regexp_replace`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` FUNCTION `regexp_replace`(pattern VARCHAR(1000),replacement VARCHAR(1000),original VARCHAR(1000)) RETURNS varchar(1000) CHARSET latin1
    DETERMINISTIC
BEGIN
DECLARE temp VARCHAR(1000);
DECLARE ch VARCHAR(1);
DECLARE i INT;
DECLARE j INT;
DECLARE qbTemp VARCHAR(1000);
SET i = 1;
SET j = 1;
SET temp = '';
SET qbTemp = '';
IF original REGEXP pattern THEN
loop_label: LOOP
IF i>CHAR_LENGTH(original) THEN
LEAVE loop_label;
END IF;
SET ch = SUBSTRING(original,i,1);
IF NOT ch REGEXP pattern THEN
SET temp = CONCAT(temp,ch);
ELSE
SET temp = CONCAT(temp,replacement);
END IF;
SET i=i+1;
END LOOP;
ELSE
SET temp = original;
END IF;
SET temp = TRIM(BOTH replacement FROM temp);
SET temp = REPLACE(REPLACE(REPLACE(temp , CONCAT(replacement,replacement),CONCAT(replacement,'#')),CONCAT('#',replacement),''),'#','');
RETURN temp;
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of function `SPLIT_STR`
--

DROP FUNCTION IF EXISTS `SPLIT_STR`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` FUNCTION `SPLIT_STR`(
x VARCHAR(255),
delim VARCHAR(12),
pos INT
) RETURNS varchar(255) CHARSET latin1
RETURN REPLACE(SUBSTRING(SUBSTRING_INDEX(x, delim, pos),
LENGTH(SUBSTRING_INDEX(x, delim, pos -1)) + 1),
delim, '') $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of function `terbilang`
--

DROP FUNCTION IF EXISTS `terbilang`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` FUNCTION `terbilang`(angka bigint) RETURNS varchar(5000) CHARSET utf8
BEGIN
 DECLARE sString varchar(30);
 DECLARE Bil1 varchar(255);
 DECLARE Bil2 varchar(255);
 DECLARE STot varchar(255);
 DECLARE X int;
 DECLARE Y int;
 DECLARE Z int;
 DECLARE Urai varchar(5000);
 SET sString = CAST(angka as char);
 SET Urai = '';
 SET X = 0;
 SET Y = 0;
 WHILE X <> LENGTH(sString) DO
SET X = X + 1;
SET sTot = MID(sString, X, 1);
SET Y = Y + CAST(sTot as UNSIGNED);
SET Z = LENGTH(sString) - X + 1;
CASE CAST(sTot as UNSIGNED)
WHEN 1 THEN
 BEGIN
  IF (Z = 1 OR Z = 7 OR Z = 10 OR Z = 13) THEN
   SET Bil1 = 'SATU ';
  ELSEIF (z = 4) THEN
   IF (x = 1) THEN
    SET Bil1 = 'SE';
   ELSE
    SET Bil1 = 'SATU';
   END IF;
  ELSEIF (Z = 2 OR Z = 5 OR Z = 8 OR Z = 11 OR Z = 14) THEN
   SET X = X + 1;
   SET sTot = MID(sString, X, 1);
   SET Z = LENGTH(sString) - X + 1;
   SET Bil2 = '';
   CASE CAST(sTot AS UNSIGNED)
    WHEN 0 THEN SET Bil1 = 'SEPULUH ';
    WHEN 1 THEN SET Bil1 = 'SEBELAS ';
    WHEN 2 THEN SET Bil1 = 'DUA BELAS ';
    WHEN 3 THEN SET Bil1 = 'TIGA BELAS ';
    WHEN 4 THEN SET Bil1 = 'EMPAT BELAS ';
    WHEN 5 THEN SET Bil1 = 'LIMA BELAS ';
    WHEN 6 THEN SET Bil1 = 'ENAM BELAS ';
    WHEN 7 THEN SET Bil1 = 'TUJUH BELAS ';
    WHEN 8 THEN SET Bil1 = 'DELAPAN BELAS ';
    WHEN 9 THEN SET Bil1 = 'SEMBILAN BELAS ';
   ELSE BEGIN END;
   END CASE;
  ELSE
   SET Bil1 = 'SE';
  END IF;
 END;
WHEN 2 THEN SET Bil1 = 'DUA ';
WHEN 3 THEN SET Bil1 = 'TIGA ';
WHEN 4 THEN SET Bil1 = 'EMPAT ';
WHEN 5 THEN SET Bil1 = 'LIMA ';
WHEN 6 THEN SET Bil1 = 'ENAM ';
WHEN 7 THEN SET Bil1 = 'TUJUH ';
WHEN 8 THEN SET Bil1 = 'DELAPAN ';
WHEN 9 THEN SET Bil1 = 'SEMBILAN ';
ELSE SET Bil1 = '';
END CASE;
IF CAST(sTot as UNSIGNED) > 0 THEN
IF (Z = 2 OR Z = 5 OR Z = 8 OR Z = 11 OR Z = 14) THEN
 SET Bil2 = 'PULUH ';
ELSEIF (Z = 3 OR Z = 6 OR Z = 9 OR Z = 12 OR Z = 15) THEN
 SET Bil2 = 'RATUS ';
ELSE
 SET Bil2 = '';
END IF;
ELSE
SET Bil2 = '';
END IF;
IF Y > 0 THEN
CASE Z
 WHEN 4 THEN BEGIN SET Bil2 = CONCAT(Bil2, 'RIBU '); SET Y = 0; END;
 WHEN 7 THEN BEGIN SET Bil2 = CONCAT(Bil2, 'JUTA '); SET Y = 0; END;
 WHEN 10 THEN BEGIN SET Bil2 = CONCAT(Bil2, 'MILYAR '); SET Y = 0; END;
 WHEN 13 THEN BEGIN SET Bil2 = CONCAT(Bil2, 'TRILYUN '); SET Y = 0; END;
 ELSE BEGIN END;
END CASE;
END IF;
SET Urai = CONCAT(Urai, Bil1, Bil2);
END WHILE;
RETURN Urai;
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of function `TO_MARC`
--

DROP FUNCTION IF EXISTS `TO_MARC`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` FUNCTION `TO_MARC`( CATID INT) RETURNS text CHARSET latin1
    DETERMINISTIC
BEGIN
DECLARE v_ID INT(10);
DECLARE v_CatalogId DOUBLE;
DECLARE v_Tag VARCHAR(3);
DECLARE v_Indicator1 CHAR(1);
DECLARE v_Indicator2 CHAR(1);
DECLARE v_Value VARCHAR(4000);
DECLARE done INT DEFAULT FALSE;
DECLARE curCR CURSOR FOR SELECT ID,CatalogId,Tag,Indicator1,Indicator2,Value FROM catalog_ruas WHERE CatalogId=CATID;
DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE;
SET @FD = '^';
SET @WORKSHEET_ID = (SELECT Worksheet_id FROM catalogs WHERE ID=CATID);
SET @LEADER = '[LEN]c';
SET @TypeOfRecord = 'a';
IF @WORKSHEET_ID = 1  THEN SET @TypeOfRecord = 'a'; END IF;
IF @WORKSHEET_ID = 3  THEN SET @TypeOfRecord = 'g'; END IF;
IF @WORKSHEET_ID = 5  THEN SET @TypeOfRecord = 'e'; END IF;
IF @WORKSHEET_ID = 7  THEN SET @TypeOfRecord = 'g'; END IF;
IF @WORKSHEET_ID = 8  THEN SET @TypeOfRecord = 'j'; END IF;
IF @WORKSHEET_ID = 9  THEN SET @TypeOfRecord = 'p'; END IF;
IF @WORKSHEET_ID = 10  THEN SET @TypeOfRecord = 'j'; END IF;
IF @WORKSHEET_ID = 11  THEN SET @TypeOfRecord = 'g'; END IF;
IF @WORKSHEET_ID = 12  THEN SET @TypeOfRecord = 'f'; END IF;
IF @WORKSHEET_ID = 13  THEN SET @TypeOfRecord = 'a'; END IF;
IF @WORKSHEET_ID = 41  THEN SET @TypeOfRecord = 'a'; END IF;
IF @WORKSHEET_ID = 21  THEN SET @TypeOfRecord = 'k'; END IF;
IF @WORKSHEET_ID = 20  THEN SET @TypeOfRecord = 'm'; END IF;
IF @WORKSHEET_ID = 102  THEN SET @TypeOfRecord = 'a'; END IF;
SET @LEADER = CONCAT(@LEADER, @TypeOfRecord);
SET @BibLevel = 'm';
IF @WORKSHEET_ID = 13  THEN SET @TypeOfRecord = 's'; END IF;
IF @WORKSHEET_ID = 102  THEN SET @TypeOfRecord = 'a'; END IF;
SET @LEADER = CONCAT(@LEADER, @BibLevel, '  22[BAD]   4500');
SET @RESULT = '';
SET @DIRVAL = '';
SET @DIRNUM = 0;
SET @RECVAL = '';
OPEN curCR;
REPEAT
FETCH curCR INTO v_ID, v_CatalogId, v_Tag, v_Indicator1, v_Indicator2, v_Value;
IF NOT done AND LENGTH(v_Value) > 0 THEN
IF v_Tag = '035' THEN
IF LENGTH(v_Indicator1) = 0 THEN
SET v_Indicator1 = '#';
END IF;
IF LENGTH(v_Indicator2) = 0 THEN
SET v_Indicator2 = '#';
END IF;
IF SUBSTR(v_Value, 1, 2) <> '$a' THEN
SET v_Value = CONCAT('$a ', v_Value);
END IF;
END IF;
SET @LEN = 0;
SET @VAL3 = LPAD(@DIRNUM, 5, '0');
SET @DATAVAL = '';
SET @v_Indicator1 = v_Indicator1;
SET @v_Indicator2 = v_Indicator2;
SET @v_Value = v_Value;
IF v_Tag <= '010' THEN
SET @LEN = LENGTH(@v_Value) + 1;
SET @DIRNUM = @DIRNUM + @LEN;
SET @DATAVAL = @v_Value;
ELSE
SET @LEN = LENGTH(@v_Indicator1) + LENGTH(@v_Indicator2) + LENGTH(@v_Value) + 1;
SET @DIRNUM = @DIRNUM + @LEN;
SET @DATAVAL = CONCAT(@v_Indicator1, @v_Indicator2, @v_Value);
END IF;
SET @VAL1 = v_Tag;
SET @VAL2 = LPAD(@LEN, 4, '0');
SET @DIRVAL = CONCAT(@DIRVAL, @VAL1, @VAL2, @VAL3);
SET @RECVAL = CONCAT(@RECVAL, @FD, @DATAVAL);
END IF;
UNTIL done END REPEAT;
CLOSE curCR;
SET @RESULT = CONCAT(@LEADER, @DIRVAL);
SET @IndexBAD = LENGTH(@RESULT);
SET @RESULT = REPLACE(@RESULT, '[BAD]', LPAD(@IndexBAD, 5, '0'));
SET @RESULT = CONCAT(@RESULT, @RECVAL);
SET @RESULT = REPLACE(@RESULT, '[LEN]', LPAD(LENGTH(@RESULT), 5, '0'));
RETURN @RESULT;
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of function `umur`
--

DROP FUNCTION IF EXISTS `umur`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` FUNCTION `umur`( tglLahir_prm DATEtime ) RETURNS int(11)
BEGIN
declare umuranggota integer;
set umuranggota =YEAR(NOW())-year(tglLahir_prm);
if DATE_FORMAT(tglLahir_prm,'%m%d')>DATE_FORMAT(now(),'%m%d') then SET umuranggota =umuranggota -1; end if;
return umuranggota;
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `20newCollectionOpac`
--

DROP PROCEDURE IF EXISTS `20newCollectionOpac`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `20newCollectionOpac`()
BEGIN
SELECT c.id AS id, c.title AS title, c.author AS author, c.PublishLocation AS PublishLocation, 
				c.publishyear AS YEAR, CONCAT(c.PublishLocation, '  ' , c.Publisher, '  ' ,c.publishyear) AS penerbitan, 
				c.publisher AS publisher,  c.publishyear AS YEAR, CONCAT(c.publisher, ' : ', c.publishyear) AS penerbitan,
				s.CreateDate, w.name AS wn, TRIM(c.coverurl) AS coverurl, c.callnumber AS callnumber
				FROM collections s 
               INNER JOIN catalogs c ON c.id = s.catalog_id 
                              LEFT JOIN worksheets w ON w.ID = c.Worksheet_id 
               WHERE c.isopac =1 
               GROUP BY c.id 
               ORDER BY s.createdate DESC LIMIT 0,20;
    END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `BrowseOpac`
--

DROP PROCEDURE IF EXISTS `BrowseOpac`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `BrowseOpac`(
IN keyword TEXT,
IN keyword2 TEXT,
IN keyword3 TEXT,
IN isLKD TEXT
)
BEGIN
IF isLKD = 1
 then
		IF keyword = 'Alphabetical' AND keyword2 = '' THEN
		SET @query_as_string=CONCAT("SELECT 'A' AS `A` UNION ALL SELECT 'B' AS `B` UNION ALL SELECT 'C' AS `C` UNION ALL SELECT 'D' AS `D` UNION ALL SELECT 'E' AS `E` UNION ALL SELECT 'F' AS `F` UNION ALL SELECT 'G' AS `G` UNION ALL SELECT 'H' AS `H` UNION ALL SELECT 'I' AS `I` UNION ALL SELECT 'J' AS `J` UNION ALL SELECT 'K' AS `K` UNION ALL SELECT 'L' AS `L` UNION ALL SELECT 'M' AS `M` UNION ALL SELECT 'N' AS `N` UNION ALL SELECT 'O' AS `O` UNION ALL SELECT 'P' AS `P` UNION ALL SELECT 'Q' AS `Q` UNION ALL SELECT 'R' AS `R` UNION ALL SELECT 'S' AS `S` UNION ALL SELECT 'T' AS `T` UNION ALL SELECT 'U' AS `U` UNION ALL SELECT 'V' AS `V` UNION ALL SELECT 'W' AS `W` UNION ALL SELECT 'X' AS `X` UNION ALL SELECT 'Y' AS `Y` UNION ALL SELECT 'Z' AS `Z`");             
		  PREPARE statement_1 FROM @query_as_string;
		  EXECUTE statement_1;
		  DEALLOCATE PREPARE statement_1;
		END IF;
		IF keyword = 'Alphabetical' and keyword2 <> '' then
		SET @query_as_string=CONCAT('
		 SELECT distinct CAT.',keyword2,' as name,COUNT(CAT.',keyword2,') as jml FROM catalogs CAT
									INNER JOIN catalogfiles CF on  CAT.ID = CF.Catalog_id
									WHERE CAT.isopac=1
									AND CAT.',keyword2,' like "',keyword3,'%"  
									GROUP BY name
									ORDER BY jml desc
									limit 0,20');             
		  PREPARE statement_1 FROM @query_as_string;
		  EXECUTE statement_1;
		  DEALLOCATE PREPARE statement_1;
		END IF;
		IF keyword2 = '' AND keyword <> 'Alphabetical' then
		SET @query_as_string=CONCAT('
			SELECT distinct CAT.',keyword,'  as name,COUNT(CAT.',keyword,' ) as jml FROM catalogs CAT
									INNER JOIN catalogfiles CF on  CAT.ID = CF.Catalog_id
									WHERE CAT.isopac=1
									GROUP BY name
									ORDER BY jml desc
									limit 0,20 ');             
		  PREPARE statement_1 FROM @query_as_string;
		  EXECUTE statement_1;
		  DEALLOCATE PREPARE statement_1;
		END IF;
		IF keyword2 <> '' AND keyword <> 'Alphabetical' then
		SET @query_as_string=CONCAT('
			SELECT distinct CAT.',keyword2,' as name,COUNT(CAT.',keyword2,') as jml FROM catalogs CAT
									INNER JOIN catalogfiles CF on  CAT.ID = CF.Catalog_id
									WHERE CAT.isopac=1 AND
									CAT.',keyword,' = "',keyword3,'"
									GROUP BY name
									ORDER BY jml desc
									limit 0,20;');             
		  PREPARE statement_1 FROM @query_as_string;
		  EXECUTE statement_1;
		  DEALLOCATE PREPARE statement_1;	 
		END IF;
else
		IF keyword = 'Alphabetical' AND keyword2 = '' THEN
		SET @query_as_string=CONCAT("SELECT 'A' AS `A` UNION ALL SELECT 'B' AS `B` UNION ALL SELECT 'C' AS `C` UNION ALL SELECT 'D' AS `D` UNION ALL SELECT 'E' AS `E` UNION ALL SELECT 'F' AS `F` UNION ALL SELECT 'G' AS `G` UNION ALL SELECT 'H' AS `H` UNION ALL SELECT 'I' AS `I` UNION ALL SELECT 'J' AS `J` UNION ALL SELECT 'K' AS `K` UNION ALL SELECT 'L' AS `L` UNION ALL SELECT 'M' AS `M` UNION ALL SELECT 'N' AS `N` UNION ALL SELECT 'O' AS `O` UNION ALL SELECT 'P' AS `P` UNION ALL SELECT 'Q' AS `Q` UNION ALL SELECT 'R' AS `R` UNION ALL SELECT 'S' AS `S` UNION ALL SELECT 'T' AS `T` UNION ALL SELECT 'U' AS `U` UNION ALL SELECT 'V' AS `V` UNION ALL SELECT 'W' AS `W` UNION ALL SELECT 'X' AS `X` UNION ALL SELECT 'Y' AS `Y` UNION ALL SELECT 'Z' AS `Z`");             
		  PREPARE statement_1 FROM @query_as_string;
		  EXECUTE statement_1;
		  DEALLOCATE PREPARE statement_1;
		END IF;
		IF keyword = 'Alphabetical' and keyword2 <> '' then
		SET @query_as_string=CONCAT('
		 SELECT distinct CAT.',keyword2,' as name,COUNT(CAT.',keyword2,') as jml FROM catalogs CAT
									
									WHERE CAT.isopac=1
									AND CAT.',keyword2,' like "',keyword3,'%"  
									GROUP BY name
									ORDER BY jml desc
									limit 0,20');             
		  PREPARE statement_1 FROM @query_as_string;
		  EXECUTE statement_1;
		  DEALLOCATE PREPARE statement_1;
		END IF;
		IF keyword2 = '' AND keyword <> 'Alphabetical' then
		SET @query_as_string=CONCAT('
			SELECT distinct CAT.',keyword,'  as name,COUNT(CAT.',keyword,' ) as jml FROM catalogs CAT
									WHERE CAT.isopac=1
									GROUP BY name
									ORDER BY jml desc
									limit 0,20 ');             
		  PREPARE statement_1 FROM @query_as_string;
		  EXECUTE statement_1;
		  DEALLOCATE PREPARE statement_1;
		END IF;
		IF keyword2 <> '' AND keyword <> 'Alphabetical' then
		SET @query_as_string=CONCAT('
			SELECT distinct CAT.',keyword2,' as name,COUNT(CAT.',keyword2,') as jml FROM catalogs CAT
									WHERE CAT.isopac=1 AND
									CAT.',keyword,' = "',keyword3,'"
									GROUP BY name
									ORDER BY jml desc
									limit 0,20;');             
		  PREPARE statement_1 FROM @query_as_string;
		  EXECUTE statement_1;
		  DEALLOCATE PREPARE statement_1;	 
		END IF;
end if;
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `countPencarianLanjutOpac1`
--

DROP PROCEDURE IF EXISTS `countPencarianLanjutOpac1`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `countPencarianLanjutOpac1`(
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
IN fSubject TEXT
)
BEGIN
SELECT COUNT(1)
      FROM tempCariOpac
      
      WHERE
      IF(fAuthor='',1=1,author LIKE concat('%',concat(fAuthor,'%'))) AND
           IF(fPublisher='',1=1,publisher LIKE fPublisher) AND
      IF(fPublishLoc='',1=1,PublishLocation LIKE fPublishLoc) AND
      IF(fPublishYear='',1=1,PublishYear LIKE fPublishYear) AND
	  IF(fSubject='',1=1,Subject LIKE fSubject);
      
         
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `countPencarianSederhanaOpac1`
--

DROP PROCEDURE IF EXISTS `countPencarianSederhanaOpac1`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `countPencarianSederhanaOpac1`(
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
IN fSubject TEXT
)
BEGIN
SELECT COUNT(1)
      FROM tempCariOpac 
      
      WHERE 
      	IF(fAuthor='',1=1,author LIKE concat('%',concat(fAuthor,'%'))) AND
      IF(fPublisher='',1=1,publisher LIKE fPublisher) AND
      IF(fPublishLoc='',1=1,PublishLocation LIKE fPublishLoc) AND
      IF(fPublishYear='',1=1,PublishYear LIKE fPublishYear) AND
      IF(fSubject='',1=1,Subject LIKE fSubject) ;
      
         
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `countTelusurOpac1`
--

DROP PROCEDURE IF EXISTS `countTelusurOpac1`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `countTelusurOpac1`(
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT
)
BEGIN
SELECT COUNT(1)
      FROM tempCariOpac
      
      WHERE 
      IF(fAuthor='',1=1,author LIKE fAuthor) AND
      IF(fPublisher='',1=1,publisher LIKE fPublisher) AND
      IF(fPublishLoc='',1=1,PublishLocation LIKE fPublishLoc) AND
      IF(fPublishYear='',1=1,PublishYear LIKE fPublishYear);
      
         
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `detailCatalogOpac`
--

DROP PROCEDURE IF EXISTS `detailCatalogOpac`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `detailCatalogOpac`(IN `catID` int
)
BEGIN
SELECT	C.Worksheet_id,
(SELECT C.CoverURL FROM catalogs C WHERE C.ID = catID) AS CoverURL , 
(SELECT W.name FROM worksheets W WHERE W.ID = C.worksheet_id) AS JENIS_BAHAN,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR ' ') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (245,246,440,740) GROUP BY CR.CatalogId) AS JUDUL,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR ' ') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (240) GROUP BY CR.CatalogId) AS JUDUL_SERAGAM,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR '|') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (100,110,111,700,710,711,800,810,811) GROUP BY CR.CatalogId) AS PENGARANG,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR ' ') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (250) GROUP BY CR.CatalogId) AS EDISI,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR ' ') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (490) GROUP BY CR.CatalogId) AS PERNYATAAN_SERI,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR ' ') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (260,264) GROUP BY CR.CatalogId) AS PENERBITAN,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR ' ') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (300) GROUP BY CR.CatalogId) AS DESKRIPSI_FISIK,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR ' ') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (336) GROUP BY CR.CatalogId) AS KONTEN,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR ' ') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (337) GROUP BY CR.CatalogId) AS MEDIA,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR ' ') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (338) GROUP BY CR.CatalogId) AS PENYIMPANAN_MEDIA,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR ' ') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (538) GROUP BY CR.CatalogId) AS INFORMASI_TEKNIS,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR ' ') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (020) GROUP BY CR.CatalogId) AS ISBN,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR ' ') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (022) GROUP BY CR.CatalogId) AS ISSN,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR ' ') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (024) AND CR.indicator1 = 2 GROUP BY CR.CatalogId) AS ISMN,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR '|') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (600,610,611,650,651) GROUP BY CR.CatalogId) AS SUBJEK,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR ' ') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (520) GROUP BY CR.CatalogId) AS ABSTRAK,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR ' ') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (500,501,502,504,505,533,550) GROUP BY CR.CatalogId) AS CATATAN,
(SELECT RI.Name FROM catalog_ruas CR LEFT JOIN refferenceitems RI ON TRIM(RI.Code) = SUBSTRING(CR.VALUE,36,3) WHERE CR.CatalogId = C.ID AND CR.Tag = 008 AND RI.Refference_id = 5) AS BAHASA,
(SELECT RI.Name FROM catalog_ruas CR LEFT JOIN refferenceitems RI ON TRIM(RI.Code) = SUBSTRING(CR.VALUE,34,1) WHERE CR.CatalogId = C.ID AND CR.Tag = 008 AND RI.Refference_id = 17) AS BENTUK_KARYA,
(SELECT RI.Name FROM catalog_ruas CR LEFT JOIN refferenceitems RI ON TRIM(RI.Code) = SUBSTRING(CR.VALUE,23,1) WHERE CR.CatalogId = C.ID AND CR.Tag = 008 AND RI.Refference_id = 2) AS TARGET_PEMBACA,
(SELECT GROUP_CONCAT(CS.Value ORDER BY CR.Tag,CS.Sequence ASC SEPARATOR ' ') FROM catalog_subruas CS LEFT JOIN catalog_ruas CR ON CS.RuasID = CR.ID WHERE CR.CatalogId = C.ID AND CR.Tag IN (856) GROUP BY CR.CatalogId) AS LOKASI_AKSES_ONLINE
FROM catalogs C WHERE C.ID = catID AND isopac = 1;
      
         
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `duplikat_katalog`
--

DROP PROCEDURE IF EXISTS `duplikat_katalog`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `duplikat_katalog`()
BEGIN
SELECT update_collection (separtorVar) FROM
(
SELECT  * FROM
(
SELECT GROUP_CONCAT(id SEPARATOR ',') separtorVar,COUNT(1) AS JUM  FROM `catalogs` GROUP BY `Title`,`Author`,`Edition`,`Publisher`,`PublishLocation`,`PublishYear`
) katalogdouble
WHERE  JUM>1
) update_collection;
DELETE FROM catalogs WHERE id NOT IN (SELECT catalog_id FROM collections);
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `explode_table`
--

DROP PROCEDURE IF EXISTS `explode_table`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `explode_table`(
bound VARCHAR(255),
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
IN fSubject TEXT
)
BEGIN
DECLARE id INT DEFAULT 0;
DECLARE value TEXT;
DECLARE occurance INT DEFAULT 0;
DECLARE i INT DEFAULT 0;
DECLARE splitted_value varchar(25);
DECLARE done INT DEFAULT 0;
DECLARE cur1 CURSOR FOR SELECT author    FROM tempCariOpac
 WHERE 
      IF(fAuthor='',1=1,author LIKE concat('%',concat(fAuthor,'%'))) AND
      IF(fPublisher='',1=1,publisher LIKE fPublisher) AND
      IF(fPublishLoc='',1=1,PublishLocation LIKE fPublishLoc) AND
      IF(fPublishYear='',1=1,PublishYear LIKE fPublishYear) AND
	  IF(fSubject='',1=1,Subject LIKE fSubject);
                                     
DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = 1;
DROP TEMPORARY TABLE IF EXISTS table2;
CREATE TEMPORARY TABLE table2(
`value` VARCHAR(56) NOT NULL
) engine=memory;
OPEN cur1;
  read_loop: LOOP
    FETCH cur1 INTO  value;
    IF done THEN
      LEAVE read_loop;
    END IF;
    SET occurance = (SELECT LENGTH(value)
                             - LENGTH(REPLACE(value, bound, ''))
                             +1);
    SET i=1;
    WHILE i <= occurance DO
      SET splitted_value =
      trim((SELECT REPLACE(SUBSTRING(SUBSTRING_INDEX(value, bound, i),
      LENGTH(SUBSTRING_INDEX(value, bound, i - 1)) + 1), ';', '')));
      INSERT INTO table2 VALUES ( splitted_value);
      SET i = i + 1;
    END WHILE;
  END LOOP;
 CLOSE cur1;
insert into table2  SELECT author FROM tempCariOpac  WHERE 
      IF(fAuthor='',1=1,author LIKE concat('%',concat(fAuthor,'%'))) AND
      IF(fPublisher='',1=1,publisher LIKE fPublisher) AND
      IF(fPublishLoc='',1=1,PublishLocation LIKE fPublishLoc) AND
      IF(fPublishYear='',1=1,PublishYear LIKE fPublishYear) AND
	  IF(fSubject='',1=1,Subject LIKE fSubject) AND author not like '%;%';
 
 END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `facedAuthorOpac1`
--

DROP PROCEDURE IF EXISTS `facedAuthorOpac1`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `facedAuthorOpac1`(
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
IN fSubject TEXT,
IN maxFaced INT
)
BEGIN
call explode_table(';',fAuthor,fPublisher,fPublishLoc,fPublishYear,fSubject);
              
SELECT  COALESCE(Value,'-') Author ,COUNT(1) jml FROM table2 group by COALESCE(Value,'-') order by jml desc
	LIMIT 0,maxFaced;    
          
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `facedPublisherOpac1`
--

DROP PROCEDURE IF EXISTS `facedPublisherOpac1`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `facedPublisherOpac1`(
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
in fSubject TEXT,
IN maxFaced INT
)
BEGIN
              
SELECT Publisher,COUNT(1) jml
      FROM tempCariOpac 
      
      WHERE 
      IF(fAuthor='',1=1,author LIKE fAuthor) AND
      IF(fPublisher='',1=1,publisher LIKE fPublisher) AND
      IF(fPublishLoc='',1=1,PublishLocation LIKE fPublishLoc) AND
      IF(fPublishYear='',1=1,PublishYear LIKE fPublishYear) AND
	  IF(fSubject='',1=1,Subject LIKE fSubject)
	GROUP BY Publisher
	ORDER BY jml DESC
	LIMIT 0,maxFaced;    
	
	  
          
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `facedPublishLocationOpac1`
--

DROP PROCEDURE IF EXISTS `facedPublishLocationOpac1`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `facedPublishLocationOpac1`(
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
in fSubject TEXT,
IN maxFaced INT
)
BEGIN
              
SELECT PublishLocation,COUNT(1) jml
      FROM tempCariOpac 
      
      WHERE 
      IF(fAuthor='',1=1,author LIKE fAuthor) AND
      IF(fPublisher='',1=1,publisher LIKE fPublisher) AND
      IF(fPublishLoc='',1=1,PublishLocation LIKE fPublishLoc) AND
      IF(fPublishYear='',1=1,PublishYear LIKE fPublishYear) AND
       IF(fSubject='',1=1,Subject LIKE fSubject)
	GROUP BY PublishLocation
	ORDER BY jml DESC
	LIMIT 0,maxFaced;    
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `facedPublishYearOpac1`
--

DROP PROCEDURE IF EXISTS `facedPublishYearOpac1`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `facedPublishYearOpac1`(
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
IN fSubject TEXT,
IN maxFaced INT
)
BEGIN
              
SELECT PublishYear,COUNT(1) jml
      FROM tempCariOpac
      
      WHERE 
      IF(fAuthor='',1=1,author LIKE fAuthor) AND
      IF(fPublisher='',1=1,publisher LIKE fPublisher) AND
      IF(fPublishLoc='',1=1,PublishLocation LIKE fPublishLoc) AND
      IF(fPublishYear='',1=1,PublishYear LIKE fPublishYear) AND
       IF(fSubject='',1=1,Subject LIKE fSubject)
	GROUP BY PublishYear
	ORDER BY jml DESC
	LIMIT 0,maxFaced;      
          
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `facedSubjectOpac1`
--

DROP PROCEDURE IF EXISTS `facedSubjectOpac1`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `facedSubjectOpac1`(
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
IN fSubject TEXT,
IN maxFaced INT
)
BEGIN
              
SELECT COALESCE(Subject,'-') Subject,COUNT(1) jml
      FROM tempCariOpac 
      
      WHERE 
      IF(fAuthor='',1=1,author LIKE fAuthor) AND
      IF(fPublisher='',1=1,publisher LIKE fPublisher) AND
      IF(fPublishLoc='',1=1,PublishLocation LIKE fPublishLoc) AND
      IF(fPublishYear='',1=1,PublishYear LIKE fPublishYear) AND
	  IF(fSubject='',1=1,Subject LIKE fSubject)
	GROUP BY Subject ORDER BY jml DESC
	LIMIT 0,maxFaced;    
          
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `get_koleksi_terimakasih`
--

DROP PROCEDURE IF EXISTS `get_koleksi_terimakasih`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `get_koleksi_terimakasih`(
IN Partner_id text,
IN Source_id text,
IN TanggalPengadaan text
)
BEGIN
SET @Eks = 0;
SELECT 
cat.Worksheet_id as WORKSHEETID, 
w.Name as WorksheetName,(@Eks := COUNT(*)) as Eksemplar,
terbilang(@Eks) as Terbilang,
 Title as Judul,
 '' as AnakJudul,
 Author as Pengarang,
 '' as PengarangTambahan,
 '' as BadanKoperasi, 
 Publisher as Penerbit, 
 PublishLocation as TempatTerbit,
 PublishYear as TahunTerbit,
 CONCAT(PublishLocation,' ',Publisher,' ',PublishYear) as Penerbitan,
 Edition as Edisi,
 DeweyNo as NoKlas, 
 PhysicalDescription as DeskripsiFisik,
 ISBN as ISBN, Note as Catatan,
 '' as Skala, cs.Name as Sumber,
 Keterangan_Sumber as KeteranganSumber,
 Currency as Currency,
 Price as Harga, 
 u.UserName as ReportedBy,
 DATE_FORMAT(col.CreateDate,'%d %b %Y') as ReportedDate, 
 '' as Status, 
 u.FullName as NamaPenerima
 
 FROM collections col 
 INNER JOIN catalogs cat on col.Catalog_id = cat.id 
 INNER JOIN worksheets w on cat.Worksheet_id = w.id 
 INNER JOIN users u on col.createby = u.id 
 INNER JOIN collectionsources cs on col.Source_id = cs.id 
 
 WHERE Partner_id = Partner_id
 AND Source_id = Source_id
 AND DATE(col.TanggalPengadaan) = TanggalPengadaan 
 
 GROUP BY cat.ID;
         
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `get_stat_jenis_pendidikan`
--

DROP PROCEDURE IF EXISTS `get_stat_jenis_pendidikan`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `get_stat_jenis_pendidikan`(
IN `Bfrom` text, 
IN `Bto` text
)
BEGIN
    SELECT 
        `mp`.`Nama` AS `Keterangan`,
        COUNT(`mem`.`ID`) AS `Jumlah`,
        DATE_FORMAT(`mem`.`CreateDate`, '%Y') AS `Tahun`
     
    FROM
        (`master_pendidikan` `mp`
        LEFT JOIN `members` `mem` ON ((`mem`.`EducationLevel_id` = `mp`.`id`)))
    WHERE
        (`mem`.`EducationLevel_id` IS NOT NULL)
        
        and   
        (CAST(`mem`.`CreateDate`
            AS DATE) BETWEEN Bfrom AND Bto )
        
        GROUP BY `mp`.`Nama` , DATE_FORMAT(`mem`.`CreateDate`, '%Y')
    ORDER BY `mp`.`id` , `mem`.`CreateDate`;
    
    
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `get_stat_kelas_subject_koleksi`
--

DROP PROCEDURE IF EXISTS `get_stat_kelas_subject_koleksi`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `get_stat_kelas_subject_koleksi`(
IN `Bfrom` text, 
IN `Bto` text
)
BEGIN
SELECT 
COUNT(*) AS CountEksemplar, 
namakelas as Name, 
COUNT(DISTINCT catalogs.ID) AS CountJudul 
FROM collections  
INNER JOIN catalogs ON collections.Catalog_id = catalogs.ID  
INNER JOIN master_kelas_besar ON SUBSTR(catalogs.DeweyNo,1,1) = SUBSTR(master_kelas_besar.kdKelas,1,1) 
WHERE DATE(collections.TanggalPengadaan) BETWEEN Bfrom AND Bto 
GROUP BY 
kdKelas 
ORDER BY 
kdKelas;
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `get_stat_range_umur`
--

DROP PROCEDURE IF EXISTS `get_stat_range_umur`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `get_stat_range_umur`(IN `Bfrom` text, IN `Bto` text
)
BEGIN
 SELECT 
        KATEGORY_UMUR(`members`.`DateOfBirth`) AS `Keterangan`,
        COUNT(`memberguesses`.`ID`) AS `Jumlah`
    FROM
        (`memberguesses`
        JOIN `members` ON ((`memberguesses`.`NoAnggota` = `members`.`MemberNo`)))
    WHERE
        (CAST(`memberguesses`.`CreateDate`
            AS DATE) BETWEEN Bfrom AND Bto )
    GROUP BY KATEGORY_UMUR(`members`.`DateOfBirth`)
    ORDER BY DATE_FORMAT(`memberguesses`.`CreateDate`,
            '%Y') DESC , COUNT(`memberguesses`.`ID`) DESC;
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `insertTempLanjutOpac`
--

DROP PROCEDURE IF EXISTS `insertTempLanjutOpac`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `insertTempLanjutOpac`(
IN worksheet TEXT,
IN bahasa TEXT,
IN targetPembaca TEXT,
in bentukKarya TEXT,
IN keyword TEXT,
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
IN fSubject TEXT,
IN isLKD TEXT
)
BEGIN
DECLARE querys,querys2,querys3,bhs,karya,pembaca TEXT;
set querys='';
set querys2='';
set querys3='';
set bhs='';
set karya='';
set pembaca='';
CREATE  TEMPORARY TABLE tempCariOpac
(
CatalogId            INT(11),
title       TEXT,
author    TEXT,
publisher   TEXT,
PublishLocation  TEXT,
PublishYear TEXT,
Subject Text,
CoverURL TEXT,
worksheet_id INT,
worksheet TEXT,
JML_BUKU INT,
ALL_BUKU INT,
KONTEN_DIGITAL VARCHAR(100)
);
 IF bahasa <> '' THEN SET bhs = CONCAT(bhs,' AND R.TAG IN (''008'') AND SUBSTRING(R.VALUE,36,3) = ''',bahasa,''''); 
  END IF;
 IF bentukKarya <> '' THEN SET karya = CONCAT(bhs,' AND R.TAG IN (''008'') AND SUBSTRING(R.VALUE,34,1) = ''',bentukKarya,''''); 
  END IF;
 IF targetPembaca <> '' THEN SET pembaca = CONCAT(pembaca,' AND R.TAG IN (''008'') AND SUBSTRING(R.VALUE,23,1) = ''',targetPembaca,''''); 
  END IF;
 IF fAuthor <> '' THEN SET querys = CONCAT(querys,' AND CAT.Author LIKE ''%',fAuthor,'%'''); 
  END IF;
  IF fPublisher <> ''   THEN SET querys = CONCAT(querys,' AND CAT.Publisher LIKE ''',fPublisher,'''');
  END IF;
  IF fPublishLoc <> '' THEN SET querys = CONCAT(querys,' AND CAT.PublishLocation LIKE ''',fPublishLoc,''''); 
  END IF;
  IF fPublishYear <> ''  THEN SET querys = CONCAT(querys,' AND CAT.PublishYear LIKE ''',fPublishYear,''''); 
   END IF;
  IF fSubject <> ''  THEN SET querys = CONCAT(querys,' AND CAT.Subject LIKE ''',fSubject,''''); 
   END IF;
   
   
    IF worksheet <> 'Semua Format FIle' and isLKD = 1  THEN SET querys2 = CONCAT(querys2,' HAVING KONTEN_DIGITAL =  ''',worksheet,''''); 
   END IF;
    IF isLKD  = 1  THEN SET querys3 = CONCAT(querys3,' INNER JOIN catalogfiles CF on  CAT.ID = CF.Catalog_id '); 
   END IF;
   
   
SET @query_as_string=CONCAT('
	INSERT INTO tempCariOpac
	 SELECT distinct CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.CoverURL ,CAT.Worksheet_id, 
               (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,
                (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID AND STATUS_ID=1 AND (BookingExpiredDate < now() || BookingExpiredDate is null)) JML_BUKU,
                 (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID) ALL_BUKU,
                 (SELECT GROUP_CONCAT(DISTINCT SUBSTRING(FileURL,(LENGTH(FileURL)-LOCATE(''.'',REVERSE(FileURL)))+2) SEPARATOR '','') 
                 FROM catalogfiles WHERE Catalog_id = CAT.ID) KONTEN_DIGITAL
      FROM catalogs CAT 
      -- LEFT JOIN collections col ON col.Catalog_id = CAT.ID
	  
      ',querys3,' 
      WHERE 
                 
                
                 
',keyword,bhs,karya,pembaca,'  AND CAT.isopac=1',querys,querys2);
 PREPARE statement_1 
  FROM @query_as_string ;
   EXECUTE statement_1;
  DEALLOCATE PREPARE statement_1;
		
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `insertTempLanjutOpac0`
--

DROP PROCEDURE IF EXISTS `insertTempLanjutOpac0`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `insertTempLanjutOpac0`(
IN worksheet TEXT,
IN bahasa TEXT,
IN targetPembaca TEXT,
in bentukKarya TEXT,
IN keyword TEXT,
IN limit1 TEXT,
IN limit2 TEXT,
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
IN fSubject TEXT,
IN isLKD TEXT
)
BEGIN
DECLARE querys,querys2,querys3,bhs,karya,pembaca TEXT;
set querys='';
set querys2='';
set querys3='';
set bhs='';
set karya='';
set pembaca='';
CREATE  TEMPORARY TABLE tempCariOpac
(
CatalogId            INT(11),
title       TEXT,
author    TEXT,
publisher   TEXT,
PublishLocation  TEXT,
PublishYear TEXT,
Subject Text,
CoverURL TEXT,
worksheet_id INT,
worksheet TEXT,
JML_BUKU INT,
ALL_BUKU INT,
KONTEN_DIGITAL VARCHAR(100)
);
 IF bahasa <> '' THEN SET bhs = CONCAT(bhs,' AND R.TAG IN (''008'') AND SUBSTRING(R.VALUE,36,3) = ''',bahasa,''''); 
  END IF;
 IF bentukKarya <> '' THEN SET karya = CONCAT(bhs,' AND R.TAG IN (''008'') AND SUBSTRING(R.VALUE,34,1) = ''',bentukKarya,''''); 
  END IF;
 IF targetPembaca <> '' THEN SET pembaca = CONCAT(pembaca,' AND R.TAG IN (''008'') AND SUBSTRING(R.VALUE,23,1) = ''',targetPembaca,''''); 
  END IF;
 
 IF fAuthor <> '' THEN SET querys = CONCAT(querys,' AND CAT.Author LIKE ''%',fAuthor,'%'''); 
  END IF;
  IF fPublisher <> ''   THEN SET querys = CONCAT(querys,' AND CAT.Publisher LIKE ''',fPublisher,'''');
  END IF;
  IF fPublishLoc <> '' THEN SET querys = CONCAT(querys,' AND CAT.PublishLocation LIKE ''',fPublishLoc,''''); 
  END IF;
  IF fPublishYear <> ''  THEN SET querys = CONCAT(querys,' AND CAT.PublishYear LIKE ''',fPublishYear,''''); 
   END IF;
  IF fSubject <> ''  THEN SET querys = CONCAT(querys,' AND CAT.Subject LIKE ''',fSubject,''''); 
   END IF;
   
   
      IF worksheet <> 'Semua Format FIle' and isLKD = 1  THEN SET querys2 = CONCAT(querys2,' HAVING KONTEN_DIGITAL =  ''',worksheet,''''); 
   END IF;
   
    IF isLKD  = 1  THEN SET querys3 = CONCAT(querys3,' INNER JOIN catalogfiles CF on  CAT.ID = CF.Catalog_id '); 
   END IF;
   
   
SET @query_as_string=CONCAT('
	INSERT INTO tempCariOpac
	 SELECT distinct CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.CoverURL ,CAT.Worksheet_id, 
               (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,
                (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID AND STATUS_ID=1 AND (BookingExpiredDate < now() || BookingExpiredDate is null)) JML_BUKU,
                 (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID) ALL_BUKU,
                 (SELECT GROUP_CONCAT(DISTINCT SUBSTRING(FileURL,(LENGTH(FileURL)-LOCATE(''.'',REVERSE(FileURL)))+2) SEPARATOR '','') 
                 FROM catalogfiles WHERE Catalog_id = CAT.ID) KONTEN_DIGITAL
      FROM catalogs CAT 
      -- LEFT JOIN collections col ON col.Catalog_id = CAT.ID
	  
      ',querys3,' 
      WHERE  
                 
                
                 
',keyword,bhs,karya,pembaca,' AND CAT.isopac=1',querys,querys2,' LIMIT ',limit1,',',limit2,' ');
 PREPARE statement_1 
  FROM @query_as_string ;
   EXECUTE statement_1;
  DEALLOCATE PREPARE statement_1;
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `insertTempOpacSederhana`
--

DROP PROCEDURE IF EXISTS `insertTempOpacSederhana`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `insertTempOpacSederhana`(
IN keyword TEXT,
IN tag TEXT,
IN worksheet VARCHAR(255),
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
IN fSubject TEXT,
IN fromTgl DATE,
IN toTgl DATE
)
BEGIN
CREATE  TEMPORARY TABLE tempCariOpac
(
CatalogId            INT(11),
title       TEXT,
author    TEXT,
publisher   TEXT,
PublishLocation  TEXT,
PublishYear TEXT,
Subject Text,
CoverURL TEXT,
worksheet_id INT,
worksheet TEXT,
JML_BUKU INT,
ALL_BUKU INT,
KONTEN_DIGITAL VARCHAR(100)
);              
   
INSERT INTO tempCariOpac
SELECT CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.CoverURL ,CAT.Worksheet_id, 
               (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,
                (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID AND STATUS_ID=1 AND BookingExpiredDate < now()) JML_BUKU,
                 (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID) ALL_BUKU,
                 (SELECT GROUP_CONCAT(DISTINCT SUBSTR(fileURL,INSTR(fileURL, '.')+1) SEPARATOR ', ') 
                 FROM catalogfiles WHERE Catalog_id = CAT.ID) KONTEN_DIGITAL
      FROM catalogs CAT JOIN collections col ON col.Catalog_id = CAT.ID
      WHERE EXISTS           
               (SELECT  1
                FROM catalog_ruas R  
                 WHERE 
                 IF(fAuthor='',1=1,CAT.Author LIKE fAuthor) AND
		 IF(fPublisher='',1=1,CAT.Publisher LIKE fPublisher) AND
		 IF(fPublishLoc='',1=1,CAT.PublishLocation LIKE fPublishLoc) AND
		 IF(fPublishYear='',1=1,CAT.PublishYear LIKE fPublishYear) AND
         IF(fSubject='',1=1,CAT.Subject LIKE fSubject) AND
		
		CASE tag
		WHEN 'Judul' THEN R.TAG IN ('240','245','246','440','740')
		WHEN 'Pengarang' THEN R.TAG IN ('100','110','700','710')
		WHEN 'Penerbit' THEN R.TAG IN ('260')
		WHEN 'Tahun Terbit' THEN R.TAG IN ('260')
		WHEN 'Subyek' THEN R.TAG LIKE '6%'
		WHEN 'Nomor Panggil' THEN R.TAG IN ('090','082','084','080')
		WHEN 'BIB-ID' THEN R.TAG IN ('035')
		WHEN 'ISBN/ISSN/ISMN' THEN R.TAG IN ('020','022')
		WHEN 'Semua Ruas' THEN R.TAG IN ('240','245','740','100','110','700','710','260','600','610','611','630','650','651','080','082','084','096','022','020')
		END
                
                AND  R.Value LIKE keyword 
                AND IF(worksheet='4',col.TANGGAL_TERBIT_EDISI_SERIAL BETWEEN fromTgl AND toTgl,1=1)
                AND R.CATALOGID=CAT.ID) 
		AND IF(worksheet='Semua Jenis bahan',1=1,CAT.Worksheet_id = worksheet)
	
		
		 AND CAT.isopac=1 
        ;  
  
          
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `insertTempSederhanaOpac`
--

DROP PROCEDURE IF EXISTS `insertTempSederhanaOpac`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `insertTempSederhanaOpac`(
IN keyword TEXT,
IN tag TEXT,
IN worksheet VARCHAR(255),
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
IN fSubject TEXT,
IN fromTgl TEXT,
IN toTgl TEXT,
IN isLKD TEXT
)
BEGIN
CREATE  TEMPORARY TABLE tempCariOpac
(
CatalogId            INT(11),
title       TEXT,
author    TEXT,
publisher   TEXT,
PublishLocation  TEXT,
PublishYear TEXT,
Subject TEXT,
CoverURL TEXT,
worksheet_id INT,
worksheet TEXT,
JML_BUKU INT,
ALL_BUKU INT,
KONTEN_DIGITAL VARCHAR(100)
);
IF isLKD = 1
then
 INSERT INTO tempCariOpac
 SELECT distinct CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.CoverURL ,CAT.Worksheet_id, 
               (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,
                (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID AND STATUS_ID=1 AND (BookingExpiredDate < now() || BookingExpiredDate is null)) JML_BUKU,
                 (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID) ALL_BUKU,
                 (SELECT GROUP_CONCAT(DISTINCT SUBSTRING(FileURL,(LENGTH(FileURL)-LOCATE('.',REVERSE(FileURL)))+2) SEPARATOR ', ') 
                 FROM catalogfiles WHERE Catalog_id = CAT.ID) KONTEN_DIGITAL
      FROM catalogs CAT 
      	 INNER JOIN catalogfiles CF on  CAT.ID = CF.Catalog_id 
      
      WHERE 
      
      
      EXISTS           
               (SELECT  1
                FROM catalog_ruas R  
                 WHERE 
     
		CASE tag
		WHEN 'Judul' THEN R.TAG IN ('240','245','246','440','740')
		WHEN 'Pengarang' THEN R.TAG IN ('100','110','111','700','710','711','800','810','811')
		WHEN 'Penerbit' THEN R.TAG IN ('260','264')
		WHEN 'Subyek' THEN R.TAG IN ('600','610','611','650','651')
		WHEN 'Nomor Panggil' THEN R.TAG IN ('090','084')
		WHEN 'ISBN' THEN R.TAG IN ('020')
		WHEN 'ISSN' THEN R.TAG IN ('022')
		WHEN 'ISMN' THEN R.TAG IN ('024')        
        WHEN 'Semua Ruas' THEN 1 = 1
		END
                AND  R.Value LIKE keyword 
			                 AND R.CATALOGID=CAT.ID
	
                
                ) 
			
        AND
		IF(fAuthor='',1=1,CAT.Author LIKE concat('%',concat(fAuthor,'%'))) AND
		IF(fPublisher='',1=1,CAT.Publisher LIKE fPublisher) AND
		IF(fPublishLoc='',1=1,CAT.PublishLocation LIKE fPublishLoc) AND
		IF(fPublishYear='',1=1,CAT.PublishYear LIKE fPublishYear) AND
        IF(fSubject='',1=1,CAT.Subject LIKE fSubject) AND
		
        CAT.isopac=1 
        
		
	 HAVING CASE worksheet
		  WHEN 'Semua Format File' THEN 1 = 1
		  WHEN worksheet THEN KONTEN_DIGITAL like  worksheet        
		 END
        ;  
else             
IF worksheet='4' THEN   
INSERT INTO tempCariOpac
SELECT distinct CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.CoverURL ,CAT.Worksheet_id, 
               (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,
                (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID AND STATUS_ID=1 AND (BookingExpiredDate < now() || BookingExpiredDate is null)) JML_BUKU,
                 (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID) ALL_BUKU,
                 (SELECT GROUP_CONCAT(DISTINCT SUBSTR(fileURL,INSTR(fileURL, '.')+1) SEPARATOR ', ') 
                 FROM catalogfiles WHERE Catalog_id = CAT.ID) KONTEN_DIGITAL
      FROM catalogs CAT 
            WHERE EXISTS           
               (SELECT  1
                FROM catalog_ruas R  LEFT JOIN collections col ON col.Catalog_id = R.CATALOGID
                 WHERE 
      							 		
		CASE tag
		WHEN 'Judul' THEN R.TAG IN ('240','245','246','440','740')
		WHEN 'Pengarang' THEN R.TAG IN ('100','110','111','700','710','711','800','810','811')
		WHEN 'Penerbit' THEN R.TAG IN ('260','264')
		WHEN 'Subyek' THEN R.TAG IN ('600','610','611','650','651')
		WHEN 'Nomor Panggil' THEN R.TAG IN ('090','084')
		WHEN 'ISBN' THEN R.TAG IN ('020')
		WHEN 'ISSN' THEN R.TAG IN ('022')
		WHEN 'ISMN' THEN R.TAG IN ('024')        
        WHEN 'Semua Ruas' THEN 1 = 1
		END
                
		AND  R.Value LIKE keyword 
         AND IF(fromTgl!='' AND toTgl!='' ,col.TANGGAL_TERBIT_EDISI_SERIAL BETWEEN fromTgl AND toTgl,1=1)
                                AND R.CATALOGID=CAT.ID) 
		AND IF(worksheet='Semua Jenis bahan',1=1,CAT.Worksheet_id = worksheet)
		AND
        IF(fAuthor='',1=1,CAT.Author LIKE concat('%',concat(fAuthor,'%'))) AND
		IF(fPublisher='',1=1,CAT.Publisher LIKE fPublisher) AND
		IF(fPublishLoc='',1=1,CAT.PublishLocation LIKE fPublishLoc) AND
		IF(fPublishYear='',1=1,CAT.PublishYear LIKE fPublishYear) AND
        IF(fSubject='',1=1,CAT.Subject LIKE fSubject) AND
		
        CAT.isopac=1 
		;    
else
INSERT INTO tempCariOpac
SELECT distinct CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.CoverURL ,CAT.Worksheet_id, 
               (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,
                (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID AND STATUS_ID=1 AND (BookingExpiredDate < now() || BookingExpiredDate is null)) JML_BUKU,
                 (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID) ALL_BUKU,
                 (SELECT GROUP_CONCAT(DISTINCT SUBSTR(fileURL,INSTR(fileURL, '.')+1) SEPARATOR ', ') 
                 FROM catalogfiles WHERE Catalog_id = CAT.ID) KONTEN_DIGITAL
      FROM catalogs CAT 
            WHERE EXISTS           
               (SELECT  1
                FROM catalog_ruas R  
                                 WHERE 
      							 		
		CASE tag
		WHEN 'Judul' THEN R.TAG IN ('240','245','246','440','740')
		WHEN 'Pengarang' THEN R.TAG IN ('100','110','111','700','710','711','800','810','811')
		WHEN 'Penerbit' THEN R.TAG IN ('260','264')
		WHEN 'Subyek' THEN R.TAG IN ('600','610','611','650','651')
		WHEN 'Nomor Panggil' THEN R.TAG IN ('090','084')
		WHEN 'ISBN' THEN R.TAG IN ('020')
		WHEN 'ISSN' THEN R.TAG IN ('022')
		WHEN 'ISMN' THEN R.TAG IN ('024')        
        WHEN 'Semua Ruas' THEN 1 = 1
		END
                
		AND  R.Value LIKE keyword 
                               AND R.CATALOGID=CAT.ID) 
		AND IF(worksheet='Semua Jenis bahan',1=1,CAT.Worksheet_id = worksheet)
		AND
        IF(fAuthor='',1=1,CAT.Author LIKE concat('%',concat(fAuthor,'%'))) AND
		IF(fPublisher='',1=1,CAT.Publisher LIKE fPublisher) AND
		IF(fPublishLoc='',1=1,CAT.PublishLocation LIKE fPublishLoc) AND
		IF(fPublishYear='',1=1,CAT.PublishYear LIKE fPublishYear) AND
        IF(fSubject='',1=1,CAT.Subject LIKE fSubject) AND
		
        CAT.isopac=1 
		;  
end if;
end if;
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `insertTempSederhanaOpac0`
--

DROP PROCEDURE IF EXISTS `insertTempSederhanaOpac0`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `insertTempSederhanaOpac0`(
IN keyword TEXT,
IN tag TEXT,
IN worksheet VARCHAR(255),
IN limit1 int,
IN limit2 int,
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
IN fSubject TEXT,
IN fromTgl TEXT,
IN toTgl TEXT,
IN isLKD TEXT
)
BEGIN
CREATE  TEMPORARY TABLE tempCariOpac
(
CatalogId            INT(11),
title       TEXT,
author    TEXT,
publisher   TEXT,
PublishLocation  TEXT,
PublishYear TEXT,
Subject TEXT,
CoverURL TEXT,
worksheet_id INT,
worksheet TEXT,
JML_BUKU INT,
ALL_BUKU INT,
KONTEN_DIGITAL VARCHAR(100)
);
IF isLKD = 1
then
 INSERT INTO tempCariOpac
 SELECT distinct CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.CoverURL ,CAT.Worksheet_id, 
               (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,
                (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID AND STATUS_ID=1 AND (BookingExpiredDate < now() || BookingExpiredDate is null)) JML_BUKU,
                 (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID) ALL_BUKU,
                 (SELECT GROUP_CONCAT(DISTINCT SUBSTRING(FileURL,(LENGTH(FileURL)-LOCATE('.',REVERSE(FileURL)))+2) SEPARATOR ', ') 
                 FROM catalogfiles WHERE Catalog_id = CAT.ID) KONTEN_DIGITAL
      FROM catalogs CAT 
      	 INNER JOIN catalogfiles CF on  CAT.ID = CF.Catalog_id 
      
      WHERE 
      
      
      EXISTS           
               (SELECT  1
                FROM catalog_ruas R  
                 WHERE 
     
		CASE tag
		WHEN 'Judul' THEN R.TAG IN ('240','245','246','440','740')
		WHEN 'Pengarang' THEN R.TAG IN ('100','110','111','700','710','711','800','810','811')
		WHEN 'Penerbit' THEN R.TAG IN ('260','264')
		WHEN 'Subyek' THEN R.TAG IN ('600','610','611','650','651')
		WHEN 'Nomor Panggil' THEN R.TAG IN ('090','084')
		WHEN 'ISBN' THEN R.TAG IN ('020')
		WHEN 'ISSN' THEN R.TAG IN ('022')
		WHEN 'ISMN' THEN R.TAG IN ('024')        
        WHEN 'Semua Ruas' THEN 1 = 1
		END
                AND  R.Value LIKE keyword 
			                 AND R.CATALOGID=CAT.ID
	
                
                ) 
			
        AND
		IF(fAuthor='',1=1,CAT.Author LIKE concat('%',concat(fAuthor,'%'))) AND
		IF(fPublisher='',1=1,CAT.Publisher LIKE fPublisher) AND
		IF(fPublishLoc='',1=1,CAT.PublishLocation LIKE fPublishLoc) AND
		IF(fPublishYear='',1=1,CAT.PublishYear LIKE fPublishYear) AND
        IF(fSubject='',1=1,CAT.Subject LIKE fSubject) AND
		
        CAT.isopac=1
        
		
	 HAVING CASE worksheet
		 WHEN 'pdf' THEN KONTEN_DIGITAL = worksheet
		 WHEN 'doc' THEN KONTEN_DIGITAL = worksheet
		 WHEN 'xls' THEN KONTEN_DIGITAL = worksheet
		 WHEN 'rar' THEN KONTEN_DIGITAL = worksheet
         WHEN 'Semua Format File' THEN 1 = 1
        
			END
        LIMIT limit1,limit2;  
else             
IF worksheet='4' THEN   
INSERT INTO tempCariOpac
SELECT distinct CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.CoverURL ,CAT.Worksheet_id, 
               (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,
                (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID AND STATUS_ID=1 AND (BookingExpiredDate < now() || BookingExpiredDate is null)) JML_BUKU,
                 (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID) ALL_BUKU,
                 (SELECT GROUP_CONCAT(DISTINCT SUBSTR(fileURL,INSTR(fileURL, '.')+1) SEPARATOR ', ') 
                 FROM catalogfiles WHERE Catalog_id = CAT.ID) KONTEN_DIGITAL
      FROM catalogs CAT 
            WHERE EXISTS           
               (SELECT  1
                FROM catalog_ruas R  LEFT JOIN collections col ON col.Catalog_id = R.CATALOGID
                 WHERE 
      							 		
		CASE tag
		WHEN 'Judul' THEN R.TAG IN ('240','245','246','440','740')
		WHEN 'Pengarang' THEN R.TAG IN ('100','110','111','700','710','711','800','810','811')
		WHEN 'Penerbit' THEN R.TAG IN ('260','264')
		WHEN 'Subyek' THEN R.TAG IN ('600','610','611','650','651')
		WHEN 'Nomor Panggil' THEN R.TAG IN ('090','084')
		WHEN 'ISBN' THEN R.TAG IN ('020')
		WHEN 'ISSN' THEN R.TAG IN ('022')
		WHEN 'ISMN' THEN R.TAG IN ('024')        
        WHEN 'Semua Ruas' THEN 1 = 1
        END
                
		AND  R.Value LIKE keyword 
         AND IF(fromTgl!='' AND toTgl!='' ,col.TANGGAL_TERBIT_EDISI_SERIAL BETWEEN fromTgl AND toTgl,1=1)
                                AND R.CATALOGID=CAT.ID) 
		AND IF(worksheet='Semua Jenis bahan',1=1,CAT.Worksheet_id = worksheet)
		AND
        IF(fAuthor='',1=1,CAT.Author LIKE concat('%',concat(fAuthor,'%'))) AND
		IF(fPublisher='',1=1,CAT.Publisher LIKE fPublisher) AND
		IF(fPublishLoc='',1=1,CAT.PublishLocation LIKE fPublishLoc) AND
		IF(fPublishYear='',1=1,CAT.PublishYear LIKE fPublishYear) AND
        IF(fSubject='',1=1,CAT.Subject LIKE fSubject) AND
		
        CAT.isopac=1 
		LIMIT limit1,limit2;    
else
INSERT INTO tempCariOpac
SELECT distinct CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.CoverURL ,CAT.Worksheet_id, 
               (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,
                (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID AND STATUS_ID=1 AND (BookingExpiredDate < now() || BookingExpiredDate is null)) JML_BUKU,
                 (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID) ALL_BUKU,
                 (SELECT GROUP_CONCAT(DISTINCT SUBSTR(fileURL,INSTR(fileURL, '.')+1) SEPARATOR ', ') 
                 FROM catalogfiles WHERE Catalog_id = CAT.ID) KONTEN_DIGITAL
      FROM catalogs CAT 
            WHERE EXISTS           
               (SELECT  1
                FROM catalog_ruas R  
                                 WHERE 
      							 		
		CASE tag
		WHEN 'Judul' THEN R.TAG IN ('240','245','246','440','740')
		WHEN 'Pengarang' THEN R.TAG IN ('100','110','111','700','710','711','800','810','811')
		WHEN 'Penerbit' THEN R.TAG IN ('260','264')
		WHEN 'Subyek' THEN R.TAG IN ('600','610','611','650','651')
		WHEN 'Nomor Panggil' THEN R.TAG IN ('090','084')
		WHEN 'ISBN' THEN R.TAG IN ('020')
		WHEN 'ISSN' THEN R.TAG IN ('022')
		WHEN 'ISMN' THEN R.TAG IN ('024')        
        WHEN 'Semua Ruas' THEN 1 = 1
		END
                
		AND  R.Value LIKE keyword 
                               AND R.CATALOGID=CAT.ID) 
		AND IF(worksheet='Semua Jenis bahan',1=1,CAT.Worksheet_id = worksheet)
		AND
        IF(fAuthor='',1=1,CAT.Author LIKE concat('%',concat(fAuthor,'%'))) AND
		IF(fPublisher='',1=1,CAT.Publisher LIKE fPublisher) AND
		IF(fPublishLoc='',1=1,CAT.PublishLocation LIKE fPublishLoc) AND
		IF(fPublishYear='',1=1,CAT.PublishYear LIKE fPublishYear) AND
        IF(fSubject='',1=1,CAT.Subject LIKE fSubject) AND
		
        CAT.isopac=1 
		LIMIT limit1,limit2;  
end if;
end if;
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `insertTempSederhanaOpac123`
--

DROP PROCEDURE IF EXISTS `insertTempSederhanaOpac123`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `insertTempSederhanaOpac123`(
IN keyword TEXT,
IN tag TEXT,
IN worksheet VARCHAR(255),
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
IN fSubject TEXT,
IN fromTgl TEXT,
IN toTgl TEXT,
IN isLKD TEXT
)
BEGIN
CREATE  TEMPORARY TABLE tempCariOpac
(
CatalogId            INT(11),
title       TEXT,
author    TEXT,
publisher   TEXT,
PublishLocation  TEXT,
PublishYear TEXT,
Subject TEXT,
CoverURL TEXT,
worksheet_id INT,
worksheet TEXT,
JML_BUKU INT,
ALL_BUKU INT,
KONTEN_DIGITAL VARCHAR(100)
);
IF isLKD = 1
then
 INSERT INTO tempCariOpac
 SELECT distinct CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.CoverURL ,CAT.Worksheet_id, 
               (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,
                (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID AND STATUS_ID=1 AND (BookingExpiredDate < now() || BookingExpiredDate is null)) JML_BUKU,
                 (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID) ALL_BUKU,
                 (SELECT GROUP_CONCAT(DISTINCT SUBSTRING(FileURL,(LENGTH(FileURL)-LOCATE('.',REVERSE(FileURL)))+2) SEPARATOR ', ') 
                 FROM catalogfiles WHERE Catalog_id = CAT.ID) KONTEN_DIGITAL
      FROM catalogs CAT 
      	 INNER JOIN catalogfiles CF on  CAT.ID = CF.Catalog_id 
      
      WHERE 
      
      
      EXISTS           
               (SELECT  1
                FROM catalog_ruas R  
                 WHERE 
     
		CASE tag
		WHEN 'Judul' THEN R.TAG IN ('240','245','246','440','740')
		WHEN 'Pengarang' THEN R.TAG IN ('100','110','700','710')
		WHEN 'Penerbit' THEN R.TAG IN ('260')
		WHEN 'Tahun Terbit' THEN R.TAG IN ('260')
		WHEN 'Subyek' THEN R.TAG IN ('600','610','611','650','651')
		WHEN 'Nomor Panggil' THEN R.TAG IN ('090','082','084','080')
		WHEN 'BIB-ID' THEN R.TAG IN ('035')
		WHEN 'ISBN/ISSN/ISMN' THEN R.TAG IN ('020','022')
		        WHEN 'Semua Ruas' THEN 1 = 1
		END
                AND  R.Value LIKE keyword 
			                 AND R.CATALOGID=CAT.ID
	
                
                ) 
			
        AND
		IF(fAuthor='',1=1,CAT.Author LIKE concat('%',concat(fAuthor,'%'))) AND
		IF(fPublisher='',1=1,CAT.Publisher LIKE fPublisher) AND
		IF(fPublishLoc='',1=1,CAT.PublishLocation LIKE fPublishLoc) AND
		IF(fPublishYear='',1=1,CAT.PublishYear LIKE fPublishYear) AND
        IF(fSubject='',1=1,CAT.Subject LIKE fSubject) AND
		
        CAT.isopac=1
        
		
	 HAVING CASE worksheet
		 WHEN 'pdf' THEN KONTEN_DIGITAL = worksheet
		 WHEN 'doc' THEN KONTEN_DIGITAL = worksheet
		 WHEN 'xls' THEN KONTEN_DIGITAL = worksheet
		 WHEN 'rar' THEN KONTEN_DIGITAL = worksheet
         WHEN 'Semua Format File' THEN 1 = 1
        
			END
        ;  
else             
IF worksheet='4' THEN   
INSERT INTO tempCariOpac
SELECT distinct CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.CoverURL ,CAT.Worksheet_id, 
               (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,
                (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID AND STATUS_ID=1 AND (BookingExpiredDate < now() || BookingExpiredDate is null)) JML_BUKU,
                 (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID) ALL_BUKU,
                 (SELECT GROUP_CONCAT(DISTINCT SUBSTR(fileURL,INSTR(fileURL, '.')+1) SEPARATOR ', ') 
                 FROM catalogfiles WHERE Catalog_id = CAT.ID) KONTEN_DIGITAL
      FROM catalogs CAT 
            WHERE EXISTS           
               (SELECT  1
                FROM catalog_ruas R  LEFT JOIN collections col ON col.Catalog_id = R.CATALOGID
                 WHERE 
      							 		
		CASE tag
		WHEN 'Judul' THEN R.TAG IN ('240','245','246','440','740')
		WHEN 'Pengarang' THEN R.TAG IN ('100','110','700','710')
		WHEN 'Penerbit' THEN R.TAG IN ('260')
		WHEN 'Tahun Terbit' THEN R.TAG IN ('260')
		WHEN 'Subyek' THEN R.TAG LIKE '6%'
		WHEN 'Nomor Panggil' THEN R.TAG IN ('090','082','084','080')
		WHEN 'BIB-ID' THEN R.TAG IN ('035')
		WHEN 'ISBN/ISSN/ISMN' THEN R.TAG IN ('020','022')
		WHEN 'Semua Ruas' THEN R.TAG IN ('240','245','740','100','110','700','710','260','600','610','611','630','650','651','080','082','084','096','022','020')
		END
                
		AND  R.Value LIKE keyword 
         AND IF(fromTgl!='' AND toTgl!='' ,col.TANGGAL_TERBIT_EDISI_SERIAL BETWEEN fromTgl AND toTgl,1=1)
                                AND R.CATALOGID=CAT.ID) 
		AND IF(worksheet='Semua Jenis bahan',1=1,CAT.Worksheet_id = worksheet)
		AND
        IF(fAuthor='',1=1,CAT.Author LIKE concat('%',concat(fAuthor,'%'))) AND
		IF(fPublisher='',1=1,CAT.Publisher LIKE fPublisher) AND
		IF(fPublishLoc='',1=1,CAT.PublishLocation LIKE fPublishLoc) AND
		IF(fPublishYear='',1=1,CAT.PublishYear LIKE fPublishYear) AND
        IF(fSubject='',1=1,CAT.Subject LIKE fSubject) AND
		
        CAT.isopac=1 
		;    
else
INSERT INTO tempCariOpac
SELECT distinct CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.CoverURL ,CAT.Worksheet_id, 
               (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,
                (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID AND STATUS_ID=1 AND (BookingExpiredDate < now() || BookingExpiredDate is null)) JML_BUKU,
                 (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID) ALL_BUKU,
                 (SELECT GROUP_CONCAT(DISTINCT SUBSTR(fileURL,INSTR(fileURL, '.')+1) SEPARATOR ', ') 
                 FROM catalogfiles WHERE Catalog_id = CAT.ID) KONTEN_DIGITAL
      FROM catalogs CAT 
            WHERE EXISTS           
               (SELECT  1
                FROM catalog_ruas R  
                                 WHERE 
      							 		
		CASE tag
		WHEN 'Judul' THEN R.TAG IN ('240','245','246','440','740')
		WHEN 'Pengarang' THEN R.TAG IN ('100','110','700','710')
		WHEN 'Penerbit' THEN R.TAG IN ('260')
		WHEN 'Tahun Terbit' THEN R.TAG IN ('260')
		WHEN 'Subyek' THEN R.TAG LIKE '6%'
		WHEN 'Nomor Panggil' THEN R.TAG IN ('090','082','084','080')
		WHEN 'BIB-ID' THEN R.TAG IN ('035')
		WHEN 'ISBN/ISSN/ISMN' THEN R.TAG IN ('020','022')
		WHEN 'Semua Ruas' THEN R.TAG IN ('240','245','740','100','110','700','710','260','600','610','611','630','650','651','080','082','084','096','022','020')
		END
                
		AND  R.Value LIKE keyword 
                               AND R.CATALOGID=CAT.ID) 
		AND IF(worksheet='Semua Jenis bahan',1=1,CAT.Worksheet_id = worksheet)
		AND
        IF(fAuthor='',1=1,CAT.Author LIKE concat('%',concat(fAuthor,'%'))) AND
		IF(fPublisher='',1=1,CAT.Publisher LIKE fPublisher) AND
		IF(fPublishLoc='',1=1,CAT.PublishLocation LIKE fPublishLoc) AND
		IF(fPublishYear='',1=1,CAT.PublishYear LIKE fPublishYear) AND
        IF(fSubject='',1=1,CAT.Subject LIKE fSubject) AND
		
        CAT.isopac=1 
		;  
end if;
end if;
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `insertTempTelusurOpac`
--

DROP PROCEDURE IF EXISTS `insertTempTelusurOpac`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `insertTempTelusurOpac`(
IN tag TEXT,
IN findby TEXT,
IN fquery TEXT,
IN fquery2 TEXT,
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
IN FSubject TEXT,
IN isLKD TEXT
)
BEGIN
CREATE  TEMPORARY TABLE tempCariOpac
(
CatalogId            INT(11),
title       TEXT,
author    TEXT,
publisher   TEXT,
PublishLocation  TEXT,
PublishYear TEXT,
Subject TEXT,
CoverURL TEXT,
worksheet_id INT,
worksheet TEXT,
JML_BUKU INT,
ALL_BUKU INT,
KONTEN_DIGITAL VARCHAR(100)
);              
if isLKD = 1 then
		INSERT INTO tempCariOpac
SELECT CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.Subject,CAT.CoverURL ,CAT.Worksheet_id,
               (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,
                (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID AND STATUS_ID=1 AND BookingExpiredDate < now()) JML_BUKU,
                 (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID) ALL_BUKU,
                 (SELECT GROUP_CONCAT(DISTINCT SUBSTR(fileURL,INSTR(fileURL, '.')+1) SEPARATOR ', ') 
                 FROM catalogfiles WHERE Catalog_id = CAT.ID) KONTEN_DIGITAL
      FROM catalogs CAT 
      INNER JOIN catalogfiles CF on  CAT.ID = CF.Catalog_id
      WHERE CAT.isopac=1 AND
       IF(fAuthor='',1=1,CAT.Author LIKE concat('%',concat(fAuthor,'%'))) AND
		 IF(fPublisher='',1=1,CAT.Publisher LIKE fPublisher) AND
		 IF(fPublishLoc='',1=1,CAT.PublishLocation LIKE fPublishLoc) AND
		 IF(fPublishYear='',1=1,CAT.PublishYear LIKE fPublishYear) AND
          IF(fSubject='',1=1,CAT.SUBJECT LIKE fSubject) AND
		CASE tag
		WHEN 'Author' THEN CAT.Author = fquery2
		WHEN 'Subject' THEN CAT.subject = fquery2
		WHEN 'Publisher' THEN CAT.Publisher = fquery2
		WHEN 'PublishLocation' THEN CAT.PublishLocation = fquery2
        WHEN 'PublishYear' THEN CAT.PublishYear = fquery2
		END
         AND
		CASE findBy
        When 'Alphabetical'  THEN  1=1
        													WHEN 'Author' THEN CAT.Author = fquery
		WHEN 'Subject' THEN CAT.subject = fquery
		WHEN 'Publisher' THEN CAT.Publisher = fquery
		WHEN 'PublishLocation' THEN CAT.PublishLocation = fquery
        WHEN 'PublishYear' THEN CAT.PublishYear = fquery
		END;
          
else
	INSERT INTO tempCariOpac
SELECT CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.Subject,CAT.CoverURL ,CAT.Worksheet_id,
               (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,
                (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID AND STATUS_ID=1 AND BookingExpiredDate < now()) JML_BUKU,
                 (SELECT COUNT(1) FROM collections WHERE CATALOG_ID=CAT.ID) ALL_BUKU,
                 (SELECT GROUP_CONCAT(DISTINCT SUBSTR(fileURL,INSTR(fileURL, '.')+1) SEPARATOR ', ') 
                 FROM catalogfiles WHERE Catalog_id = CAT.ID) KONTEN_DIGITAL
      FROM catalogs CAT 
      WHERE CAT.isopac=1 AND
       IF(fAuthor='',1=1,CAT.Author LIKE concat('%',concat(fAuthor,'%'))) AND
		 IF(fPublisher='',1=1,CAT.Publisher LIKE fPublisher) AND
		 IF(fPublishLoc='',1=1,CAT.PublishLocation LIKE fPublishLoc) AND
		 IF(fPublishYear='',1=1,CAT.PublishYear LIKE fPublishYear) AND
          IF(fSubject='',1=1,CAT.SUBJECT LIKE fSubject) AND
		CASE tag
		WHEN 'Author' THEN CAT.Author = fquery2
		WHEN 'Subject' THEN CAT.subject = fquery2
		WHEN 'Publisher' THEN CAT.Publisher = fquery2
		WHEN 'PublishLocation' THEN CAT.PublishLocation = fquery2
        WHEN 'PublishYear' THEN CAT.PublishYear = fquery2
		END
         AND
		CASE findBy
        When 'Alphabetical'  THEN  1=1
        													WHEN 'Author' THEN CAT.Author = fquery
		WHEN 'Subject' THEN CAT.subject = fquery
		WHEN 'Publisher' THEN CAT.Publisher = fquery
		WHEN 'PublishLocation' THEN CAT.PublishLocation = fquery
        WHEN 'PublishYear' THEN CAT.PublishYear = fquery
		END;
          
end if;
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `marcCatalogOpac`
--

DROP PROCEDURE IF EXISTS `marcCatalogOpac`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `marcCatalogOpac`(
IN catID int
)
BEGIN
select * from catalog_ruas where catalogId = catID order by Tag asc;
      
         
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `newCollectionOpac`
--

DROP PROCEDURE IF EXISTS `newCollectionOpac`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `newCollectionOpac`()
BEGIN
SELECT c.id AS id, c.title AS title, c.author AS author, c.PublishLocation AS PublishLocation, 
				c.publishyear AS YEAR, CONCAT(c.PublishLocation, '  ' , c.Publisher, '  ' ,c.publishyear) AS penerbitan, 
				c.publisher AS publisher,  c.publishyear AS YEAR, CONCAT(c.publisher, ' : ', c.publishyear) AS penerbitan,
				s.CreateDate, w.name AS wn, TRIM(c.coverurl) AS coverurl, c.callnumber AS callnumber
				FROM collections s 
               INNER JOIN catalogs c ON c.id = s.catalog_id 
                              LEFT JOIN worksheets w ON w.ID = c.Worksheet_id 
               WHERE c.isopac =1 
               GROUP BY c.id 
               ORDER BY s.createdate DESC;
    END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `pencarianLanjutLimitOpac`
--

DROP PROCEDURE IF EXISTS `pencarianLanjutLimitOpac`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `pencarianLanjutLimitOpac`(
IN limit1 INT, 
IN limit2 INT,
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
IN fSubject TEXT
)
BEGIN
SELECT CatalogId,title kalimat2,author,publisher,PublishLocation,PublishYear,Subject,CoverURL,
               worksheet_id,worksheet,
                JML_BUKU,
                ALL_BUKU,
                KONTEN_DIGITAL
      FROM tempCariOpac
      
      WHERE 
            IF(fAuthor='',1=1,author LIKE concat('%',concat(fAuthor,'%'))) AND
      IF(fPublisher='',1=1,publisher LIKE fPublisher) AND
      IF(fPublishLoc='',1=1,PublishLocation LIKE fPublishLoc) AND
      IF(fPublishYear='',1=1,PublishYear LIKE fPublishYear) AND
      IF(fSubject='',1=1,Subject LIKE fSubject) 
      
      
      LIMIT limit1,limit2;    
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `pencarianSederhanaOpacLimit1`
--

DROP PROCEDURE IF EXISTS `pencarianSederhanaOpacLimit1`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `pencarianSederhanaOpacLimit1`(
IN limit1 INT, 
IN limit2 INT,
IN fAuthor TEXT,
IN fPublisher TEXT,
IN fPublishLoc TEXT,
IN fPublishYear TEXT,
IN fSubject TEXT
)
BEGIN
SELECT CatalogId,title kalimat2,author,publisher,PublishLocation,PublishYear,CoverURL,worksheet_id,
               worksheet,
                JML_BUKU,
                ALL_BUKU,
                KONTEN_DIGITAL, Subject
      FROM tempCariOpac 
      
      WHERE 
	 IF(fAuthor='',1=1,author LIKE concat('%',concat(fAuthor,'%'))) AND
           IF(fPublisher='',1=1,publisher LIKE fPublisher) AND
      IF(fPublishLoc='',1=1,PublishLocation LIKE fPublishLoc) AND
      IF(fPublishYear='',1=1,PublishYear LIKE fPublishYear) AND
       IF(fSubject='',1=1,Subject LIKE fSubject)
      
      
      LIMIT limit1,limit2;    
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `showCollectionOpac`
--

DROP PROCEDURE IF EXISTS `showCollectionOpac`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `showCollectionOpac`(IN keyword TEXT)
BEGIN
              
SELECT c.id,c.`Catalog_id`, m.`Name` media,c.`NomorBarcode`, c.`NoInduk`, c.`CallNumber`, r.`Name` akses, l.`Name` lokasi, s.`Name` ketersediaan, loc.`Name` namaperpus, c.BookingMemberID, c.BookingExpiredDate
			FROM collections c 
			LEFT JOIN collectionmedias m ON c.`Media_id`=m.`ID` 
			LEFT JOIN collectionrules r ON c.`Rule_id`=r.`ID` 
			LEFT JOIN collectionstatus s ON c.`Status_id`=s.`ID`   
			LEFT JOIN locations l ON c.`Location_id`=l.`ID`
            LEFT join location_library loc on c.`Location_Library_id` = loc.`id`
			WHERE c.`Catalog_id`=keyword;   
          
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `showKontenDigital`
--

DROP PROCEDURE IF EXISTS `showKontenDigital`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `showKontenDigital`(IN keyword TEXT)
BEGIN
              
Select C.ID,C.Catalog_id,C.FileURL,C.FileFlash,	(
								SELECT  SUBSTRING(FileURL,(LENGTH(FileURL)-LOCATE('.',REVERSE(FileURL)))+2))  as FormatFile
                				 FROM catalogfiles C where Catalog_id =keyword;   
          
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `topCollectionOpac`
--

DROP PROCEDURE IF EXISTS `topCollectionOpac`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `topCollectionOpac`()
BEGIN
SELECT COUNT(collection_id) entry, c.title AS title, c.id AS id, c.author AS author,
				c.PublishLocation AS PublishLocation, c.publishyear AS YEAR, 
				CONCAT(c.PublishLocation, '  ',  c.Publisher, '  ' ,c.publishyear) AS penerbitan, w.name AS wn,
				c.publisher AS publisher, c.publishyear AS YEAR, CONCAT(c.publisher, ' : ', c.publishyear) AS penerbitan, 
				TRIM(c.coverurl) AS coverurl,  c.callnumber AS callnumber
				
FROM collectionloanitems h 
               INNER JOIN collections s ON s.id = h.collection_id 
               INNER JOIN catalogs c ON c.id = s.catalog_id and c.ISOPAC =1 
                LEFT JOIN worksheets w ON w.ID = c.Worksheet_id 
               GROUP BY c.id ORDER BY entry DESC;
    END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of procedure `TO_MARC`
--

DROP PROCEDURE IF EXISTS `TO_MARC`;

DELIMITER $$

/*!50003 SET @TEMP_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `TO_MARC`(
IN CatID INT
)
BEGIN
select TO_MARC(CatID);
END $$
/*!50003 SET SESSION SQL_MODE=@TEMP_SQL_MODE */  $$

DELIMITER ;

--
-- Definition of view `item_koleksi`
--

DROP VIEW IF EXISTS `item_koleksi`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `item_koleksi` AS select concat(year(`collections`.`CreateDate`),lpad(month(`collections`.`CreateDate`),2,0)) AS `periode`,month(`collections`.`CreateDate`) AS `bulan`,year(`collections`.`CreateDate`) AS `tahun`,count('*') AS `jumlah_eksemplar` from `collections` group by month(`collections`.`CreateDate`),year(`collections`.`CreateDate`);

--
-- Definition of view `v_abjadopac`
--

DROP VIEW IF EXISTS `v_abjadopac`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_abjadopac` AS select 'A' AS `A` union all select 'B' AS `B` union all select 'C' AS `C` union all select 'D' AS `D` union all select 'E' AS `E` union all select 'F' AS `F` union all select 'G' AS `G` union all select 'H' AS `H` union all select 'I' AS `I` union all select 'J' AS `J` union all select 'K' AS `K` union all select 'L' AS `L` union all select 'M' AS `M` union all select 'N' AS `N` union all select 'O' AS `O` union all select 'P' AS `P` union all select 'Q' AS `Q` union all select 'R' AS `R` union all select 'S' AS `S` union all select 'T' AS `T` union all select 'U' AS `U` union all select 'V' AS `V` union all select 'W' AS `W` union all select 'X' AS `X` union all select 'Y' AS `Y` union all select 'Z' AS `Z`;

--
-- Definition of view `v_lap_kriteria_anggota`
--

DROP VIEW IF EXISTS `v_lap_kriteria_anggota`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_lap_kriteria_anggota` AS select distinct 'Pekerjaan' AS `kriteria`,`master_pekerjaan`.`Pekerjaan` AS `id_dtl_anggota`,`master_pekerjaan`.`Pekerjaan` AS `dtl_anggota` from `master_pekerjaan` union all select distinct 'Pendidikan' AS `kriteria`,`master_pendidikan`.`Nama` AS `id_dtl_anggota`,`master_pendidikan`.`Nama` AS `dtl_anggota` from `master_pendidikan` union all select distinct 'Status_Anggota' AS `kriteria`,`status_anggota`.`Nama` AS `id_dtl_anggota`,`status_anggota`.`Nama` AS `dtl_anggota` from `status_anggota` union all select distinct 'Jenis_Anggota' AS `kriteria`,`jenis_anggota`.`jenisanggota` AS `id_dtl_anggota`,`jenis_anggota`.`jenisanggota` AS `dtl_anggota` from `jenis_anggota` union all select distinct 'Kelas' AS `kriteria`,`kelas_siswa`.`namakelassiswa` AS `id_dtl_anggota`,`kelas_siswa`.`namakelassiswa` AS `dtl_anggota` from `kelas_siswa` union all select distinct 'Fakultas' AS `kriteria`,`master_fakultas`.`Nama` AS `id_dtl_anggota`,`master_fakultas`.`Nama` AS `dtl_anggota` from `master_fakultas` union all select distinct 'Jurusan' AS `kriteria`,`master_jurusan`.`Nama` AS `id_dtl_anggota`,`master_jurusan`.`Nama` AS `dtl_anggota` from `master_jurusan`;

--
-- Definition of view `v_lap_kriteria_koleksi`
--

DROP VIEW IF EXISTS `v_lap_kriteria_koleksi`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_lap_kriteria_koleksi` AS select distinct 'PublishLocation' AS `kriteria`,`catalogs`.`PublishLocation` AS `id_dtl_kriteria`,`catalogs`.`PublishLocation` AS `dtl_kriteria` from `catalogs` union all select distinct 'Publisher' AS `kriteria`,`catalogs`.`Publisher` AS `id_dtl_kriteria`,`catalogs`.`Publisher` AS `dtl_kriteria` from `catalogs` union all select distinct 'PublishYear' AS `kriteria`,`catalogs`.`PublishYear` AS `id_dtl_kriteria`,`catalogs`.`PublishYear` AS `dtl_kriteria` from `catalogs` union all select distinct 'Subject' AS `kriteria`,`catalogs`.`Subject` AS `id_dtl_kriteria`,`catalogs`.`Subject` AS `dtl_kriteria` from `catalogs` union all select 'location_library' AS `kriteria`,`location_library`.`ID` AS `id_dtl_kriteria`,`location_library`.`Name` AS `dtl_kriteria` from `location_library` union all select 'locations' AS `kriteria`,`locations`.`ID` AS `id_dtl_kriteria`,`locations`.`Name` AS `dtl_kriteria` from `locations` union all select 'collectionsources' AS `kriteria`,`collectionsources`.`ID` AS `id_dtl_kriteria`,`collectionsources`.`Name` AS `dtl_kriteria` from `collectionsources` union all select 'partners' AS `kriteria`,`partners`.`ID` AS `id_dtl_kriteria`,`partners`.`Name` AS `dtl_kriteria` from `partners` union all select 'currency' AS `kriteria`,`currency`.`Currency` AS `id_dtl_kriteria`,concat(`currency`.`Currency`,' - ',`currency`.`Description`) AS `dtl_kriteria` from `currency` union all select 'collectioncategorys' AS `kriteria`,`collectioncategorys`.`ID` AS `id_dtl_kriteria`,`collectioncategorys`.`Name` AS `dtl_kriteria` from `collectioncategorys` union all select 'collectionrules' AS `kriteria`,`collectionrules`.`ID` AS `id_dtl_kriteria`,`collectionrules`.`Name` AS `dtl_kriteria` from `collectionrules` union all select 'worksheets' AS `kriteria`,`worksheets`.`ID` AS `id_dtl_kriteria`,`worksheets`.`Name` AS `dtl_kriteria` from `worksheets` union all select 'collectionmedias' AS `kriteria`,`collectionmedias`.`ID` AS `id_dtl_kriteria`,`collectionmedias`.`Name` AS `dtl_kriteria` from `collectionmedias` union all select 'no_klas' AS `kriteria`,`master_kelas_besar`.`kdKelas` AS `id_dtl_kriteria`,`master_kelas_besar`.`namakelas` AS `dtl_kriteria` from `master_kelas_besar` union all select 'createby' AS `kriteria`,`users`.`ID` AS `id_dtl_kriteria`,`users`.`username` AS `dtl_kriteria` from `users` union all select 'Members' AS `kriteria`,`members`.`ID` AS `id_dtl_kriteria`,concat(`members`.`MemberNo`,' - ',`members`.`Fullname`) AS `dtl_kriteria` from `members`;

--
-- Definition of view `v_pertumb_jml_kunjungan`
--

DROP VIEW IF EXISTS `v_pertumb_jml_kunjungan`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_pertumb_jml_kunjungan` AS select 'ANGGOTA' AS `kriteria`,year(str_to_date(`memberguesses`.`CreateDate`,'%Y-%m-%d')) AS `tahun`,count(0) AS `jumlah` from `memberguesses` where (`memberguesses`.`NoAnggota` is not null) group by year(str_to_date(`memberguesses`.`CreateDate`,'%Y-%m-%d')) union all select 'NONANGGOTA' AS `kriteria`,year(str_to_date(`memberguesses`.`CreateDate`,'%Y-%m-%d')) AS `tahun`,count(0) AS `jumlah` from `memberguesses` where isnull(`memberguesses`.`NoAnggota`) group by year(str_to_date(`memberguesses`.`CreateDate`,'%Y-%m-%d')) union all select 'ROMBONGAN' AS `kriteria`,year(str_to_date(`groupguesses`.`CreateDate`,'%Y-%m-%d')) AS `tahun`,count(0) AS `jumlah` from `groupguesses` group by year(str_to_date(`groupguesses`.`CreateDate`,'%Y-%m-%d'));

--
-- Definition of view `v_pertumb_jml_kunjungan_bulanan`
--

DROP VIEW IF EXISTS `v_pertumb_jml_kunjungan_bulanan`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_pertumb_jml_kunjungan_bulanan` AS select 'ANGGOTA' AS `kriteria`,year(str_to_date(`memberguesses`.`CreateDate`,'%Y-%m-%d')) AS `tahun`,month(str_to_date(`memberguesses`.`CreateDate`,'%Y-%m-%d')) AS `bulan`,count(0) AS `jumlah` from `memberguesses` where (`memberguesses`.`NoAnggota` is not null) group by year(str_to_date(`memberguesses`.`CreateDate`,'%Y-%m-%d')),month(str_to_date(`memberguesses`.`CreateDate`,'%Y-%m-%d')) union all select 'NONANGGOTA' AS `kriteria`,year(str_to_date(`memberguesses`.`CreateDate`,'%Y-%m-%d')) AS `tahun`,month(str_to_date(`memberguesses`.`CreateDate`,'%Y-%m-%d')) AS `bulan`,count(0) AS `jumlah` from `memberguesses` where isnull(`memberguesses`.`NoAnggota`) group by year(str_to_date(`memberguesses`.`CreateDate`,'%Y-%m-%d')),month(str_to_date(`memberguesses`.`CreateDate`,'%Y-%m-%d')) union all select 'ROMBONGAN' AS `kriteria`,year(str_to_date(`groupguesses`.`CreateDate`,'%Y-%m-%d')) AS `tahun`,month(str_to_date(`groupguesses`.`CreateDate`,'%Y-%m-%d')) AS `bulan`,count(0) AS `jumlah` from `groupguesses` group by year(str_to_date(`groupguesses`.`CreateDate`,'%Y-%m-%d')),month(str_to_date(`groupguesses`.`CreateDate`,'%Y-%m-%d')) order by `tahun`;

--
-- Definition of view `v_stat_anggota`
--

DROP VIEW IF EXISTS `v_stat_anggota`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_stat_anggota` AS select year(str_to_date(`members`.`CreateDate`,'%Y-%m-%d')) AS `tahun`,month(str_to_date(`members`.`CreateDate`,'%Y-%m-%d')) AS `bulan`,count(0) AS `jumlah` from `members` group by year(str_to_date(`members`.`CreateDate`,'%Y-%m-%d')),month(str_to_date(`members`.`CreateDate`,'%Y-%m-%d'));

--
-- Definition of view `v_stat_colectionloan`
--

DROP VIEW IF EXISTS `v_stat_colectionloan`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_stat_colectionloan` AS select 2015 AS `tahun`,2 AS `bulan`,10 AS `jumlah_judul`,100 AS `jumlah_eksemplar`,20 AS `jumlah_dijital`;

--
-- Definition of view `v_stat_jenis_pendidikan`
--

DROP VIEW IF EXISTS `v_stat_jenis_pendidikan`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_stat_jenis_pendidikan` AS select `mp`.`Nama` AS `Keterangan`,count(`mem`.`ID`) AS `Jumlah`,date_format(`mem`.`CreateDate`,'%Y') AS `Tahun`,month(str_to_date(`mem`.`CreateDate`,'%Y-%m-%d')) AS `bulan` from (`master_pendidikan` `mp` left join `members` `mem` on((`mem`.`EducationLevel_id` = `mp`.`id`))) where (`mem`.`EducationLevel_id` is not null) group by `mp`.`Nama`,date_format(`mem`.`CreateDate`,'%Y'),month(str_to_date(`mem`.`CreateDate`,'%Y-%m-%d')) order by `mp`.`id`,`mem`.`CreateDate`;

--
-- Definition of view `v_stat_jumlah_koleksi`
--

DROP VIEW IF EXISTS `v_stat_jumlah_koleksi`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_stat_jumlah_koleksi` AS select `item_koleksi`.`bulan` AS `bulan`,`item_koleksi`.`tahun` AS `tahun`,(select count(0) from `catalogs` where (concat(year(`catalogs`.`CreateDate`),lpad(month(`catalogs`.`CreateDate`),2,0)) = `item_koleksi`.`periode`)) AS `jumlah_judul`,`item_koleksi`.`jumlah_eksemplar` AS `jumlah_eksemplar`,(select count(0) from `catalogfiles` where (concat(year(`catalogfiles`.`CreateDate`),lpad(month(`catalogfiles`.`CreateDate`),2,0)) = `item_koleksi`.`periode`)) AS `jumlah_dijital` from `item_koleksi`;

--
-- Definition of view `v_stat_kelas_subjek`
--

DROP VIEW IF EXISTS `v_stat_kelas_subjek`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_stat_kelas_subjek` AS select `master_kelas_besar`.`namakelas` AS `Keterangan`,`master_kelas_besar`.`ID` AS `Jumlah`,2015 AS `Tahun` from `master_kelas_besar`;

--
-- Definition of view `v_stat_koleksi_dipinjam_eksemplar`
--

DROP VIEW IF EXISTS `v_stat_koleksi_dipinjam_eksemplar`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_stat_koleksi_dipinjam_eksemplar` AS select year(str_to_date(`colit`.`CreateDate`,'%Y-%m-%d')) AS `tahun`,month(str_to_date(`colit`.`CreateDate`,'%Y-%m-%d')) AS `bulan`,count(0) AS `jumlah_eksemplar` from `collectionloanitems` `colit` where (`colit`.`CreateDate` between (now() + interval -(12) month) and (now() + interval -(1) month)) group by year(str_to_date(`colit`.`CreateDate`,'%Y-%m-%d')),month(str_to_date(`colit`.`CreateDate`,'%Y-%m-%d'));

--
-- Definition of view `v_stat_koleksi_dipinjam_judul`
--

DROP VIEW IF EXISTS `v_stat_koleksi_dipinjam_judul`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_stat_koleksi_dipinjam_judul` AS select year(str_to_date(`colit`.`CreateDate`,'%Y-%m-%d')) AS `tahun`,month(str_to_date(`colit`.`CreateDate`,'%Y-%m-%d')) AS `bulan`,count(distinct `colit`.`Collection_id`) AS `jumlah_judul` from `collectionloanitems` `colit` where (`colit`.`CreateDate` between (now() + interval -(12) month) and (now() + interval -(1) month)) group by year(str_to_date(`colit`.`CreateDate`,'%Y-%m-%d')),month(str_to_date(`colit`.`CreateDate`,'%Y-%m-%d'));

--
-- Definition of view `v_stat_pendidikan`
--

DROP VIEW IF EXISTS `v_stat_pendidikan`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_stat_pendidikan` AS select `master_pendidikan`.`Nama` AS `Nama`,`master_pendidikan`.`id` AS `Jumlah`,2015 AS `Tahun` from `master_pendidikan`;

--
-- Definition of view `v_stat_rangeumur_kunj`
--

DROP VIEW IF EXISTS `v_stat_rangeumur_kunj`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_stat_rangeumur_kunj` AS select `KATEGORY_UMUR`(`members`.`DateOfBirth`) AS `Keterangan`,date_format(`memberguesses`.`CreateDate`,'%Y') AS `Tahun`,count(`memberguesses`.`ID`) AS `Jumlah` from (`memberguesses` join `members` on((`memberguesses`.`NoAnggota` = `members`.`MemberNo`))) where (cast(`memberguesses`.`CreateDate` as date) between '2010-01-01' and '2016-12-31') group by `KATEGORY_UMUR`(`members`.`DateOfBirth`),date_format(`memberguesses`.`CreateDate`,'%Y') order by date_format(`memberguesses`.`CreateDate`,'%Y') desc,count(`memberguesses`.`ID`) desc;

--
-- Definition of view `v_stat_rangeumur_kunj_bulanan`
--

DROP VIEW IF EXISTS `v_stat_rangeumur_kunj_bulanan`;
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v_stat_rangeumur_kunj_bulanan` AS select `KATEGORY_UMUR`(`members`.`DateOfBirth`) AS `Keterangan`,date_format(`memberguesses`.`CreateDate`,'%Y') AS `Tahun`,month(str_to_date(`memberguesses`.`CreateDate`,'%Y-%m-%d')) AS `bulan`,count(`memberguesses`.`ID`) AS `Jumlah` from (`memberguesses` join `members` on((`memberguesses`.`NoAnggota` = `members`.`MemberNo`))) group by `KATEGORY_UMUR`(`members`.`DateOfBirth`),date_format(`memberguesses`.`CreateDate`,'%Y'),month(str_to_date(`memberguesses`.`CreateDate`,'%Y-%m-%d')) order by date_format(`memberguesses`.`CreateDate`,'%Y') desc,count(`memberguesses`.`ID`) desc;



