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 = 'balgarski-ezik-i-ruski-ezik'
UPDATE specialty SET hits = (hits + 1) WHERE specialtyID = '55'
SELECT * FROM university_specialty WHERE hide = 0 AND specialtyID = '55' ORDER BY longName
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 = '88' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '88' AND ratingType = '1'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '88' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '82'
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 = '443' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '443' AND ratingType = '1'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '443' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '559'
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 = '637' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '637' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '637' AND ratingType = '3'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '637' AND ratingType = '1'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '637' AND ratingType = '2'
SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '637' AND ratingType = '3'
SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '637' AND scoreYear = (2014 - 1)
SELECT hide FROM university_scoring WHERE university_scoringID = '478'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '88'
SELECT url FROM university WHERE universityID = '1'
SELECT url FROM university WHERE universityID = '1'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '88'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '443'
SELECT url FROM university WHERE universityID = '3'
SELECT url FROM university WHERE universityID = '3'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '443'
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '637'
SELECT url FROM university WHERE universityID = '24'
SELECT url FROM university WHERE universityID = '24'
SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '637'
$cntToLoad
search
$tmpToLoad
userChoice
$_SESSIONS
Array
(
    [siteCountry] => 
)
1
$_POST
Array
(
)
1
$_GET
Array
(
    [cSpec] => balgarski-ezik-i-ruski-ezik
)
1
$data
Array
(
    [0] => Array
        (
            [university_specialtyID] => 88
            [hide] => 0
            [position] => 0
            [universityID] => 1
            [specialtyID] => 55
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Български език и руски език
            [longName] => Български език и руски език
            [fo] => 0
            [otherLang] => 0
            [url] => balgarski-ezik-i-ruski-ezik
            [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] => 82
        )

    [1] => Array
        (
            [university_specialtyID] => 443
            [hide] => 0
            [position] => 0
            [universityID] => 3
            [specialtyID] => 55
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Български език и руски език
            [longName] => Български език и руски език
            [fo] => 2
            [otherLang] => 0
            [url] => balgarski-ezik-i-ruski-ezik
            [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] => 559
        )

    [2] => Array
        (
            [university_specialtyID] => 637
            [hide] => 0
            [position] => 0
            [universityID] => 24
            [specialtyID] => 55
            [napID] => 0
            [university_facultyID] => 0
            [university_scoringID] => 0
            [shortName] => Български език и руски език
            [longName] => Български език и руски език
            [fo] => 0
            [otherLang] => 0
            [url] => balgarski-ezik-i-ruski-ezik
            [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] => 478
        )

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