echo $this->course_info['fullname']; ?> </td> </tr> <tr> <td width="60%" colspan="2"> </td> </tr> <tr class="sectiontableentry"> <td align="left"> <b><?php echo JText::_('COM_JOOMDLE_SUMMARY'); ?> : </b><?php echo JoomdleHelperSystem::fix_text_format($this->course_info['summary']); ?> </td> </tr> <tr class="sectiontableentry"> <td align="left"> <b><?php echo JText::_('COM_JOOMDLE_STUDENT_NO'); ?> : </b><?php echo $this->student_no; ?> </td> </tr>
foreach ($this->cursos as $curso) : ?> <?php $cat_id = $curso['cat_id']; $course_id = $curso['remoteid']; $cat_slug = JFilterOutput::stringURLSafe ($curso['cat_name']); $course_slug = JFilterOutput::stringURLSafe ($curso['fullname']); ?> <div class="joomdle_course_list_item"> <div class="joomdle_item_title joomdle_course_list_item_title"> <?php $url = JRoute::_("index.php?option=com_joomdle&view=detail&cat_id=$cat_id:$cat_slug&course_id=$course_id:$course_slug&Itemid=$itemid"); ?> <?php echo "<a href=\"$url\">".$curso['fullname']."</a>"; ?> </div> <?php if ($curso['summary']) : ?> <div class="joomdle_item_content joomdle_course_list_item_description"> <div class="joomdle_course_description"> <?php echo JoomdleHelperSystem::fix_text_format($curso['summary']); ?> </div> <?php if ($show_buttons) : ?> <div class="joomdle_course_buttons"> <?php echo JoomdleHelperSystem::actionbutton ( $curso, $free_courses_button, $paid_courses_button); ?> </div> <?php endif; ?> </div> <?php endif; ?> </div> <?php endforeach; ?> </div>
<?php if (is_array($this->categories)) { foreach ($this->categories as $cat) { ?> <div class="joomdle_category_list_item"> <div class="joomdle_item_title joomdle_category_list_item_title"> <?php $url = JRoute::_("index.php?option=com_joomdle&view=coursecategory&cat_id=" . $cat['id'] . ':' . JFilterOutput::stringURLSafe($cat['name']) . "&Itemid={$itemid}"); ?> <?php echo "<a href=\"{$url}\">" . $cat['name'] . "</a>"; ?> </div> <?php if ($cat['description']) { ?> <div class="joomdle_item_content joomdle_course_list_item_description"> <?php echo JoomdleHelperSystem::fix_text_format($cat['description']); ?> </div> <?php } ?> </div> <?php } } ?> </div>
<div class="joomdle-coursedetails<?php echo $this->pageclass_sfx;?>"> <div class="joomdle_course_name"> <h1><?php echo $course_info['fullname']; ?></h1> </div> <?php if ($show_category) : ?> <div class="joomdle_course_category"> <b><?php echo JText::_('COM_JOOMDLE_CATEGORY'); ?>: </b><?php echo $course_info['cat_name']; ?> </div> <?php endif; ?> <?php if ($show_summary) : ?> <div class="joomdle_course_description"> <b><?php echo JText::_('COM_JOOMDLE_SUMMARY'); ?>: </b><?php echo JoomdleHelperSystem::fix_text_format($course_info['summary']); ?> </div> <?php endif; ?> <?php if ($show_language) : ?> <?php if ($course_info['lang']) : ?> <div class="joomdle_course_language"> <b><?php echo JText::_('COM_JOOMDLE_LANGUAGE'); ?>: </b><?php echo JoomdleHelperContent::get_language_str ($course_info['lang']); ?> </div> <?php endif; ?> <?php endif; ?> <?php if ($show_startdate) : ?> <div class="joomdle_course_startdate"> <b><?php echo JText::_('COM_JOOMDLE_START_DATE'); ?>: </b> <?php echo JHtml::_('date',date('Y-m-d',$course_info['startdate']), JText::_('DATE_FORMAT_LC1')); ?>