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

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

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

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