echo '<a href="' . tep_href_link($file['location']) . '" id="' . $file['btype'] . '_' . $i . '" class="productFile" title="' . $file['type'] . ' - ' . $file['name'] . '">' . tep_image(DIR_WS_IMAGES . 'type/' . $file['btype'] . '.gif', $file['type'] . ' - ' . $file['name'], '75', '75') . '<br />' . $file['name'] . '</a>' . "\n"; } else { echo '<a href="' . $file['location'] . '" id="' . $file['btype'] . '_' . $i . '" class="productFile download" title="' . $file['type'] . ' - ' . $file['name'] . '">' . tep_image(DIR_WS_IMAGES . 'type/' . $file['btype'] . '.gif', $file['type'] . ' - ' . $file['name'], '75', '75') . '<br />' . $file['name'] . '</a>' . "\n"; } $i++; } ?> </div> <?php } } /*price table*/ if (USE_PRICES_TO_QTY == 'true' && CanShop() == 'true') { if (SOAP_STATUS == 'true' && tep_session_is_registered('customer_id')) { ?> <div class="box pricetable"> <?php echo showPriceTable($product_info['products_id'], $customer_id, '', 1); ?> </div> <?php } else { $products_sizes_query = tep_db_query("SELECT * FROM " . TABLE_PRODUCTS_PLANT . " WHERE products_model = '" . tep_db_input($product_info['products_model']) . "' ORDER BY plant_sort ASC"); $qty_array = getPricesToQty($products_size['plant_price']);
$column_list++; if ($list_config['configuration_key'] == 'PRODUCT_' . $listtype . '_SPECS') { for ($s = 0; $s < PRODUCT_LIST_SPECS_COUNT; $s++) { $config_array[] = array($list_config['configuration_key'], $column_list); if ($s < PRODUCT_LIST_SPECS_COUNT - 1) { $column_list++; } } } else { $config_array[] = array($list_config['configuration_key'], $column_list); } } $column_list = 0; foreach ($config_array as $key => $value) { if ($value[0] == 'PRODUCT_' . $listtype . '_PRICE' || $value[0] == 'PRODUCT_' . $listtype . '_BUY_NOW' || $value[0] == 'PRODUCT_' . $listtype . '_QUANTITY') { if (CanShop() == 'false') { $value[1] = 0; } else { if (USE_PRICES_TO_QTY == 'true') { $value[1] = 0; } } } if ($value[1] > 0) { $column_list++; if ($value[0] == 'PRODUCT_' . $listtype . '_MODEL') { $select_column_list .= 'p.products_model, '; $default_sort = 'p.products_model'; if ($sort_col == $column_list) { $listing_sql_suff .= "p.products_model " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name"; }
<div class="col-xs-6 col-sm-6 mb-20"> <?php if (CanShop() == 'true') { ?> <?php if (!is_object($cart)) { $cart = new shoppingCart(); } ?> <?php if (!is_object($currencies)) { $currencies = new currencies(); } ?> <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?> " class="text-warning"><?php echo Translate('Winkelwagen'); ?> </a></br> <?php echo Translate('Items'), ': ', '<span class="text-info">', $cart->count_contents(), '</span><br/>'; ?> <?php echo Translate('Totaal'), ': ', '<span class="text-info">', $currencies->format($cart->show_total()), '</span>'; ?> <?php } else { ?> <?php