Exemplo n.º 1
0
echo TiendaSelect::btbooleanlist('manufacturer_enabled', '', @$row->manufacturer_enabled);
?>
					</td>
				</tr>
				<tr>
					<td style="width: 100px; text-align: right;" class="key">
						<?php 
echo JText::_('COM_TIENDA_CURRENT_IMAGE');
?>
:
					</td>
					<td>
						<?php 
jimport('joomla.filesystem.file');
if (!empty($row->manufacturer_image) && JFile::exists(Tienda::getPath('manufacturers_images') . DS . $row->manufacturer_image)) {
    echo TiendaUrl::popup(TiendaHelperManufacturer::getImage($row->manufacturer_id, '', '', 'full', true), TiendaHelperManufacturer::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_TIENDA_UPLOAD_NEW_IMAGE');
?>
:
Exemplo n.º 2
0
<?php

defined('_JEXEC') or die('Restricted access');
JHTML::_('stylesheet', 'menu.css', 'media/com_tienda/css/');
JHTML::_('script', 'tienda.js', 'media/com_tienda/js/');
$form = @$this->form;
$row = @$this->row;
$order = @$this->order;
$items = @$order->getItems();
$surrounding = @$this->surrounding;
$histories = @$row->orderhistory ? @$row->orderhistory : array();
Tienda::load('TiendaHelperOrder', 'helpers.order');
$display_credits = Tienda::getInstance()->get('display_credits', '0');
Tienda::load('TiendaHelperManufacturer', 'helpers.manufacturer');
$helperMan = new TiendaHelperManufacturer();
$helperMan->calculateStatsOrder($items);
?>

<?php 
if (JRequest::getVar('task') == 'print') {
    ?>
<script type="text/javascript">
           window.print();
    </script>
<?php 
}
?>
<div class='componentheading'>
	<span><?php 
echo JText::_('COM_TIENDA_ORDER_DETAIL');
?>