From c2908f8a1487e62c4a61032e261721cefc357980 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Sun, 1 Mar 2020 03:29:48 +0100 Subject: Rev: 4611 --- .../www/include/modules/felveteli/szobeli.php | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'mayor-orig/mayor-felveteli/www/include/modules') 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; $iFeldolgozott tagozatok: '.implode('
',$_tmp).'

'); +if (_EV==2020) { +define(SZOBELI_EREDMENY_PLACEHOLDER,' +Ponthatárok: + +'); +} if ($olr=='') db_close($lr); return $R; } -- cgit v1.2.3