示例#1
0
echo JText::_('COM_CITRUSCART_MANUFACTURER');
?>
:</th>
			<th><?php 
echo JText::_('COM_CITRUSCART_SELECT_DATE_RANGE');
?>
:</th>
		</thead>
		<tbody>
			<tr>
			   <td><input type="text" name="filter_product_name" id="filter_product_name" value="<?php 
echo $state->filter_product_name;
?>
" style="width: 250px;" /></td>
			   <td><?php 
echo CitruscartSelect::manufacturer($state->filter_manufacturer_id, 'filter_manufacturer_id', array('class' => 'inputbox', 'size' => '1'), null, true);
?>
</td>
               <td>
	               <?php 
$attribs = array('class' => 'inputbox', 'size' => '1');
?>
				   <?php 
echo CitruscartSelect::reportrange($state->filter_range ? $state->filter_range : 'custom', 'filter_range', $attribs, 'range', true);
?>
				   <span class="label"><?php 
echo JText::_('COM_CITRUSCART_FROM');
?>
:</span>
				   <?php 
echo JHTML::calendar($state->filter_date_from, "filter_date_from", "filter_date_from", '%Y-%m-%d %H:%M:%S');
-------------------------------------------------------------------------*/
/** ensure this file is being included by a parent file */
defined('_JEXEC') or die('Restricted access');
$form = $this->form;
$row = $this->row;
$helper_product = new CitruscartHelperProduct();
?>

<table class="table table-striped table-bordered" style="width: 100%;">
    <tr>
        <td class="dsc-key"><?php 
echo JText::_('COM_CITRUSCART_MANUFACTURER');
?>
:</td>
        <td class="dsc-value"><?php 
echo CitruscartSelect::manufacturer($row->manufacturer_id, 'manufacturer_id', '', 'manufacturer_id', false, true);
?>
        </td>
    </tr>
    <?php 
if (empty($row->product_id)) {
    // doing a new product, so display a notice
    ?>
    <tr>
        <td class="dsc-key"><?php 
    echo JText::_('COM_CITRUSCART_PRODUCT_ATTRIBUTES');
    ?>
:</td>
        <td class="dsc-value">
            <div class="note well">
                <?php