diff --git a/frontend/views/site/doctor.php b/frontend/views/site/doctor.php index 506dc52..43f1034 100644 --- a/frontend/views/site/doctor.php +++ b/frontend/views/site/doctor.php @@ -53,7 +53,9 @@ use artbox\core\helpers\ImageHelper; $first = ''; $second = ''; $third = ''; + $counter = 0; foreach ($docs as $doc) { + $activeStyle = ($counter == 0) ? 'active' : ''; $docFio = explode(" ", $doc->language->name); $docName = ($docFio[0]) ?? ''; $docSurname = ($docFio[1]) ?? ''; @@ -72,7 +74,7 @@ use artbox\core\helpers\ImageHelper; '; - $second .= '