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 = 'medicina'
UPDATE specialty SET hits = (hits + 1) WHERE specialtyID = '168'
SELECT * FROM university_specialty WHERE hide = 0 AND specialtyID = '168' ORDER BY longName
SELECT longName, cityID, pix FROM university WHERE universityID = '16'
SELECT * FROM pic WHERE ID='36'
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 = '499' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '499' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '499' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '499' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '499' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '499' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '499' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '428'
SELECT longName, cityID, pix FROM university WHERE universityID = '19'
SELECT * FROM pic WHERE ID='38'
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 = '566' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '566' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '566' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '566' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '566' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '372'
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 = '686' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '686' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '686' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '686' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '686' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '686' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '686' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '260'
SELECT longName, cityID, pix FROM university WHERE universityID = '21'
SELECT * FROM pic WHERE ID='37'
SELECT cityID, longName, pix FROM city WHERE cityID='7'
SELECT * FROM pic WHERE ID='22'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '703' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '703' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '703' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '703' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '703' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '703' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '703' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '433'
SELECT longName, cityID, pix FROM university WHERE universityID = '31'
SELECT * FROM pic WHERE ID='0'
SELECT cityID, longName, pix FROM city WHERE cityID='13'
SELECT * FROM pic WHERE ID='17'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '817' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '817' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '817' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '817' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '817' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '817' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '817' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = ''
SELECT longName, cityID, pix FROM university WHERE universityID = '36'
SELECT * FROM pic WHERE ID='0'
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 = '911' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '911' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '911' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '911' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '911' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '911' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '911' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = ''
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '499'
SELECT url FROM university WHERE universityID = '16'
SELECT url FROM university WHERE universityID = '16'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '499'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '566'
SELECT url FROM university WHERE universityID = '19'
SELECT url FROM university WHERE universityID = '19'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '566'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '686'
SELECT url FROM university WHERE universityID = '5'
SELECT url FROM university WHERE universityID = '5'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '686'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '703'
SELECT url FROM university WHERE universityID = '21'
SELECT url FROM university WHERE universityID = '21'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '703'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '817'
SELECT url FROM university WHERE universityID = '31'
SELECT url FROM university WHERE universityID = '31'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '817'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '911'
SELECT url FROM university WHERE universityID = '36'
SELECT url FROM university WHERE universityID = '36'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '911'
$cntToLoad
search
$tmpToLoad
userChoice
$_SESSIONS
Array
(
    [siteCountry] => 
)
1
$_POST
Array
(
)
1
$_GET
Array
(
    [cSpec] => medicina
)
1
$data
Array
(
    [0] => Array
        (
            [university_specialtyID] => 499
            [hide] => 0
            [position] => 0
            [universityID] => 16
            [specialtyID] => 168
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Медицина
            [longName] => Медицина
            [fo] => 0
            [otherLang] => 0
            [url] => medicina
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Медицински университет - Варна
                    [cityID] => 8
                    [pix] => Array
                        (
                            [ID] => 36
                            [type] => 0
                            [name] => tgfu1374670733.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-07-24 15:59:09
                        )

                )

            [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] => 428
        )

    [1] => Array
        (
            [university_specialtyID] => 566
            [hide] => 0
            [position] => 0
            [universityID] => 19
            [specialtyID] => 168
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Медицина
            [longName] => Медицина
            [fo] => 0
            [otherLang] => 0
            [url] => medicina
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Медицински университет - Пловдив
                    [cityID] => 2
                    [pix] => Array
                        (
                            [ID] => 38
                            [type] => 0
                            [name] => dzi811374670812.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-07-24 16:00:24
                        )

                )

            [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] => 372
        )

    [2] => Array
        (
            [university_specialtyID] => 686
            [hide] => 0
            [position] => 0
            [universityID] => 5
            [specialtyID] => 168
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Медицина
            [longName] => Медицина
            [fo] => 0
            [otherLang] => 0
            [url] => medicina
            [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] => 260
        )

    [3] => Array
        (
            [university_specialtyID] => 703
            [hide] => 0
            [position] => 0
            [universityID] => 21
            [specialtyID] => 168
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Медицина
            [longName] => Медицина
            [fo] => 0
            [otherLang] => 0
            [url] => medicina
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Медицински университет - Плевен
                    [cityID] => 7
                    [pix] => Array
                        (
                            [ID] => 37
                            [type] => 0
                            [name] => k8qk1374670773.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-07-24 15:59:36
                        )

                )

            [cityData] => Array
                (
                    [cityID] => 7
                    [longName] => Плевен
                    [pix] => 
                )

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

    [4] => Array
        (
            [university_specialtyID] => 817
            [hide] => 0
            [position] => 0
            [universityID] => 31
            [specialtyID] => 168
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Медицина
            [longName] => Медицина
            [fo] => 0
            [otherLang] => 0
            [url] => medicina
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Тракийски университет-Стара загора
                    [cityID] => 13
                    [pix] => 
                )

            [cityData] => Array
                (
                    [cityID] => 13
                    [longName] => Стара Загора
                    [pix] => Array
                        (
                            [ID] => 17
                            [type] => 0
                            [name] => ctkqq1369236743.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:32:26
                        )

                )

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

    [5] => Array
        (
            [university_specialtyID] => 911
            [hide] => 0
            [position] => 0
            [universityID] => 36
            [specialtyID] => 168
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Медицина
            [longName] => Медицина
            [fo] => 0
            [otherLang] => 0
            [url] => medicina
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Медицински университет-София
                    [cityID] => 1
                    [pix] => 
                )

            [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] => 
        )

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