diff options
author | M.Gergo | 2021-10-29 16:30:05 +0200 |
---|---|---|
committer | M.Gergo | 2021-10-29 16:30:05 +0200 |
commit | 933d9a5ad9b7a134148a1a931fb0cab5c782a245 (patch) | |
tree | 5546352cf5ddbcaf13a4b244a312a3ae64d70b09 /mayor-orig/mayor-naplo/www/policy/private | |
parent | 3a1c1811413c635c5ee6e40cb7d497de7313dbe1 (diff) | |
download | mayor-rev4821.tar.gz mayor-rev4821.zip |
Rev: 4821rev4821
Diffstat (limited to 'mayor-orig/mayor-naplo/www/policy/private')
-rw-r--r-- | mayor-orig/mayor-naplo/www/policy/private/naplo/szulinap.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mayor-orig/mayor-naplo/www/policy/private/naplo/szulinap.php b/mayor-orig/mayor-naplo/www/policy/private/naplo/szulinap.php index 390733b8..deca5915 100644 --- a/mayor-orig/mayor-naplo/www/policy/private/naplo/szulinap.php +++ b/mayor-orig/mayor-naplo/www/policy/private/naplo/szulinap.php @@ -35,13 +35,15 @@ echo '<ul class="szulinap" style="list-style-type: none;">'; for ($i=0; $i<count($ADAT['heti'][$n]['diakok']['diak']); $i++) { $_D = $ADAT['heti'][$n]['diakok']['diak'][$i]; + $_diakId= $_D['diakId']; + $_diakOsztalyId = $ADAT['heti'][$n]['diakok']['diakOsztaly'][$_diakId][0]; echo '<li class="diakAdat diakNev" data-diakid="'.$_D['diakId'].'">'; echo $ADAT['heti'][$n]['diakok']['diak'][$i]['viseltNevElotag'].' '; echo $ADAT['heti'][$n]['diakok']['diak'][$i]['viseltCsaladinev'].' '; echo $ADAT['heti'][$n]['diakok']['diak'][$i]['viseltUtonev']; if ($ADAT['heti'][$n]['diakok']['diak'][$i]['diakEletkor']<=20) echo '<span class="eletkor">'.$ADAT['heti'][$n]['diakok']['diak'][$i]['diakEletkor'].'</span>'; - if ($ADAT['heti'][$n]['diakok']['diak'][$i]['osztaly'][0]['osztalyJel']!='') { - echo ' ('.$ADAT['heti'][$n]['diakok']['diak'][$i]['osztaly'][0]['osztalyJel'].')'; + if ($ADAT['osztaly'][$_diakOsztalyId]['osztalyJel']!='') { + echo ' ('.($ADAT['osztaly'][$_diakOsztalyId]['osztalyJel']).')'; } echo '</li>'; } |