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.comCables