forked from aslan/applicant-site
prodV1 #2
|
@ -28,34 +28,37 @@ 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']['ЕГЭ'])){
|
||||
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'])){
|
||||
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'])){
|
||||
|
||||
if (array_key_exists('МГТУ', $direction['budget_places'])) {
|
||||
foreach ($direction['budget_places']['МГТУ'] as $profile_name => $profile) {
|
||||
$profile_content ='';
|
||||
foreach($profile as $forms => $budget_places){
|
||||
$profile_content = '';
|
||||
foreach ($profile as $forms => $budget_places) {
|
||||
$profile_content .= "<strong> {$forms} </strong> - " . "<span style='font-family: Geologica-ExtraLight'> {$budget_places} </span><br>";
|
||||
}
|
||||
$mgtu .= "<div class=\"accordion\" id=\"accordionExample\">
|
||||
|
|
Loading…
Reference in New Issue