-- https://www.phpmyadmin.net/
--
-- Waktu pembuatan: 22 Okt 2024 pada 03.49
-- Versi server: 10.4.24-MariaDB
-- Versi PHP: 5.6.40

START TRANSACTION;



--
-- Database: `perpustakaansmktpal`
--

DELIMITER $$
--
-- Prosedur
--
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$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `BrowseOpac` (IN `keyword` TEXT, IN `keyword2` TEXT, IN `keyword3` TEXT, IN `isLKD` TEXT, IN `Location` 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 Location <> 0

                     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

                                                        LEFT JOIN collections col ON col.Catalog_id = CAT.ID

                                                        WHERE CAT.isopac=1 

                                                        AND col.Location_id = ',Location,'

                                                        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

                                                        LEFT JOIN collections col ON col.Catalog_id = CAT.ID

                                                        WHERE CAT.isopac=1

                                                        AND col.Location_id = ',Location,'

                                                        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

                                                        LEFT JOIN collections col ON col.Catalog_id = CAT.ID

                                                        WHERE CAT.isopac=1

                                                        AND col.Location_id = ',Location,'          

                                                        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 IF;

                    END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `countPencarianLanjutOpac1` (IN `fAuthor` TEXT, IN `fPublisher` TEXT, IN `fPublishLoc` TEXT, IN `fPublishYear` TEXT, IN `fSubject` TEXT, IN `fBahasa` TEXT)  BEGIN

                        SELECT COUNT(1)

                              FROM tempCariOpac

                              

                              WHERE

                              IF(fAuthor='',1=1,author = fAuthor) AND

                                   IF(fPublisher='',1=1,publisher = fPublisher) AND

                              IF(fPublishLoc='',1=1,PublishLocation = fPublishLoc) AND

                              IF(fPublishYear='',1=1,PublishYear = fPublishYear) AND

                              IF(fSubject='',1=1,Subject = fSubject) AND

                              IF(fSubject='',1=1,SUBJECT LIKE fSubject);

                              

                                 

                        END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `countPencarianSederhanaOpac1` (IN `fAuthor` TEXT, IN `fPublisher` TEXT, IN `fPublishLoc` TEXT, IN `fPublishYear` TEXT, IN `fSubject` TEXT, IN `fBahasa` 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(fBahasa='',1=1,bahasa LIKE fBahasa) AND

                      IF(fSubject='',1=1,Subject LIKE fSubject) ;

                      

                         

                END$$

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$$

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$$

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$$

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$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `facedArticle` (IN `facedType` TEXT, IN `fAuthor` TEXT, IN `fPublisher` TEXT, IN `fSubject` TEXT, IN `fBahasa` TEXT, IN `maxFaced` INT)  BEGIN

                IF facedType = 'Author'

                THEN

                    SELECT COALESCE(Creator_article,'-') Creator_article,COUNT(1) jml

                          FROM tempCariArticle 

                          

                          WHERE 

                          IF(fAuthor='',1=1,Creator_article LIKE CONCAT('%',CONCAT(fAuthor,'%'))) AND

                          IF(fPublisher='',1=1,publisher = fPublisher) AND

                          IF(fSubject='',1=1,subject_article = fSubject) AND

                          IF(fBahasa='',1=1,Languages = fBahasa)

                        GROUP BY Creator_article

                        ORDER BY jml DESC

                        LIMIT 0,maxFaced;              

                ELSE             

                IF facedType = 'Bahasa'

                THEN                  

                    SELECT Languages,COUNT(1) jml

                          FROM tempCariArticle 

                          

                          WHERE 

                          IF(fAuthor='',1=1,Creator_article LIKE CONCAT('%',CONCAT(fAuthor,'%'))) AND

                          IF(fPublisher='',1=1,publisher = fPublisher) AND

                          IF(fSubject='',1=1,subject_article = fSubject) AND

                          IF(fBahasa='',1=1,Languages = fBahasa)

                        GROUP BY Languages ORDER BY jml DESC

                        LIMIT 0,maxFaced;

                ELSE             

                IF facedType = 'Subject' 

                THEN

                    SELECT COALESCE(subject_article,'-') subject_article,COUNT(1) jml

                          FROM tempCariArticle 

                          

                          WHERE 

                          IF(fAuthor='',1=1,Creator_article LIKE CONCAT('%',CONCAT(fAuthor,'%'))) AND

                          IF(fPublisher='',1=1,publisher = fPublisher) AND

                          IF(fSubject='',1=1,subject_article = fSubject) AND

                          IF(fBahasa='',1=1,Languages = fBahasa)

                        GROUP BY subject_article ORDER BY jml DESC

                        LIMIT 0,maxFaced;

                ELSE             

                IF facedType = 'Publisher' 

                THEN

                    SELECT COALESCE(Publisher,'-') Publisher,COUNT(1) jml

                          FROM tempCariArticle 

                          

                          WHERE 

                          IF(fAuthor='',1=1,Creator_article LIKE CONCAT('%',CONCAT(fAuthor,'%'))) AND

                          IF(fPublisher='',1=1,publisher = fPublisher) AND

                          IF(fSubject='',1=1,subject_article = fSubject) AND

                          IF(fBahasa='',1=1,Languages = fBahasa)

                          

                        GROUP BY Publisher

                        ORDER BY jml DESC

                        LIMIT 0,maxFaced;

                END IF;

                END IF; 

                END IF; 

                END IF;         

                    END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `facedAuthorOpac1` (IN `fAuthor` TEXT, IN `fPublisher` TEXT, IN `fPublishLoc` TEXT, IN `fPublishYear` TEXT, IN `fSubject` TEXT, IN `fBahasa` 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;    

                              

                    SELECT Author,COUNT(1) jml

                          FROM tempCariOpac 

                          

                          WHERE 

                          IF(fAuthor='',1=1,Author LIKE CONCAT('%',CONCAT(fAuthor,'%'))) AND

                          IF(fPublisher='',1=1,publisher = fPublisher) AND

                          IF(fPublishLoc='',1=1,PublishLocation = fPublishLoc) AND

                          IF(fPublishYear='',1=1,PublishYear = fPublishYear) AND

                          IF(fSubject='',1=1,SUBJECT = fSubject) AND

                          IF(fBahasa='',1=1,bahasa = fBahasa)

                        GROUP BY Author

                        ORDER BY jml DESC

                        LIMIT 0,maxFaced;    

                    END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `facedBahasaOpac1` (IN `fAuthor` TEXT, IN `fPublisher` TEXT, IN `fPublishLoc` TEXT, IN `fPublishYear` TEXT, IN `fSubject` TEXT, IN `fBahasa` TEXT, IN `maxFaced` INT)  BEGIN

                                  

                    SELECT bahasa,COUNT(1) jml

                          FROM tempCariOpac 

                          

                          WHERE 

                          IF(fAuthor='',1=1,Author LIKE CONCAT('%',CONCAT(fAuthor,'%'))) AND

                          IF(fPublisher='',1=1,publisher = fPublisher) AND

                          IF(fPublishLoc='',1=1,PublishLocation = fPublishLoc) AND

                          IF(fPublishYear='',1=1,PublishYear = fPublishYear) AND

                          IF(fSubject='',1=1,SUBJECT = fSubject) AND

                          IF(fBahasa='',1=1,bahasa = fBahasa)

                        GROUP BY bahasa ORDER BY jml DESC

                        LIMIT 0,maxFaced;                 

                    END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `facedPublisherOpac1` (IN `fAuthor` TEXT, IN `fPublisher` TEXT, IN `fPublishLoc` TEXT, IN `fPublishYear` TEXT, IN `fSubject` TEXT, IN `fBahasa` TEXT, IN `maxFaced` INT)  BEGIN

                                  

                    SELECT Publisher,COUNT(1) jml

                          FROM tempCariOpac 

                          

                          WHERE 

                          IF(fAuthor='',1=1,Author LIKE CONCAT('%',CONCAT(fAuthor,'%'))) AND

                          IF(fPublisher='',1=1,publisher = fPublisher) AND

                          IF(fPublishLoc='',1=1,PublishLocation = fPublishLoc) AND

                          IF(fPublishYear='',1=1,PublishYear = fPublishYear) AND

                          IF(fSubject='',1=1,SUBJECT = fPublishYear) AND

                          IF(fBahasa='',1=1,bahasa = fBahasa)

                          

                        GROUP BY Publisher

                        ORDER BY jml DESC

                        LIMIT 0,maxFaced;                        

                    END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `facedPublishLocationOpac1` (IN `fAuthor` TEXT, IN `fPublisher` TEXT, IN `fPublishLoc` TEXT, IN `fPublishYear` TEXT, IN `fSubject` TEXT, IN `fBahasa` TEXT, IN `maxFaced` INT)  BEGIN

                              

                SELECT PublishLocation,COUNT(1) jml

                      FROM tempCariOpac 

                      

                      WHERE 

                      IF(fAuthor='',1=1,Author LIKE CONCAT('%',CONCAT(fAuthor,'%'))) AND

                      IF(fPublisher='',1=1,publisher = fPublisher) AND

                      IF(fPublishLoc='',1=1,PublishLocation = fPublishLoc) AND

                      IF(fPublishYear='',1=1,PublishYear = fPublishYear) AND

                      IF(fSubject='',1=1,SUBJECT = fSubject) AND

                      IF(fBahasa='',1=1,bahasa = fBahasa)

                      

                    GROUP BY PublishLocation

                    ORDER BY jml DESC

                    LIMIT 0,maxFaced;    

                END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `facedPublishYearOpac1` (IN `fAuthor` TEXT, IN `fPublisher` TEXT, IN `fPublishLoc` TEXT, IN `fPublishYear` TEXT, IN `fSubject` TEXT, IN `fBahasa` TEXT, IN `maxFaced` INT)  BEGIN

                                  

                    SELECT PublishYear,COUNT(1) jml

                          FROM tempCariOpac

                          

                          WHERE 

                          IF(fAuthor='',1=1,Author LIKE CONCAT('%',CONCAT(fAuthor,'%'))) AND

                          IF(fPublisher='',1=1,publisher = fPublisher) AND

                          IF(fPublishLoc='',1=1,PublishLocation = fPublishLoc) AND

                          IF(fPublishYear='',1=1,PublishYear = fPublishYear) AND

                          IF(fSubject='',1=1,SUBJECT = fSubject) AND

                          IF(fBahasa='',1=1,bahasa = fBahasa)

                        GROUP BY PublishYear

                        ORDER BY jml DESC

                        LIMIT 0,maxFaced;      

                              

                    END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `facedSubjectOpac1` (IN `fAuthor` TEXT, IN `fPublisher` TEXT, IN `fPublishLoc` TEXT, IN `fPublishYear` TEXT, IN `fSubject` TEXT, IN `fBahasa` TEXT, IN `maxFaced` INT)  BEGIN

                                  

                    SELECT COALESCE(SUBJECT,'-') SUBJECT,COUNT(1) jml

                          FROM tempCariOpac 

                          

                          WHERE 

                          IF(fAuthor='',1=1,Author LIKE CONCAT('%',CONCAT(fAuthor,'%'))) AND

                          IF(fPublisher='',1=1,publisher = fPublisher) AND

                          IF(fPublishLoc='',1=1,PublishLocation = fPublishLoc) AND

                          IF(fPublishYear='',1=1,PublishYear = fPublishYear) AND

                          IF(fSubject='',1=1,SUBJECT = fSubject) AND

                          IF(fBahasa='',1=1,bahasa = fBahasa)

                        GROUP BY SUBJECT ORDER BY jml DESC

                        LIMIT 0,maxFaced;    

                              

                    END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `getStatKlasSubjekKoleksiDibaca` (IN `Bfrom` TEXT, IN `Bto` TEXT)  BEGIN
    
    
    SELECT 
	COUNT(*) AS CountEksemplar, 
	namakelas AS NAME, 
	COUNT(DISTINCT catalogs.ID) AS CountJudul 
	FROM bacaditempat  
	INNER JOIN collections ON collections.ID = bacaditempat.collection_id  
	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$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `getStatKlasSubjekKoleksiDipinjam` (IN `Bfrom` TEXT, IN `Bto` TEXT)  BEGIN
    
	SELECT 
	COUNT(*) AS CountEksemplar, 
	namakelas AS NAME, 
	COUNT(DISTINCT catalogs.ID) AS CountJudul 
	FROM collectionloanitems  
	INNER JOIN collections ON collections.ID = collectionloanitems.Collection_id  
	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$$

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$$

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$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `get_stat_jenis_pendidikan_bulan` (IN `Bfrom` TEXT, IN `Bto` TEXT)  BEGIN

                    SELECT 

                        `mp`.`Nama` AS `Keterangan`,

                        COUNT(`mem`.`ID`) AS `Jumlah`,

                        DATE(`mem`.`CreateDate`) AS `Tanggal`

                     

                    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`, '%M')

                    ORDER BY `mp`.`id` , `mem`.`CreateDate`;

                    END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `get_stat_jenis_pendidikan_tahun` (IN `Bfrom` TEXT, IN `Bto` TEXT)  BEGIN

                    SELECT 

                        `mp`.`Nama` AS `Keterangan`,

                        COUNT(`mem`.`ID`) AS `Jumlah`,

                        DATE(`mem`.`CreateDate`) AS `Tanggal`

                     

                    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$$

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$$

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$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `insertTempLanjutArticle` (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 `fBahasa` 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='';

                    DROP TABLE IF EXISTS tempCariArticle;

                    CREATE  TEMPORARY TABLE tempCariArticle

                    (

                Article_type VARCHAR(100),

                Creator_article VARCHAR(200),

                title_article TEXT,

                content_article TEXT,

                subject_article VARCHAR(200),

                EDISISERIAL VARCHAR(200),

                TANGGAL_TERBIT_EDISI_SERIAL VARCHAR(200),

                CatalogId            INT(11),

                title       TEXT,

                bahasa VARCHAR(100),

                author    VARCHAR(200),

                publisher   VARCHAR(100),

                PublishLocation  VARCHAR(100),

                PublishYear VARCHAR(100),

                SUBJECT VARCHAR(200),

                CoverURL VARCHAR(100),

                worksheet_id INT,

                worksheet VARCHAR(100),

                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 = ''',fAuthor,''''); 

                      END IF;

                      IF fPublisher <> ''   THEN SET querys = CONCAT(querys,' AND CAT.Publisher = ''',fPublisher,'''');

                      END IF;

                      IF fPublishLoc <> '' THEN SET querys = CONCAT(querys,' AND CAT.PublishLocation = ''',fPublishLoc,''''); 

                      END IF;

                      IF fPublishYear <> ''  THEN SET querys = CONCAT(querys,' AND CAT.PublishYear = ''',fPublishYear,''''); 

                       END IF;

                      IF fSubject <> ''  THEN SET querys = CONCAT(querys,' AND CAT.Subject = ''',fSubject,''''); 

                       END IF;

                        IF fBahasa <> ''  THEN SET querys = CONCAT(querys,' AND CAT.Languages = ''',fBahasa,''''); 

                       END IF;

                            

                       

                    SET @query_as_string=CONCAT('

                INSERT INTO tempCariArticle

                        SELECT art.Article_type,art.Creator AS Creator_article, art.title AS title_article, art.content AS content_article, art.subject AS subject_article, art.EDISISERIAL, art.TANGGAL_TERBIT_EDISI_SERIAL, CAT.id CatalogId,CAT.title,CAT.Languages, CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.CoverURL ,CAT.Worksheet_id, 

                            w.name worksheet,

                                    (SELECT GROUP_CONCAT(DISTINCT SUBSTRING(FileURL,(LENGTH(FileURL)-LOCATE(''.'',REVERSE(FileURL)))+2) SEPARATOR '','') 

                                     FROM catalogfiles WHERE Catalog_id = CAT.ID) KONTEN_DIGITAL

                          FROM serial_articles art 

                          JOIN catalogs CAT ON art.Catalog_id = CAT.ID  

                          lEFT JOIN worksheets w ON w.id = CAT.Worksheet_id

                          

                          ',querys3,' 

                       WHERE 

                      

                       ',keyword,' AND CAT.isopac=1 AND art.ISOPAC=1

                            AND w.ISSERIAL = 1',querys,querys2,' ');

                     PREPARE statement_1 

                      FROM @query_as_string ;

                       EXECUTE statement_1;

                      DEALLOCATE PREPARE statement_1;

                    END$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `insertTempLanjutArticle0` (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 `fBahasa` 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='';

                    DROP TABLE IF EXISTS tempCariArticle;

                    CREATE  TEMPORARY TABLE tempCariArticle

                    (

                Article_type VARCHAR(100),

                Creator_article VARCHAR(200),

                title_article TEXT,

                content_article TEXT,

                subject_article VARCHAR(200),

                EDISISERIAL VARCHAR(200),

                TANGGAL_TERBIT_EDISI_SERIAL VARCHAR(200),

                CatalogId            INT(11),

                title       TEXT,

                bahasa VARCHAR(100),

                author    VARCHAR(200),

                publisher   VARCHAR(100),

                PublishLocation  VARCHAR(100),

                PublishYear VARCHAR(100),

                SUBJECT VARCHAR(200),

                CoverURL VARCHAR(100),

                worksheet_id INT,

                worksheet VARCHAR(100),

                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 = ''',fAuthor,''''); 

                      END IF;

                      IF fPublisher <> ''   THEN SET querys = CONCAT(querys,' AND CAT.Publisher = ''',fPublisher,'''');

                      END IF;

                      IF fPublishLoc <> '' THEN SET querys = CONCAT(querys,' AND CAT.PublishLocation = ''',fPublishLoc,''''); 

                      END IF;

                      IF fPublishYear <> ''  THEN SET querys = CONCAT(querys,' AND CAT.PublishYear = ''',fPublishYear,''''); 

                       END IF;

                      IF fSubject <> ''  THEN SET querys = CONCAT(querys,' AND CAT.Subject = ''',fSubject,''''); 

                       END IF;

                        IF fBahasa <> ''  THEN SET querys = CONCAT(querys,' AND CAT.Languages = ''',fBahasa,''''); 

                       END IF;

                SET @query_as_string=CONCAT('

                INSERT INTO tempCariArticle

                        SELECT art.Article_type,art.Creator AS Creator_article, art.title AS title_article, art.content AS content_article, art.subject AS subject_article, art.EDISISERIAL, art.TANGGAL_TERBIT_EDISI_SERIAL, CAT.id CatalogId,CAT.title,CAT.Languages, CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.CoverURL ,CAT.Worksheet_id, 

                            w.name worksheet,

                                    (SELECT GROUP_CONCAT(DISTINCT SUBSTRING(FileURL,(LENGTH(FileURL)-LOCATE(''.'',REVERSE(FileURL)))+2) SEPARATOR '','') 

                                     FROM catalogfiles WHERE Catalog_id = CAT.ID) KONTEN_DIGITAL

                          FROM serial_articles art 

                          JOIN catalogs CAT ON art.Catalog_id = CAT.ID  

                          lEFT JOIN worksheets w ON w.id = CAT.Worksheet_id

                          

                          ',querys3,' 

                       WHERE 

                      

                       ',keyword,' AND CAT.isopac=1 AND art.ISOPAC=1

                            AND w.ISSERIAL = 1',querys,querys2,' LIMIT ',limit1,',',limit2,' ');            

                      

                     PREPARE statement_1 

                      FROM @query_as_string ;

                       EXECUTE statement_1;

                      DEALLOCATE PREPARE statement_1;

                    END$$

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 `fBahasa` TEXT, IN `isLKD` TEXT, IN `lokasi` TEXT)  BEGIN

                    DECLARE querys,querys2,querys3,bhs,karya,pembaca,queryloc,querylocjoin TEXT;

                    set querys='';

                    set querys2='';

                    set querys3='';

                    SET queryloc='';

                    SET querylocjoin='';

                    set bhs='';

                    set karya='';

                    set pembaca='';

                    DROP TABLE IF EXISTS tempCariOpac;

                    CREATE  TEMPORARY TABLE tempCariOpac

                    (

                    CatalogId            INT(11),

                    title       TEXT,

                    author    TEXT,

                    publisher   TEXT,

                    PublishLocation  TEXT,

                    PublishYear TEXT,

                    Subject Text,

                    bahasa TEXT,

                    CoverURL TEXT,

                    worksheet_id INT,

                    worksheet TEXT,

                    ISSERIAL 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 = ''',fAuthor,''''); 

                      END IF;

                      IF fPublisher <> ''   THEN SET querys = CONCAT(querys,' AND CAT.Publisher = ''',fPublisher,'''');

                      END IF;

                      IF fPublishLoc <> '' THEN SET querys = CONCAT(querys,' AND CAT.PublishLocation = ''',fPublishLoc,''''); 

                      END IF;

                      IF fPublishYear <> ''  THEN SET querys = CONCAT(querys,' AND CAT.PublishYear = ''',fPublishYear,''''); 

                       END IF;

                      IF fSubject <> ''  THEN SET querys = CONCAT(querys,' AND CAT.Subject = ''',fSubject,''''); 

                       END IF;

                        IF fBahasa <> ''  THEN SET querys = CONCAT(querys,' AND CAT.Languages = ''',fBahasa,''''); 

                       END IF;

                       

                       IF lokasi <> 0 THEN SET queryloc = CONCAT(queryloc,' AND col.Location_id = ''',lokasi,''''); 

                       END IF;

                       

                       IF lokasi <> 0 THEN SET querylocjoin = CONCAT(querys,' LEFT JOIN collections col ON col.Catalog_id = R.CATALOGID '); 

                       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.Languages,CAT.CoverURL ,CAT.Worksheet_id, 

                                   (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,

                                    (SELECT ISSERIAL FROM worksheets WHERE id=CAT.Worksheet_id) ISSERIAL,

                                    (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 EXISTS           

                                   (SELECT  1

                                    FROM catalog_ruas R  ',querylocjoin,' 

                                     WHERE 

                                     

                                    

                                     

                    ',keyword,queryloc,bhs,karya,pembaca,'  AND R.CATALOGID=CAT.ID) AND CAT.isopac=1',querys,querys2);

                     PREPARE statement_1 

                      FROM @query_as_string ;

                       EXECUTE statement_1;

                      DEALLOCATE PREPARE statement_1;

                            

                    END$$

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 `fBahasa` TEXT, IN `isLKD` TEXT, IN `lokasi` TEXT)  BEGIN

                DECLARE querys,querys2,querys3,bhs,karya,pembaca,queryloc,querylocjoin TEXT;

                SET querys='';

                SET querys2='';

                SET querys3='';

                SET queryloc='';

                SET querylocjoin='';

                SET bhs='';

                SET karya='';

                SET pembaca='';

                DROP TABLE IF EXISTS tempCariOpac;

                CREATE  TEMPORARY TABLE tempCariOpac

                (

                CatalogId            INT(11),

                title       TEXT,

                author    TEXT,

                publisher   TEXT,

                PublishLocation  TEXT,

                PublishYear TEXT,

                SUBJECT TEXT,

                bahasa TEXT,

                CoverURL TEXT,

                worksheet_id INT,

                worksheet TEXT,

                ISSERIAL 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 = ''',fAuthor,''''); 

                  END IF;

                  IF fPublisher <> ''   THEN SET querys = CONCAT(querys,' AND CAT.Publisher = ''',fPublisher,'''');

                  END IF;

                  IF fPublishLoc <> '' THEN SET querys = CONCAT(querys,' AND CAT.PublishLocation = ''',fPublishLoc,''''); 

                  END IF;

                  IF fPublishYear <> ''  THEN SET querys = CONCAT(querys,' AND CAT.PublishYear = ''',fPublishYear,''''); 

                   END IF;

                  IF fSubject <> ''  THEN SET querys = CONCAT(querys,' AND CAT.Subject = ''',fSubject,''''); 

                   END IF;

                    IF fBahasa <> ''  THEN SET querys = CONCAT(querys,' AND CAT.Languages = ''',fBahasa,''''); 

                   END IF;

                   

                   IF lokasi <> 0 THEN SET queryloc = CONCAT(queryloc,' AND col.Location_id = ''',lokasi,''''); 

                   END IF;

                   

                   IF lokasi <> 0 THEN SET querylocjoin = CONCAT(querys,' LEFT JOIN collections col ON col.Catalog_id = R.CATALOGID '); 

                   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.Languages,CAT.CoverURL ,CAT.Worksheet_id, 

                               (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,

                               (SELECT ISSERIAL FROM worksheets WHERE id=CAT.Worksheet_id) ISSERIAL,

                                (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 EXISTS           

                               (SELECT  1

                                FROM catalog_ruas R  ',querylocjoin,' 

                                 WHERE    

                                

                                 

                ',keyword,queryloc,bhs,karya,pembaca,' AND R.CATALOGID=CAT.ID) AND CAT.isopac=1',querys,querys2,' LIMIT ',limit1,',',limit2,' ');

                 PREPARE statement_1 

                  FROM @query_as_string ;

                   EXECUTE statement_1;

                  DEALLOCATE PREPARE statement_1;

                END$$

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$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `insertTempSederhanaArticle` (IN `keyword` TEXT, IN `tag` TEXT, IN `isLimit` INT, IN `limit1` INT, IN `limit2` INT)  BEGIN

                    DROP TABLE IF EXISTS tempCariArticle;

                    CREATE  TEMPORARY TABLE tempCariArticle

                    (

                    serial_articles_id INT(11),

                    Article_type VARCHAR(100),

                    Creator_article VARCHAR(200),

                    title_article TEXT,

                    content_article TEXT,

                    subject_article VARCHAR(200),

                    EDISISERIAL VARCHAR(200),

                    TANGGAL_TERBIT_EDISI_SERIAL VARCHAR(200),

                    CatalogId            INT(11),

                    title       TEXT,

                    bahasa VARCHAR(100),

                    author    VARCHAR(200),

                    publisher   VARCHAR(100),

                    PublishLocation  VARCHAR(100),

                    PublishYear VARCHAR(100),

                    SUBJECT VARCHAR(200),

                    CoverURL VARCHAR(100),

                    worksheet_id INT,

                    worksheet VARCHAR(100),

                    KONTEN_DIGITAL VARCHAR(100)

                    );              

                    IF isLimit = 1

                    THEN

                            INSERT INTO tempCariArticle

                            SELECT art.id AS id, art.Article_type,art.Creator AS Creator_article, art.title AS title_article, art.content AS content_article, art.subject AS subject_article, art.EDISISERIAL, art.TANGGAL_TERBIT_EDISI_SERIAL, CAT.id CatalogId,CAT.title,CAT.Languages, CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.CoverURL ,CAT.Worksheet_id, 

                                w.name worksheet,

                                (SELECT GROUP_CONCAT(DISTINCT SUBSTR(fileURL,INSTR(fileURL, '.')+1) SEPARATOR ', ') FROM serial_articlefiles WHERE Articles_id = art.id AND art.Catalog_id = CAT.ID) KONTEN_DIGITAL

                              FROM serial_articles art 

                              -- update nambah join ini

                                JOIN serial_articles_repeatable sar ON sar.serial_article_ID = art.id

                              -- batas akhir update 

                              JOIN catalogs CAT ON art.Catalog_id = CAT.ID  

                              lEFT JOIN worksheets w ON w.id = CAT.Worksheet_id

                              WHERE  

                              

                                CASE tag

                                    WHEN 'Judul' THEN art.Title LIKE keyword

                                    -- update filter

                                    WHEN 'Pengarang' THEN (sar.article_field IN ('Kreator','Kontributor') AND sar.value LIKE keyword)

                                    WHEN 'Subyek' THEN (sar.article_field IN ('Subjek') AND sar.value LIKE keyword)

                                    -- batas update filter

                                    /*WHEN 'Pengarang' THEN art.Creator LIKE keyword

                                    WHEN 'Subyek' THEN art.Subject LIKE keyword*/     

                                    WHEN 'Sembarang' THEN 1 = 1

                                END

                              

                                AND CAT.isopac=1 

                                AND art.ISOPAC=1

                                AND w.ISSERIAL = 1

                                GROUP BY art.id

                                LIMIT limit1,limit2;

                                

                    ELSE

                            INSERT INTO tempCariArticle

                            SELECT art.id AS id, art.Article_type,art.Creator AS Creator_article, art.title AS title_article, art.content AS content_article, art.subject AS subject_article, art.EDISISERIAL, art.TANGGAL_TERBIT_EDISI_SERIAL, CAT.id CatalogId,CAT.title,CAT.Languages, CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.CoverURL ,CAT.Worksheet_id, 

                                w.name worksheet,

                                (SELECT GROUP_CONCAT(DISTINCT SUBSTR(fileURL,INSTR(fileURL, '.')+1) SEPARATOR ', ') FROM serial_articlefiles WHERE Articles_id = art.id AND art.Catalog_id = CAT.ID) KONTEN_DIGITAL

                              FROM serial_articles art 

                              -- update nambah join ini

                                JOIN serial_articles_repeatable sar ON sar.serial_article_ID = art.id

                              -- batas akhir update 

                              JOIN catalogs CAT ON art.Catalog_id = CAT.ID  

                              lEFT JOIN worksheets w ON w.id = CAT.Worksheet_id

                              WHERE  

                              

                                CASE tag

                                    WHEN 'Judul' THEN art.Title LIKE keyword

                                    -- update filter

                                    WHEN 'Pengarang' THEN (sar.article_field IN ('Kreator','Kontributor') AND sar.value LIKE keyword)

                                    WHEN 'Subyek' THEN (sar.article_field IN ('Subjek') AND sar.value LIKE keyword)

                                    -- batas update filter

                                    /*WHEN 'Pengarang' THEN art.Creator LIKE keyword

                                    WHEN 'Subyek' THEN art.Subject LIKE keyword*/     

                                    WHEN 'Sembarang' THEN 1 = 1

                                END

                              

                                AND CAT.isopac=1 

                                AND art.ISOPAC=1

                                AND w.ISSERIAL = 1

                                GROUP BY art.id;  

                            

                        END IF;

                              

                    END$$

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 `fBahasa` TEXT, IN `fromTgl` TEXT, IN `toTgl` TEXT, IN `isLKD` TEXT, IN `Location` TEXT)  BEGIN

                    DROP TABLE IF EXISTS tempCariOpac;

                    CREATE  TEMPORARY TABLE tempCariOpac

                    (

                    CatalogId            INT(11),

                    title       TEXT,

                    author    TEXT,

                    publisher   TEXT,

                    PublishLocation  TEXT,

                    PublishYear TEXT,

                    SUBJECT TEXT,

                    bahasa TEXT,

                    CoverURL TEXT,

                    CallNumber TEXT,

                    worksheet_id INT,

                    worksheet TEXT,

                    ISSERIAL 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.Languages,CAT.CoverURL ,CAT.CallNumber ,CAT.Worksheet_id, 

                                   (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,

                                   (SELECT ISSERIAL FROM worksheets WHERE id=CAT.Worksheet_id) ISSERIAL,

                                    (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

                            IF(fBahasa='',1=1,CAT.Languages LIKE fBahasa) 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.Languages,CAT.CoverURL ,CAT.CallNumber ,CAT.Worksheet_id, 

                                   (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,

                                   (SELECT ISSERIAL FROM worksheets WHERE id=CAT.Worksheet_id) ISSERIAL,

                                    (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

                            IF(fBahasa='',1=1,CAT.Languages LIKE fBahasa) AND

                            

                            CAT.isopac=1 

                            ;    

                    ELSE

                    IF location<>0 THEN   

                    INSERT INTO tempCariOpac

                    SELECT DISTINCT CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.Languages,CAT.CoverURL ,CAT.CallNumber ,CAT.Worksheet_id, 

                                   (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,

                                   (SELECT ISSERIAL FROM worksheets WHERE id=CAT.Worksheet_id) ISSERIAL,

                                    (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 col.Location_id = Location 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

                            IF(fBahasa='',1=1,CAT.Languages LIKE fBahasa) 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.Languages,CAT.CoverURL ,CAT.CallNumber ,CAT.Worksheet_id, 

                                   (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,

                                   (SELECT ISSERIAL FROM worksheets WHERE id=CAT.Worksheet_id) ISSERIAL,

                                    (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

                            IF(fBahasa='',1=1,CAT.Languages LIKE fBahasa) AND

                            

                            CAT.isopac=1 

                            ;  

                    END IF;

                    END IF;

                    END IF;

                    END$$

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 `fBahasa` TEXT, IN `fromTgl` TEXT, IN `toTgl` TEXT, IN `isLKD` TEXT, IN `Location` TEXT)  BEGIN

                    DROP TABLE IF EXISTS tempCariOpac;

                    CREATE  TEMPORARY TABLE tempCariOpac

                    (

                    CatalogId            INT(11),

                    title       TEXT,

                    author    TEXT,

                    publisher   TEXT,

                    PublishLocation  TEXT,

                    PublishYear TEXT,

                    SUBJECT TEXT,

                    bahasa TEXT,

                    CoverURL TEXT,

                    worksheet_id INT,

                    worksheet TEXT,

                    ISSERIAL 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.Languages,CAT.CoverURL ,CAT.Worksheet_id, 

                                   (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,

                                   (SELECT ISSERIAL FROM worksheets WHERE id=CAT.Worksheet_id) ISSERIAL,

                                    (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

                            IF(fBahasa='',1=1,CAT.Languages LIKE fBahasa) 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.Languages,CAT.CoverURL ,CAT.Worksheet_id, 

                                   (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,

                                   (SELECT ISSERIAL FROM worksheets WHERE id=CAT.Worksheet_id) ISSERIAL,

                                    (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

                            IF(fBahasa='',1=1,CAT.Languages LIKE fBahasa) AND

                            

                            CAT.isopac=1 

                            LIMIT limit1,limit2;    

                    ELSE

                    IF location<>0 THEN  

                    INSERT INTO tempCariOpac

                    SELECT DISTINCT CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.subject,CAT.Languages,CAT.CoverURL ,CAT.Worksheet_id, 

                                   (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,

                                   (SELECT ISSERIAL FROM worksheets WHERE id=CAT.Worksheet_id) ISSERIAL,

                                    (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  R.Value LIKE keyword 

                            AND col.Location_id = Location

                                                    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

                            IF(fBahasa='',1=1,CAT.Languages LIKE fBahasa) 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.Languages,CAT.CoverURL ,CAT.Worksheet_id, 

                                   (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,

                                   (SELECT ISSERIAL FROM worksheets WHERE id=CAT.Worksheet_id) ISSERIAL,

                                    (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

                            IF(fBahasa='',1=1,CAT.Languages LIKE fBahasa) AND

                            

                            CAT.isopac=1 

                            LIMIT limit1,limit2;  

                    END IF;

                    END IF;

                    END IF;

                    END$$

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$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `insertTempTelusurArticle` (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 `fBahasa` TEXT, IN `isLKD` TEXT)  BEGIN

                        DROP TABLE IF EXISTS tempCariArticle;

                        CREATE  TEMPORARY TABLE tempCariArticle

                        (

                        CatalogId            INT(11),

                        title       TEXT,

                        author    TEXT,

                        publisher   TEXT,

                        PublishLocation  TEXT,

                        PublishYear TEXT,

                        SUBJECT TEXT,

                        bahasa TEXT,

                        CoverURL TEXT,

                        worksheet_id INT,

                        worksheet TEXT,

                        ISSERIAL TEXT,

                        JML_BUKU INT,

                        ALL_BUKU INT,

                        KONTEN_DIGITAL VARCHAR(100)

                        );              

                        IF isLKD = 1 THEN

                                INSERT INTO tempCariArticle

                        SELECT CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.Subject,CAT.Languages,CAT.CoverURL ,CAT.Worksheet_id,

                                       (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,

                                        (SELECT ISSERIAL FROM worksheets WHERE id=CAT.Worksheet_id) ISSERIAL,

                                        (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 = fAuthor) AND

                                 IF(fPublisher='',1=1,CAT.Publisher = fPublisher) AND

                                 IF(fPublishLoc='',1=1,CAT.PublishLocation = fPublishLoc) AND

                                 IF(fPublishYear='',1=1,CAT.PublishYear = fPublishYear) AND

                                 IF(fSubject='',1=1,CAT.SUBJECT = fSubject) AND

                                 IF(fBahasa='',1=1,CAT.Languages LIKE fBahasa) 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 tempCariArticle

                        SELECT CAT.id CatalogId,CAT.title,CAT.author,CAT.publisher,CAT.PublishLocation,CAT.PublishYear,CAT.Subject,CAT.Languages,CAT.CoverURL ,CAT.Worksheet_id,

                                       (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,

                                        (SELECT ISSERIAL FROM worksheets WHERE id=CAT.Worksheet_id) ISSERIAL,

                                        (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 = fAuthor) AND

                                 IF(fPublisher='',1=1,CAT.Publisher = fPublisher) AND

                                 IF(fPublishLoc='',1=1,CAT.PublishLocation = fPublishLoc) AND

                                 IF(fPublishYear='',1=1,CAT.PublishYear = fPublishYear) AND

                                 IF(fSubject='',1=1,CAT.SUBJECT = fSubject) AND

                                 IF(fBahasa='',1=1,CAT.Languages LIKE fBahasa) 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$$

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 `fBahasa` TEXT, IN `isLKD` TEXT)  BEGIN

                    DROP TABLE IF EXISTS tempCariOpac;

                    CREATE  TEMPORARY TABLE tempCariOpac

                    (

                    CatalogId            INT(11),

                    title       TEXT,

                    author    TEXT,

                    publisher   TEXT,

                    PublishLocation  TEXT,

                    PublishYear TEXT,

                    Subject TEXT,

                    bahasa TEXT,

                    CoverURL TEXT,

                    worksheet_id INT,

                    worksheet TEXT,

                    ISSERIAL 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.Languages,CAT.CoverURL ,CAT.Worksheet_id,

                                   (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,

                                    (SELECT ISSERIAL FROM worksheets WHERE id=CAT.Worksheet_id) ISSERIAL,

                                    (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 = fAuthor) AND

                             IF(fPublisher='',1=1,CAT.Publisher = fPublisher) AND

                             IF(fPublishLoc='',1=1,CAT.PublishLocation = fPublishLoc) AND

                             IF(fPublishYear='',1=1,CAT.PublishYear = fPublishYear) AND

                             IF(fSubject='',1=1,CAT.SUBJECT = fSubject) AND

                             IF(fBahasa='',1=1,CAT.Languages LIKE fBahasa) 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.Languages,CAT.CoverURL ,CAT.Worksheet_id,

                                   (SELECT NAME FROM worksheets WHERE id=CAT.Worksheet_id) worksheet,

                                    (SELECT ISSERIAL FROM worksheets WHERE id=CAT.Worksheet_id) ISSERIAL,

                                    (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 = fAuthor) AND

                             IF(fPublisher='',1=1,CAT.Publisher = fPublisher) AND

                             IF(fPublishLoc='',1=1,CAT.PublishLocation = fPublishLoc) AND

                             IF(fPublishYear='',1=1,CAT.PublishYear = fPublishYear) AND

                             IF(fSubject='',1=1,CAT.SUBJECT = fSubject) AND

                             IF(fBahasa='',1=1,CAT.Languages LIKE fBahasa) 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$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `marcCatalogOpac` (IN `catID` INT)  BEGIN
select * from catalog_ruas where catalogId = catID order by Tag asc;
      
         
END$$

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$$

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, IN `fBahasa` TEXT)  BEGIN

                    SELECT CatalogId,title kalimat2,author,publisher,PublishLocation,PublishYear,Subject,bahasa,CoverURL,

                                   worksheet_id,worksheet,

                                    JML_BUKU,

                                    ALL_BUKU,

                                    KONTEN_DIGITAL

                          FROM tempCariOpac

                          

                          WHERE 

                                IF(fAuthor='',1=1,author = fAuthor) AND

                          IF(fPublisher='',1=1,publisher = fPublisher) AND

                          IF(fPublishLoc='',1=1,PublishLocation = fPublishLoc) AND

                          IF(fPublishYear='',1=1,PublishYear = fPublishYear) AND

                          IF(fBahasa='',1=1,bahasa LIKE fBahasa) AND

                          IF(fSubject='',1=1,Subject = fSubject) 

                          

                          

                          LIMIT limit1,limit2;    

                    END$$

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, IN `fBahasa` TEXT)  BEGIN

                SELECT *

                      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(fBahasa='',1=1,bahasa LIKE fBahasa) AND

                       IF(fSubject='',1=1,Subject LIKE fSubject)

                      

                      

                      LIMIT limit1,limit2;    

                END$$

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$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `showKontenDigital` (IN `keyword` TEXT)  BEGIN
              
Select C.ID,C.Catalog_id,C.FileURL,C.FileFlash,C.IsPublish,	(
								SELECT  SUBSTRING(FileURL,(LENGTH(FileURL)-LOCATE('.',REVERSE(FileURL)))+2))  as FormatFile
                				 FROM catalogfiles C where IsPublish <> 0 and Catalog_id =keyword;   
          
END$$

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$$

CREATE DEFINER=`root`@`localhost` PROCEDURE `TO_MARC` (IN `CatID` INT)  BEGIN
select TO_MARC(CatID);
END$$

--
-- Fungsi
--
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$$

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$$

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$$

CREATE DEFINER=`root`@`localhost` FUNCTION `jaro_winkler_similarity` (`in1` TEXT, `in2` TEXT) RETURNS FLOAT BEGIN
declare finestra, curString, curSub, maxSub, trasposizioni, prefixlen, maxPrefix int;
declare char1, char2 char(1);
declare common1, common2, old1, old2 text;
declare trovato boolean;
declare returnValue, jaro float;
set maxPrefix=6; set common1="";
set common2="";
set finestra=(length(in1)+length(in2)-abs(length(in1)-length(in2))) DIV 4
+ ((length(in1)+length(in2)-abs(length(in1)-length(in2)))/2) mod 2;
set old1=in1;
set old2=in2;
set curString=1;
while curString<=length(in1) and (curString<=(length(in2)+finestra)) do
set curSub=curstring-finestra;
if (curSub)<1 then
set curSub=1;
end if;
set maxSub=curstring+finestra;
if (maxSub)>length(in2) then
set maxSub=length(in2);
end if;
set trovato = false;
while curSub<=maxSub and trovato=false do
if substr(in1,curString,1)=substr(in2,curSub,1) then
set common1 = concat(common1,substr(in1,curString,1));
set in2 = concat(substr(in2,1,curSub-1),concat("0",substr(in2,curSub+1,length(in2)-curSub+1)));
set trovato=true;
end if;
set curSub=curSub+1;
end while;
set curString=curString+1;
end while;
set in2=old2;
set curString=1;
while curString<=length(in2) and (curString<=(length(in1)+finestra)) do
set curSub=curstring-finestra;
if (curSub)<1 then
set curSub=1;
end if;
set maxSub=curstring+finestra;
if (maxSub)>length(in1) then
set maxSub=length(in1);
end if;
set trovato = false;
while curSub<=maxSub and trovato=false do
if substr(in2,curString,1)=substr(in1,curSub,1) then
set common2 = concat(common2,substr(in2,curString,1));
set in1 = concat(substr(in1,1,curSub-1),concat("0",substr(in1,curSub+1,length(in1)-curSub+1)));
set trovato=true;
end if;
set curSub=curSub+1;
end while;
set curString=curString+1;
end while;
set in1=old1;
if length(common1)<>length(common2)
then set jaro=0;
elseif length(common1)=0 or length(common2)=0
then set jaro=0;
else
set trasposizioni=0;
set curString=1;
while curString<=length(common1) do
if(substr(common1,curString,1)<>substr(common2,curString,1)) then
set trasposizioni=trasposizioni+1;
end if;
set curString=curString+1;
end while;
set jaro=
(
length(common1)/length(in1)+
length(common2)/length(in2)+
(length(common1)-trasposizioni/2)/length(common1)
)/3;
end if; set prefixlen=0;
while (substring(in1,prefixlen+1,1)=substring(in2,prefixlen+1,1)) and (prefixlen<6) do
set prefixlen= prefixlen+1;
end while;
return jaro+(prefixlen*0.1*(1-jaro));
END$$

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$$

CREATE DEFINER=`root`@`localhost` FUNCTION `levenshtein` (`s1` TEXT, `s2` TEXT) RETURNS INT(11) BEGIN 
    DECLARE s1_len, s2_len, i, j, c, c_temp, cost INT; 
    DECLARE s1_char CHAR; 
    DECLARE cv0, cv1 text; 
    SET s1_len = CHAR_LENGTH(s1), s2_len = CHAR_LENGTH(s2), cv1 = 0x00, j = 1, i = 1, c = 0; 
    IF s1 = s2 THEN 
      RETURN 0; 
    ELSEIF s1_len = 0 THEN 
      RETURN s2_len; 
    ELSEIF s2_len = 0 THEN 
      RETURN s1_len; 
    ELSE 
      WHILE j <= s2_len DO 
        SET cv1 = CONCAT(cv1, UNHEX(HEX(j))), j = j + 1; 
      END WHILE; 
      WHILE i <= s1_len DO 
        SET s1_char = SUBSTRING(s1, i, 1), c = i, cv0 = UNHEX(HEX(i)), j = 1; 
        WHILE j <= s2_len DO 
          SET c = c + 1; 
          IF s1_char = SUBSTRING(s2, j, 1) THEN  
            SET cost = 0; ELSE SET cost = 1; 
          END IF; 
          SET c_temp = CONV(HEX(SUBSTRING(cv1, j, 1)), 16, 10) + cost; 
          IF c > c_temp THEN SET c = c_temp; END IF; 
            SET c_temp = CONV(HEX(SUBSTRING(cv1, j+1, 1)), 16, 10) + 1; 
            IF c > c_temp THEN  
              SET c = c_temp;  
            END IF; 
            SET cv0 = CONCAT(cv0, UNHEX(HEX(c))), j = j + 1; 
        END WHILE; 
        SET cv1 = cv0, i = i + 1; 
      END WHILE; 
    END IF; 
    RETURN c; 
  END$$

CREATE DEFINER=`root`@`localhost` FUNCTION `levenshtein_ratio` (`s1` TEXT, `s2` TEXT) RETURNS INT(11) BEGIN 
    DECLARE s1_len, s2_len, max_len INT; 
    SET s1_len = LENGTH(s1), s2_len = LENGTH(s2); 
    IF s1_len > s2_len THEN  
      SET max_len = s1_len;  
    ELSE  
      SET max_len = s2_len;  
    END IF; 
    RETURN ROUND((1 - LEVENSHTEIN(s1, s2) / max_len) * 100); 
  END$$

CREATE DEFINER=`root`@`localhost` FUNCTION `regexp_replace` (`pattern` VARCHAR(1000), `replacement` VARCHAR(1000), `original` VARCHAR(1000)) RETURNS VARCHAR(1000) CHARSET latin1 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$$

CREATE DEFINER=`root`@`localhost` FUNCTION `regex_replace_master` (`pattern` VARCHAR(1000), `replacement` VARCHAR(1000), `original` VARCHAR(1000)) RETURNS VARCHAR(1000) CHARSET latin1 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 SUBSTRING(temp,1,1);
END$$

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, '')$$

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$$

CREATE DEFINER=`root`@`localhost` FUNCTION `TO_MARC` (`CATID` INT) RETURNS TEXT CHARSET latin1 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$$

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$$

DELIMITER ;

-- --------------------------------------------------------

--
-- Struktur dari tabel `agama`
--

CREATE TABLE `agama` (
  `ID` int(11) NOT NULL,
  `Name` varchar(100) 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,
  `KIILastUploadDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data untuk tabel `agama`
--

INSERT INTO `agama` (`ID`, `Name`, `CreateBy`, `CreateDate`, `CreateTerminal`, `UpdateBy`, `UpdateDate`, `UpdateTerminal`, `KIILastUploadDate`) VALUES
(1, 'Islam', NULL, '2015-10-27 00:48:45', NULL, NULL, NULL, NULL, '2015-10-27 00:48:51'),
(2, 'Kristen', NULL, '2015-10-27 00:48:45', NULL, NULL, NULL, NULL, '2015-10-27 00:48:51'),
(3, 'Hindu', NULL, '2015-10-27 00:48:45', NULL, NULL, NULL, NULL, '2015-10-27 00:48:51'),
(4, 'Budha', NULL, '2015-10-27 00:48:45', NULL, NULL, NULL, NULL, '2015-10-27 00:48:51'),
(5, 'Katolik', NULL, '2015-10-27 00:48:45', NULL, NULL, NULL, NULL, '2015-10-27 00:48:51'),
(6, '0', 33, '2024-07-30 10:35:19', '::1', 33, '2024-07-30 10:35:19', '::1', NULL);

-- --------------------------------------------------------

--
-- Struktur dari tabel `applications`
--

CREATE TABLE `applications` (
  `ID` int(11) NOT NULL,
  `Code` varchar(100) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `URL` varchar(255) DEFAULT NULL,
  `WhenDownMessageError` varchar(255) DEFAULT NULL,
  `IsPublish` bit(1) DEFAULT b'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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data untuk tabel `applications`
--

INSERT INTO `applications` (`ID`, `Code`, `Name`, `URL`, `WhenDownMessageError`, `IsPublish`, `CreateBy`, `CreateDate`, `CreateTerminal`, `UpdateBy`, `UpdateDate`, `UpdateTerminal`) VALUES
(1, 'INLIS', 'Integrated Library System', 'http://inlis.pnri.go.id', 'INLIS is down..', b'1', NULL, '2012-09-12 13:53:45', 'DeniPC', NULL, '2012-09-12 13:53:50', 'DeniPC'),
(2, 'KEANGGOTAAN', 'Keanggotaan Online', 'http://keanggotaan.pnri.go.id', 'Keanggotaan Online is down..', b'1', NULL, '2012-09-12 13:53:45', 'DeniPC', NULL, '2012-09-12 13:53:51', 'DeniPC');

-- --------------------------------------------------------

--
-- Struktur dari tabel `app_installed`
--

CREATE TABLE `app_installed` (
  `ID` int(11) NOT NULL,
  `ActivationCode` varchar(255) NOT NULL,
  `PerpustakaanName` text DEFAULT NULL,
  `CreateDate` datetime NOT NULL,
  `CreateTerminal` varchar(100) NOT NULL,
  `Type` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Struktur dari tabel `auth_assignment`
--

CREATE TABLE `auth_assignment` (
  `item_name` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `user_id` varchar(64) COLLATE utf8_unicode_ci 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,
  `created_at` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,
  `updated_at` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data untuk tabel `auth_assignment`
--

INSERT INTO `auth_assignment` (`item_name`, `user_id`, `CreateBy`, `CreateDate`, `CreateTerminal`, `UpdateBy`, `UpdateDate`, `UpdateTerminal`, `created_at`, `updated_at`) VALUES
('superadmin', '33', NULL, NULL, NULL, NULL, NULL, NULL, '1464070771', NULL),
('superadmin', '46', NULL, NULL, NULL, NULL, NULL, NULL, '1463680196', NULL);

-- --------------------------------------------------------

--
-- Struktur dari tabel `auth_data`
--

CREATE TABLE `auth_data` (
  `ID` int(11) NOT NULL,
  `Auth_Header_ID` int(11) NOT NULL,
  `Tag` varchar(3) NOT NULL,
  `Indicator1` char(1) DEFAULT NULL,
  `Indicator2` char(1) DEFAULT NULL,
  `Value` varchar(700) DEFAULT NULL,
  `DataItem` varchar(700) 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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Struktur dari tabel `auth_header`
--

CREATE TABLE `auth_header` (
  `ID` int(11) NOT NULL,
  `Worksheet_id` int(11) NOT NULL,
  `Auth_ID` varchar(20) NOT NULL,
  `MARC_LOC` text DEFAULT NULL,
  `ISTILAH_DIGUNAKAN` text DEFAULT NULL,
  `ISTILAH_TDK_DIGUNAKAN` text DEFAULT NULL,
  `ISTILAH_TERKAIT` text DEFAULT NULL,
  `TANGGALPEMBAHASAN` varchar(45) DEFAULT NULL,
  `QUARANTINEDBY` int(11) DEFAULT NULL,
  `QUARANTINEDDATE` datetime DEFAULT NULL,
  `QUARANTINEDTERMINAL` varchar(100) 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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Struktur dari tabel `auth_item`
--

CREATE TABLE `auth_item` (
  `name` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
  `type` int(11) NOT NULL,
  `description` text COLLATE utf8_unicode_ci DEFAULT NULL,
  `rule_name` varchar(64) COLLATE utf8_unicode_ci DEFAULT NULL,
  `data` text COLLATE utf8_unicode_ci DEFAULT 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,
  `created_at` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL,
  `updated_at` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data untuk tabel `auth_item`
--

INSERT INTO `auth_item` (`name`, `type`, `description`, `rule_name`, `data`, `CreateBy`, `CreateDate`, `CreateTerminal`, `UpdateBy`, `UpdateDate`, `UpdateTerminal`, `created_at`, `updated_at`) VALUES
('/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729724', '1463729724'),
('/admin/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/admin/assignment/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240458', '1451240458'),
('/admin/assignment/assign', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240458', '1451240458'),
('/admin/assignment/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240458', '1451240458'),
('/admin/assignment/revoke', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/admin/assignment/search', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240458', '1451240458'),
('/admin/assignment/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240458', '1451240458'),
('/admin/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240458', '1451240458'),
('/admin/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240458', '1451240458'),
('/admin/menu/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/menu/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240458', '1451240458'),
('/admin/menu/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/menu/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240458', '1451240458'),
('/admin/menu/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240458', '1451240458'),
('/admin/menu/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240458', '1451240458'),
('/admin/permission/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/permission/assign', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/permission/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/permission/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/permission/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/permission/remove', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/admin/permission/search', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/permission/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/permission/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/role/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/role/assign', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/role/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/role/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/role/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/role/remove', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/admin/role/search', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/role/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/role/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/route/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/route/assign', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/route/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/route/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/route/refresh', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/admin/route/remove', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/admin/route/search', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/rule/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/admin/rule/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/admin/rule/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/admin/rule/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240459', '1451240459'),
('/admin/rule/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/admin/rule/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/admin/user/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/admin/user/activate', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/admin/user/change-password', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/admin/user/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/admin/user/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/admin/user/login', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/admin/user/logout', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/admin/user/request-password-reset', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/admin/user/reset-password', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/admin/user/signup', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/admin/user/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/akuisisi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/akuisisi/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/kardeks-terbitan-berkala/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/kardeks-terbitan-berkala/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi-import/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/akuisisi/koleksi-import/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/akuisisi/koleksi-import/proses', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/akuisisi/koleksi-jilid/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/akuisisi/koleksi-jilid/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi-jilid/delete-serial-collection', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi-jilid/fill-serial-collection', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi-jilid/flash-message', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi-jilid/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi-jilid/remove-jilid', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi-jilid/remove-jilid-all', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi-jilid/save', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi-jilid/save-nopanggil', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi-jilid/show-serial-collection', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi-jilid/show-serial-collection-view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi-jilid/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/akuisisi/koleksi-jilid/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi-karantina/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/akuisisi/koleksi-karantina/flash-message', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/akuisisi/koleksi-karantina/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/akuisisi/koleksi-karantina/restore', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/akuisisi/koleksi-karantina/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/akuisisi/koleksi-usulan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/akuisisi/koleksi-usulan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/akuisisi/koleksi-usulan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/akuisisi/koleksi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi/bibliografis-input', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/bind-no-induk', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi/bind-partners', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi/cetak-label-proses', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/akuisisi/koleksi/checkbox-process', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/create-taglist', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi/entry-advance', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi/entry-bib-by-worksheet', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/entry-simple', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/flash-message', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/akuisisi/koleksi/get-datetime-now-str', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/get-dropdown', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/get-dropdown-labelmodel', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/akuisisi/koleksi/get-dropdown-ruang', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/akuisisi/koleksi/get-message-checkbox-process', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/get-ruang', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/akuisisi/koleksi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/karantina', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463717425', '1463717425'),
('/akuisisi/koleksi/karantina-proses', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/akuisisi/koleksi/keranjang', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463717875', '1463717875'),
('/akuisisi/koleksi/keranjang-reset', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/akuisisi/koleksi/restore', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729696', '1463729696'),
('/akuisisi/koleksi/save', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/save-catalog-ruas', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/save-catalog-sub-ruas', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/save-entry-mode', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi/save-partners', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi/set-ruas', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240461', '1451240461'),
('/akuisisi/koleksi/test-bibid', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/test-controlnumber', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/validate-simple-bibliografis', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240460', '1451240460'),
('/akuisisi/koleksi/viewkarantina', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/akuisisi/pengiriman-koleksi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/akuisisi/pengiriman-koleksi/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/akuisisi/pengiriman-koleksi/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/akuisisi/pengiriman-koleksi/delete-pengiriman', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/akuisisi/pengiriman-koleksi/hapus-item', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/akuisisi/pengiriman-koleksi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/akuisisi/pengiriman-koleksi/pengiriman-koleksi-cetak', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/akuisisi/pengiriman-koleksi/print-pengiriman-koleksi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/akuisisi/pengiriman-koleksi/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/akuisisi/pengiriman-koleksi/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/akuisisi/pengiriman-koleksi/view-koleksi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/bacaditempat/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/bacaditempat/koleksi-dibaca/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/bacaditempat/koleksi-dibaca/anggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/bacaditempat/koleksi-dibaca/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('/bacaditempat/koleksi-dibaca/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('/bacaditempat/koleksi-dibaca/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('/bacaditempat/koleksi-dibaca/nonanggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/bacaditempat/koleksi-dibaca/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('/bacaditempat/koleksi-dibaca/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('/bacaditempat/pengembalian-koleksi-baca-ditempat/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/bacaditempat/pengembalian-koleksi-baca-ditempat/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/bacaditempat/pengembalian-koleksi-baca-ditempat/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/bacaditempat/pengembalian-koleksi-baca-ditempat/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/bacaditempat/pengembalian-koleksi-baca-ditempat/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/bacaditempat/pengembalian-koleksi-baca-ditempat/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/backuprestore/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/backuprestore/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/backuprestore/default/clean', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/backuprestore/default/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/backuprestore/default/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/backuprestore/default/download', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/backuprestore/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/backuprestore/default/restore', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/backuprestore/default/syncdown', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/backuprestore/default/upload', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/datecontrol/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/datecontrol/parse/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/datecontrol/parse/convert', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/debug/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/debug/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/debug/default/db-explain', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/debug/default/download-mail', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/debug/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/debug/default/toolbar', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/debug/default/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/deposit/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/deposit/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/deposit/terima-kasih', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/deposit/transaction', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/deposit/transaction/list-deposit', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/gii/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729724', '1463729724'),
('/gii/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729724', '1463729724'),
('/gii/default/action', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729724', '1463729724'),
('/gii/default/diff', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729724', '1463729724'),
('/gii/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/gii/default/preview', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729724', '1463729724'),
('/gii/default/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729724', '1463729724'),
('/gridview/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/gridview/export/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/gridview/export/download', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/laporan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/laporan/anggota/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/anggota/bebas-pustaka', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/laporan/anggota/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/laporan/anggota/kinerja-user', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/laporan/anggota/load-filter-kriteria', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/laporan/anggota/load-selecter-bebas-pustaka', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729718', '1463729718'),
('/laporan/anggota/load-selecter-kriteria', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729718', '1463729718'),
('/laporan/anggota/load-selecter-perpanjangan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729718', '1463729718'),
('/laporan/anggota/load-selecter-sumbangan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729718', '1463729718'),
('/laporan/anggota/perpanjangan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/laporan/anggota/perpendaftaran', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/laporan/anggota/raport-siswa', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/laporan/anggota/render-kinerja-user-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729718', '1463729718'),
('/laporan/anggota/render-kinerja-user-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/anggota/render-pdf-angg-sumbangan-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729718', '1463729718'),
('/laporan/anggota/render-pdf-bebas-pustaka', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/anggota/render-pdf-bebas-pustaka-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729718', '1463729718'),
('/laporan/anggota/render-pdf-perpanjangan-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729718', '1463729718'),
('/laporan/anggota/render-pdf-perpanjangan-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729718', '1463729718'),
('/laporan/anggota/render-pdf-perpendaftaran-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729718', '1463729718'),
('/laporan/anggota/render-pdf-sumbangan-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729718', '1463729718'),
('/laporan/anggota/render-perpendaftaran-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729718', '1463729718'),
('/laporan/anggota/show-pdf', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729718', '1463729718'),
('/laporan/anggota/sumbangan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/laporan/artikel/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/laporan/artikel/artikel-logdownload', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/laporan/artikel/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/laporan/baca-ditempat/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/baca-ditempat/anggota-sering-baca-ditempat', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1471923904', '1471923904'),
('/laporan/baca-ditempat/berdasarkan-koleksi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/baca-ditempat/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/baca-ditempat/koleksi-sering-baca-ditempat', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/baca-ditempat/load-filter-kriteria', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/baca-ditempat/load-selecter-berdasarkan-koleksi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/baca-ditempat/non-anggota-sering-baca-ditempat', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1472441301', '1472441301'),
('/laporan/baca-ditempat/render-berdasarkan-koleksi-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/baca-ditempat/render-berdasarkan-koleksi-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/baca-ditempat/sering-baca-ditempat-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/baca-ditempat/sering-baca-ditempat-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/baca-ditempat/show-pdf', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/buku-tamu/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/buku-tamu/anggota-sering-berkunjung', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1472616634', '1472616634'),
('/laporan/buku-tamu/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/buku-tamu/kunjungan-khusus-anggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/buku-tamu/kunjungan-periodik', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/buku-tamu/load-filter-kriteria', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/buku-tamu/load-filter-kriteria-anggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/buku-tamu/load-selecter-kriteria-anggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/buku-tamu/load-selecter-kriteria-lokasi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/buku-tamu/render-khusus-anggota-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/buku-tamu/render-khusus-anggota-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/buku-tamu/render-kunjungan-periodik-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/buku-tamu/render-kunjungan-periodik-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/buku-tamu/show-pdf', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729719', '1463729719'),
('/laporan/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/deposit/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/deposit/aset', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/deposit/cardex', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/deposit/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/deposit/jenis-koleksi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/deposit/penerbit', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/deposit/penerbit-wilayah', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/deposit/per-group', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/deposit/serial', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/deposit/terima-kasih', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/deposit/wajib-serah', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/deposit/wajib-serah-detail', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/katalog/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240487', '1451240487'),
('/laporan/katalog/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/katalog/katalog-perkriteria', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/katalog/kinerja-user', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/katalog/load-filter-kriteria', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/katalog/load-selecter-kinerja-user', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/katalog/load-selecter-kriteria', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/katalog/mpdf-demo1', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/laporan/katalog/render-kinerja-user-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/katalog/render-pdf-katalog-perkriteria-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/katalog/render-pdf-katalog-perkriteria-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/katalog/show-pdf', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/koleksi/accession-list', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/buku-induk', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/kinerja-user', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/koleksi/load-filter-kriteria', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/load-selecter-kriteria', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/load-selecter-kriteria-usulan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/periodik', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/render-pdf', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/render-pdf-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/render-pdf-data-accession-list', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/render-pdf-data-buku-induk', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/render-pdf-data-kinerja-user', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/koleksi/render-pdf-data-usulan-koleksi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/render-pdf-frekuensi-kinerja-user', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/koleksi/render-pdf-frekuensi-usulan-koleksi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/render-pdf-ucapan-terimakasih', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/show-pdf', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/ucapan-terimakasih', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/koleksi/usulan-koleksi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729720', '1463729720'),
('/laporan/loker/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/loker/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/loker/laporan-periodik', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/loker/laporan-sangsi-pelanggaran-loker', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/loker/load-filter-kriteria', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/loker/load-selecter-loker', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/loker/load-selecter-sangsi-pelanggaran-loker', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/loker/render-laporan-periodik-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/loker/render-laporan-periodik-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/loker/render-laporan-sangsi-pelanggaran-loker-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/loker/render-laporan-sangsi-pelanggaran-loker-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/loker/show-pdf', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/opac/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/opac/export', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/opac/export-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/opac/export-pdf', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/opac/export-pdf-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/opac/export-word', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/opac/export-word-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/opac/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/opac/laporan-periodik', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/opac/load-filter-kriteria', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/opac/load-selecter-laporan-periodik', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/opac/opac-logdownload', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1527623081', '1527623081'),
('/laporan/opac/render-laporan-periodik-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/opac/render-laporan-periodik-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/opac/show-pdf', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729721', '1463729721'),
('/laporan/sirkulasi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/laporan/sirkulasi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/kinerja-user-peminjaman', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/kinerja-user-pengembalian', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/koleksi-sering-dipinjam', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/laporan-anggota-sering-meminjam', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/laporan-peminjaman', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/load-filter-kriteria', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/load-filter-kriteria-dipinjam', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/load-selecter-anggota-sering-meminjam', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/load-selecter-kriteria-anggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/load-selecter-laporan-dipinjam', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/load-selecter-laporan-peminjaman', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/load-selecter-peminjaman-kriteria', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/load-selecter-perpanjangan-peminjaman', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/load-selecter-sangsi-pelanggaran-peminjaman', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/pengembalian-terlambat', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/perpanjangan-peminjaman', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/render-anggota-sering-meminjam-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/render-anggota-sering-meminjam-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/laporan/sirkulasi/render-kinerja-user-peminjaman-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/laporan/sirkulasi/render-kinerja-user-pengembalian-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/laporan/sirkulasi/render-koleksi-sering-dipinjam-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/render-koleksi-sering-dipinjam-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/laporan/sirkulasi/render-laporan-peminjaman-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/render-laporan-peminjaman-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/render-pengembalian-terlambat-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/render-pengembalian-terlambat-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/laporan/sirkulasi/render-perpanjangan-peminjaman-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/render-perpanjangan-peminjaman-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/laporan/sirkulasi/render-sangsi-pelanggaran-peminjaman-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/sangsi-pelanggaran-peminjaman', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sirkulasi/show-pdf', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729722', '1463729722'),
('/laporan/sms/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/laporan/sms/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/laporan/sms/laporan-periodik', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/laporan/sms/load-filter-kriteria', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/laporan/sms/load-selecter-laporan-periodik', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/laporan/sms/render-laporan-periodik-data', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/laporan/sms/render-laporan-periodik-frekuensi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/laporan/sms/show-pdf', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/laporan/sms/sms-terkirim', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729723', '1463729723'),
('/lkd/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/lkd/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/lkd/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/lkd/history/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/lkd/history/browse/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/lkd/history/browse/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/lkd/history/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/lkd/history/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/lkd/history/pencarian-lanjut/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/lkd/history/pencarian-lanjut/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/lkd/history/pencarian-sederhana/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/lkd/history/pencarian-sederhana/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/loker/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/loker/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/locker/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/locker/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/locker/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/locker/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/locker/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/locker/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/master-uang-jaminan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/master-uang-jaminan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/master-uang-jaminan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/master-uang-jaminan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/master-uang-jaminan/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/master-uang-jaminan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/masterpelanggaran/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/masterpelanggaran/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/masterpelanggaran/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/masterpelanggaran/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/masterpelanggaran/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/masterpelanggaran/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/settings/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/loker/settings/createlocker', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/loker/settings/deletelocker', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/loker/settings/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/loker/settings/locker', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/loker/settings/uang-jaminan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/loker/settings/updatelocker', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/loker/settings/viewlocker', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/loker/transaksi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/loker/transaksi/ceknomorpengembalian', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/loker/transaksi/cekpelanggaran', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/loker/transaksi/cetak', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/loker/transaksi/cetak-bukti-pelanggaran', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/loker/transaksi/cetak-pelanggaran', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/loker/transaksi/check-barcode-loker', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/loker/transaksi/checkmembership', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/loker/transaksi/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/loker/transaksi/daftar-peminjaman', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463718441', '1463718441'),
('/loker/transaksi/daftar-pengembalian', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463718441', '1463718441'),
('/loker/transaksi/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/loker/transaksi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/loker/transaksi/locker-outoforder-by-id', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/loker/transaksi/locker-ready-by-id', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466');
INSERT INTO `auth_item` (`name`, `type`, `description`, `rule_name`, `data`, `CreateBy`, `CreateDate`, `CreateTerminal`, `UpdateBy`, `UpdateDate`, `UpdateTerminal`, `created_at`, `updated_at`) VALUES
('/loker/transaksi/locker-used-by-id', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/loker/transaksi/peminjaman', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/loker/transaksi/pengembalian', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/loker/transaksi/pinjamanbynomember', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/loker/transaksi/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/loker/transaksi/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/loker/transaksi/viewpeminjaman', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240466', '1451240466'),
('/member/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/member/daftar-pengunjung/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/member/daftar-pengunjung/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/member/daftar-pengunjung/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/member/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/member/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/member/member/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/member/member/bind-penduduk', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/member/member/checkbox-process', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/member/member/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/member/member/crop', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/member/member/crop-profile-image', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/member/member/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/member/member/detail-histori', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/member/detail-kependudukan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/member/member/get-biaya-pendaftaran', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/member/member/hapus-foto', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/member/import-anggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/member/member/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/member/member/jurusan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/member/member/kabupaten-list', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/member/member/kartu-anggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/member/member/keranjang-anggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/member/member/masa-berlaku', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/member/prodi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/member/member/progress', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/member/member/province-list', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/member/member/reset-password', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/member/member/save-foto', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/member/member/testing', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/member/member/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/member/member/upload-foto-anggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/member/member/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/member/pdf/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/member/pdf/cetak-bebas-pustaka', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/pdf/kartu-anggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240465', '1451240465'),
('/member/pdf/kartu-anggota-all', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/pdf/kartu-anggota-satuan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/pdf/render-kartu-anggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/pdf/render-kartu-anggota-a4', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/perpanjang/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/perpanjang/check-membership', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/perpanjang/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/perpanjang/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/perpanjang/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/perpanjang/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/perpanjang/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/sumbangan-koleksi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/member/sumbangan-koleksi/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/member/sumbangan-koleksi/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/member/sumbangan-koleksi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/member/sumbangan-koleksi/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/member/sumbangan-koleksi/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/member/sumbangan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/member/sumbangan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/sumbangan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/sumbangan/hapus-item', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/member/sumbangan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/sumbangan/pilih-judul', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/sumbangan/pilih-judul-proses', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/member/sumbangan/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/member/sumbangan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729700', '1463729700'),
('/mimin/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/mimin/role/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/mimin/role/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729694', '1463729694'),
('/mimin/role/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729694', '1463729694'),
('/mimin/role/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729694', '1463729694'),
('/mimin/role/permission', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/mimin/role/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729694', '1463729694'),
('/mimin/role/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729694', '1463729694'),
('/mimin/route/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/mimin/route/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/mimin/route/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/mimin/route/generate', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/mimin/route/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/mimin/route/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/mimin/route/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/mimin/user/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/mimin/user/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/mimin/user/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/mimin/user/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/mimin/user/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/mimin/user/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729695', '1463729695'),
('/opac/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729126', '1463729126'),
('/opac/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729125', '1463729125'),
('/opac/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463726568', '1463726568'),
('/opac/history/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463726670', '1463726670'),
('/opac/history/browse/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463726669', '1463726669'),
('/opac/history/browse/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463726669', '1463726669'),
('/opac/history/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463726669', '1463726669'),
('/opac/history/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463726669', '1463726669'),
('/opac/history/pencarian-lanjut/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463726670', '1463726670'),
('/opac/history/pencarian-lanjut/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463726670', '1463726670'),
('/opac/history/pencarian-sederhana/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463726656', '1463726656'),
('/opac/history/pencarian-sederhana/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463726654', '1463726654'),
('/pengkatalogan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/pengkatalogan/artikel/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/artikel/bind-catalogs-article', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/artikel/bind-catalogs-digital-article', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/artikel/detail-histori-article', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/artikel/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/artikel/save-catalogs-article', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/artikel/upload-konten-digital-artikel', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog-cetak-kartu/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/pengkatalogan/katalog-cetak-kartu/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/pengkatalogan/katalog-cetak-kartu/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/pengkatalogan/katalog-cetak-kartu/proses', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/pengkatalogan/katalog-cetak-label/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/pengkatalogan/katalog-cetak-label/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/pengkatalogan/katalog-cetak-label/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/pengkatalogan/katalog-export-data-tag/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog-export-data-tag/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog-export-data-tag/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog-karantina/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/pengkatalogan/katalog-karantina/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/pengkatalogan/katalog-keranjang/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/pengkatalogan/katalog-keranjang/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/pengkatalogan/katalog-konten-digital/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/pengkatalogan/katalog-konten-digital/checkbox-process', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/pengkatalogan/katalog-konten-digital/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/pengkatalogan/katalog-konten-digital/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/pengkatalogan/katalog-konten-digital/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/pengkatalogan/katalog-salin/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/pengkatalogan/katalog-salin/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/pengkatalogan/katalog-salin/get-dropdown-salinkatalog', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/pengkatalogan/katalog-salin/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240464', '1451240464'),
('/pengkatalogan/katalog-salin/records', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/pengkatalogan/katalog-salin/save-records', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/pengkatalogan/katalog-salin/sru', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/pengkatalogan/katalog-salin/upload', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/pengkatalogan/katalog/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/add-tag', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/auto-suggest-call-number', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/pengkatalogan/katalog/bibliografis-input', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/pengkatalogan/katalog/bind-catalogs-collection', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/bind-no-induk', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/bind-partners', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/cetak-kartu-proses', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/pengkatalogan/katalog/checkbox-process', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/pengkatalogan/katalog/checkbox-process-konten-digital', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/convert-to-catalog-fields', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/create-model-bib-from-catalog', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/create-tag-simple', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/create-taglist-advance', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/create-taglist-clean', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/create-taglist-from-catalog', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/create-taglist-simple', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/create-taglist-to-biblio', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/create&for=cat&rda=0', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451242691', '1451242691'),
('/pengkatalogan/katalog/create&for=cat&rda=1', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463728190', '1463728190'),
('/pengkatalogan/katalog/create&for=coll&rda=0', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463716863', '1463716863'),
('/pengkatalogan/katalog/create&for=coll&rda=1', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463717082', '1463717082'),
('/pengkatalogan/katalog/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/delete-cover', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/pengkatalogan/katalog/delete-konten-digital', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/pengkatalogan/katalog/detail', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/detail-collection', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/pengkatalogan/katalog/detail-histori', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/pengkatalogan/katalog/download', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/pengkatalogan/katalog/entry-advance', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/entry-bib-by-worksheet', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/entry-simple', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/flash-message', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/pengkatalogan/katalog/get-datetime-now-str', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/pengkatalogan/katalog/get-dropdown', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/pengkatalogan/katalog/get-dropdown-konten-digital', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/get-dropdown-salinkatalog', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/get-message-checkbox-process', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/pengkatalogan/katalog/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/pengkatalogan/katalog/karantina', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/karantina-proses', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/pengkatalogan/katalog/keranjang', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/keranjang-reset', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/pilih-judul', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/pilih-judul-proses', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/reset-catalogs-collection', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/reset-konten-digital', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/pengkatalogan/katalog/restore', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/salin-katalog', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/salin-katalog-proses', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/pengkatalogan/katalog/salin-katalog-sru', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/salin-katalog-upload', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729699', '1463729699'),
('/pengkatalogan/katalog/save', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/save-catalog-ruas', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/pengkatalogan/katalog/save-catalog-sub-ruas', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/pengkatalogan/katalog/save-catalogs-collection', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/save-collection', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/save-entry-mode', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/save-partners', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/save-ruas', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/set-indicator1', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/set-indicator2', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/set-ruas', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/set-ruas-fixed', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/tajuk-ddc', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/pengkatalogan/katalog/tajuk-pengarang', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/pengkatalogan/katalog/tajuk-pengarang-dollar', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/pengkatalogan/katalog/tajuk-subyek', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/pengkatalogan/katalog/tajuk-subyek-dollar', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/test-bibid', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/test-controlnumber', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/upload-cover', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/pengkatalogan/katalog/upload-konten-digital', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729697', '1463729697'),
('/pengkatalogan/katalog/validate-required-simple-form', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/pengkatalogan/katalog/validate-simple-bibliografis', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240463', '1451240463'),
('/pengkatalogan/katalog/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240462', '1451240462'),
('/pengkatalogan/katalog/viewkarantina', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729698', '1463729698'),
('/setting/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/setting/akuisisi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240471', '1451240471'),
('/setting/akuisisi/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/kategori-koleksi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/kategori-koleksi/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/kategori-koleksi/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/kategori-koleksi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/kategori-koleksi/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/kategori-koleksi/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/lembar-kerja-akuisisi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/lembar-kerja-akuisisi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/lembar-kerja-akuisisi/is-akuisisi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/lokasi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/lokasi/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/lokasi/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/lokasi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/lokasi/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/lokasi/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/master-djkn/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/setting/akuisisi/master-djkn/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/setting/akuisisi/master-djkn/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/setting/akuisisi/master-djkn/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/setting/akuisisi/master-djkn/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/setting/akuisisi/master-djkn/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/setting/akuisisi/mata-uang/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/mata-uang/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/mata-uang/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/mata-uang/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240469', '1451240469'),
('/setting/akuisisi/mata-uang/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/mata-uang/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/media-koleksi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/media-koleksi/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/media-koleksi/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/media-koleksi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/media-koleksi/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/media-koleksi/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/nomor-induk/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/nomor-induk/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/rekanan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240471', '1451240471'),
('/setting/akuisisi/rekanan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/rekanan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240471', '1451240471'),
('/setting/akuisisi/rekanan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/rekanan/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/rekanan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240470', '1451240470'),
('/setting/akuisisi/sumber-koleksi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240471', '1451240471'),
('/setting/akuisisi/sumber-koleksi/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240471', '1451240471'),
('/setting/akuisisi/sumber-koleksi/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240471', '1451240471'),
('/setting/akuisisi/sumber-koleksi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240471', '1451240471'),
('/setting/akuisisi/sumber-koleksi/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240471', '1451240471'),
('/setting/akuisisi/sumber-koleksi/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240471', '1451240471'),
('/setting/audio/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240483', '1451240483'),
('/setting/audio/audio-bukutamu/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240483', '1451240483'),
('/setting/audio/audio-bukutamu/delete-audio', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240483', '1451240483'),
('/setting/audio/audio-bukutamu/file-setting', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240483', '1451240483'),
('/setting/audio/audio-bukutamu/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240483', '1451240483'),
('/setting/audio/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240483', '1451240483'),
('/setting/audio/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240483', '1451240483'),
('/setting/checkpoint/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/checkpoint/locations/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/checkpoint/locations/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/checkpoint/locations/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/checkpoint/locations/file-upload', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/checkpoint/locations/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/checkpoint/locations/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/checkpoint/locations/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/checkpoint/memberguesses/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/checkpoint/memberguesses/anggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463728968', '1463728968'),
('/setting/checkpoint/memberguesses/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/checkpoint/memberguesses/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/checkpoint/memberguesses/delete-group', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729712', '1463729712'),
('/setting/checkpoint/memberguesses/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/checkpoint/memberguesses/nonanggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463728968', '1463728968'),
('/setting/checkpoint/memberguesses/rombongan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463728968', '1463728968'),
('/setting/checkpoint/memberguesses/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/checkpoint/memberguesses/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/checkpoint/tujuan-kunjungan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1467182034', '1467182034'),
('/setting/checkpoint/tujuan-kunjungan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1467181905', '1467181905'),
('/setting/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/setting/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/setting/deposit/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1538027102', '1538027102'),
('/setting/deposit/deposit-bahan-pustaka/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1538027928', '1538027928'),
('/setting/deposit/deposit-group-ws/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1538027438', '1538027438'),
('/setting/deposit/deposit-kode-wilayah/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1538027762', '1538027762'),
('/setting/deposit/deposit-ws/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1538027596', '1538027596'),
('/setting/deposit/lembar-kerja-deposit/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1538027596', '1538027596'),
('/setting/digitalcollection/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729714', '1463729714'),
('/setting/digitalcollection/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729712', '1463729712'),
('/setting/digitalcollection/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729712', '1463729712'),
('/setting/digitalcollection/faced-setting/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729713', '1463729713'),
('/setting/digitalcollection/faced-setting/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729712', '1463729712'),
('/setting/digitalcollection/history-digital-collection/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729713', '1463729713'),
('/setting/digitalcollection/history-digital-collection/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729713', '1463729713'),
('/setting/digitalcollection/history-opac/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729713', '1463729713'),
('/setting/digitalcollection/history-opac/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729713', '1463729713'),
('/setting/digitalcollection/koleksi-sering-didownload/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1465400717', '1465400717'),
('/setting/digitalcollection/koleksi-sering-didownload/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1465400716', '1465400716'),
('/setting/digitalcollection/koleksi-sering-dipinjam/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729713', '1463729713'),
('/setting/digitalcollection/koleksi-sering-dipinjam/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729713', '1463729713'),
('/setting/digitalcollection/koleksi-terbaru/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729713', '1463729713'),
('/setting/digitalcollection/koleksi-terbaru/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729713', '1463729713'),
('/setting/digitalcollection/koleksi-unggulan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729714', '1463729714'),
('/setting/digitalcollection/koleksi-unggulan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729713', '1463729713'),
('/setting/digitalcollection/koleksi-unggulan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729714', '1463729714'),
('/setting/digitalcollection/koleksi-unggulan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729713', '1463729713'),
('/setting/digitalcollection/koleksi-unggulan/pilih-judul', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729714', '1463729714'),
('/setting/digitalcollection/koleksi-unggulan/tambah', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729714', '1463729714'),
('/setting/digitalcollection/koleksi-unggulan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729713', '1463729713'),
('/setting/digitalcollection/usulan-koleksi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729714', '1463729714'),
('/setting/digitalcollection/usulan-koleksi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729714', '1463729714'),
('/setting/katalog/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240474', '1451240474'),
('/setting/katalog/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240471', '1451240471'),
('/setting/katalog/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240471', '1451240471'),
('/setting/katalog/entri-form/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/setting/katalog/entri-form/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/setting/katalog/format-kartu/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240472', '1451240472'),
('/setting/katalog/format-kartu/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240471', '1451240471'),
('/setting/katalog/format-kartu/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240471', '1451240471'),
('/setting/katalog/format-kartu/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240471', '1451240471'),
('/setting/katalog/format-kartu/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240471', '1451240471'),
('/setting/katalog/format-kartu/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240471', '1451240471'),
('/setting/katalog/kata-sandang/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/katalog/kata-sandang/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/setting/katalog/kata-sandang/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/katalog/kata-sandang/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/setting/katalog/kata-sandang/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/setting/katalog/kata-sandang/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729704', '1463729704'),
('/setting/katalog/kelas-besar/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/katalog/kelas-besar/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/katalog/kelas-besar/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/katalog/kelas-besar/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/katalog/kelas-besar/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/katalog/kelas-besar/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/katalog/lembar-kerja/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240472', '1451240472'),
('/setting/katalog/lembar-kerja/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240472', '1451240472'),
('/setting/katalog/lembar-kerja/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240472', '1451240472'),
('/setting/katalog/lembar-kerja/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240472', '1451240472'),
('/setting/katalog/lembar-kerja/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240472', '1451240472'),
('/setting/katalog/lembar-kerja/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240472', '1451240472'),
('/setting/katalog/parameter-katalog-detail/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240472', '1451240472'),
('/setting/katalog/parameter-katalog-detail/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240472', '1451240472'),
('/setting/katalog/parameter-katalog-detail/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240472', '1451240472'),
('/setting/katalog/parameter-katalog/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240472', '1451240472'),
('/setting/katalog/parameter-katalog/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240472', '1451240472'),
('/setting/katalog/penyedia-katalog/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240473', '1451240473'),
('/setting/katalog/penyedia-katalog/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240473', '1451240473'),
('/setting/katalog/penyedia-katalog/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240473', '1451240473'),
('/setting/katalog/penyedia-katalog/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240472', '1451240472'),
('/setting/katalog/penyedia-katalog/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240473', '1451240473'),
('/setting/katalog/penyedia-katalog/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240473', '1451240473'),
('/setting/katalog/referensi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240473', '1451240473'),
('/setting/katalog/referensi/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240473', '1451240473'),
('/setting/katalog/referensi/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240473', '1451240473'),
('/setting/katalog/referensi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240473', '1451240473'),
('/setting/katalog/referensi/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240473', '1451240473'),
('/setting/katalog/referensi/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240473', '1451240473'),
('/setting/katalog/tag/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240474', '1451240474'),
('/setting/katalog/tag/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240473', '1451240473'),
('/setting/katalog/tag/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240474', '1451240474'),
('/setting/katalog/tag/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240473', '1451240473'),
('/setting/katalog/tag/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240474', '1451240474'),
('/setting/katalog/tag/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240473', '1451240473'),
('/setting/katalog/warna-ddc/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240474', '1451240474'),
('/setting/katalog/warna-ddc/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240474', '1451240474'),
('/setting/katalog/warna-ddc/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240474', '1451240474'),
('/setting/katalog/warna-ddc/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240474', '1451240474'),
('/setting/katalog/warna-ddc/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240474', '1451240474'),
('/setting/katalog/warna-ddc/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240474', '1451240474'),
('/setting/loker/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716'),
('/setting/loker/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729715', '1463729715'),
('/setting/loker/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729715', '1463729715'),
('/setting/loker/jaminan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729715', '1463729715'),
('/setting/loker/jaminan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729715', '1463729715'),
('/setting/loker/master-loker/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729715', '1463729715'),
('/setting/loker/master-loker/createlocker', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729715', '1463729715'),
('/setting/loker/master-loker/deletelocker', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729715', '1463729715'),
('/setting/loker/master-loker/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729715', '1463729715'),
('/setting/loker/master-loker/load-selecter-locations', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729715', '1463729715'),
('/setting/loker/master-loker/uang-jaminan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729715', '1463729715'),
('/setting/loker/master-loker/updatelocker', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729715', '1463729715'),
('/setting/loker/master-loker/viewlocker', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729715', '1463729715'),
('/setting/loker/master-uang-jaminan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716'),
('/setting/loker/master-uang-jaminan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729715', '1463729715'),
('/setting/loker/master-uang-jaminan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716'),
('/setting/loker/master-uang-jaminan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729715', '1463729715'),
('/setting/loker/master-uang-jaminan/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716'),
('/setting/loker/master-uang-jaminan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729715', '1463729715'),
('/setting/loker/masterpelanggaran/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716'),
('/setting/loker/masterpelanggaran/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716');
INSERT INTO `auth_item` (`name`, `type`, `description`, `rule_name`, `data`, `CreateBy`, `CreateDate`, `CreateTerminal`, `UpdateBy`, `UpdateDate`, `UpdateTerminal`, `created_at`, `updated_at`) VALUES
('/setting/loker/masterpelanggaran/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716'),
('/setting/loker/masterpelanggaran/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716'),
('/setting/loker/masterpelanggaran/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716'),
('/setting/loker/masterpelanggaran/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716'),
('/setting/member/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/member/agama/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240475', '1451240475'),
('/setting/member/agama/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240474', '1451240474'),
('/setting/member/agama/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240474', '1451240474'),
('/setting/member/agama/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240474', '1451240474'),
('/setting/member/agama/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240474', '1451240474'),
('/setting/member/agama/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240474', '1451240474'),
('/setting/member/biaya-pendaftaran/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240475', '1451240475'),
('/setting/member/biaya-pendaftaran/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240475', '1451240475'),
('/setting/member/biaya-pendaftaran/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240475', '1451240475'),
('/setting/member/biaya-pendaftaran/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240475', '1451240475'),
('/setting/member/biaya-pendaftaran/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240475', '1451240475'),
('/setting/member/biaya-pendaftaran/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240475', '1451240475'),
('/setting/member/biaya-perpanjangan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240475', '1451240475'),
('/setting/member/biaya-perpanjangan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240475', '1451240475'),
('/setting/member/biaya-perpanjangan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240475', '1451240475'),
('/setting/member/biaya-perpanjangan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240475', '1451240475'),
('/setting/member/biaya-perpanjangan/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240475', '1451240475'),
('/setting/member/biaya-perpanjangan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240475', '1451240475'),
('/setting/member/cetak-bebas-pustaka/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/member/cetak-bebas-pustaka/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/member/cetak-bebas-pustaka/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/member/cetak-bebas-pustaka/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/member/cetak-bebas-pustaka/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/member/cetak-bebas-pustaka/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/member/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240475', '1451240475'),
('/setting/member/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240475', '1451240475'),
('/setting/member/entri-anggota/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/member/entri-anggota/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/member/fakultas/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240476', '1451240476'),
('/setting/member/fakultas/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240476', '1451240476'),
('/setting/member/fakultas/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240476', '1451240476'),
('/setting/member/fakultas/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240476', '1451240476'),
('/setting/member/fakultas/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240476', '1451240476'),
('/setting/member/fakultas/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240476', '1451240476'),
('/setting/member/jenis-anggota/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240477', '1451240477'),
('/setting/member/jenis-anggota/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240476', '1451240476'),
('/setting/member/jenis-anggota/default-kategori', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240476', '1451240476'),
('/setting/member/jenis-anggota/default-lokasi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240476', '1451240476'),
('/setting/member/jenis-anggota/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240476', '1451240476'),
('/setting/member/jenis-anggota/detail-histori', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/member/jenis-anggota/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240476', '1451240476'),
('/setting/member/jenis-anggota/save-kategori', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240477', '1451240477'),
('/setting/member/jenis-anggota/save-lokasi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240477', '1451240477'),
('/setting/member/jenis-anggota/test', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/member/jenis-anggota/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240476', '1451240476'),
('/setting/member/jenis-anggota/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240476', '1451240476'),
('/setting/member/jenis-kelamin/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240477', '1451240477'),
('/setting/member/jenis-kelamin/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240477', '1451240477'),
('/setting/member/jenis-kelamin/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240477', '1451240477'),
('/setting/member/jenis-kelamin/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240477', '1451240477'),
('/setting/member/jenis-kelamin/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240477', '1451240477'),
('/setting/member/jenis-kelamin/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240477', '1451240477'),
('/setting/member/jurusan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240477', '1451240477'),
('/setting/member/jurusan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240477', '1451240477'),
('/setting/member/jurusan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240477', '1451240477'),
('/setting/member/jurusan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240477', '1451240477'),
('/setting/member/jurusan/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240477', '1451240477'),
('/setting/member/jurusan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240477', '1451240477'),
('/setting/member/kartu-anggota/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240478', '1451240478'),
('/setting/member/kartu-anggota/aktifkan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/member/kartu-anggota/ambil', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240478', '1451240478'),
('/setting/member/kartu-anggota/detail', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240478', '1451240478'),
('/setting/member/kartu-anggota/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240477', '1451240477'),
('/setting/member/kartu-anggota/upload', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240478', '1451240478'),
('/setting/member/kartu-anggota/upload-kartu-belakang', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240478', '1451240478'),
('/setting/member/kelas/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240479', '1451240479'),
('/setting/member/kelas/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240478', '1451240478'),
('/setting/member/kelas/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240478', '1451240478'),
('/setting/member/kelas/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240478', '1451240478'),
('/setting/member/kelas/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240478', '1451240478'),
('/setting/member/kelas/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240478', '1451240478'),
('/setting/member/kelompok-umur/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240479', '1451240479'),
('/setting/member/kelompok-umur/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240479', '1451240479'),
('/setting/member/kelompok-umur/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240479', '1451240479'),
('/setting/member/kelompok-umur/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240479', '1451240479'),
('/setting/member/kelompok-umur/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240479', '1451240479'),
('/setting/member/kelompok-umur/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240479', '1451240479'),
('/setting/member/kependudukan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729706', '1463729706'),
('/setting/member/kependudukan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729706', '1463729706'),
('/setting/member/kependudukan/custom', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729706', '1463729706'),
('/setting/member/kependudukan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729706', '1463729706'),
('/setting/member/kependudukan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729705', '1463729705'),
('/setting/member/kependudukan/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729706', '1463729706'),
('/setting/member/kependudukan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729706', '1463729706'),
('/setting/member/masa-berlaku-anggota/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/masa-berlaku-anggota/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240479', '1451240479'),
('/setting/member/masa-berlaku-anggota/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240479', '1451240479'),
('/setting/member/masa-berlaku-anggota/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240479', '1451240479'),
('/setting/member/masa-berlaku-anggota/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240479', '1451240479'),
('/setting/member/masa-berlaku-anggota/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240479', '1451240479'),
('/setting/member/master-jenis-identitas/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/master-jenis-identitas/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/master-jenis-identitas/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/master-jenis-identitas/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/master-jenis-identitas/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/master-jenis-identitas/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/master-pekerjaan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/master-pekerjaan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/master-pekerjaan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/master-pekerjaan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/master-pekerjaan/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/master-pekerjaan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/pendidikan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/pendidikan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/pendidikan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/pendidikan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/pendidikan/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/pendidikan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/perpanjangan-keanggotaan-mandiri/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('/setting/member/perpanjangan-keanggotaan-mandiri/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('/setting/member/program-studi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729706', '1463729706'),
('/setting/member/program-studi/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729706', '1463729706'),
('/setting/member/program-studi/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729706', '1463729706'),
('/setting/member/program-studi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729706', '1463729706'),
('/setting/member/program-studi/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729706', '1463729706'),
('/setting/member/program-studi/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729706', '1463729706'),
('/setting/member/redaksi-keanggotaan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/member/redaksi-keanggotaan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/member/redaksi-keanggotaan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/member/redaksi-keanggotaan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/member/redaksi-keanggotaan/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/member/redaksi-keanggotaan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240480', '1451240480'),
('/setting/opac/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240483', '1451240483'),
('/setting/opac/booking-setting/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729712', '1463729712'),
('/setting/opac/booking-setting/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729712', '1463729712'),
('/setting/opac/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/opac/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/opac/faced-setting/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729712', '1463729712'),
('/setting/opac/faced-setting/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729712', '1463729712'),
('/setting/opac/history-opac/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/opac/history-opac/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/opac/koleksi-sering-dipinjam/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240483', '1451240483'),
('/setting/opac/koleksi-sering-dipinjam/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/opac/koleksi-terbaru/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240483', '1451240483'),
('/setting/opac/koleksi-terbaru/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240483', '1451240483'),
('/setting/opac/koleksi-unggulan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240483', '1451240483'),
('/setting/opac/koleksi-unggulan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240483', '1451240483'),
('/setting/opac/koleksi-unggulan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240483', '1451240483'),
('/setting/opac/koleksi-unggulan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240483', '1451240483'),
('/setting/opac/koleksi-unggulan/pilih-judul', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729712', '1463729712'),
('/setting/opac/koleksi-unggulan/tambah', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729712', '1463729712'),
('/setting/opac/koleksi-unggulan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240483', '1451240483'),
('/setting/opac/usulan-koleksi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729712', '1463729712'),
('/setting/opac/usulan-koleksi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729712', '1463729712'),
('/setting/sirkulasi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/setting/sirkulasi/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/holiday/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/holiday/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/holiday/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/holiday/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/holiday/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/holiday/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/jenis-bahan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729714', '1463729714'),
('/setting/sirkulasi/jenis-bahan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729714', '1463729714'),
('/setting/sirkulasi/jenis-bahan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729714', '1463729714'),
('/setting/sirkulasi/jenis-bahan/detail-histori', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729714', '1463729714'),
('/setting/sirkulasi/jenis-bahan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729714', '1463729714'),
('/setting/sirkulasi/jenis-bahan/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729714', '1463729714'),
('/setting/sirkulasi/jenis-bahan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729714', '1463729714'),
('/setting/sirkulasi/jenis-denda/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/jenis-denda/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/jenis-denda/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/jenis-denda/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/jenis-denda/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/jenis-denda/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/jenis-pelanggaran/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/jenis-pelanggaran/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/jenis-pelanggaran/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/jenis-pelanggaran/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/jenis-pelanggaran/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/jenis-pelanggaran/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/kelompok-pelanggaran/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/kelompok-pelanggaran/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/kelompok-pelanggaran/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/kelompok-pelanggaran/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240484', '1451240484'),
('/setting/sirkulasi/kelompok-pelanggaran/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/kelompok-pelanggaran/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/lokasi-peminjaman/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/lokasi-peminjaman/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/lokasi-peminjaman/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/lokasi-peminjaman/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/lokasi-peminjaman/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/lokasi-peminjaman/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/peraturan-peminjaman-hari/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/setting/sirkulasi/peraturan-peminjaman-hari/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/setting/sirkulasi/peraturan-peminjaman-hari/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/setting/sirkulasi/peraturan-peminjaman-hari/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/peraturan-peminjaman-hari/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/setting/sirkulasi/peraturan-peminjaman-hari/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/setting/sirkulasi/peraturan-peminjaman-tanggal/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/setting/sirkulasi/peraturan-peminjaman-tanggal/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/setting/sirkulasi/peraturan-peminjaman-tanggal/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/setting/sirkulasi/peraturan-peminjaman-tanggal/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/setting/sirkulasi/peraturan-peminjaman-tanggal/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/setting/sirkulasi/peraturan-peminjaman-tanggal/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240486', '1451240486'),
('/setting/sirkulasi/peraturan-peminjaman/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/peraturan-peminjaman/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/peraturan-peminjaman/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/peraturan-peminjaman/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/peraturan-peminjaman/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/peraturan-peminjaman/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240485', '1451240485'),
('/setting/sirkulasi/setting-transaksi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729714', '1463729714'),
('/setting/sirkulasi/setting-transaksi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729714', '1463729714'),
('/setting/sms/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/setting/sms/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716'),
('/setting/sms/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716'),
('/setting/sms/history-sms/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716'),
('/setting/sms/history-sms/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716'),
('/setting/sms/sms-belum-jatuh-tempo/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716'),
('/setting/sms/sms-belum-jatuh-tempo/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716'),
('/setting/sms/sms-jatuh-tempo/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/setting/sms/sms-jatuh-tempo/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729716', '1463729716'),
('/setting/sms/sms-manual/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/setting/sms/sms-manual/bind-penduduk', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/setting/sms/sms-manual/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/setting/sms/sms-manual/detail-kependudukan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/setting/sms/sms-manual/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729717', '1463729717'),
('/setting/umum/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/umum/backup-data/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729710', '1463729710'),
('/setting/umum/backup-data/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729710', '1463729710'),
('/setting/umum/bahasa/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1510908843', '1510908843'),
('/setting/umum/data-perpustakaan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729706', '1463729706'),
('/setting/umum/data-perpustakaan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729706', '1463729706'),
('/setting/umum/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/umum/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/umum/harvest-tajuk/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('/setting/umum/harvest-tajuk/import', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('/setting/umum/harvest-tajuk/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('/setting/umum/historydata/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729707', '1463729707'),
('/setting/umum/historydata/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729707', '1463729707'),
('/setting/umum/historydata/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729707', '1463729707'),
('/setting/umum/historydata/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729706', '1463729706'),
('/setting/umum/historydata/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729707', '1463729707'),
('/setting/umum/historydata/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729706', '1463729706'),
('/setting/umum/jam-buka/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729707', '1463729707'),
('/setting/umum/jam-buka/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729707', '1463729707'),
('/setting/umum/jam-buka/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729707', '1463729707'),
('/setting/umum/jam-buka/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729707', '1463729707'),
('/setting/umum/jenis-perpustakaan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/umum/jenis-perpustakaan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/umum/jenis-perpustakaan/custom', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/umum/jenis-perpustakaan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/umum/jenis-perpustakaan/formdaftaranggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/jenis-perpustakaan/formeditanggotaonline', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/jenis-perpustakaan/formentrianggotaonline', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/jenis-perpustakaan/formentripeminjaman', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/jenis-perpustakaan/formentripengembalian', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/jenis-perpustakaan/forminfoanggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/jenis-perpustakaan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/umum/jenis-perpustakaan/save-custom', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/umum/jenis-perpustakaan/save-daftar-anggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/jenis-perpustakaan/save-edit-anggota-online', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/jenis-perpustakaan/save-entri-anggota-online', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/jenis-perpustakaan/save-entri-peminjaman', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/jenis-perpustakaan/save-entri-pengembalian', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/jenis-perpustakaan/save-info-anggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/jenis-perpustakaan/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/umum/jenis-perpustakaan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/umum/layanan-sabtu-dan-minggu/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/layanan-sabtu-dan-minggu/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/mail-server/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729709', '1463729709'),
('/setting/umum/mail-server/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/mail-server/custom', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729709', '1463729709'),
('/setting/umum/mail-server/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729709', '1463729709'),
('/setting/umum/mail-server/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/mail-server/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/mail-server/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729708', '1463729708'),
('/setting/umum/menu/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729709', '1463729709'),
('/setting/umum/menu/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729709', '1463729709'),
('/setting/umum/menu/custom', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729709', '1463729709'),
('/setting/umum/menu/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729709', '1463729709'),
('/setting/umum/menu/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729709', '1463729709'),
('/setting/umum/menu/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729709', '1463729709'),
('/setting/umum/menu/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729709', '1463729709'),
('/setting/umum/perpustakaan-daerah/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729710', '1463729710'),
('/setting/umum/perpustakaan-daerah/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729709', '1463729709'),
('/setting/umum/perpustakaan-daerah/custom', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729709', '1463729709'),
('/setting/umum/perpustakaan-daerah/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729709', '1463729709'),
('/setting/umum/perpustakaan-daerah/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729709', '1463729709'),
('/setting/umum/perpustakaan-daerah/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729709', '1463729709'),
('/setting/umum/perpustakaan-daerah/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729709', '1463729709'),
('/setting/umum/record-indexing/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1517892778', '1517892778'),
('/setting/umum/record-indexing/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1517892778', '1517892778'),
('/setting/umum/registrasi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('/setting/umum/registrasi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('/setting/umum/role/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729710', '1463729710'),
('/setting/umum/role/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729710', '1463729710'),
('/setting/umum/role/custom', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729710', '1463729710'),
('/setting/umum/role/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729710', '1463729710'),
('/setting/umum/role/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729710', '1463729710'),
('/setting/umum/role/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729710', '1463729710'),
('/setting/umum/role/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729710', '1463729710'),
('/setting/umum/setting-update/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729710', '1463729710'),
('/setting/umum/setting-update/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729710', '1463729710'),
('/setting/umum/sms-gateway/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729710', '1463729710'),
('/setting/umum/sms-gateway/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729710', '1463729710'),
('/setting/umum/unit-kerja/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/umum/unit-kerja/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/umum/unit-kerja/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240482', '1451240482'),
('/setting/umum/unit-kerja/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/umum/unit-kerja/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/umum/unit-kerja/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240481', '1451240481'),
('/setting/umum/user/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729712', '1463729712'),
('/setting/umum/user/change-password', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729711', '1463729711'),
('/setting/umum/user/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729711', '1463729711'),
('/setting/umum/user/custom', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729711', '1463729711'),
('/setting/umum/user/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729711', '1463729711'),
('/setting/umum/user/delete-history', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729711', '1463729711'),
('/setting/umum/user/history', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729711', '1463729711'),
('/setting/umum/user/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729710', '1463729710'),
('/setting/umum/user/my-history', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729711', '1463729711'),
('/setting/umum/user/pencarian', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729711', '1463729711'),
('/setting/umum/user/reset-password', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729711', '1463729711'),
('/setting/umum/user/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729711', '1463729711'),
('/setting/umum/user/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729710', '1463729710'),
('/sirkulasi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451239629', '1451239629'),
('/sirkulasi/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240265', '1451240265'),
('/sirkulasi/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240264', '1451240264'),
('/sirkulasi/koleksi-dipesan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/sirkulasi/koleksi-dipesan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/sirkulasi/koleksi-dipesan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/sirkulasi/pelanggaran/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/sirkulasi/pelanggaran/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/sirkulasi/pelanggaran/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/sirkulasi/pelanggaran/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/sirkulasi/pelanggaran/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/sirkulasi/pelanggaran/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/sirkulasi/peminjaman/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240265', '1451240265'),
('/sirkulasi/peminjaman/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240265', '1451240265'),
('/sirkulasi/peminjaman/create-susulan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/sirkulasi/peminjaman/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240265', '1451240265'),
('/sirkulasi/peminjaman/detail-anggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/peminjaman/hapus-item', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/peminjaman/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240265', '1451240265'),
('/sirkulasi/peminjaman/print-kuitansi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/sirkulasi/peminjaman/simpan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729701', '1463729701'),
('/sirkulasi/peminjaman/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240265', '1451240265'),
('/sirkulasi/peminjaman/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240265', '1451240265'),
('/sirkulasi/peminjaman/view-koleksi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/penerimaan-koleksi/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/sirkulasi/penerimaan-koleksi/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/sirkulasi/penerimaan-koleksi/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/sirkulasi/penerimaan-koleksi/detail', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/sirkulasi/penerimaan-koleksi/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/sirkulasi/penerimaan-koleksi/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/sirkulasi/penerimaan-koleksi/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/sirkulasi/penerimaan-koleksi/view-koleksi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/sirkulasi/pengembalian/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/pengembalian/create-susulan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/pengembalian/create?for=ep', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/pengembalian/create?for=epm', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/pengembalian/detail-anggota', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/pengembalian/hapus-item', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/pengembalian/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/pengembalian/simpan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/pengembalian/simpan-pelanggaran', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/pengembalian/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/pengembalian/view-koleksi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/perpanjangan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1471527609', '1471527609'),
('/sirkulasi/perpanjangan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1471527906', '1471527906'),
('/sirkulasi/perpanjangan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1471527612', '1471527612'),
('/sirkulasi/print/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/print/cetak-slip-pelanggaran', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/print/cetak-slip-pengembalian', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/print/print-kuitansi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/read-onlocation/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/read-onlocation/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/stockopname/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/sirkulasi/stockopname/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/stockopname/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/stockopname/detail', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/sirkulasi/stockopname/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/stockopname/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/stockopname/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729702', '1463729702'),
('/sirkulasi/stockopname/view-koleksi', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/sirkulasi/stockopnamedetail/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/sirkulasi/stockopnamedetail/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/sirkulasi/stockopnamedetail/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/sirkulasi/stockopnamedetail/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/sirkulasi/stockopnamedetail/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/sirkulasi/stockopnamedetail/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/site/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729724', '1463729724'),
('/site/error', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729724', '1463729724'),
('/site/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451241335', '1451241335'),
('/site/login', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729724', '1463729724'),
('/site/logout', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729724', '1463729724'),
('/survey/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('/survey/data/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/survey/data/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/survey/data/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/survey/data/detail-histori', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/survey/data/hasil-survey', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729703', '1463729703'),
('/survey/data/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/survey/data/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/survey/data/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/survey/default/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/survey/default/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/survey/default/pertanyaan', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/survey/survey-isian/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/survey/survey-isian/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467');
INSERT INTO `auth_item` (`name`, `type`, `description`, `rule_name`, `data`, `CreateBy`, `CreateDate`, `CreateTerminal`, `UpdateBy`, `UpdateDate`, `UpdateTerminal`, `created_at`, `updated_at`) VALUES
('/survey/survey-isian/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/survey/survey-isian/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/survey/survey-isian/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/survey/survey-isian/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/survey/survey-pertanyaan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('/survey/survey-pertanyaan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('/survey/survey-pertanyaan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('/survey/survey-pertanyaan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240467', '1451240467'),
('/survey/survey-pertanyaan/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('/survey/survey-pertanyaan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('/survey/survey-pilihan/*', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('/survey/survey-pilihan/create', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('/survey/survey-pilihan/delete', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('/survey/survey-pilihan/index', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('/survey/survey-pilihan/update', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('/survey/survey-pilihan/view', 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451240468', '1451240468'),
('akuisisi', 1, 'role untuk akuisisi', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463729548', '1463729548'),
('Baca Ditempat', 1, 'Role untuk layanan konten digital', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1474600463', '1474600463'),
('Buku Tamu', 1, 'role untuk buku tamu', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1474538438', '1474538438'),
('Function CatColl', 1, 'Fungsi Yang digunaan untuk modul Koleksi dan Katalog', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463730897', '1463730897'),
('Ganti Password Sendiri', 1, 'untuk ganti password sendiri', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1477643978', '1477646555'),
('katalog', 1, 'Rule untuk pengkatalogan', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463975667', '1463975785'),
('Keanggotaan', 1, 'role untuk keanggotaan', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1463730531', '1463730594'),
('Laporan', 1, 'Role untuk laporan\r\n', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1474600623', '1474600623'),
('Layanan Konten Digital', 1, 'Role untuk layanan konten digital', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1474538879', '1474538879'),
('Locker', 1, 'role untuk locker', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1474538021', '1474538021'),
('Opac', 1, 'role untuk opac', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1474538756', '1474538756'),
('Sirkulasi', 1, 'Peminjaman dan Pengembalian', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1464079673', '1464079961'),
('superadmin', 1, 'Role untuk superadmin', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1451238381', '1451240737'),
('Survey', 1, 'role untuk survey', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1474538156', '1474538156');

-- --------------------------------------------------------

--
-- Struktur dari tabel `auth_item_child`
--

