<tr id="row-<?php echo $row->orderid; ?> "> <td width="75%"> <?php echo $row->eventname; ?> - <?php echo $row->ticketname; ?> <?php if ($row->seat_sector != 0) { echo ' - ' . JText::_('COM_TICKETMASTER_SEATNUMBER') . ': ' . checkSeat($row->orderid, $this->coords); } ?> <br/><?php echo JText::_('COM_TICKETMASTER_DATE'); ?> : <?php echo date($this->config->dateformat, strtotime($row->ticketdate)); ?> <?php if ($row->show_end_date == 1) { ?> - <?php echo date($this->config->dateformat, strtotime($row->end_date)); ?> <?php
if ($row->seat_sector != 0) { echo ' - Seat: ' . checkSeat($row->orderid, $this->coords); } ?> <?php } else { ?> <strong><?php echo $row->eventname; ?> </strong> <br /> <?php echo $row->ticketname; ?> <?php if ($row->seat_sector != 0) { echo '<br/>' . JText::_('COM_TICKETMASTER_SEAT') . ': ' . checkSeat($row->orderid, $this->coords); } ?> <?php } ?> </div></td> </td> <td align="center" valign="top"> <div align="center"> <?php ## Path to a normal ticket is as below: $path = JPATH_SITE . DS . 'administrator' . DS . 'components' . DS . 'com_ticketmaster' . DS . 'tickets' . DS . 'eTicket-' . $row->orderid . '.pdf'; $multi = JPATH_SITE . DS . 'administrator' . DS . 'components' . DS . 'com_ticketmaster' . DS . 'tickets' . DS . 'multi-' . $row->ordercode . '.pdf'; ## Remove single ticket