forked from aslan/applicant-site
prodV1 #2
|
@ -28,31 +28,34 @@ class DirectonHtmlBuilder
|
|||
|
||||
$period = '<br>';
|
||||
foreach ($direction['period'] as $key => $el) {
|
||||
$period .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>' ;
|
||||
$period .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el .
|
||||
'</strong><br>' ;
|
||||
}
|
||||
|
||||
$EGE = '<br>';
|
||||
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>' ;
|
||||
}
|
||||
//dd($direction);
|
||||
$po_viboru = '<br>';
|
||||
if (array_key_exists('Предметы по выбору', $direction['entrance_examinations']['ЕГЭ'])) {
|
||||
foreach ($direction['entrance_examinations']['ЕГЭ']['Предметы по выбору'] as $key => $el) {
|
||||
$po_viboru .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>' ;
|
||||
$po_viboru .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' .
|
||||
$el . '</strong><br>' ;
|
||||
}
|
||||
}
|
||||
$SPO = '<br>';
|
||||
if (array_key_exists('СПО', $direction['entrance_examinations'])) {
|
||||
foreach ($direction['entrance_examinations']['СПО']['Обязательные'] as $key => $el) {
|
||||
$SPO .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el . '</strong><br>' ;
|
||||
$SPO .= '<span style="font-family: Geologica-ExtraLight">' . $key . '</span> - ' . '<strong>' . $el .
|
||||
'</strong><br>' ;
|
||||
}
|
||||
}
|
||||
|
||||
// phpcs:disable
|
||||
|
||||
$mgtu = '';
|
||||
if (array_key_exists('МГТУ', $direction['budget_places'])) {
|
||||
|
||||
foreach ($direction['budget_places']['МГТУ'] as $profile_name => $profile) {
|
||||
$profile_content = '';
|
||||
foreach ($profile as $forms => $budget_places) {
|
||||
|
|
Loading…
Reference in New Issue