beta версия
Изчисти сесия
Query
SET NAMES UTF8
SELECT u.universityID, u.longName as name, up.name as uniPic FROM users_apll ua INNER JOIN university_specialty AS us ON (ua.university_specialtyID = us.university_specialtyID) LEFT JOIN university AS u ON (u.universityID = us.universityID) LEFT JOIN pic AS up ON (up.ID = u.pix) WHERE userID = '' GROUP BY u.universityID ORDER BY u.longName ASC
SELECT s.specialtyID, s.shortName, s.longName, s.url FROM specialty as s INNER JOIN university_specialty AS us ON (s.specialtyID = us.specialtyID) WHERE s.hide = 0 AND us.hide=0 GROUP BY specialtyID ORDER BY s.shortName
SELECT universityID, longName as shortName,url FROM university WHERE hide = 0 ORDER BY shortName
SELECT cityID, shortName FROM city WHERE hide = 0 AND cityID IN (SELECT cityID FROM university WHERE hide = 0) OR cityID IN (SELECT cityID FROM university_affiliate WHERE hide = 0) ORDER BY shortName
SELECT * FROM specialty WHERE hide = 0 AND url = 'pravo'
UPDATE specialty SET hits = (hits + 1) WHERE specialtyID = '220'
SELECT * FROM university_specialty WHERE hide = 0 AND specialtyID = '220' ORDER BY longName
SELECT longName, cityID, pix FROM university WHERE universityID = '11'
SELECT * FROM pic WHERE ID='11'
SELECT cityID, longName, pix FROM city WHERE cityID='8'
SELECT * FROM pic WHERE ID='9'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '51' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '51' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '51' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '51' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '51' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '51' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '51' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = ''
SELECT longName, cityID, pix FROM university WHERE universityID = '1'
SELECT * FROM pic WHERE ID='12'
SELECT cityID, longName, pix FROM city WHERE cityID='5'
SELECT * FROM pic WHERE ID='8'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '237' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '237' AND ratingType = '1'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '237' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '37'
SELECT longName, cityID, pix FROM university WHERE universityID = '4'
SELECT * FROM pic WHERE ID='15'
SELECT cityID, longName, pix FROM city WHERE cityID='14'
SELECT * FROM pic WHERE ID='5'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '418' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '418' AND ratingType = '1'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '418' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '304'
SELECT longName, cityID, pix FROM university WHERE universityID = '10'
SELECT * FROM pic WHERE ID='10'
SELECT cityID, longName, pix FROM city WHERE cityID='10'
SELECT * FROM pic WHERE ID='3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '424' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '424' AND ratingType = '1'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '424' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '0'
SELECT longName, cityID, pix FROM university WHERE universityID = '3'
SELECT * FROM pic WHERE ID='1'
SELECT cityID, longName, pix FROM city WHERE cityID='2'
SELECT * FROM pic WHERE ID='4'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '489' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '489' AND ratingType = '1'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '489' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '409'
SELECT longName, cityID, pix FROM university WHERE universityID = '8'
SELECT * FROM pic WHERE ID='19'
SELECT cityID, longName, pix FROM city WHERE cityID='1'
SELECT * FROM pic WHERE ID='6'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '690' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '690' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '690' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '690' AND ratingType = '1'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '690' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '0'
SELECT longName, cityID, pix FROM university WHERE universityID = '12'
SELECT * FROM pic WHERE ID='14'
SELECT cityID, longName, pix FROM city WHERE cityID='1'
SELECT * FROM pic WHERE ID='6'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '692' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '692' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '692' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '692' AND ratingType = '1'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '692' AND scoreYear = (2014 - 1)
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '692' AND ratingType = '1'
SELECT hide FROM university_scoring WHERE university_scoringID = ''
SELECT longName, cityID, pix FROM university WHERE universityID = '5'
SELECT * FROM pic WHERE ID='17'
SELECT cityID, longName, pix FROM city WHERE cityID='1'
SELECT * FROM pic WHERE ID='6'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '694' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '694' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '694' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '694' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '694' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '694' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '694' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '240'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '51'
SELECT url FROM university WHERE universityID = '11'
SELECT url FROM university WHERE universityID = '11'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '237'
SELECT url FROM university WHERE universityID = '1'
SELECT url FROM university WHERE universityID = '1'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '237'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '418'
SELECT url FROM university WHERE universityID = '4'
SELECT url FROM university WHERE universityID = '4'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '418'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '424'
SELECT url FROM university WHERE universityID = '10'
SELECT url FROM university WHERE universityID = '10'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '489'
SELECT url FROM university WHERE universityID = '3'
SELECT url FROM university WHERE universityID = '3'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '489'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '690'
SELECT url FROM university WHERE universityID = '8'
SELECT url FROM university WHERE universityID = '8'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '690'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '692'
SELECT url FROM university WHERE universityID = '12'
SELECT url FROM university WHERE universityID = '12'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '694'
SELECT url FROM university WHERE universityID = '5'
SELECT url FROM university WHERE universityID = '5'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '694'
$cntToLoad
search
$tmpToLoad
userChoice
$_SESSIONS
Array
(
    [siteCountry] => 
)
1
$_POST
Array
(
)
1
$_GET
Array
(
    [cSpec] => pravo
)
1
$data
Array
(
    [0] => Array
        (
            [university_specialtyID] => 51
            [hide] => 0
            [position] => 0
            [universityID] => 11
            [specialtyID] => 220
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Право
            [longName] => Право
            [fo] => 0
            [otherLang] => 0
            [url] => pravo
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Варненски свободен университет ''Черноризец Храбър''
                    [cityID] => 8
                    [pix] => Array
                        (
                            [ID] => 11
                            [type] => 0
                            [name] => jdyg1369236462.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:27:58
                        )

                )

            [cityData] => Array
                (
                    [cityID] => 8
                    [longName] => Варна
                    [pix] => Array
                        (
                            [ID] => 9
                            [type] => 0
                            [name] => gdjwp1369236358.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:26:20
                        )

                )

            [imaMinBalove] => 0
            [activeChance] => 
        )

    [1] => Array
        (
            [university_specialtyID] => 237
            [hide] => 0
            [position] => 0
            [universityID] => 1
            [specialtyID] => 220
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Право
            [longName] => Право
            [fo] => 2
            [otherLang] => 0
            [url] => pravo
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Великотърновски университет ''Св. Св. Кирил и Методий''
                    [cityID] => 5
                    [pix] => Array
                        (
                            [ID] => 12
                            [type] => 0
                            [name] => ijksj1369236502.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:28:27
                        )

                )

            [cityData] => Array
                (
                    [cityID] => 5
                    [longName] => Велико Търново
                    [pix] => Array
                        (
                            [ID] => 8
                            [type] => 0
                            [name] => jti21369236292.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:25:02
                        )

                )

            [imaMinBalove] => 1
            [activeChance] => 37
        )

    [2] => Array
        (
            [university_specialtyID] => 418
            [hide] => 0
            [position] => 0
            [universityID] => 4
            [specialtyID] => 220
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Право
            [longName] => Право
            [fo] => 2
            [otherLang] => 0
            [url] => pravo
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Русенски университет ''Ангел Кънчев''
                    [cityID] => 14
                    [pix] => Array
                        (
                            [ID] => 15
                            [type] => 0
                            [name] => n4271369236705.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:31:47
                        )

                )

            [cityData] => Array
                (
                    [cityID] => 14
                    [longName] => Русе
                    [pix] => Array
                        (
                            [ID] => 5
                            [type] => 0
                            [name] => e3c2s1369236174.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:23:14
                        )

                )

            [imaMinBalove] => 1
            [activeChance] => 304
        )

    [3] => Array
        (
            [university_specialtyID] => 424
            [hide] => 0
            [position] => 0
            [universityID] => 10
            [specialtyID] => 220
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Право
            [longName] => Право
            [fo] => 2
            [otherLang] => 0
            [url] => pravo
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Бургаски свободен университет
                    [cityID] => 10
                    [pix] => Array
                        (
                            [ID] => 10
                            [type] => 0
                            [name] => wzd5w1369236430.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:27:26
                        )

                )

            [cityData] => Array
                (
                    [cityID] => 10
                    [longName] => Бургас
                    [pix] => Array
                        (
                            [ID] => 3
                            [type] => 0
                            [name] => 1ykmp1369236110.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:21:56
                        )

                )

            [imaMinBalove] => 1
            [activeChance] => 0
        )

    [4] => Array
        (
            [university_specialtyID] => 489
            [hide] => 0
            [position] => 0
            [universityID] => 3
            [specialtyID] => 220
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Право
            [longName] => Право
            [fo] => 2
            [otherLang] => 0
            [url] => pravo
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Пловдивски университет ''Паисий Хилендарски''
                    [cityID] => 2
                    [pix] => Array
                        (
                            [ID] => 1
                            [type] => 0
                            [name] => en4571369141491.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-21 16:04:53
                        )

                )

            [cityData] => Array
                (
                    [cityID] => 2
                    [longName] => Пловдив
                    [pix] => Array
                        (
                            [ID] => 4
                            [type] => 0
                            [name] => km6f21369236145.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:22:36
                        )

                )

            [imaMinBalove] => 1
            [activeChance] => 409
        )

    [5] => Array
        (
            [university_specialtyID] => 690
            [hide] => 0
            [position] => 0
            [universityID] => 8
            [specialtyID] => 220
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Право
            [longName] => Право
            [fo] => 0
            [otherLang] => 0
            [url] => pravo
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Университет за национално и световно стопанство
                    [cityID] => 1
                    [pix] => Array
                        (
                            [ID] => 19
                            [type] => 0
                            [name] => xz1q31369236826.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:33:51
                        )

                )

            [cityData] => Array
                (
                    [cityID] => 1
                    [longName] => София
                    [pix] => Array
                        (
                            [ID] => 6
                            [type] => 0
                            [name] => 7hofg1369236211.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:23:42
                        )

                )

            [imaMinBalove] => 1
            [activeChance] => 0
        )

    [6] => Array
        (
            [university_specialtyID] => 692
            [hide] => 0
            [position] => 0
            [universityID] => 12
            [specialtyID] => 220
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Право
            [longName] => Право
            [fo] => 0
            [otherLang] => 0
            [url] => pravo
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Нов български университет
                    [cityID] => 1
                    [pix] => Array
                        (
                            [ID] => 14
                            [type] => 0
                            [name] => ysy7e1369236677.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:31:23
                        )

                )

            [cityData] => Array
                (
                    [cityID] => 1
                    [longName] => София
                    [pix] => Array
                        (
                            [ID] => 6
                            [type] => 0
                            [name] => 7hofg1369236211.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:23:42
                        )

                )

            [imaMinBalove] => 1
            [activeChance] => 
        )

    [7] => Array
        (
            [university_specialtyID] => 694
            [hide] => 0
            [position] => 0
            [universityID] => 5
            [specialtyID] => 220
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Право
            [longName] => Право
            [fo] => 2
            [otherLang] => 0
            [url] => pravo
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Софийски университет ''Св. Климент Охридски''
                    [cityID] => 1
                    [pix] => Array
                        (
                            [ID] => 17
                            [type] => 0
                            [name] => ctkqq1369236743.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:32:26
                        )

                )

            [cityData] => Array
                (
                    [cityID] => 1
                    [longName] => София
                    [pix] => Array
                        (
                            [ID] => 6
                            [type] => 0
                            [name] => 7hofg1369236211.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:23:42
                        )

                )

            [imaMinBalove] => 1
            [activeChance] => 240
        )

)
1
Харесайте ни във Facebook Unichoice.bg във Facebook Unichoice.bg във Google+