
set names utf8

SELECT
                            `UserKey`
                        FROM
                            `users`
                        WHERE
                            `ID` = 2 AND
                            `UserKey` LIKE '%1' AND
                            `AccessKey` = 'be88e53f7c0c73eda9f70164fb151bb0'
                        LIMIT 1

SELECT
	        	*
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg'
            ORDER BY
            	`PostDate` ASC

set names utf8

SELECT
                            `UserKey`
                        FROM
                            `users`
                        WHERE
                            `ID` = 2 AND
                            `UserKey` LIKE '%1' AND
                            `AccessKey` = 'be88e53f7c0c73eda9f70164fb151bb0'
                        LIMIT 1

set names utf8

SELECT
                            `UserKey`
                        FROM
                            `users`
                        WHERE
                            `ID` = 2 AND
                            `UserKey` LIKE '%1' AND
                            `AccessKey` = 'be88e53f7c0c73eda9f70164fb151bb0'
                        LIMIT 1

SELECT
                *
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'etiketi-za-vino'
            ORDER BY
            	`PostDate` ASC

SELECT
                *
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'etiketi-za-vino'
            ORDER BY
            	`PostDate` ASC

SELECT
	        	*
	        FROM
	        	`portfolio`
	    	WHERE
                `GroupID` = 7  AND `Visible` = 1
            ORDER BY
            	`PostDate` DESC

SELECT
	        	*
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg'
            ORDER BY
            	`PostDate` ASC

set names utf8

SELECT
                            `UserKey`
                        FROM
                            `users`
                        WHERE
                            `ID` = 2 AND
                            `UserKey` LIKE '%1' AND
                            `AccessKey` = 'be88e53f7c0c73eda9f70164fb151bb0'
                        LIMIT 1

SELECT
                *
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'opakovki-i-etiketi'
            ORDER BY
            	`PostDate` ASC

SELECT
                *
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'opakovki-i-etiketi'
            ORDER BY
            	`PostDate` ASC

SELECT
	        	*
	        FROM
	        	`portfolio`
	    	WHERE
                `GroupID` = 14  AND `Visible` = 1
            ORDER BY
            	`PostDate` DESC

SELECT
	        	*
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg'
            ORDER BY
            	`PostDate` ASC

set names utf8

SELECT
                            `UserKey`
                        FROM
                            `users`
                        WHERE
                            `ID` = 2 AND
                            `UserKey` LIKE '%1' AND
                            `AccessKey` = 'be88e53f7c0c73eda9f70164fb151bb0'
                        LIMIT 1

SELECT
                *
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'logo'
            ORDER BY
            	`PostDate` ASC

SELECT
                *
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'logo'
            ORDER BY
            	`PostDate` ASC

SELECT
	        	*
	        FROM
	        	`portfolio`
	    	WHERE
                `GroupID` = 2  AND `Visible` = 1
            ORDER BY
            	`PostDate` DESC

SELECT
	        	*
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg'
            ORDER BY
            	`PostDate` ASC

set names utf8

SELECT
                            `UserKey`
                        FROM
                            `users`
                        WHERE
                            `ID` = 2 AND
                            `UserKey` LIKE '%1' AND
                            `AccessKey` = 'be88e53f7c0c73eda9f70164fb151bb0'
                        LIMIT 1

SELECT
                *
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'kalendari'
            ORDER BY
            	`PostDate` ASC

SELECT
                *
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'kalendari'
            ORDER BY
            	`PostDate` ASC

SELECT
	        	*
	        FROM
	        	`portfolio`
	    	WHERE
                `GroupID` = 8  AND `Visible` = 1
            ORDER BY
            	`PostDate` DESC

SELECT
	        	*
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg'
            ORDER BY
            	`PostDate` ASC

set names utf8

SELECT
                            `UserKey`
                        FROM
                            `users`
                        WHERE
                            `ID` = 2 AND
                            `UserKey` LIKE '%1' AND
                            `AccessKey` = 'be88e53f7c0c73eda9f70164fb151bb0'
                        LIMIT 1

SELECT
                *
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'opakovki-i-etiketi'
            ORDER BY
            	`PostDate` ASC

SELECT
                *
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'opakovki-i-etiketi'
            ORDER BY
            	`PostDate` ASC

SELECT
	        	*
	        FROM
	        	`portfolio`
	    	WHERE
                `GroupID` = 14  AND `Visible` = 1
            ORDER BY
            	`PostDate` DESC

SELECT
	        	*
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg'
            ORDER BY
            	`PostDate` ASC

set names utf8

SELECT
                *
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'opakovki-i-etiketi'
            ORDER BY
            	`PostDate` ASC

SELECT
                *
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'opakovki-i-etiketi'
            ORDER BY
            	`PostDate` ASC

SELECT
	        	*
	        FROM
	        	`portfolio`
	    	WHERE
                `GroupID` = 14  AND `Visible` = 1
            ORDER BY
            	`PostDate` DESC

SELECT
	        	*
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg'
            ORDER BY
            	`PostDate` ASC

set names utf8

SELECT
                            `UserKey`
                        FROM
                            `users`
                        WHERE
                            `ID` = 2 AND
                            `UserKey` LIKE '%1' AND
                            `AccessKey` = '2bf14e1195418877675f8d9bb4d697ba'
                        LIMIT 1

SELECT
                *
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'luksozni-kutii'
            ORDER BY
            	`PostDate` ASC

SELECT
                *
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'luksozni-kutii'
            ORDER BY
            	`PostDate` ASC

SELECT
	        	*
	        FROM
	        	`portfolio`
	    	WHERE
                `GroupID` = 9 
            ORDER BY
            	`PostDate` DESC

SELECT
	        	*
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg'
            ORDER BY
            	`PostDate` ASC

set names utf8

SELECT
                            `UserKey`
                        FROM
                            `users`
                        WHERE
                            `ID` = 2 AND
                            `UserKey` LIKE '%1' AND
                            `AccessKey` = '2bf14e1195418877675f8d9bb4d697ba'
                        LIMIT 1

set names utf8

SELECT
	        	*
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg'
            ORDER BY
            	`PostDate` ASC

set names utf8

SELECT `ID`, `UserKey` FROM `users` WHERE `UserKey` LIKE 'w47CvcOSw4_CscOZw5XDosKTw4zDkcOHw4nDkMONw5jCu8ODwoDDjcOI%' LIMIT 1

UPDATE `users` SET `LastUpdate` = NOW(), `AccessKey` = 'be88e53f7c0c73eda9f70164fb151bb0' WHERE `ID` = 2

set names utf8

SELECT
                            `UserKey`
                        FROM
                            `users`
                        WHERE
                            `ID` = 2 AND
                            `UserKey` LIKE '%1' AND
                            `AccessKey` = 'be88e53f7c0c73eda9f70164fb151bb0'
                        LIMIT 1

SELECT
                *
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = ''
            ORDER BY
            	`PostDate` ASC

SELECT
                `ID`,
                `MenuLabel`,
                `URLLabel`,
                `Image`,
                `Visible`
            FROM
                `groups`
            WHERE
                `Language` = 'bg'
            ORDER BY
                `PostDate` ASC

SELECT
	        	*
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg'
            ORDER BY
            	`PostDate` ASC

set names utf8

SELECT
                            `UserKey`
                        FROM
                            `users`
                        WHERE
                            `ID` = 2 AND
                            `UserKey` LIKE '%1' AND
                            `AccessKey` = 'be88e53f7c0c73eda9f70164fb151bb0'
                        LIMIT 1

set names utf8

SELECT
                            `UserKey`
                        FROM
                            `users`
                        WHERE
                            `ID` = 2 AND
                            `UserKey` LIKE '%1' AND
                            `AccessKey` = 'be88e53f7c0c73eda9f70164fb151bb0'
                        LIMIT 1

SELECT
                *
	        FROM
	        	`pages`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'luksozni-kutii'
            ORDER BY
            	`PostDate` ASC

SELECT
                *
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg' AND
	    		`URLLabel` = 'luksozni-kutii'
            ORDER BY
            	`PostDate` ASC

SELECT
	        	*
	        FROM
	        	`portfolio`
	    	WHERE
                `GroupID` = 9 
            ORDER BY
            	`PostDate` DESC

SELECT
	        	*
	        FROM
	        	`groups`
	    	WHERE
                `Language` = 'bg'
            ORDER BY
            	`PostDate` ASC

set names utf8

SELECT
                            `UserKey`
                        FROM
                            `users`
                        WHERE
                            `ID` = 2 AND
                            `UserKey` LIKE '%1' AND
                            `AccessKey` = 'be88e53f7c0c73eda9f70164fb151bb0'
                        LIMIT 1
