<input id="password" name="password" type="password" onblur="citruscartCheckPassword( 'message-password', this.form, 'password', <?php 
echo $min_length;
?>
, <?php 
echo $req_num;
?>
, <?php 
echo $req_alpha;
?>
, <?php 
echo $req_spec;
?>
  );"  class="inputbox_required" size="30" value="" />
		</div>
		<div class="form_message" id="message-password"></div>
	</div>
	<div class="form_item">
		<div class="form_key">
			<?php 
echo JText::_('COM_CITRUSCART_VERIFY_PASSWORD') . ': ' . CitruscartGrid::required();
?>
		</div>
		<div class="form_input">
			<!--   Password 2nd   -->
			<input id="password2" name="password2" type="password" onblur="citruscartCheckPassword2( 'message-password2', this.form, 'password', 'password2' );" class="inputbox_required" size="30" value="" />
		</div>
		<div class="form_message" id="message-password2"></div>
	</div>
</div>
<input type="hidden" id="citruscart_target" name="target" value="" />
Exemple #2
0
					</a>
				</td>
				<td style="text-align: left;">
					<a href="<?php 
    echo $item->link;
    ?>
">
						<label class="label label-warning"><?php 
    echo JText::_($item->manufacturer_name);
    ?>
</label>
					</a>
				</td>
				<td >
					<?php 
    echo CitruscartGrid::enable($item->manufacturer_enabled, $i, 'manufacturer_enabled.');
    ?>
				</td>
			</tr>
			<?php 
    $i = $i + 1;
    $k = 1 - $k;
    ?>
			<?php 
}
?>

			<?php 
if (!count($items)) {
    ?>
			<tr>
    ?>
				</td>
				<td style="text-align: center;">
					<?php 
    $table = JTable::getInstance('ZoneRelations', 'CitruscartTable');
    ?>
					<?php 
    $keynames = array();
    $keynames['geozone_id'] = $row->geozone_id;
    $keynames['zone_id'] = $item->zone_id;
    ?>
					<?php 
    $table->load($keynames);
    ?>
					<?php 
    echo CitruscartGrid::enable(isset($table->geozone_id), $i, 'selected_');
    ?>
				</td>
				<td style="text-align: center;">
					<?php 
    if (isset($table->geozone_id)) {
        ?>
					<input type="text" name="zip_range[<?php 
        echo $table->zone_id;
        ?>
]" value="<?php 
        echo $table->zip_range;
        ?>
" />
					<?php 
    }
    ?>
				</td>
				<td style="text-align: center;">
					<?php 
    $table = JTable::getInstance('ProductCategories', 'CitruscartTable');
    ?>
					<?php 
    $keynames = array();
    $keynames['product_id'] = $item->product_id;
    $keynames['category_id'] = $row->category_id;
    ?>
					<?php 
    $table->load($keynames);
    ?>
					<?php 
    echo CitruscartGrid::enable(isset($table->product_id), $i, 'selected_');
    ?>
				</td>
			</tr>
			<?php 
    $i = $i + 1;
    $k = 1 - $k;
    ?>
			<?php 
}
?>

			<?php 
if (!count($items)) {
    ?>
			<tr>
Exemple #5
0
        <tbody>
        <?php 
$i = 0;
$k = 0;
if ($items) {
    ?>
        <?php 
    foreach ($items as $item) {
        ?>
            <tr class='row<?php 
        echo $k;
        ?>
'>
                <td style="text-align: center;">
                    <?php 
        echo CitruscartGrid::checkedout($item, $i, 'address_id');
        ?>
                </td>
                <td style="text-align: center;">
                    <a href="<?php 
        echo JRoute::_($item->link . $tmpl);
        ?>
">
                        <b><?php 
        echo $item->first_name;
        ?>
 <?php 
        echo $item->middle_name;
        ?>
 <?php 
        echo $item->last_name;
Exemple #6
0
                    </a>
                </td>
                <td style="text-align: center;">
                    <span class="badge badge-info"><?php 
    echo $item->transaction_id;
    ?>
</span>
                </td>
                <td style="text-align: center;">
                    <?php 
    echo CitruscartGrid::enable($item->subscription_enabled, $i, 'subscription_enabled.');
    ?>
                </td>
                <td style="text-align: center;">
                    <?php 
    echo CitruscartGrid::enable($item->lifetime_enabled, $i, 'lifetime_enabled.');
    ?>
                </td>
			</tr>
			<?php 
    $i = $i + 1;
    $k = 1 - $k;
    ?>
			<?php 
}
?>

			<?php 
if (!count($items)) {
    ?>
			<tr>
Exemple #7
0
        echo "<br/><b>" . JText::_('COM_CITRUSCART_MINIMUM_ORDER_REQUIRED') . "</b>: " . CitruscartHelperBase::currency($item->subtotal_minimum);
    }
    if ($item->subtotal_maximum > '-1') {
        echo "<br/><b>" . JText::_('COM_CITRUSCART_SHIPPING_METHODS_SUBTOTAL_MAX') . "</b>: " . CitruscartHelperBase::currency($item->subtotal_maximum);
    }
    ?>
                    </div>
				</td>
				<td style="text-align: center;">
				    <?php 
    echo $item->tax_class_name;
    ?>
				</td>
				<td style="text-align: center;">
					<?php 
    echo CitruscartGrid::enable($item->shipping_method_enabled, $i, 'shipping_method_enabled.');
    ?>
				</td>
			</tr>
			<?php 
    $i = $i + 1;
    $k = 1 - $k;
    ?>
			<?php 
}
?>

			<?php 
if (!count($items)) {
    ?>
			<tr>
Exemple #8
0
</label>
                    <br/>
                    <?php 
    $select_url = "index.php?option=com_citruscart&controller=categories&task=selectproducts&id=" . $item->category_id . "&tmpl=component";
    ?>
                    [<?php 
    echo CitruscartUrl::popup($select_url, JText::_('COM_CITRUSCART_SELECT_PRODUCTS'), array('update' => true));
    ?>
]
                </td>
				<td style="text-align: center;">
					<?php 
    echo CitruscartGrid::order($item->category_id);
    ?>
					<?php 
    echo CitruscartGrid::ordering($item->category_id, $item->ordering);
    ?>
				</td>
				<td style="text-align: center;">
					<?php 
    // echo CitruscartGrid::enable($item->category_enabled, $i, 'category_enabled.' );
    ?>
				</td>
			</tr>
			<?php 
    $i = $i + 1;
    $k = 1 - $k;
    ?>
			<?php 
}
?>
				<td style="text-align: left;">
					<?php 
    echo $item->product_name;
    ?>
				</td>
				<td style="text-align: center;">
					<?php 
    $table = JTable::getInstance('EavAttributeEntities', 'CitruscartTable');
    ?>
					<?php 
    $keynames = array();
    $keynames['eaventity_id'] = $item->product_id;
    $keynames['eavattribute_id'] = $row->eavattribute_id;
    $keynames['eaventity_type'] = 'products';
    $table->load($keynames);
    echo CitruscartGrid::enable(isset($table->eaventity_id), $i, 'selected_');
    ?>
				</td>
			</tr>
			<?php 
    $i = $i + 1;
    $k = 1 - $k;
    ?>
			<?php 
}
?>
			
			<?php 
if (!count($items)) {
    ?>
			<tr>
Exemple #10
0
		</thead>
        <tbody>
		<?php 
$i = 0;
$k = 0;
?>
        <?php 
foreach (@$items as $item) {
    ?>
            <tr class='row<?php 
    echo $k;
    ?>
'>
				<td style="text-align: center;">
					<?php 
    echo CitruscartGrid::checkedout($item, $i, 'shipping_rate_id');
    ?>
				</td>
                <td style="text-align: center;">
                    <?php 
    echo CitruscartSelect::geozone($item->geozone_id, "geozone[{$item->shipping_rate_id}]", 2);
    ?>
                </td>
				<td style="text-align: center;">
					<input type="text" name="price[<?php 
    echo $item->shipping_rate_id;
    ?>
]" value="<?php 
    echo $item->shipping_rate_price;
    ?>
" />
?>
        <?php 
foreach ($items as $item) {
    ?>
            <tr class='row<?php 
    echo $k;
    ?>
'>
                <td align="center">
                    <?php 
    echo $i + 1;
    ?>
                </td>
                <td style="text-align: center;">
                    <?php 
    echo CitruscartGrid::checkedout($item, $i, 'product_id');
    ?>
                </td>
                <td style="text-align: center;">
                    <?php 
    echo $item->product_id;
    ?>
                </td>
                <td style="text-align: left;">
                    <?php 
    echo $item->product_name;
    ?>
                </td>
                <td style="text-align: center;">
                    <?php 
    echo CitruscartHelperBase::currency($item->price);
Exemple #12
0
    function display()
    {
        $mainframe = JFactory::getApplication();
        // Initialize variables
        $db = JFactory::getDBO();
        $nullDate = $db->getNullDate();
        $document = JFactory::getDocument();
        $document->setTitle('Product Selection');
        JHTML::_('behavior.modal');
        $template = $mainframe->getTemplate();
        $document->addStyleSheet("templates/{$template}/css/general.css");
        $document->addScript('media/citruscart/js/citruscart.js');
        $limitstart = JRequest::getVar('limitstart', '0', '', 'int');
        $lists = $this->_getLists();
        //Ordering allowed ?
        // $ordering = ($lists['order'] == 'section_name' && $lists['order_Dir'] == 'ASC');
        $rows =& $this->get('List');
        $page =& $this->get('Pagination');
        JHTML::_('behavior.tooltip');
        $object = JRequest::getVar('object');
        $link = 'index.php?option=com_citruscart&task=elementproductmultiple&tmpl=component&object=' . $object;
        Citruscart::load('CitruscartGrid', 'library.grid');
        ?>
		<?php 
        JHtml::_('script', 'media/citruscart/js/citruscart.js', false, false);
        ?>

<form action="<?php 
        echo $link;
        ?>
" method="post" name="adminForm">

<table>
	<tr>
		<td width="100%"><?php 
        echo JText::_('COM_CITRUSCART_FILTER');
        ?>
: <input
			type="text" name="search" id="search"
			value="<?php 
        echo $lists['search'];
        ?>
" class="text_area"
			onchange="document.adminForm.submit();" />
		<button onclick="this.form.submit();"><?php 
        echo JText::_('COM_CITRUSCART_GO');
        ?>
</button>
		<button
			onclick="document.getElementById('search').value='';this.form.submit();"><?php 
        echo JText::_('COM_CITRUSCART_RESET');
        ?>
</button>
		</td>
		<td nowrap="nowrap">
    		<button onclick="CitruscartSetItemsToOrder(<?php 
        echo count($rows);
        ?>
, '<?php 
        echo JText::_('COM_CITRUSCART_UNABLE_TO_RETRIEVE_PRODUCT_SELECTION');
        ?>
');return false;"><?php 
        echo JText::_('COM_CITRUSCART_ADD_SELECTED_PRODUCTS_TO_ORDER');
        ?>
</button>
		</td>
	</tr>
</table>

<table class="adminlist" cellspacing="1">
	<thead>
		<tr>
			<th width="5"><?php 
        echo JText::_('COM_CITRUSCART_NUM');
        ?>
</th>
			<th style="width: 20px;"><input type="checkbox" name="toggle"
				value="" onclick="checkAll(<?php 
        echo count($rows);
        ?>
);" /></th>
			<th width="2%" class="title"><?php 
        echo JHTML::_('grid.sort', 'ID', 'tbl.product_id', @$lists['order_Dir'], @$lists['order']);
        ?>
			</th>
			<th style="width:50px;"><?php 
        echo JText::_('COM_CITRUSCART_IMAGE');
        ?>
</th>
			<th class="title"><?php 
        echo JHTML::_('grid.sort', 'Name', 'tbl.product_name', @$lists['order_Dir'], @$lists['order']);
        ?>
			</th>
			<th class="title"><?php 
        echo JHTML::_('grid.sort', 'Price', 'pp.product_price', @$lists['order_Dir'], @$lists['order']);
        ?>
			</th>
			<th class="title"><?php 
        echo JText::_('COM_CITRUSCART_QTY');
        ?>
</th>
		</tr>
	</thead>
	<tfoot>
		<tr>
			<td colspan="15"><?php 
        echo $page->getListFooter();
        ?>
</td>
		</tr>
	</tfoot>
	<tbody>
	<?php 
        $k = 0;
        for ($i = 0, $n = count($rows); $i < $n; $i++) {
            $row =& $rows[$i];
            $onclick = "\r\n\t\t\t\t\twindow.parent.jSelectProducts(\r\n\t\t\t\t\t'{$row->product_id}', '" . str_replace(array("'", "\""), array("\\'", ""), $row->product_name) . "', '" . JRequest::getVar('object') . "'\r\n\t\t\t\t\t);";
            ?>
		<tr class="<?php 
            echo "row{$k}";
            ?>
">
			<td><?php 
            echo $page->getRowOffset($i);
            ?>
</td>
			<td style="text-align: center;"><?php 
            echo CitruscartGrid::checkedout($row, $i, 'product_id');
            ?>
			</td>
			<td style="text-align: center;"><a style="cursor: pointer;"
				onclick="<?php 
            echo $onclick;
            ?>
"> <?php 
            echo $row->product_id;
            ?>
 </a>
			</td>
			<td>
			<?php 
            jimport('joomla.filesystem.file');
            if (!empty($row->product_thumb_image) && JFile::exists(Citruscart::getPath('products_thumbs') . DS . $row->product_thumb_image)) {
                ?>
					<img src="<?php 
                echo Citruscart::getURL('products_thumbs') . $row->product_thumb_image;
                ?>
" style="display: block;" />
					<?php 
            }
            ?>
	
			</td>				
			<td><a style="cursor: pointer;"
				onclick="<?php 
            echo $onclick;
            ?>
"> <?php 
            echo htmlspecialchars($row->product_name, ENT_QUOTES, 'UTF-8');
            ?>
			</a></td>
			<td style="text-align: center;"><a style="cursor: pointer;"
				onclick="<?php 
            echo $onclick;
            ?>
"> <?php 
            echo $row->product_price;
            ?>
			</a></td>
			<td style="text-align: center;"><input id="<?php 
            echo "qty{$i}";
            ?>
" name="<?php 
            echo "qty{$i}";
            ?>
" type="text" value="1" style="width: 30px;" /></td>
		</tr>
		<?php 
            $k = 1 - $k;
        }
        ?>
	</tbody>
</table>

<input type="hidden" name="boxchecked" value="0" /> <input type="hidden"
	name="filter_order" value="<?php 
        echo $lists['order'];
        ?>
" /> <input
	type="hidden" name="filter_order_Dir"
	value="<?php 
        echo $lists['order_Dir'];
        ?>
" /></form>
	<?php 
    }
Exemple #13
0
/** ensure this file is being included by a parent file */
defined('_JEXEC') or die('Restricted access');
JHtml::_('script', 'media/citruscart/js/citruscart.js', false, false);
$state = $this->state;
$form = $this->form;
$items = $this->items;
Citruscart::load('CitruscartHelperBase', 'helpers._base');
?>

<form action="<?php 
echo JRoute::_($form['action']);
?>
" method="post" class="adminform" name="adminForm" id="adminForm" enctype="multipart/form-data">

	<?php 
echo CitruscartGrid::pagetooltip(JFactory::getApplication()->input->getString('view'));
?>

	<table class="table table-striped table-bordered" style="clear: both;">
		<thead>
            <tr>
                <th style="width: 5px;">
                	<?php 
echo JText::_('COM_CITRUSCART_NUM');
?>
                </th>
                <th>
                	<?php 
echo JText::_('COM_CITRUSCART_NAME');
?>
                </th>
    ?>
				</td>
				<td style="text-align: center;">
					<?php 
    $table = JTable::getInstance('UserGroups', 'CitruscartTable');
    ?>
					<?php 
    $keynames = array();
    $keynames['user_id'] = $item->id;
    $keynames['group_id'] = $row->group_id;
    ?>
					<?php 
    $table->load($keynames);
    ?>
					<?php 
    echo CitruscartGrid::enable(isset($table->user_id), $i, 'selected_');
    ?>
				</td>
			</tr>
			<?php 
    $i = $i + 1;
    $k = 1 - $k;
    ?>
			<?php 
}
?>

			<?php 
if (!count($items)) {
    ?>
			<tr>
Exemple #15
0
        <?php 
foreach ($items as $item) {
    $guest = $item->user_id < Citruscart::getGuestIdStart();
    ?>
            <tr class='row<?php 
    echo $k;
    ?>
'>
				<td align="center">
					<?php 
    echo $i + 1;
    ?>
				</td>
				<td style="text-align: center;">
					<?php 
    echo CitruscartGrid::checkedout($item, $i, 'order_id');
    ?>
				</td>
				<td style="text-align: center;">
					<a href="<?php 
    echo $item->link;
    ?>
">
						<?php 
    echo $item->order_id;
    ?>
					</a>
				</td>
                <td style="text-align: center;">
                    <a href="<?php 
    echo $item->link;
Exemple #16
0
        <h3><?php 
echo JText::_('COM_CITRUSCART_SUBSCRIPTION_INFORMATION');
?>
</h3>
        <strong><?php 
echo JText::_('COM_CITRUSCART_PRODUCT');
?>
</strong>: <?php 
echo $row->product_name;
?>
<br/>
        <strong><?php 
echo JText::_('COM_CITRUSCART_STATUS');
?>
</strong>: <?php 
echo CitruscartGrid::boolean($row->subscription_enabled);
?>
<br/>
        <strong><?php 
echo JText::_('COM_CITRUSCART_CREATED');
?>
</strong>: <?php 
echo JHTML::_('date', $row->created_datetime, Citruscart::getInstance()->get('date_format'));
?>
<br/>
        <strong><?php 
echo JText::_('COM_CITRUSCART_EXPIRES');
?>
</strong>: <?php 
echo JHTML::_('date', $row->expires_datetime, Citruscart::getInstance()->get('date_format'));
?>
Exemple #17
0
		</thead>
        <tbody>
		<?php 
$i = 0;
$k = 0;
?>
        <?php 
foreach ($items as $item) {
    ?>
            <tr class='row<?php 
    echo $k;
    ?>
'>
				<td style="text-align: center;">
					<?php 
    echo CitruscartGrid::checkedout($item, $i, 'productattributeoptionvalue_id');
    ?>
					<input type="hidden" value="<?php 
    echo $item->productattributeoptionvalue_id;
    ?>
" name="cid[<?php 
    echo $item->productattributeoptionvalue_id;
    ?>
]" />
				</td>
				<td style="text-align: left;">
					<?php 
    echo CitruscartSelect::productattributeoptionvaluefield($item->productattributeoptionvalue_field, "field[{$item->productattributeoptionvalue_id}]");
    ?>
				</td>
                <td style="text-align: center;">
Exemple #18
0
        echo $k;
        ?>
'>
                    <td style="text-align: left;">
                        <?php 
        echo JHTML::_('date', $history->date_added, Citruscart::getInstance()->get('date_format'));
        ?>
                    </td>
                    <td style="text-align: center;">
                        <?php 
        echo JText::_($history->order_state_name);
        ?>
                    </td>
                    <td style="text-align: center;">
                        <?php 
        echo CitruscartGrid::boolean($history->notify_customer);
        ?>
                    </td>
                </tr>
                <?php 
        if (!empty($history->comments)) {
            ?>
    	            <tr class='row<?php 
            echo $k;
            ?>
'>
    	                <td colspan="3" style="text-align: left; padding-left: 10px;">
    	                    <b><?php 
            echo JText::_('COM_CITRUSCART_COMMENTS');
            ?>
</b>:
				<td style="text-align: center;">
					<?php 
    echo $item->id;
    ?>
				</td>
				<td style="text-align: left;">
					<?php 
    echo JText::_($item->name);
    ?>
				</td>
				<td style="text-align: center;">
					<?php 
    $found = in_array($row->geozone_id, $item->geozones) ? true : false;
    ?>
					<?php 
    echo CitruscartGrid::enable($found, $i, 'plugin_');
    ?>
				</td>
			</tr>
			<?php 
    $i = $i + 1;
    $k = 1 - $k;
    ?>
			<?php 
}
?>

			<?php 
if (!count($items)) {
    ?>
			<tr>
Exemple #20
0
echo CitruscartGrid::sort('COM_CITRUSCART_NAME', "tbl.name", $state->direction, $state->order);
?>
                </th>
                <th style="text-align: center;">
                	<?php 
echo CitruscartGrid::sort('COM_CITRUSCART_USERNAME', "tbl.username", $state->direction, $state->order);
?>
                </th>
				<th style="text-align: center;">
					<?php 
echo CitruscartGrid::sort('COM_CITRUSCART_EMAIL', 'tbl.email', $state->direction, $state->order);
?>
				</th>
                <th>
                    <?php 
echo CitruscartGrid::sort('COM_CITRUSCART_GROUP', 'group.group_name', $state->direction, $state->order);
?>
                </th>
				<th>
				</th>
				<th>
				</th>
            </tr>
            <tr class="filterline">
                <th colspan="2">
                    <?php 
$attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => 'document.adminForm.submit();');
?>
                   <div class="range">
                        <div class="rangeline">
                            <input type="text" placeholder="<?php 
Exemple #21
0
echo CitruscartGrid::sort('COM_CITRUSCART_ASSOCIATED_PRODUCT', "tbl_products.product_name", $state->direction, $state->order);
?>
                </th>
                <th style="width: 75px;">
                    <?php 
echo CitruscartGrid::sort('COM_CITRUSCART_PURCHASE_REQUIRED', "tbl.purchase_required", $state->direction, $state->order);
?>
                </th>
                <th style="width: 50px;">
                    <?php 
echo CitruscartGrid::sort('COM_CITRUSCART_MAX_DOWNLOAD', "tbl.max_download", $state->direction, $state->order);
?>
                </th>
                <th style="width: 50px;">
                    <?php 
echo CitruscartGrid::sort('COM_CITRUSCART_DOWNLOADS', "file_downloads", $state->direction, $state->order);
?>
                </th>
            </tr>
        </thead>
        <tfoot>
			<tr>
				<td colspan="20">
					<div style="float: right; padding: 5px;"><?php 
echo $pagination->getResultsCounter();
?>
</div>
				</td>
			</tr>
		</tfoot>
        <tbody>
Exemple #22
0
    if ($item->reported_count > 0) {
        ?>
        			<a href="<?php 
        echo $item->link;
        ?>
">
        			<img src="../media/citruscart/images/required_16.png">
        			</a>
                    <?php 
    }
    ?>
			</td>

			<td style="text-align: center;">
    			<?php 
    echo CitruscartGrid::enable($item->productcomment_enabled, $i, 'productcomment_enabled.');
    ?>
			</td>
		</tr>
		<?php 
    $i = $i + 1;
    $k = 1 - $k;
    ?>
		<?php 
}
?>

		<?php 
if (!count($items)) {
    ?>
		<tr>
Exemple #23
0
	<table class="table table-striped table-bordered" style="clear: both;">
		<thead>
            <tr>
                <th style="width: 5px;">
                	<?php 
echo JText::_('COM_CITRUSCART_NUM');
?>
                </th>
                <th style="width: 50px;">
                	<?php 
echo CitruscartGrid::sort('COM_CITRUSCART_ID', "tbl.id", $state->direction, $state->order);
?>
                </th>                
                <th style="text-align: left;">
                	<?php 
echo CitruscartGrid::sort('COM_CITRUSCART_NAME', "tbl.name", $state->direction, $state->order);
?>
                </th>
				<th>
				</th>
            </tr>
            <tr class="filterline">
                <th colspan="2">
                    <?php 
$attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => 'document.adminForm.submit();');
?>
                   <div class="range">
                        <div class="rangeline">
                            <input type="text" placeholder="<?php 
echo JText::_('COM_CITRUSCART_FROM');
?>
Exemple #24
0
    ?>
">
						<?php 
    echo JText::_('COM_CITRUSCART_EDIT_PLUGIN_PARAMETERS');
    ?>
					</a>
					]
				</td>
                <td style="text-align: center;">
                    <?php 
    if (version_compare(JVERSION, '1.6.0', 'ge')) {
        // Joomla! 1.6+ code here
        echo CitruscartGrid::enable($item->enabled, $i, 'enabled.');
    } else {
        // Joomla! 1.5 code here
        echo CitruscartGrid::enable($item->published, $i, 'published.');
    }
    ?>
                </td>
			</tr>
			<?php 
    $i = $i + 1;
    $k = 1 - $k;
    ?>
			<?php 
}
?>

			<?php 
if (!count($items)) {
    ?>
    ?>
phone_1" type="text" size="25" maxlength="250" />
				</td>
			</tr>
			<?php 
}
if ($elements['tax_number'][0]) {
    ?>
			<tr>
				<th style="<?php 
    echo $key_style;
    ?>
" class="key">
				<?php 
    if ($elements['tax_number'][1]) {
        echo CitruscartGrid::required();
    }
    echo JText::_('COM_CITRUSCART_CO_TAX_NUMBER');
    ?>
				</th>
				<td>
				<input name="<?php 
    echo $this->form_prefix;
    ?>
tax_number" id="<?php 
    echo $this->form_prefix;
    ?>
tax_number" type="text" size="25" maxlength="250" />
				</td>
			</tr>
			<?php 
Exemple #26
0
?>
                </th>
                <th>
                </th>
            </tr>
            <tr>
                <th style="width: 50px;">
                </th>
                <th style="width: 200px; text-align: left;">
                    <?php 
echo CitruscartGrid::sort('COM_CITRUSCART_FILE', "filename", $state->direction, $state->order);
?>
                </th>
                <th style="width: 200px;">
                    <?php 
echo CitruscartGrid::sort('COM_CITRUSCART_PRODUCT', "product_name", $state->direction, $state->order);
?>
                </th>
                <th style="width: 50px;">
                    <?php 
echo JText::_('COM_CITRUSCART_MAX_DOWNLOADS');
?>
                </th>
            </tr>
        </thead>
        <tfoot>
            <tr>
                <td colspan="20">
                    <div style="float: right; padding: 5px;"><?php 
echo $this->pagination->getResultsCounter();
?>
Exemple #27
0
                </td>
                <td style="text-align: center;">
                    <span class="badge badge-warning"><?php 
    echo $item->coupon_value;
    ?>
</span>
                </td>
                 <td style="text-align: center;">
                    <span class="badge badge-info"><?php 
    echo JText::_('COM_CITRUSCART_COUPON_VALUE_TYPE_' . $item->coupon_value_type);
    ?>
</span>
                </td>
				<td style="text-align: center;">
					<?php 
    echo CitruscartGrid::enable($item->coupon_enabled, $i, 'coupon_enabled.');
    ?>
				</td>
                <td style="text-align: center;">
                    <?php 
    echo $item->coupon_uses;
    ?>
                </td>
                <td style="text-align: center;">

                </td>
			</tr>
			<?php 
    $i = $i + 1;
    $k = 1 - $k;
    ?>
Exemple #28
0
?>
        <?php 
foreach ($items as $item) {
    ?>
            <tr class='row<?php 
    echo $k;
    ?>
'>
                <td align="center">
                    <?php 
    echo $i + 1;
    ?>
                </td>
                <td style="text-align: center;">
                    <?php 
    echo CitruscartGrid::checkedout($item, $i, 'geozone_id');
    ?>
                </td>
                <td style="text-align: center;">
                    <a href="<?php 
    echo $item->link;
    ?>
">
                        <?php 
    echo $item->geozone_id;
    ?>
                    </a>
                </td>
                <td style="text-align: left;">
                    <a href="<?php 
    echo $item->link;
Exemple #29
0
						<td>
							<?php 
echo $row->product_sku;
?>
						</td>
					</tr>
					<tr>
						<td width="100" align="right" class="key">
							<?php 
echo JText::_('COM_CITRUSCART_ENABLED');
?>
:
						</td>
						<td>
							<?php 
echo CitruscartGrid::boolean($row->product_enabled);
?>
						</td>
					</tr>
					<tr>
						<td width="100" align="right" class="key">
							<?php 
echo JText::_('COM_CITRUSCART_CURRENT_IMAGE');
?>
:
						</td>
						<td>
							<?php 
jimport('joomla.filesystem.file');
if (!empty($row->product_full_image) && JFile::exists(Citruscart::getPath('products_images') . '/' . $row->product_full_image)) {
    ?>
Exemple #30
0
echo CitruscartGrid::sort('COM_CITRUSCART_DATE', "tbl.created_date", $state->direction, $state->order);
?>
                </th>
                <th style="width: 100px;">
                    <?php 
echo JText::_('COM_CITRUSCART_ITEMS');
?>
                </th>
                <th style="width: 100px;">
                    <?php 
echo CitruscartGrid::sort('COM_CITRUSCART_TOTAL', "tbl.order_total", $state->direction, $state->order);
?>
                </th>
                <th style="width: 100px;">
                    <?php 
echo CitruscartGrid::sort('COM_CITRUSCART_STATE', "s.order_state_name", $state->direction, $state->order);
?>
                </th>
            </tr>
        </thead>
        <tfoot>
            <tr>
                <td colspan="20">
                    <div style="float: right; padding: 5px;"><?php 
echo $this->pagination->getResultsCounter();
?>
</div>
                    <?php 
echo $this->pagination->getListFooter();
?>
                </td>