EGE bug fix
This commit is contained in:
parent
261cdafcda
commit
aa0e773592
|
@ -55,10 +55,16 @@ class DirectonHtmlBuilder
|
|||
<br>
|
||||
|
||||
<div class=" d-inline-block p-2 text-start">';
|
||||
foreach ($direction['entrance_examinations']['ЕГЭ']['Обязательные'] as $key => $el) {
|
||||
$EGE .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>' ;
|
||||
if (array_key_exists('ЕГЭ', $direction['entrance_examinations'])){
|
||||
foreach ($direction['entrance_examinations']['ЕГЭ']['Обязательные'] as $key => $el) {
|
||||
$EGE .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>' ;
|
||||
}
|
||||
$EGE .= '</div></div>';
|
||||
} else {
|
||||
$EGE = '';
|
||||
}
|
||||
$EGE .= '</div></div>';
|
||||
|
||||
|
||||
|
||||
$po_viboru = '<div class="col-auto ">
|
||||
<strong> Предметы по выбору </strong>
|
||||
|
|
|
@ -55,11 +55,14 @@ class DirectonHtmlBuilderForCalculator
|
|||
<br>
|
||||
<br>
|
||||
<div class=" d-inline-block p-2 text-start">';
|
||||
foreach ($direction['entrance_examinations']['ЕГЭ']['Обязательные'] as $key => $el) {
|
||||
$EGE .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>' ;
|
||||
if (array_key_exists('ЕГЭ', $direction['entrance_examinations'])) {
|
||||
foreach ($direction['entrance_examinations']['ЕГЭ']['Обязательные'] as $key => $el) {
|
||||
$EGE .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>';
|
||||
}
|
||||
$EGE .= '</div></div>';
|
||||
} else {
|
||||
$EGE = '';
|
||||
}
|
||||
$EGE .= '</div></div>';
|
||||
|
||||
$po_viboru = '<div class="col-auto ">
|
||||
<strong> Предметы по выбору </strong>
|
||||
<br>
|
||||
|
|
Loading…
Reference in New Issue