echo CitruscartSelect::btbooleanlist('manufacturer_enabled', '', $row->manufacturer_enabled); ?> </td> </tr> <tr> <td style="width: 100px; text-align: right;" class="key"> <?php echo JText::_('COM_CITRUSCART_CURRENT_IMAGE'); ?> : </td> <td> <?php jimport('joomla.filesystem.file'); if (!empty($row->manufacturer_image) && JFile::exists(Citruscart::getPath('manufacturers_images') . DS . $row->manufacturer_image)) { echo CitruscartUrl::popup(CitruscartHelperManufacturer::getImage($row->manufacturer_id, '', '', 'full', true), CitruscartHelperManufacturer::getImage($row->manufacturer_id), array('update' => false, 'img' => true)); } ?> <br /> <input type="text" name="manufacturer_image" id="manufacturer_image" value="<?php echo $row->manufacturer_image; ?> " size="48" maxlength="250" /> </td> </tr> <tr> <td style="width: 100px; text-align: right;" class="key"> <?php echo JText::_('COM_CITRUSCART_UPLOAD_NEW_IMAGE'); ?> :
/** ensure this file is being included by a parent file */ defined('_JEXEC') or die('Restricted access'); $app = JFactory::getApplication(); $doc = JFactory::getDocument(); $doc->addStyleSheet(JUri::root() . 'media/citruscart/css/menu.css'); $doc->addScript(JUri::root() . 'media/citruscart/js/citruscart.js'); $form = $this->form; $row = $this->row; $order = $this->order; $items = $order->getItems(); $surrounding = isset($this->surrounding) ? $this->surrounding : ""; $histories = $row->orderhistory ? $row->orderhistory : array(); Citruscart::load('CitruscartHelperOrder', 'helpers.order'); $display_credits = Citruscart::getInstance()->get('display_credits', '0'); Citruscart::load('CitruscartHelperManufacturer', 'helpers.manufacturer'); $helperMan = new CitruscartHelperManufacturer(); $helperMan->calculateStatsOrder($items); ?> <?php if ($app->input->get('task') == 'print') { ?> <script type="text/javascript"> window.print(); </script> <?php } ?> <div class='componentheading'> <span><?php echo JText::_('COM_CITRUSCART_ORDER_DETAIL');