BidHopper Dynalist v2.0 for osCommerce
$item_type"; $bidhopper_url="$mysiteurl"; echo "$bidhopper_url"; echo "product_info.php?products_id=$bidhopper_id"; $productdetails = mysql_query("SELECT * FROM products_description WHERE language_id=1 AND products_id = '".$bidhopper_id."'"); while ($details=mysql_fetch_array($productdetails)) { $text = $details['products_name']; $text = html_entity_decode(strip_tags($text)); $replacethis = "'"; $withthis = "'"; $text = str_replace($replacethis, $withthis, $text); $pattern="[^a-zA-Z0-9\.'$&-]"; $replace=" "; $text=ereg_replace($pattern,$replace,$text); $text=preg_replace('/\s\s+/', ' ', $text); $productname=trim($text); echo "$productname"; $rest = substr("$bidhopper_price", 0, -2); // This removes the last two 0's from the price field in the DB echo "$rest"; echo "Never"; echo "Self"; if($products['products_image']){ echo "$mysiteimgs"; echo "$bidhopper_image"; } else { echo "http://www.bidhopper.com/images/noimage.jpg"; } echo "
"; ?>