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 = 'ikonomika'
UPDATE specialty SET hits = (hits + 1) WHERE specialtyID = '351'
SELECT * FROM university_specialty WHERE hide = 0 AND specialtyID = '351' ORDER BY longName
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 = '119' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '119' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '119' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '119' AND ratingType = '1'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '119' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '141'
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 = '190' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '190' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '190' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '190' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '190' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '190' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '190' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '550'
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 = '404' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '404' AND ratingType = '1'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '404' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '291'
SELECT longName, cityID, pix FROM university WHERE universityID = '24'
SELECT * FROM pic WHERE ID='44'
SELECT cityID, longName, pix FROM city WHERE cityID='29'
SELECT * FROM pic WHERE ID='23'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '651' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '651' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '651' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '651' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '651' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '651' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '651' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '488'
SELECT longName, cityID, pix FROM university WHERE universityID = '29'
SELECT * FROM pic WHERE ID='0'
SELECT cityID, longName, pix FROM city WHERE cityID='17'
SELECT * FROM pic WHERE ID='2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '787' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '787' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '787' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '787' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '787' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '787' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '787' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = ''
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 = '1082' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '1082' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '1082' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '1082' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '1082' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '1082' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '1082' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '0'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '119'
SELECT url FROM university WHERE universityID = '8'
SELECT url FROM university WHERE universityID = '8'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '119'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '190'
SELECT url FROM university WHERE universityID = '5'
SELECT url FROM university WHERE universityID = '5'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '190'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '404'
SELECT url FROM university WHERE universityID = '4'
SELECT url FROM university WHERE universityID = '4'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '404'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '651'
SELECT url FROM university WHERE universityID = '24'
SELECT url FROM university WHERE universityID = '24'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '651'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '787'
SELECT url FROM university WHERE universityID = '29'
SELECT url FROM university WHERE universityID = '29'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '787'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '1082'
SELECT url FROM university WHERE universityID = '8'
SELECT url FROM university WHERE universityID = '8'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '1082'
$cntToLoad
search
$tmpToLoad
userChoice
$_SESSIONS
Array
(
    [siteCountry] => 
)
1
$_POST
Array
(
)
1
$_GET
Array
(
    [cSpec] => ikonomika
)
1
$data
Array
(
    [0] => Array
        (
            [university_specialtyID] => 119
            [hide] => 0
            [position] => 0
            [universityID] => 8
            [specialtyID] => 351
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Икономика
            [longName] => Икономика
            [fo] => 0
            [otherLang] => 0
            [url] => ikonomika
            [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] => 141
        )

    [1] => Array
        (
            [university_specialtyID] => 190
            [hide] => 0
            [position] => 0
            [universityID] => 5
            [specialtyID] => 351
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Икономика
            [longName] => Икономика
            [fo] => 0
            [otherLang] => 3
            [url] => ikonomika
            [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] => 550
        )

    [2] => Array
        (
            [university_specialtyID] => 404
            [hide] => 0
            [position] => 0
            [universityID] => 4
            [specialtyID] => 351
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Икономика
            [longName] => Икономика
            [fo] => 0
            [otherLang] => 0
            [url] => ikonomika
            [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] => 291
        )

    [3] => Array
        (
            [university_specialtyID] => 651
            [hide] => 0
            [position] => 0
            [universityID] => 24
            [specialtyID] => 351
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Икономика
            [longName] => Икономика
            [fo] => 0
            [otherLang] => 0
            [url] => ikonomika
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Шуменски университет ''Епископ Константин Преславски''
                    [cityID] => 29
                    [pix] => Array
                        (
                            [ID] => 44
                            [type] => 0
                            [name] => bcwdm1374671196.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-07-24 16:06:40
                        )

                )

            [cityData] => Array
                (
                    [cityID] => 29
                    [longName] => Шумен
                    [pix] => 
                )

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

    [4] => Array
        (
            [university_specialtyID] => 787
            [hide] => 0
            [position] => 0
            [universityID] => 29
            [specialtyID] => 351
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Икономика
            [longName] => Икономика
            [fo] => 0
            [otherLang] => 0
            [url] => ikonomika
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Американски университет в България
                    [cityID] => 17
                    [pix] => 
                )

            [cityData] => Array
                (
                    [cityID] => 17
                    [longName] => Благоевград
                    [pix] => Array
                        (
                            [ID] => 2
                            [type] => 0
                            [name] => ztjc31369236027.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:20:42
                        )

                )

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

    [5] => Array
        (
            [university_specialtyID] => 1082
            [hide] => 0
            [position] => 0
            [universityID] => 8
            [specialtyID] => 351
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Икономика с преподаване на английски език
            [longName] => Икономика с преподаване на английски език
            [fo] => 0
            [otherLang] => 1
            [url] => ikonomika-s-prepodavane-na-angliyski-ezik
            [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] => 0
            [activeChance] => 0
        )

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