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-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 +++++-
17 files changed, 141 insertions(+), 42 deletions(-)
(limited to 'mayor-orig/mayor-felveteli')
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
',$_tmp).'