{if !(empty($hot_courses)) } {"HottestCourses"|get_lang} {foreach $hot_courses as $hot_course} {* html_image file=$hot_course.extra_info.course_image *} {$hot_course.extra_info.name|truncate:60} {$hot_course.extra_info.rating_html} {if ($hot_course.extra_info.visibility == 3)} {"Description"|get_lang} {/if} {* World *} {if ($hot_course.extra_info.visibility == 3)} {"GoToCourse"|get_lang} {/if} {/foreach} {/if}