From c2908f8a1487e62c4a61032e261721cefc357980 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Sun, 1 Mar 2020 03:29:48 +0100 Subject: Rev: 4611 --- mayor-orig/mayor-base/log/mayor-base.rev | 2 +- .../www/skin/classic/base/html/base.phtml | 2 +- .../www/skin/classic/module-auth/html/login.phtml | 2 +- mayor-orig/mayor-felveteli/log/mayor-felveteli.rev | 2 +- .../include/menu/public/hu_HU/module-felveteli.php | 4 +- .../www/include/modules/felveteli/szobeli.php | 24 +++++++++++ .../www/policy/private/felveteli/szobeli-pre.php | 2 +- .../www/policy/private/felveteli/szobeli.php | 2 +- .../skin/classic/module-felveteli/css/szobeli.css | 6 ++- .../module-felveteli/html/pontszamito.phtml | 46 +++++++++++++--------- .../classic/module-felveteli/html/szobeli.phtml | 21 ++++++---- .../javascript/pontszamito.jquery.min.js | 15 +++++-- .../www/static/hu_HU/felveteli/biologia.html | 8 +++- .../www/static/hu_HU/felveteli/enek.html | 8 +++- .../www/static/hu_HU/felveteli/fizika.html | 8 +++- .../www/static/hu_HU/felveteli/hatevfolyamos.html | 5 +++ .../www/static/hu_HU/felveteli/human.html | 8 +++- .../www/static/hu_HU/felveteli/informatika.html | 5 +++ .../www/static/hu_HU/felveteli/matematika.html | 6 +++ .../www/static/hu_HU/felveteli/otevfolyamos.html | 13 +++++- mayor-orig/mayor-fenntarto/log/mayor-fenntarto.rev | 2 +- .../mayor-installer-orig/log/mayor-installer.rev | 2 +- .../log/mayor-installer-sulix.rev | 2 +- mayor-orig/mayor-jatek/log/mayor-jatek.rev | 2 +- .../log/mayor-locales-de_DE.rev | 2 +- .../log/mayor-locales-en_US.rev | 2 +- .../log/mayor-locales-jp_JP.rev | 2 +- mayor-orig/mayor-naplo/log/mayor-naplo.rev | 2 +- mayor-orig/mayor-portal/log/mayor-portal.rev | 2 +- .../www/policy/private/portal/hirek/egyhir-pre.php | 6 +-- .../module-portal/javascript/portal.jquery.min.js | 2 +- mayor-orig/mayor-wiki/log/mayor-wiki.rev | 2 +- mayor-orig/md5sum | 26 ++++++------ mayor-orig/rev.txt | 2 +- rev.txt | 2 +- 35 files changed, 173 insertions(+), 74 deletions(-) diff --git a/mayor-orig/mayor-base/log/mayor-base.rev b/mayor-orig/mayor-base/log/mayor-base.rev index 7561799f..c340a93c 100644 --- a/mayor-orig/mayor-base/log/mayor-base.rev +++ b/mayor-orig/mayor-base/log/mayor-base.rev @@ -1 +1 @@ -4604 +4611 diff --git a/mayor-orig/mayor-base/www/skin/classic/base/html/base.phtml b/mayor-orig/mayor-base/www/skin/classic/base/html/base.phtml index 5e75c5c2..8d5a81a9 100644 --- a/mayor-orig/mayor-base/www/skin/classic/base/html/base.phtml +++ b/mayor-orig/mayor-base/www/skin/classic/base/html/base.phtml @@ -96,7 +96,7 @@ function html_head($page,$sub,$f,$lang,$skin) { } } echo ''."\n"; - echo ''."\n".'
'."\n"; + echo ''."\n".''."\n"; if (is_string($SSSBB) && $SSSBB!='') echo $SSSBB; } diff --git a/mayor-orig/mayor-base/www/skin/classic/module-auth/html/login.phtml b/mayor-orig/mayor-base/www/skin/classic/module-auth/html/login.phtml index cac82b7e..b7fce357 100644 --- a/mayor-orig/mayor-base/www/skin/classic/module-auth/html/login.phtml +++ b/mayor-orig/mayor-base/www/skin/classic/module-auth/html/login.phtml @@ -32,7 +32,7 @@ _putsvg(); echo ''; - echo ''."\n"; + echo ''."\n"; echo ''."\n"; diff --git a/mayor-orig/mayor-felveteli/log/mayor-felveteli.rev b/mayor-orig/mayor-felveteli/log/mayor-felveteli.rev index 7561799f..c340a93c 100644 --- a/mayor-orig/mayor-felveteli/log/mayor-felveteli.rev +++ b/mayor-orig/mayor-felveteli/log/mayor-felveteli.rev @@ -1 +1 @@ -4604 +4611 diff --git a/mayor-orig/mayor-felveteli/www/include/menu/public/hu_HU/module-felveteli.php b/mayor-orig/mayor-felveteli/www/include/menu/public/hu_HU/module-felveteli.php index bd109555..4fa2aa1d 100644 --- a/mayor-orig/mayor-felveteli/www/include/menu/public/hu_HU/module-felveteli.php +++ b/mayor-orig/mayor-felveteli/www/include/menu/public/hu_HU/module-felveteli.php @@ -25,8 +25,8 @@ // 'informatika' => array(array('txt' => 'Informatika','icon'=>'icon-hand-right')), 'matematika' => array(array('txt' => 'Matematika','icon'=>'icon-hand-right')), // 'kozponti' => array(array('txt' => 'Központi eredmények', 'url' => 'index.php?page=felveteli&sub=&f=kozponti')), -// 'pontszamito' => array(array('txt' => 'Pontszámító segéd', 'url' => 'index.php?page=felveteli&sub=&f=pontszamito')), -// 'szobeli' => array(array('txt' => 'Eredmények', 'url' => 'index.php?page=felveteli&sub=&f=szobeli')), + 'pontszamito' => array(array('txt' => 'Pontszámító segéd', 'url' => 'index.php?page=felveteli&sub=&f=pontszamito')), + 'szobeli' => array(array('txt' => 'Eredmények', 'url' => 'index.php?page=felveteli&sub=&f=szobeli')), // 'nyiltlevel2016' => array(array('txt' => 'Nyílt levél 2016', 'url' => 'index.php?page=felveteli&sub=&f=nyiltlevel2014')), // 'kos' => array(array('txt'=>'Felvételi (általános iskola)', 'url'=>'index.php?page=felveteli&sub=kos')), ); diff --git a/mayor-orig/mayor-felveteli/www/include/modules/felveteli/szobeli.php b/mayor-orig/mayor-felveteli/www/include/modules/felveteli/szobeli.php index 6590e9ea..00162f4a 100644 --- a/mayor-orig/mayor-felveteli/www/include/modules/felveteli/szobeli.php +++ b/mayor-orig/mayor-felveteli/www/include/modules/felveteli/szobeli.php @@ -63,10 +63,34 @@ } function getSzobeliByOktid($oktid, $olr = '') { + global $TAGOZATOK; if (!is_numeric($oktid)) return false; if ($olr=='') $lr = db_connect('felveteli'); else $lr=$olr; $q = "SELECT * FROM szobeli_"._EV." WHERE `oktid`='$oktid' ORDER BY napdt,ido,tagozat"; $R = db_query($q,array('result'=>'indexed'),$lr); + + $q = "SELECT distinct tagozat FROM szobeli_"._EV; + $X = db_query($q,array('result'=>'idonly'),$lr); + dump($X); + for ($i=0; $i