add(NAVBAR_TITLE, tep_href_link(FILENAME_SPECIALS));
require(DIR_WS_INCLUDES . 'template_top.php');
$tag_id= $HTTP_GET_VARS['id_tag'];
$tag_text="";
$tags_query = tep_db_query("select * from ". TABLE_TAGS ." where tag_id='". $tag_id ."'");
while ($tags_result = tep_db_fetch_array($tags_query)) {
$tag_text=$tags_result['tag_text'];
}
?>
number_of_rows > 0) {
echo tep_gridlist_build();
}
if (($tags_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3'))) {
?>
display_count(TEXT_DISPLAY_NUMBER_OF_SPECIALS); ?>
display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))) .''.TEXT_RESULT_PAGE.''; ?>
sql_query);
while ($tags = tep_db_fetch_array($tags_query)) {
if ($new_price = tep_get_products_special_price($tags['products_id'])) {
$products_price = $currencies->display_price($tags['products_price'], tep_get_tax_rate($tags['products_tax_class_id']));
$products_price_new = $currencies->display_price($new_price, tep_get_tax_rate($tags['products_tax_class_id']));
} else {
$products_price = $currencies->display_price($tags['products_price'], tep_get_tax_rate($tags['products_tax_class_id']));
$products_price_new = '';
}
$tags_content .= tep_product_block_build(
$productId = $tags['products_id'],
$productImage = $tags['products_image'],
$productName = $tags['products_name'],
$productAdded = '',
$productManufacturerId = '',
$productManufacturerName = '',
$productPrice = $products_price,
$productPriceNew = $products_price_new,
$productWeight = '',
$productQuantity = '',
$productModel = '',
$productDescription = '',
$productButtons = true,
$pageComming = FILENAME_PRODUCT_INFO,
$elCount = $i
);
}
echo $tags_content;
?>
number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3'))) {
?>
display_count(TEXT_DISPLAY_NUMBER_OF_SPECIALS); ?>
display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))) .''. TEXT_RESULT_PAGE.''; ?>