?> </td> <td><?php echo REOutput::formatdate($event->dates, $event->times); ?> </td> <td><?php echo redEVENTHelper::getEventDuration($event); ?> </td> <td><?php echo JHTML::_('link', $venue_url, $event->venue); ?> </td> <td class="re-price"><?php echo REOutput::formatprices($event->prices) . '/' . $event->course_credit; ?> </td> <td> <?php /* Get the different submission types */ $submissiontypes = explode(',', $event->submission_types); $venues_html = ''; foreach ($submissiontypes as $key => $subtype) { switch ($subtype) { case 'email': $venues_html .= '<div class="vlink email">' . JHTML::_('link', JRoute::_('index.php?option=com_redevent&view=signup&task=signup&subtype=email&xref=' . $event->xref . '&id=' . $event->id), JHTML::_('image', $imagepath . $elsettings->get('signup_email_img'), $elsettings->get('signup_email_text'), 'width="24px" height="24px"')) . '</div> '; break; case 'phone': $venues_html .= '<div class="vlink phone">' . JHTML::_('link', JRoute::_('index.php?option=com_redevent&view=signup&task=signup&subtype=phone&xref=' . $event->xref . '&id=' . $event->id), JHTML::_('image', $imagepath . $elsettings->get('signup_phone_img'), $elsettings->get('signup_phone_text'), 'width="24px" height="24px"')) . '</div> '; break;