switch(basename($_SERVER["SCRIPT_NAME"]))
{
case "product_info.php":
$product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
$product_info = tep_db_fetch_array($product_info_query);
switch($_GET["products_id"])
{
case 229:
$title = "HP Pro 6000 w/ 2.93GHz CPU, 4GB of RAM, and 250GB hard drive.";
$desc = "So, we picked up a STEAL of a deal on some desktops, and we want to pass the bargains on to you. These HP Pro 6000s usually go for $270, but we're doing them for $220. Loads of upgrade options.";
break;
}
?>
break;
default:
?>
}
?>
© Copyright 2013 by mojoomla.comDesktops
Model Manufacturer Product Image Product Name Price+ Buy Now ibm-m58-1 IBM M58 SFF Core 2 Duo 2.93Ghz 2GB 500GB DVD Vista 64 (60day) $169.88 Buy Now ibm-m57 IBM M57 SFF Core 2 Duo 2.33Ghz 2GB 80GB DVD Win 7 HP (60day) $170.00 Buy Now