<?php defined('_JEXEC') or die('Restricted access'); AImporter::helper('date', 'js', 'html'); Aimporter::model('application'); class BookproViewCustomService extends JViewLegacy { function display($tpl = null) { $model = new BookProModelApplication(); $this->content = $model->getItemByCode('CUSTOMIZE_SERVICES'); parent::display($tpl); } function getServices() { $options = array((object) array('value' => '', 'title' => JText::_('COM_BOOKPRO_CUSTOMIZE_SELECT')), (object) array('value' => 'TOUR', 'title' => JText::_('COM_BOOKPRO_CUSTOMIZE_TOUR')), (object) array('value' => 'EXECUTIVE_CAR', 'title' => JText::_('COM_BOOKPRO_CUSTOMIZE_EXECUTIVE_CAR')), (object) array('value' => 'LIMO', 'title' => JText::_('COM_BOOKPRO_CUSTOMIZE_LIMO')), (object) array('value' => 'OTHER', 'title' => JText::_('COM_BOOKPRO_CUSTOMIZE_OTHER'))); return JHTML::_('select.genericlist', $options, 'orderinfo[type]', 'required class="inputbox required" ', 'value', 'title', null, 'orderinfo_type'); } }