diff options
author | M.Gergo | 2018-07-06 11:35:38 +0200 |
---|---|---|
committer | M.Gergo | 2018-07-06 11:35:38 +0200 |
commit | 9f8ebef887d2a1fa3c4ca138e28d6f732071176b (patch) | |
tree | 60bac3ca437d60d4f82d6f23e8b10e765b3e803b /mayor-orig/www/policy/private/naplo/haladasi | |
parent | 095e5987eadbe3786be5e12ef385bda9640155b0 (diff) | |
download | mayor-9f8ebef887d2a1fa3c4ca138e28d6f732071176b.tar.gz mayor-9f8ebef887d2a1fa3c4ca138e28d6f732071176b.zip |
2018-07-03 állapot
Diffstat (limited to 'mayor-orig/www/policy/private/naplo/haladasi')
-rw-r--r-- | mayor-orig/www/policy/private/naplo/haladasi/stat-pre.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mayor-orig/www/policy/private/naplo/haladasi/stat-pre.php b/mayor-orig/www/policy/private/naplo/haladasi/stat-pre.php index 4596c54a..42623c11 100644 --- a/mayor-orig/www/policy/private/naplo/haladasi/stat-pre.php +++ b/mayor-orig/www/policy/private/naplo/haladasi/stat-pre.php @@ -9,9 +9,11 @@ require_once('include/modules/naplo/share/diak.php'); require_once('include/modules/naplo/share/hianyzas.php'); require_once('include/modules/naplo/share/nap.php'); + require_once('include/modules/naplo/share/munkakozosseg.php'); $tanarId = readVariable($_POST['tanarId'],'numeric unsigned'); $osztalyId = readVariable($_POST['osztalyId'],'numeric unsigned'); + $mkId = readVariable($_POST['mkId'],'numeric unsigned'); if (__DIAK) $diakId = __USERDIAKID; else $diakId = readVariable($_POST['diakId'], 'numeric unsigned', readVariable($_GET['diakId'], 'numeric unsigned')); @@ -22,6 +24,7 @@ if (isset($diakId)) $Tankorok = getTankorByDiakId($diakId, __TANEV, array('tolDt' => $_TANEV['kezdesDt'])); elseif (isset($osztalyId)) $Tankorok = getTankorByOsztalyId($osztalyId, __TANEV); elseif (isset($tanarId)) $Tankorok = getTankorByTanarId($tanarId, __TANEV); + elseif (isset($mkId)) $Tankorok = getTankorByMkId($mkId, __TANEV); $tankorIds = array(); for ($i = 0; $i < count($Tankorok); $i++) $tankorIds[] = $Tankorok[$i]['tankorId']; @@ -41,6 +44,7 @@ $TOOL['diakSelect'] = array('tipus'=>'cella','paramName'=>'diakId', 'post'=>array('osztalyId','igDt')); if (isset($diakId)) $TOOL['diakLapozo'] = array('tipus'=>'sor', 'paramName'=>'diakId', 'post'=>array('osztalyId','igDt')); } + $TOOL['munkakozossegSelect'] = array('tipus'=>'cella', 'post'=>array('igDt')); } if (isset($diakId)) { $TOOL['oldalFlipper'] = array('tipus' => 'cella', |