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 = 'elektroenergetika-i-elektroobzavejdane'
UPDATE specialty SET hits = (hits + 1) WHERE specialtyID = '80'
SELECT * FROM university_specialty WHERE hide = 0 AND specialtyID = '80' ORDER BY longName
SELECT longName, cityID, pix FROM university WHERE universityID = '7'
SELECT * FROM pic WHERE ID='18'
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 = '151' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '151' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '151' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '151' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '151' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '151' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '151' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '348'
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 = '393' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '393' AND ratingType = '1'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '393' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '273'
SELECT longName, cityID, pix FROM university WHERE universityID = '18'
SELECT * FROM pic WHERE ID='39'
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 = '555' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '555' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '555' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '555' AND ratingType = '1'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '555' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '436'
SELECT longName, cityID, pix FROM university WHERE universityID = '27'
SELECT * FROM pic WHERE ID='0'
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 = '745' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '745' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '745' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '745' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '745' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '745' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '745' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = ''
SELECT longName, cityID, pix FROM university WHERE universityID = '28'
SELECT * FROM pic WHERE ID='0'
SELECT cityID, longName, pix FROM city WHERE cityID='22'
SELECT * FROM pic WHERE ID='0'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '766' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '766' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '766' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '766' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '766' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '766' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '766' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = ''
SELECT longName, cityID, pix FROM university WHERE universityID = '37'
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 = '924' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '924' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '924' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '924' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '924' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '924' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '924' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = ''
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '151'
SELECT url FROM university WHERE universityID = '7'
SELECT url FROM university WHERE universityID = '7'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '151'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '393'
SELECT url FROM university WHERE universityID = '4'
SELECT url FROM university WHERE universityID = '4'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '393'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '555'
SELECT url FROM university WHERE universityID = '18'
SELECT url FROM university WHERE universityID = '18'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '555'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '745'
SELECT url FROM university WHERE universityID = '27'
SELECT url FROM university WHERE universityID = '27'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '745'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '766'
SELECT url FROM university WHERE universityID = '28'
SELECT url FROM university WHERE universityID = '28'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '766'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '924'
SELECT url FROM university WHERE universityID = '37'
SELECT url FROM university WHERE universityID = '37'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '924'
$cntToLoad
search
$tmpToLoad
userChoice
$_SESSIONS
Array
(
    [siteCountry] => 
)
1
$_POST
Array
(
)
1
$_GET
Array
(
    [cSpec] => elektroenergetika-i-elektroobzavejdane
)
1
$data
Array
(
    [0] => Array
        (
            [university_specialtyID] => 151
            [hide] => 0
            [position] => 0
            [universityID] => 7
            [specialtyID] => 80
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Електроенергетика и електрообзавеждане
            [longName] => Електроенергетика и електрообзавеждане
            [fo] => 0
            [otherLang] => 0
            [url] => elektroenergetika-i-elektroobzavejdane
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Технически университет - София
                    [cityID] => 1
                    [pix] => Array
                        (
                            [ID] => 18
                            [type] => 0
                            [name] => vkz3p1369236760.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-05-22 18:32:50
                        )

                )

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

    [1] => Array
        (
            [university_specialtyID] => 393
            [hide] => 0
            [position] => 0
            [universityID] => 4
            [specialtyID] => 80
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Електроенергетика и електрообзавеждане
            [longName] => Електроенергетика и електрообзавеждане
            [fo] => 2
            [otherLang] => 0
            [url] => elektroenergetika-i-elektroobzavejdane
            [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] => 273
        )

    [2] => Array
        (
            [university_specialtyID] => 555
            [hide] => 0
            [position] => 0
            [universityID] => 18
            [specialtyID] => 80
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Електроенергетика и електрообзавеждане
            [longName] => Електроенергетика и електрообзавеждане
            [fo] => 2
            [otherLang] => 0
            [url] => elektroenergetika-i-elektroobzavejdane
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Минно-геоложки университет ''Св. Иван Рилски''
                    [cityID] => 1
                    [pix] => Array
                        (
                            [ID] => 39
                            [type] => 0
                            [name] => 5fit1374670856.jpg
                            [title] => 
                            [txt] => 
                            [addDate] => 2013-07-24 16:01:02
                        )

                )

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

    [3] => Array
        (
            [university_specialtyID] => 745
            [hide] => 0
            [position] => 0
            [universityID] => 27
            [specialtyID] => 80
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Електроенергетика и електрообзавеждане
            [longName] => Електроенергетика и електрообзавеждане
            [fo] => 2
            [otherLang] => 0
            [url] => elektroenergetika-i-elektroobzavejdane
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Технически университет-Варна
                    [cityID] => 8
                    [pix] => 
                )

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

    [4] => Array
        (
            [university_specialtyID] => 766
            [hide] => 0
            [position] => 0
            [universityID] => 28
            [specialtyID] => 80
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Електроенергетика и електрообзавеждане
            [longName] => Електроенергетика и електрообзавеждане
            [fo] => 2
            [otherLang] => 0
            [url] => elektroenergetika-i-elektroobzavejdane
            [forbidenAppl] => 0
            [universityData] => Array
                (
                    [longName] => Технически университет-Габрово
                    [cityID] => 22
                    [pix] => 
                )

            [cityData] => Array
                (
                    [cityID] => 22
                    [longName] => Габрово
                    [pix] => 
                )

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

    [5] => Array
        (
            [university_specialtyID] => 924
            [hide] => 0
            [position] => 0
            [universityID] => 37
            [specialtyID] => 80
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Електроенергетика и електрообзавеждане
            [longName] => Електроенергетика и електрообзавеждане
            [fo] => 2
            [otherLang] => 0
            [url] => elektroenergetika-i-elektroobzavejdane
            [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+