# [20-May-2025 08:53:45] /ooyes/www/oY3Dz0MfT1a/bg/pages/list.html 108.61.209.243

set names utf8

SELECT
                                    `ID`
                                FROM
                                    `users`
                                WHERE
                                    `ID` = '200876880' AND
                                    CRC32(`UserKey`) = 1191984090 AND
                                    RIGHT(`UserKey`, 1) = 9
                                LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`Language`,
                `meta`.`Module`,
                `pages`.`Action`,
                `meta`.`PostDate`,
                `meta`.`LastUpdate`,
                IF(`pages`.`MenuLabel` <> '', `pages`.`MenuLabel`, `pages`.`FooterLabel`) AS `Label`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`,
                `meta`.`Visible`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
         ORDER BY `meta`.`PostDate` ASC
# [20-May-2025 08:53:50] /ooyes/www/oY3Dz0MfT1a/bg/reviews/list.html 108.61.209.243

set names utf8

SELECT
                                    `ID`
                                FROM
                                    `users`
                                WHERE
                                    `ID` = '200876880' AND
                                    CRC32(`UserKey`) = 1191984090 AND
                                    RIGHT(`UserKey`, 1) = 9
                                LIMIT 1

SELECT
                `ID`,
                `Language`,
                `PostDate`,
                `LastUpdate`,
                `FullName`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` DESC LIMIT 0, 100

SELECT COUNT(*) AS NumRows FROM (
            SELECT
                `ID`,
                `Language`,
                `PostDate`,
                `LastUpdate`,
                `FullName`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` DESC) AS CountTable
# [20-May-2025 08:53:57] /ooyes/www/oY3Dz0MfT1a/bg/ajax/reviews/form/10000.html?_=1747720437159 108.61.209.243

set names utf8

SELECT
                                    `ID`
                                FROM
                                    `users`
                                WHERE
                                    `ID` = '200876880' AND
                                    CRC32(`UserKey`) = 1191984090 AND
                                    RIGHT(`UserKey`, 1) = 9
                                LIMIT 1

SELECT
                *
            FROM
                `reviews`
            WHERE
                `ID` = 10000 AND
                `Language` = 'bg'
            LIMIT 1
# [20-May-2025 08:54:16] /ooyes/www/oY3Dz0MfT1a/bg/ajax/reviews/form.html?_=1747720456667 108.61.209.243

set names utf8

SELECT
                                    `ID`
                                FROM
                                    `users`
                                WHERE
                                    `ID` = '200876880' AND
                                    CRC32(`UserKey`) = 1191984090 AND
                                    RIGHT(`UserKey`, 1) = 9
                                LIMIT 1
# [20-May-2025 08:54:32] /ooyes/www/oY3Dz0MfT1a/bg/ajax/reviews/upload/7720456882.html 108.61.209.243

set names utf8

SELECT
                                    `ID`
                                FROM
                                    `users`
                                WHERE
                                    `ID` = '200876880' AND
                                    CRC32(`UserKey`) = 1191984090 AND
                                    RIGHT(`UserKey`, 1) = 9
                                LIMIT 1
# [20-May-2025 08:55:02] /ooyes/www/oY3Dz0MfT1a/bg/ajax/reviews/insert.html?_=1747720502765 108.61.209.243

set names utf8

SELECT
                                    `ID`
                                FROM
                                    `users`
                                WHERE
                                    `ID` = '200876880' AND
                                    CRC32(`UserKey`) = 1191984090 AND
                                    RIGHT(`UserKey`, 1) = 9
                                LIMIT 1

SELECT MAX(`ID`) + 1 FROM `reviews`

SELECT * FROM `reviews` LIMIT 1

SHOW COLUMNS FROM `reviews`

INSERT INTO `reviews` SET `ID` = 10002, `Language` = 'bg', `PostDate` = '2025-05-20 08:55:02', `LastUpdate` = '2025-05-20 08:55:02', `UploadID` = '7720456882', `Image` = 'leten-nikulden10.jpg', `FullName` = 'Име Отзив', `Rate` = '5', `Review` = 'Тест Отзив', `HomePage` = 1, `Visible` = 1
# [20-May-2025 08:55:02] /ooyes/www/oY3Dz0MfT1a/bg/reviews/list.html 108.61.209.243

set names utf8

SELECT
                                    `ID`
                                FROM
                                    `users`
                                WHERE
                                    `ID` = '200876880' AND
                                    CRC32(`UserKey`) = 1191984090 AND
                                    RIGHT(`UserKey`, 1) = 9
                                LIMIT 1

SELECT
                `ID`,
                `Language`,
                `PostDate`,
                `LastUpdate`,
                `FullName`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` DESC LIMIT 0, 100

SELECT COUNT(*) AS NumRows FROM (
            SELECT
                `ID`,
                `Language`,
                `PostDate`,
                `LastUpdate`,
                `FullName`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` DESC) AS CountTable
# [20-May-2025 08:55:12] /ooyes/www/oY3Dz0MfT1a/ 108.61.209.243

set names utf8

SELECT
                                    `ID`
                                FROM
                                    `users`
                                WHERE
                                    `ID` = '200876880' AND
                                    CRC32(`UserKey`) = 1191984090 AND
                                    RIGHT(`UserKey`, 1) = 9
                                LIMIT 1

SELECT
                *
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'pages' AND
	    		`meta`.`URLLabel` = 'index'
         LIMIT 1

SELECT
                P2.`Language`,
                P2.`URLLabel`
            FROM
                `meta` AS P1
                INNER JOIN `meta` AS P2 ON
                    P1.`ID` = P2.`ID` AND
                    P1.`Module` = P2.`Module` AND
                    P2.`NoIndex` = 0 AND
                    P2.`Language` != 'bg' AND
                    P2.`Visible` = 1
            WHERE
                P1.`NoIndex` = 0 AND
                P1.`Module` = 'pages' AND
                P1.`Language` = 'bg' AND
                P1.`URLLabel` = 'index' AND
                P1.`Visible` = 1

SELECT
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`) AND
                `pages`.`Language` = 'bg' AND
                `meta`.`Module` = 'services' AND
                `pages`.`Action` = 'index'
         LIMIT 1

SELECT
                `meta`.`ID`,
                `meta`.`UploadID`,
                `meta`.`URLLabel`,
                `services`.`Icon`,
                `services`.`Title`,
                `meta`.`Visible`
            FROM
                `services`
                INNER JOIN `meta` ON
                    `services`.`ID` = `meta`.`ID` AND
                    `services`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'services'
            WHERE
                `meta`.`Language` = 'bg'
        
            GROUP BY
                `services`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                *
            FROM
                `documents`
            WHERE
                `Language` = 'bg' AND
                `DocType` = 0

             ORDER BY `PostDate` DESC

SELECT
                `meta`.`ID`,
                `meta`.`PostDate`,
                `meta`.`UploadID`,
                `projects`.`Images`,
                CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`) AS `URLLabel`,
                `projects`.`Title`,
                `projects`.`Annotation`,
                `meta`.`Visible`
            FROM
                `projects`
                INNER JOIN `meta` ON
                    `projects`.`ID` = `meta`.`ID` AND
                    `projects`.`Language` = `meta`.`Language` AND
                    `meta`.`Module` = 'projects'
                INNER JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language` AND
                    `Parent`.`Module` = 'projects'
            WHERE
                `meta`.`Language` = 'bg'
        
            GROUP BY
                `projects`.`ID`
            ORDER BY
                `projects`.`HomePage` DESC,
                `meta`.`PostDate` ASC
         LIMIT 0, 3

SELECT
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`) AND
                `pages`.`Language` = 'bg' AND
                `meta`.`Module` = 'projects' AND
                `pages`.`Action` = 'index'
         LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('September') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('October') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `ID`,
                `UploadID`,
                `Rate`,
                `Image`,
                `FullName`,
                `Review`,
                `Media`,
                `MediaURL`,
                `HomePage`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg'
         AND `HomePage` = 1 ORDER BY `PostDate` DESC LIMIT 0, 4

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`,
                `meta`.`Visible`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'reviews' AND
	    		`meta`.`URLLabel` = 'reviews'
         LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('Phone','LSendRequest') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`) AND
                `pages`.`Language` = 'bg' AND
                `meta`.`Module` = 'contacts' AND
                `pages`.`Action` = 'index'
         LIMIT 1

SELECT
                `pages`.`ID`,
                `pages`.`Annotation`,
                `meta`.`Visible`
	        FROM
	        	`meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
	    	WHERE
                `meta`.`Language` = 'bg' AND
                `meta`.`Module` = 'contacts' AND
	    		`meta`.`URLLabel` = 'kontakti'
         LIMIT 1

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LLogin') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC

SELECT
                `meta`.`Module`,
                `pages`.`MenuLabel`,
                `pages`.`FooterLabel`,
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                `pages`.`Language` = 'bg' AND
                (`pages`.`MenuLabel` <> '' OR `pages`.`FooterLabel` <> '') AND
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`)
        
            GROUP BY
                `pages`.`ID`
            ORDER BY
                `meta`.`PostDate` ASC

SELECT
                IF(`Parent`.`URLLabel` = 'index', `meta`.`URLLabel`, CONCAT(`Parent`.`URLLabel`, '/', `meta`.`URLLabel`)) AS `URLLabel`
            FROM
                `meta`
                INNER JOIN `pages` ON
                    `pages`.`ID` = `meta`.`ID` AND
                    `pages`.`Language` = `meta`.`Language`
                LEFT JOIN `meta` AS `Parent` ON
                    `meta`.`ParentID` = `Parent`.`ID` AND
                    `meta`.`Language` = `Parent`.`Language`
            WHERE
                (`meta`.`Module` = 'pages' OR `Parent`.`Module` = 'pages' OR `meta`.`Module` = `Parent`.`Module`) AND
                `pages`.`Language` = 'bg' AND
                `meta`.`Module` = 'contacts' AND
                `pages`.`Action` = 'index'
         LIMIT 1

SELECT DISTINCT
                `FooterLabel`
            FROM
                `stores`
            WHERE
                `FooterLabel` <> '' AND
                `Language` = 'bg'
        
            ORDER BY
                `PostDate` ASC

SELECT
                `Label`,
                `Value`
            FROM
                `labels`
            WHERE
                `Label` IN ('LPartOf','Address','LFollowUs','FacebookURL','InstagramURL','EMail','LFooterInfo','LOurOffices','LContactUs','LServices','LProductCatalog','LBusinessHours','BusinessHours','WorkingDays','LSubscribe','Copyright') AND
                `Language` = 'bg'
             ORDER BY
                `labels`.`Label` ASC
# [20-May-2025 08:55:32] /ooyes/www/oY3Dz0MfT1a/bg/ajax/reviews/form/10002.html?_=1747720532102 108.61.209.243

set names utf8

SELECT
                                    `ID`
                                FROM
                                    `users`
                                WHERE
                                    `ID` = '200876880' AND
                                    CRC32(`UserKey`) = 1191984090 AND
                                    RIGHT(`UserKey`, 1) = 9
                                LIMIT 1

SELECT
                *
            FROM
                `reviews`
            WHERE
                `ID` = 10002 AND
                `Language` = 'bg'
            LIMIT 1
# [20-May-2025 08:55:48] /ooyes/www/oY3Dz0MfT1a/bg/ajax/reviews/delete/10002.html?_=1747720548910 108.61.209.243

set names utf8

SELECT
                                    `ID`
                                FROM
                                    `users`
                                WHERE
                                    `ID` = '200876880' AND
                                    CRC32(`UserKey`) = 1191984090 AND
                                    RIGHT(`UserKey`, 1) = 9
                                LIMIT 1

SELECT COUNT(`ID`) FROM `reviews` WHERE ID = 10002

SELECT `UploadID` FROM `reviews` WHERE ID = 10002 LIMIT 1

DELETE FROM `reviews` WHERE ID = 10002 AND `Language` = 'bg'
# [20-May-2025 08:55:49] /ooyes/www/oY3Dz0MfT1a/bg/reviews/list.html 108.61.209.243

set names utf8

SELECT
                                    `ID`
                                FROM
                                    `users`
                                WHERE
                                    `ID` = '200876880' AND
                                    CRC32(`UserKey`) = 1191984090 AND
                                    RIGHT(`UserKey`, 1) = 9
                                LIMIT 1

SELECT
                `ID`,
                `Language`,
                `PostDate`,
                `LastUpdate`,
                `FullName`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` DESC LIMIT 0, 100

SELECT COUNT(*) AS NumRows FROM (
            SELECT
                `ID`,
                `Language`,
                `PostDate`,
                `LastUpdate`,
                `FullName`,
                `Visible`
            FROM
                `reviews`
            WHERE
                `Language` = 'bg'
         ORDER BY `PostDate` DESC) AS CountTable
# [20-May-2025 08:56:22] /ooyes/www/oY3Dz0MfT1a/bg/ajax/reviews/form.html?_=1747720582925 108.61.209.243

set names utf8

SELECT
                                    `ID`
                                FROM
                                    `users`
                                WHERE
                                    `ID` = '200876880' AND
                                    CRC32(`UserKey`) = 1191984090 AND
                                    RIGHT(`UserKey`, 1) = 9
                                LIMIT 1
