From 20361aa31c7749c47416ea9b76fde393fa28cec6 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Mon, 10 Sep 2018 17:41:41 +0200 Subject: Rev: 4365 --- .../classic/module-naplo/css/intezmeny/diak.css | 19 +++++ .../classic/module-naplo/html/intezmeny/diak.phtml | 98 +++++++++++++++++++++- .../module-naplo/html/osztalyozo/stat.phtml | 33 +++++++- 3 files changed, 146 insertions(+), 4 deletions(-) (limited to 'mayor-orig/www/skin/classic/module-naplo') diff --git a/mayor-orig/www/skin/classic/module-naplo/css/intezmeny/diak.css b/mayor-orig/www/skin/classic/module-naplo/css/intezmeny/diak.css index 4aa979a5..6475a4f4 100644 --- a/mayor-orig/www/skin/classic/module-naplo/css/intezmeny/diak.css +++ b/mayor-orig/www/skin/classic/module-naplo/css/intezmeny/diak.css @@ -146,3 +146,22 @@ button:hover, .toolBarTool table.flipper input:hover,form.diak input.diakSubmit background-image: -o-linear-gradient(top, #1ab0ec, #1a92c2); background-image: linear-gradient(to bottom, #1ab0ec, #1a92c2);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#1ab0ec, endColorstr=#1a92c2); } + + +table.diakNyelvvizsgak { + background-color: white; + padding:10px; + margin:auto; + margin-bottom: 2em; +} +table.diakNyelvvizsgak tr th { + background-color: #e91e63; + color:white; + text-align:center; + padding: 2px 4px; + border-bottom: solid 1px #aaa; +} +table.diakNyelvvizsgak tr td { + border: solid 1px black; border-collapse: collapse; + padding: 4px; +} diff --git a/mayor-orig/www/skin/classic/module-naplo/html/intezmeny/diak.phtml b/mayor-orig/www/skin/classic/module-naplo/html/intezmeny/diak.phtml index 8a3c18af..546d1a42 100644 --- a/mayor-orig/www/skin/classic/module-naplo/html/intezmeny/diak.phtml +++ b/mayor-orig/www/skin/classic/module-naplo/html/intezmeny/diak.phtml @@ -43,6 +43,8 @@ $cssClass2 = (_MODOSITHAT===true) ? "":" readonly"; + echo ''._DIAK_NYELVVIZSGA_ADATOK.''; + echo '
'; for ($i=0; $i<=count($ADAT['diakKepzes'][$ADAT['diakId']]); $i++) { $_DK = $ADAT['diakKepzes'][$ADAT['diakId']][$i]; @@ -63,6 +65,7 @@ putDiakCim($diakAdat, 'lakhely', $POSTTHESE); putDiakCim($diakAdat, 'tart', $POSTTHESE); putDiakTanulmanyiAdatok($diakAdat, $POSTTHESE, $OSZTALYOK, $ADAT); + putDiakNyelvvizsga($ADAT, $POSTTHESE); putDiakSzocialisAdatok($diakAdat, $POSTTHESE); echo '
'; @@ -436,7 +439,6 @@ echo ''."\n"; _postThese($POSTTHESE); echo '
'._DIAK_TANULMANYI_ADATOK.''."\n"; -//var_dump($diakAdat['mindenOsztaly']); echo ''."\n"; $voltOsztaly = $Osztaly = array(); @@ -939,4 +941,98 @@ } + function putDiakNyelvvizsga($ADAT, $POSTTHESE) { + + $diakAdat = $ADAT['diakAdat']; + + $tanev = $POSTTHESE['tanev']; + + formBegin(array('method'=>'post', 'class'=>'diak')); + + echo ''."\n"; + echo ''."\n"; + _postThese($POSTTHESE); + + echo '
'._DIAK_NYELVVIZSGA_ADATOK.''."\n"; + echo '
'."\n"; + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + echo '
'; + // echo ''; + + $NY = $ADAT['diakAdat']['diakNyelvvizsga']; + if (count($NY)>0) { + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + for ($i=0; $i'; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + } + echo '
NyelvSzintTípusIntézményBizonyítvány számKiállítás dátuma
'; + echo ''; + echo ''; + for ($j=0; $j'; + echo ''.$NY[$i]['vizsgaSzint'].''.$NY[$i]['vizsgaTipus'].''.$NY[$i]['vizsgaIntezmeny'].''.$NY[$i]['vizsgaBizonyitvanySzam'].''.$NY[$i]['vizsgaDt'].'
'; + } + echo '
'; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + echo ''."\n"; + + echo ''; + echo ''; + echo ''; + + + echo '
'."\n"; + + if (_MODOSITHAT===true) echo ''; + + echo '
'."\n"; + formEnd(); + + } + + + ?> diff --git a/mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/stat.phtml b/mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/stat.phtml index 8df846dc..40f2a3bd 100644 --- a/mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/stat.phtml +++ b/mayor-orig/www/skin/classic/module-naplo/html/osztalyozo/stat.phtml @@ -105,7 +105,9 @@ if (is_array($ADAT['targyak'])) { foreach ($ADAT['targyak'] as $i => $targyAdat) { echo ''; - echo ''.$targyAdat['targyNev'].''; + echo ''.$targyAdat['targyNev']; + if ($targyAdat['targyJelleg']!='') echo ' ('.$targyAdat['targyJelleg'].')'; + echo ''; $_c = 0;$_sum=0; for ($i = 0; $i < count($ADAT['osztaly']); $i++) { if ($ADAT['tantargyiAtlagok'][ $targyAdat['targyId'] ][ $ADAT['osztaly'][$i]['osztalyId'] ] != 0) { @@ -141,8 +143,33 @@ echo ''; - echo ''; - echo ''; +/* + +--TODO + + if (is_array($ADAT['targyak'])) { + foreach($ADAT['vizsgaSzint'] as $vizsgaSzint) { + echo ''; + echo ''.$vizsgaSzint.' '; + foreach ($ADAT['targyak'] as $i => $targyAdat) { + if ($targyAdat['targyJelleg'] == 'nyelv') { + echo ''; + echo ''; + echo $targyAdat['targyNev']; + echo ''; + $_c = 0;$_sum=0; + for ($i = 0; $i < count($ADAT['osztaly']); $i++) { + echo ''; + echo '-'; + echo ''; + } + echo ''."\n"; + } + } + echo ''; + } + } +*/ echo ''; -- cgit v1.2.3