Compare commits

..

No commits in common. "7f6b65175b5ea1abcf95b765e368d63c6974eeea" and "bffff7f2097275fc83911acfcdd99081cecb5ce8" have entirely different histories.

2 changed files with 7 additions and 16 deletions

View File

@ -55,16 +55,10 @@ class DirectonHtmlBuilder
<br> <br>
<div class=" d-inline-block p-2 text-start">'; <div class=" d-inline-block p-2 text-start">';
if (array_key_exists('ЕГЭ', $direction['entrance_examinations'])){ foreach ($direction['entrance_examinations']['ЕГЭ']['Обязательные'] as $key => $el) {
foreach ($direction['entrance_examinations']['ЕГЭ']['Обязательные'] as $key => $el) { $EGE .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>' ;
$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 "> $po_viboru = '<div class="col-auto ">
<strong> Предметы по выбору </strong> <strong> Предметы по выбору </strong>

View File

@ -55,14 +55,11 @@ class DirectonHtmlBuilderForCalculator
<br> <br>
<br> <br>
<div class=" d-inline-block p-2 text-start">'; <div class=" d-inline-block p-2 text-start">';
if (array_key_exists('ЕГЭ', $direction['entrance_examinations'])) { foreach ($direction['entrance_examinations']['ЕГЭ']['Обязательные'] as $key => $el) {
foreach ($direction['entrance_examinations']['ЕГЭ']['Обязательные'] as $key => $el) { $EGE .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>' ;
$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 "> $po_viboru = '<div class="col-auto ">
<strong> Предметы по выбору </strong> <strong> Предметы по выбору </strong>
<br> <br>